4ebff50be0de9ed9f582ad2546a922a297adaf8a
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-26  Roland McGrath  <roland@hack.frob.com>
2
3         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4
5 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6
7         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8         trailing whitespace removed.
9         * scripts/config.guess: Update to version 2014-03-23.
10         * scripts/config.sub: Update to version 2014-05-01
11         * scripts/install-sh: Update to version 2013-12-25.23.
12         * scripts/move-if-change: Update from gnulib.
13
14 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15
16         * debug/memmove_chk.c: Remove pagecopy.h include.
17
18 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
19
20         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
21         identical to gnulib mktime.
22
23 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
24
25         * configure.ac: Do not test for machine being rs6000.  Do not test
26         for powerpc*-*soft.
27         * configure: Regenerated.
28
29         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30         test.
31         * configure: Regenerated.
32         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
34         Remove configure test.
35         * sysdeps/arm/configure: Regenerated.
36         * sysdeps/nptl/configure.ac: Do not check
37         libc_cv_asm_cfi_directives.
38         * sysdeps/nptl/configure: Regenerated.
39         * sysdeps/x86_64/nptl/configure.ac: Remove file.
40         * sysdeps/x86_64/nptl/configure: Remove generated file.
41         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42         unconditional.
43         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
44
45 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46
47         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
49         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
50         it is defined.
51
52         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
53         instead of whether it is defined.
54         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
55         * sysdeps/hppa/dl-machine.h: Likewise.
56         * sysdeps/ia64/dl-machine.h: Likewise.
57         * sysdeps/m68k/dl-machine.h: Likewise.
58         * sysdeps/microblaze/dl-machine.h: Likewise.
59         * sysdeps/mips/dl-machine.: Likewise.
60         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
63         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
64         * sysdeps/sh/dl-machine.h: Likewise.
65         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
67         * sysdeps/tile/dl-machine.h: Likewise.
68         * sysdeps/x86_64/dl-machine.h: Likewise.
69
70         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
71         code.
72         (verify_persistent_db): Likewise.
73
74 2014-06-26  Roland McGrath  <roland@hack.frob.com>
75
76         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
77         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
78         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
79         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
80         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81         Moved ...
82         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
83         ... here.
84         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
85         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
86         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
87         Identical file removed.
88         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
89         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
90         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
91         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
92         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
93         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
94         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
95         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
96         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
97         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
98         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
99         Moved ...
100         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
102         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
104         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
106         Moved ...
107         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
109         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
111         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
113         Identical file removed.
114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
115         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
117         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
119         Moved ...
120         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
121         ... here.
122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
123         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
125         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
126         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
127         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
128         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
129         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
131         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
133         Moved ...
134         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
136         Moved ...
137         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
139         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
141         Moved ...
142         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
144         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
145
146         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
147         folded into ...
148         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
149         * sysdeps/unix/sysv/linux/s390/Versions
150         (libpthread: GLIBC_2.19): New version set.
151         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
152         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
153         (librt: GLIBC_2.3.3): New version set.
154         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
155         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
156         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
157         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
158         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
159         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
160         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
161         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
162         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
163         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
164         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
165         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
166         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
167         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
168         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
169         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
170         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
171         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
172         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
173         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
174         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
175         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
176         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
177         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
178         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
179         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
180         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
181         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
182         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
183         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
184         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
185         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
186         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
187         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
188         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
189         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
190         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
191         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
192         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
193         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
194         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
196         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
198         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
199
200         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
201         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
202         (__libc_vfork): Define the function under this name.
203         [!NOT_IN_libc] (__vfork): Make this an alias.
204         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
206         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
207         (__libc_vfork): Define the function under this name.
208         [!NOT_IN_libc] (__vfork): Make this an alias.
209         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
210         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
211         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
213         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
214         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
215
216         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
217         code that was previously under [RESET_PID].
218         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
219         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
221
222         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
223         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
224         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
225         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
226         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
227         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
228         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
229         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
230         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
231         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
232         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
233         Moved ...
234         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
235         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
236         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
237         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
238         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
239         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
240         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
241         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
242         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
243         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
244         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
245         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
246         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
247         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
248         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
249         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
250         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
251         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
252         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
253         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
254         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
255         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
256         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
257         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
258         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
259         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
260         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
261         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
262         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
263
264 2014-06-25  Roland McGrath  <roland@hack.frob.com>
265
266         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
267         that was previously under [RESET_PID].
268         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
269
270 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
271
272         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
273         not undefine and redefine.
274         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
275         [O_CLOEXEC]: Make code unconditional.
276         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
277         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
278         <kernel-features.h>.
279         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
280         conditional variable definition.
281         (shm_open) [O_CLOEXEC]: Make code unconditional.
282         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
283         code.
284
285         * configure.ac (USE_REGPARMS): Don't define here.
286         * configure: Regenerated.
287         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
288         * sysdeps/i386/configure: Regenerated.
289
290         * nptl/createthread.c: Don't include kernel-features.h.
291         * nptl/pthread_cancel.c: Likewise.
292         * nptl/pthread_condattr_setclock.c: Likewise.
293         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
294         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
295         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
296         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
297         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
298         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
299         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
301         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
302         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
303         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
304         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
305         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
306         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
307         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
308         * nscd/gai.c: Likewise.
309         * nss/nss_db/db-open.c: Likewise.
310         * sysdeps/generic/ldsodefs.h: Likewise.
311         * sysdeps/sh/nptl/tls.h: Likewise.
312         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
313         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
314         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
315         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
316         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
317         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
318         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
319         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
320         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
321         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
322         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
323         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
324         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
325         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
326         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
327         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
328         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
329         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
330         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
331         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
332         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
333         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
334         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
335         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
336         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
337         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
338         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
340         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
341         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
342         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
343         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
344         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
345         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
346         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
347         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
348         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
349         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
350         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
351         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
352         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
353         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
354         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
355         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
356         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
357         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
358         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
359         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
360         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
361         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
362         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
363         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
364         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
365         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
366         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
367         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
368         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
369         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
392         * sysdeps/unix/sysv/linux/pread.c: Likewise.
393         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
394         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
395         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
396         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
397         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
398         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
399         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
400         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
401         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
402         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
403         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
404         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
405         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
406         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
407         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
408         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
409         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
410         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
411         * sysdeps/unix/sysv/linux/system.c: Likewise.
412         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
413         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
414         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
415         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
416         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
417         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
418         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
419
420         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
421         * configure: Regenerated.
422         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
423
424         * configure.ac (base_machine): Do not set specially for particular
425         machines here.
426         * configure: Regenerated.
427         * sysdeps/powerpc/preconfigure: Move machine and base_machine
428         settings from configure.ac.
429         * sysdeps/i386/preconfigure: New file.
430         * sysdeps/s390/preconfigure: Likewise.
431         * sysdeps/sh/preconfigure: Likewise.
432         * sysdeps/sparc/preconfigure: Likewise.
433
434 2014-06-25  Roland McGrath  <roland@hack.frob.com>
435
436         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
437         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
438         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
439         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
440         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
441         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
442         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
443         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
444         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
445         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
446         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
447         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
448         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
449         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
450         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
451         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
452         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
453         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
454         * sysdeps/sparc/sparc64/Makefile: ... appended here.
455
456         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
457         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
458         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
459         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
460         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
461         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
462         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
463         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
464         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
465         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
466         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
467         * sysdeps/sparc/sparc32/sem_post.c: ... here.
468         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
469         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
470         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
471         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
472         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
473         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
474         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
475         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
476         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
477         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
478         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
479         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
480         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
481         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
482         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
483         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
484         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
485         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
486         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
487         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
488         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
489         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
490         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
491         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
492         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
493         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
494
495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
496         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
498         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
500         Moved ...
501         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
502         ... here.
503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
504         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
506         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
508         Moved ...
509         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
511         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
512         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
513         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
517         Moved ...
518         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
520         Moved ...
521         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
523         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
525         Moved ...
526         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
528         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
530         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
532         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
534         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
536         Moved ...
537         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
538         ... here.
539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
540         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
541         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
542         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
543         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
544         Moved ...
545         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
547         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
549         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
553         Moved ...
554         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
556         Moved ...
557         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
559         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
561         Moved ...
562         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
564         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
566         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
567
568 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
569
570         * timezone/checktab.awk: Update from tzcode 2014e.
571         * timezone/private.h: Likewise.
572         * timezone/tzfile.h: Likewise.
573         * timezone/zdump.c: Likewise.
574         * timezone/zic.c: Likewise.
575
576         * sysdeps/unix/sysv/linux/kernel-features.h
577         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
578         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
579         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
580         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
581         Remove conditional code.
582
583 2014-06-25  Will Newton  <will.newton@linaro.org>
584
585         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
586         (_dl_arm_cap_flags): Add HWCAP2 values.
587         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
588         (_DL_HWCAP_COUNT): Increase to 37.
589         (_DL_HWCAP_LAST): New define.
590         (_DL_HWCAP2_LAST): New define.
591         (_dl_procinfo): Add support for printing
592         AT_HWCAP2 entries.
593         (_dl_string_hwcap): Use _dl_hwcap_string.
594
595 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
596
597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
598
599 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
600
601         * README: Do not mention ports directory.
602
603         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
604         Remove macro.
605         * sysdeps/unix/sysv/linux/futimes.c: Do not include
606         <kernel-features.h>.
607         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
608         conditional variable definition.
609         (__futimes): Update comment.
610         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
611         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
612
613         [BZ #16560]
614         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
615         arguments close to 0.
616         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
617         Likewise.
618         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
619         Likewise.
620         * math/auto-libm-test-in: Add more tests of exp10.
621         * math/auto-libm-test-out: Regenerated.
622         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
623
624         * sysdeps/unix/sysv/linux/kernel-features.h
625         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
626         * sysdeps/unix/sysv/linux/readv.c: Do not include
627         <kernel-features.h>.
628         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
629         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
630         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
631         unconditional.
632         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
633         conditional code.
634         * sysdeps/unix/sysv/linux/writev.c: Do not include
635         <kernel-features.h>.
636         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
637         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
638         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
639         unconditional.
640         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
641         conditional code.
642
643 2014-06-25  Will Newton  <will.newton@linaro.org>
644
645         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
646         comment changes throughout the file.  Remove checks
647         for HAVE_*_H definitions that are not required.
648         (__gen_tempname): Call abort if an unknown kind value is
649         passed.
650
651 2014-06-25  Andreas Schwab  <schwab@suse.de>
652
653         [BZ #17086]
654         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
655         scalbln, scalblnf, scalblnl in libc.
656
657 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
658
659         [BZ #17086]
660         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
661         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
662         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
663
664 2014-06-24  Roland McGrath  <roland@hack.frob.com>
665
666         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
667         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
668         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
669         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
670         Update #include.
671         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
672         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
673         Update #include.
674         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
675         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
676         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
677         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
678         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
679         * sysdeps/x86/bits/pthreadtypes.h: ... here.
680         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
681         * sysdeps/x86/bits/semaphore.h: ... here.
682         * sysdeps/x86/nptl/elide.h: Moved ...
683         * sysdeps/x86/elide.h: ... here.
684         * sysdeps/x86_64/nptl/Implies: File removed.
685         * sysdeps/i386/nptl/Implies: File removed.
686
687 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
688
689         [BZ #16539]
690         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
691         return the argument for normal arguments with exponent below -64.
692         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
693         Likewise.
694         * math/auto-libm-test-in: Add another test of expm1.
695         * math/auto-libm-test-out: Regenerated.
696
697         [BZ #16287]
698         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
699         calling __erfcl for arguments at least 16.
700         * math/auto-libm-test-in: Add more tests of erf.
701         * math/auto-libm-test-out: Regenerated.
702
703         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
704         individual architectures.
705         * sysdeps/unix/sysv/linux/configure: Regenerated.
706         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
707         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
708         * sysdeps/unix/sysv/linux/powerpc/configure.ac
709         (ldd_rewrite_script): Define variable.
710         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
712         file.
713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
714         generated file.
715         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
716         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
717         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
718         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
719         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
720         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
721         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
722         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
723
724 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
725
726         [BZ #17084]
727         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
728         Rename member __data.d to __data.__elision_data.
729
730 2014-06-24  Wilco  <wdijkstr@arm.com>
731
732         * NEWS: Add 16918 to fixed bug list.
733
734 2014-06-24  Wilco  <wdijkstr@arm.com>
735
736         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
737
738 2014-06-24  Wilco  <wdijkstr@arm.com>
739
740         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
741         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
742         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
743         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
744         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
745         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
746         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
747         Use _FPU_MASK_RM.
748
749 2014-06-24  Wilco  <wdijkstr@arm.com>
750
751         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
752
753 2014-06-24  Wilco  <wdijkstr@arm.com>
754
755         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
756         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
757         * sysdeps/arm/fesetround.c (fesetround): Remove space.
758         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
759
760 2014-06-24  Wilco  <wdijkstr@arm.com>
761
762         [BZ #16918]
763         * sysdeps/arm/feupdateenv.c (feupdateenv):
764         Rewrite to reduce FPSCR accesses and fix return value.
765
766 2014-06-24  Wilco  <wdijkstr@arm.com>
767
768         * sysdeps/arm/fclrexcpt.c (feclearexcept):
769         Optimize to avoid unnecessary FPSCR writes.
770         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
771         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
772         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
773         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
774
775 2014-06-24  Wilco  <wdijkstr@arm.com>
776
777         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
778         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
779         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
780         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
781         Call libc_fetestexcept_vfp.
782         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
783         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
784         __SOFTFP__ ifdef so that they can be built for softfp.
785
786 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
787
788         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
789         argument type signed char.
790
791         * Makerules (check-abi): Dump diff of symlist if the test
792         fails.
793
794 2014-06-23  Roland McGrath  <roland@hack.frob.com>
795
796         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
797         using abort.
798
799         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
800         Remove unused variable ST.
801
802 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
803
804         [BZ #16354]
805         [BZ #17061]
806         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
807         small arguments before calling __expm1.
808         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
809         small arguments before calling __expm1f.
810         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
811         small arguments before calling __expm1l.
812         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
813         Likewise.
814         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
815         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
816         spurious underflow for some cosh tests.
817         * math/auto-libm-test-out: Regenerated.
818         * sysdeps/i386/fpu/libm-test-ulps: Update.
819
820         [BZ #17050]
821         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
822         (__ieee754_y1): Set errno if return value overflows.
823         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
824         (__ieee754_y1f): Set errno if return value overflows.
825         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
826         (__ieee754_y1l): Set errno if return value overflows.
827         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
828         (__ieee754_y1l): Set errno if return value overflows.
829         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
830         * math/auto-libm-test-out: Regenerated.
831
832         * math/gen-auto-libm-tests.c: Document use of
833         ignore-zero-inf-sign.
834         (input_flag_type): Add value flag_ignore_zero_inf_sign.
835         (input_flags): Add ignore-zero-inf-sign.
836         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
837         * math/gen-libm-test.pl (generate_testfile): Handle
838         ignore-zero-inf-sign.
839         * math/auto-libm-test-in: Mark some cpow tests with
840         ignore-zero-inf-sign and some with xfail-rounding.
841         * math/auto-libm-test-out: Regenerated.
842         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
843         * sysdeps/i386/fpu/libm-test-ulps: Update.
844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
845
846         [BZ #16315]
847         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
848         overflowing or underflowing operations take place with sign of
849         result.
850         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
851         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
852         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
853         (__ieee754_pow): Recompute overflowing and underflowing results in
854         original rounding mode.
855         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
856         (__powl_helper): Allow negative argument X and scale negated value
857         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
858         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
859         overflowing or underflowing operations take place with sign of
860         result.
861         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
862         Include <math.h>.
863         * math/auto-libm-test-in: Add more tests of pow.
864         * math/auto-libm-test-out: Regenerated.
865         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
866         (pow_tonearest_test_data): Remove.
867         (pow_test_tonearest): Likewise.
868         (pow_towardzero_test_data): Likewise.
869         (pow_test_towardzero): Likewise.
870         (pow_downward_test_data): Likewise.
871         (pow_test_downward): Likewise.
872         (pow_upward_test_data): Likewise.
873         (pow_test_upward): Likewise.
874         (main): Don't call removed functions.
875         * sysdeps/i386/fpu/libm-test-ulps: Update.
876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
878 2014-06-23  Roland McGrath  <roland@hack.frob.com>
879
880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
881         Moved ...
882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
884         Moved ...
885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
887         Moved ...
888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
890         Moved ...
891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
893         File removed.
894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
895         File removed.
896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
897         File removed.
898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
899         File removed.
900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
901         File removed.
902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
903         File removed.
904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
905         File removed.
906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
907         File removed.
908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
909         File removed.
910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
911         File removed.
912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
913         File removed.
914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
915         File removed.
916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
917         Moved ...
918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
920         Moved ...
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
922         ... here.
923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
924         Moved ...
925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
927         Moved ...
928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
930         Moved ...
931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
933         Moved ...
934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
936         Moved ...
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
939         Moved ...
940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
942         Moved ...
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
946         ... here.
947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
948         Moved ...
949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
951         Moved ...
952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
953         ... here.
954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
955         Moved ...
956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
957         ... here.
958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
959         Moved ...
960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
961         ... here.
962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
963         Moved ...
964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
966         Moved ...
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
971         Moved ...
972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
973         ... here.
974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
975         Moved ...
976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
977         ... here.
978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
979         Moved ...
980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
982         Moved ...
983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
985         Moved ...
986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
988         Moved ...
989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
991         Moved ...
992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
993         ... here.
994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
995         Moved ...
996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
998         Moved ...
999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1001         Moved ...
1002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1004         Moved ...
1005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1009         Moved ...
1010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1012         Moved ...
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1015         Moved ...
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1017         ... here.
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1019         Moved ...
1020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1021         ... here.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1023         Moved ...
1024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1025         ... here.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1027         Moved ...
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1030         Moved ...
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1033         Moved ...
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1036         Moved ...
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1038         ... here.
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1040         Moved ...
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1042         ... here.
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1044         Moved ...
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1046         ... here.
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1048         Moved ...
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1051         Moved ...
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1053
1054 2014-06-23  Will Newton  <will.newton@linaro.org>
1055             Wilco  <wdijkstr@arm.com>
1056
1057         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1058         implementation.  Include get-rounding-mode.h.
1059         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1060         [!libc_feholdsetround_noex_ctx]: Define
1061         libc_feholdsetround_noex_ctx.
1062         [!libc_feholdsetround_noexf_ctx]: Define
1063         libc_feholdsetround_noexf_ctx.
1064         [!libc_feholdsetround_noexl_ctx]: Define
1065         libc_feholdsetround_noexl_ctx.
1066         (libc_feholdsetround_ctx): New function.
1067         (libc_feresetround_ctx): New function.
1068         (libc_feholdsetround_noex_ctx): New function.
1069         (libc_feresetround_noex_ctx): New function.
1070
1071 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1072
1073         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1074         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1075         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1076         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1077         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1078         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1079
1080         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1081         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1082         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1083         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1084         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1085         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1087         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1088         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1089         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1091         Moved ...
1092         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1093         ... here.
1094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1095         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1096         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1097         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1098         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1099         Moved ...
1100         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1102         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1103         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1104         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1106         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1108         Moved ...
1109         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1111         Moved ...
1112         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1114         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1116         Moved ...
1117         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1119         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1120         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1121         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1122         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1123         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1124         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1125         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1126         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1127         Moved ...
1128         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1129         ... here.
1130         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1131         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1132         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1133         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1135         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1136         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1137         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1138         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1139         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1140         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1141         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1142         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1143         Moved ...
1144         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1146         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1148         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1150         Moved ...
1151         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1153         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1154         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1155         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1156
1157         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1158         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1159         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1160         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1161         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1162         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1163         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1164         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1165         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1166         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1167         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1168         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1169         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1170         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1171         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1172         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1173         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1174         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1175         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1176         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1177         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1178         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1179         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1180         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1181         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1182         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1183         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1184         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1185
1186 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1187
1188         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1189         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1190         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1191         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1192         (IPV6_PMTUDISC_INTERFACE): Likewise.
1193         (IPV6_PMTUDISC_OMIT): Likewise.
1194
1195 2014-06-23  Andreas Schwab  <schwab@suse.de>
1196
1197         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1198         Remove unused errout label.
1199
1200 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1201
1202         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1203         macro: hardware supports Vector Crypto instructions.
1204
1205 2014-06-23  Will Newton  <will.newton@linaro.org>
1206
1207         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1208         rather than __builtin_expect.
1209
1210         * elf/dl-lookup.c (undefined_msg): Remove variable.
1211         (_dl_lookup_symbol_x): Replace undefined_msg with string
1212         literal.
1213
1214         * elf/dl-lookup.c (do_lookup_unique): New function.
1215         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1216         to a separate function.
1217
1218 2014-06-23  Andreas Schwab  <schwab@suse.de>
1219
1220         [BZ #17079]
1221         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1222         before reading the next line.
1223
1224 2014-06-23  Will Newton  <will.newton@linaro.org>
1225
1226         * test-skeleton.c (signal_handler): Use printf and %m
1227         rather than perror.  Use printf rather than fprintf to
1228         stderr.  Use puts rather than fputs to stderr.
1229         (main): Likewise.
1230
1231 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1232
1233         * nscd/nscd.c (thread_info_t): Remove typedef.
1234         (thread_info): Remove variable.
1235
1236 2014-06-21  Allan McRae  <allan@archlinux.org>
1237
1238         * NEWS: Mention CVE-2014-4043.
1239
1240 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1241
1242         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1243         * nptl/smp.h: ... here.
1244
1245         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1246
1247         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1248         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1249         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1250         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1251
1252         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1253         * nptl/stack-aliasing.h: New file.
1254         * sysdeps/i386/i686/stack-aliasing.h: New file.
1255         * sysdeps/i386/i686/nptl/Makefile: File removed.
1256         * sysdeps/x86_64/stack-aliasing.h: New file.
1257         * sysdeps/x86_64/nptl/Makefile
1258         (CFLAGS-pthread_create.c): Variable removed.
1259
1260         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1261         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1262         old file.
1263         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1264         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1265         old file.
1266
1267 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1268
1269         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1270         (__ASSUME_SIGFRAME_V2): Remove macro.
1271         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1272         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1273         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1274         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1275         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1276         Declare as function.  Remove conditional macro definitions.
1277         (__default_rt_sa_restorer): Likewise.
1278         (__default_sa_restorer_v1): Remove declaration.
1279         (__default_sa_restorer_v2): Likewise.
1280         (__default_rt_sa_restorer_v1): Likewise.
1281         (__default_rt_sa_restorer_v2): Likewise.
1282         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1283         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1284         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1285
1286 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1287
1288         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1289         (libpthread-routines): Add sysdep.
1290         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1291         * sysdeps/unix/sysv/linux/sparc/Versions
1292         (libpthread: GLIBC_2.3.3): New version set.
1293         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1294         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1295         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1296         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1297         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1298         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1299         Moved ...
1300         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1301         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1302         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1303         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1304         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1305         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1306         * sysdeps/sparc/nptl/sem_init.c: ... here.
1307         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1308         * sysdeps/sparc/nptl/sem_post.c: ... here.
1309         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1310         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1311         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1312         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1313         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1314         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1315         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1316         (libpthread-routines): Add cpu_relax.
1317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1318         File removed.
1319         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1320         (librt: GLIBC_2.3.3): New version set.
1321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1322         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1323         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1324         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1327         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1329         Moved ...
1330         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1332         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1333         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1334         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1336         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1338         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1340         Moved ...
1341         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1342         Update #include.
1343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1344         Moved ...
1345         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1346         Update #include.
1347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1348         Moved ...
1349         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1350         Update #include.
1351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1352         Moved ...
1353         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1354         Update #include.
1355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1356         Moved ...
1357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1358         Update #include.
1359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1360         Moved ...
1361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1362         Update #include.
1363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1364         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1366         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1370         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1372         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1374         Moved ...
1375         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1377         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1379         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1380
1381 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1382
1383         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1384         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1385         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1386         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1387         * nscd/nscd.c: Likewise.
1388         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1389         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1390         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1391         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1392
1393         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1394         <kernel-features.h>.
1395         (init_mq_netlink): Remove conditional have_sock_cloexec
1396         definitions.  Remove code conditional on have_sock_cloexec < 0.
1397         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1398         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1399         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1400         <kernel-features.h>.
1401         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1402         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1403
1404 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1405
1406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1407         Add tests for memset_chk and memset.
1408
1409         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1410         with AVX2_Usable.
1411
1412 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1413
1414         [BZ #16046]
1415         * elf/tst-dl-iter-static.c: New file.
1416         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1417
1418         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1419         error.
1420
1421 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1422
1423         * sysdeps/unix/sysv/linux/kernel-features.h
1424         (__ASSUME_F_GETOWN_EX): Remove macro.
1425         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1426         <kernel-features.h>.
1427         (miss_F_GETOWN_EX): Remove variable or macro.
1428         (do_fcntl): Do not check miss_F_GETOWN_EX.
1429         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1430
1431         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1432         Remove macro.
1433         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1434         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1435         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1436
1437         * sysdeps/unix/sysv/linux/kernel-features.h
1438         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1439         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1440         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1441         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1442
1443 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1444
1445         [BZ #17075]
1446         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1447         Fix calculation of the symbol's value.
1448         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1449         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1450         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1451         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1452         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1453         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1454         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1455         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1456         (modules-names): Add `tst-armtlsdescmod',
1457         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1458         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1459         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1460         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1461         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1462         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1463         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1464         ($(objpfx)tst-armtlsdescloc): New dependency.
1465         ($(objpfx)tst-armtlsdescextnow): Likewise.
1466         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1467         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1468         TLS scheme support.
1469         * sysdeps/arm/configure: Regenerate.
1470
1471 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1472
1473         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1474         (__atfct_seterrno_2): Likewise.
1475         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1476         <kernel-features.h>.
1477         (__ASSUME_ATFCTS): Do not undefine and redefine.
1478         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1479         (__have_atfcts): Remove conditional definition.
1480         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1481         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1482         unreachable if [__ASSUME_ATFCTS].
1483         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1484         not undefine and redefine.
1485         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1486         <kernel-features.h>.
1487         (faccessat) [__NR_faccessat]: Make code unconditional.
1488         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1489         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1490         <kernel-features.h>.
1491         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1492         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1493         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1494         <kernel-features.h>.
1495         (fchownat) [__NR_fchownat]: Make code unconditional.
1496         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1497         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1498         <kernel-features.h>.
1499         (futimesat) [__NR_futimesat]: Make code unconditional.
1500         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1501         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1502         <kernel-features.h>.
1503         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1504         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1505         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1506         <kernel-features.h>.
1507         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1508         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1509         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1510         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1511         <kernel-features.h>.
1512         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1513         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1514         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1515         <kernel-features.h>.
1516         (linkat) [__NR_linkat]: Make code unconditional.
1517         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1518         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1519         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1520         <kernel-features.h>.
1521         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1522         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1523         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1524         <kernel-features.h>.
1525         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1526         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1527         * sysdeps/unix/sysv/linux/openat.c: Do not include
1528         <kernel-features.h>.
1529         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1530         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1531         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1532         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1533         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1534         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1535         <kernel-features.h>.
1536         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1537         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1538         result of INLINE_SYSCALL directly, not via int variable.
1539         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1540         <kernel-features.h>.
1541         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1542         (renameat) [__NR_renameat]: Make code unconditional.
1543         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1544         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1545         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1546         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1547         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1548         (__ASSUME_ATFCTS): Do not undefine and redefine.
1549         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1550         <kernel-features.h>.
1551         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1552         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1553         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1554         <kernel-features.h>.
1555         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1556         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1557         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1558         (__ASSUME_ATFCTS): Do not undefine and redefine.
1559         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1560         <kernel-features.h>.
1561         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1562         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1563         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1564         <kernel-features.h>.
1565         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1566         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1567
1568 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1569
1570         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1571
1572 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1573
1574         [BZ #17069]
1575         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1576         constructed tree before returning error.
1577         * posix/bug-regexp36.c: Expand test case.
1578
1579 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1580
1581         [BZ #6803]
1582         * math/libm-test.inc (scalbln_test_date):
1583         Add errno expectations.
1584         * math/w_scalblnf.c: New File.
1585         Add wrapper which checks for setting errno to ERANGE.
1586         Add weak_alias for corresponding scalbln function.
1587         * math/w_scalbln.c: Likewise.
1588         * math/w_scalblnl.c: Likewise.
1589         * math/Makefile (libm-calls): Add w_scalbln.
1590         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1591         Remove weak_alias for corresponding scalbln function.
1592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1593         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1594         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1595         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1596         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1597         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1598         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1599         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1600         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1601         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1602         Remove long_double_symbol for scalblnl function in libm, libc.
1603         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1604         Add wrapper which checks for setting errno to ERANGE.
1605         Add long_double_symbol for scalblnl function in libm, libc.
1606         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1607         Remove long_double_symbol for scalblnl in libm.
1608         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1609         Add wrapper which checks for setting errno to ERANGE.
1610         Add long_double_symbol for scalblnl function in libm.
1611         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1612         Do not use wrapper because of own implementation.
1613
1614 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1615
1616         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1617         3 bytes for __pad1 for x32.
1618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1619
1620 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1621             H.J. Lu  <hongjiu.lu@intel.com>
1622
1623         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1624         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1625         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1626         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1627         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1628
1629 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1630
1631         [BZ #17069]
1632         * posix/regcomp.c (parse_expression): Deallocate partially
1633         constructed tree before returning error.
1634         * posix/Makefile.c (tests): Add bug-regex36.
1635         (generated): Add bug-regex36.mtrace.
1636         (tests-special): Add $(objpfx)bug-regex36-mem.out
1637         (bug-regex36-ENV): New variable.
1638         ($(objpfx)bug-regex36-mem.out): New rule.
1639         * posix/bug-regex36.c: New file.
1640
1641 2014-06-19  Will Newton  <will.newton@linaro.org>
1642
1643         * malloc/malloc.c (systrim): If extra is zero then return
1644         early.
1645
1646 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1647
1648         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1649
1650 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1651
1652         * sysdeps/aarch64/strchr.S: New file.
1653
1654 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1655
1656         [BZ #17022]
1657         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1658         from arguments -2 or below.
1659         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1660         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1661
1662 2014-06-18  Andreas Schwab  <schwab@suse.de>
1663
1664         [BZ #17062]
1665         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1666         of a bracket expr not to run off the end of the string.
1667         * posix/Makefile (tests): Add tst-fnmatch3.
1668         * posix/tst-fnmatch3.c: New file.
1669
1670 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1671
1672         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1673         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1674         [$(cross-compiling) = no]: Likewise.
1675         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1676         [$(cross-compiling) = no]: Likewise.
1677
1678 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1679
1680         [BZ #17031]
1681         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1682         double, adjusted for any remainder from the high double.
1683         * math/libm-test.inc (nearbyint): Add tests.
1684         (rint): Likewise.
1685
1686 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1687
1688         * nptl/sysdeps/powerpc/Makefile: Moved ...
1689         * sysdeps/powerpc/nptl/Makefile: ... here.
1690         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1691         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1692         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1693         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1694         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1695         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1696         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1697         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1698         * nptl/sysdeps/powerpc/tls.h: Moved ...
1699         * sysdeps/powerpc/nptl/tls.h: ... here.
1700
1701 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1702
1703         [BZ #16681]
1704         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1705         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1706         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1707         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1708         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1709         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1710         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1711         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1712         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1713
1714 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1715
1716         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1717
1718 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1719
1720         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1721         defined operator.
1722
1723         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1724         $TIMEOUTFACTOR.
1725
1726 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1727
1728         [BZ #17058]
1729         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1730         non-executed part of the test.
1731
1732 2014-06-16  Andreas Schwab  <schwab@suse.de>
1733
1734         * string/bits/string2.h (strdup, strndup): Update feature guard.
1735
1736 2014-06-14  David S. Miller  <davem@davemloft.net>
1737
1738         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1739
1740 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1741
1742         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1743         that was previously under [RESET_PID].
1744         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1745
1746         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1747         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1748         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1749         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1750         (__libc_vfork): New strong alias.
1751         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1752
1753 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1754
1755         * sysdeps/generic/elide.h: New file.
1756
1757 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1758
1759         * Makefile (installed-headers): Adjust path of pthread.h header.
1760
1761 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1762
1763         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1764         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1765         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1766         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1767
1768         * nptl/sysdeps/s390/Makefile: Moved ...
1769         * sysdeps/s390/nptl/Makefile: ... here.
1770         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1771         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1772         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1773         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1774         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1775         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1776         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1777         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1778         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1779         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1780         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1781         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1782         * nptl/sysdeps/s390/tls.h: Moved ...
1783         * sysdeps/s390/nptl/tls.h: ... here.
1784
1785         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1786         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1787
1788 2014-06-13  David S. Miller  <davem@davemloft.net>
1789
1790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1791         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1792         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1793         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1796         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1797         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1798         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1799         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1800         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1801         Remove RESET_PID cpp guards.
1802         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1803         Remove RESET_PID cpp guards.
1804         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1805
1806 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1807
1808         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1809         __sp to uintptr_t.
1810
1811 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1812
1813         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1814         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1815         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1816         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1817         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1818         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1819         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1820         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1821         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1823         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1824         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1825         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1826         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1827         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1828         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1829         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1830         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1831         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1832         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1833
1834         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1835         (pthread_rwlock_rdlock): Add elision.
1836         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1837         (pthread_rwlock_wrlock): Add elision.
1838         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1839         (pthread_rwlock_trywrlock): Add elision.
1840         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1841         (pthread_rwlock_tryrdlock): Add elision.
1842         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1843         (pthread_rwlock_tryrdlock): Add elision unlock.
1844         * nptl/sysdeps/pthread/pthread.h:
1845         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1846         (PTHREAD_RWLOCK_INITIALIZER,
1847         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1848         Handle new elision field.
1849         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1850         * sysdeps/arm/nptl/bits/pthreadtypes.h
1851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1852         * sysdeps/sh/nptl/bits/pthreadtypes.h
1853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1854         * sysdeps/tile/nptl/bits/pthreadtypes.h
1855         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1856         * sysdeps/a/nptl/bits/pthreadtypes.h
1857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1858         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1860         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1862         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1864         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1866         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1867         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1868         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1869         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1870         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1872         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1874         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1875         (elision_init): Set try_xbegin to zero when no RTM.
1876         * sysdeps/x86/nptl/bits/pthreadtypes.h
1877         (pthread_rwlock_t): Change __pad1 to __rwelision.
1878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1879
1880 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1881
1882         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1883         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1884         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1885         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1886
1887 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1888
1889         [BZ #16996]
1890         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1891         that the cached result has been set before returning it.
1892
1893 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1894
1895         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1896         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1897         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1898         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1899         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1900         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1901
1902         * nptl/sysdeps/sparc/Makefile: Moved ...
1903         * sysdeps/sparc/nptl/Makefile: ... here.
1904         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1905         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1906         * nptl/sysdeps/sparc/tls.h: Moved ...
1907         * sysdeps/sparc/nptl/tls.h: ... here.
1908         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1909         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1910         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1911         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1912         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1913         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1914         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1915         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1916         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1917         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1918         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1919         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1920         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1921         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1922         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1923         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1924         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1925         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1926         Update #include.
1927         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1928         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1929         Update #include.
1930         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1931         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1932         Update #include.
1933         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1934         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1935         Update #include.
1936
1937         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1938
1939         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1940         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1941
1942         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1943         (struct list_links): Type removed.
1944         (struct thread_node, struct timer_node): Replace struct list_links
1945         with struct list_head.
1946         (list_unlink_ip): Likewise.
1947         * sysdeps/pthread/timer_routines.c
1948         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1949         (list_append, list_insbefore): Likewise.
1950         (list_init): Function removed.
1951         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1952         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1953         * sysdeps/pthread/Makefile: ... here, new file.
1954
1955         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1956         * sysdeps/nptl/Implies: ... here.
1957         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1958         * nptl/sysdeps/pthread/list.h: Moved ...
1959         * include/list.h: ... here.
1960         * nptl/sysdeps/pthread/createthread.c: Moved ...
1961         * nptl/createthread.c: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1963         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1964         * nptl/pt-longjmp.c: ... here.
1965         * nptl/sysdeps/pthread/Makefile: Moved ...
1966         * sysdeps/nptl/Makefile: ... here.
1967         * nptl/sysdeps/pthread/Subdirs: Moved ...
1968         * sysdeps/nptl/Subdirs: ... here.
1969         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1970         * sysdeps/nptl/aio_misc.h: ... here.
1971         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1972         * sysdeps/nptl/bits/libc-lock.h: ... here.
1973         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1974         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1975         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1976         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1977         * nptl/sysdeps/pthread/configure: Moved ...
1978         * sysdeps/nptl/configure: ... here.
1979         * nptl/sysdeps/pthread/configure.ac: Moved ...
1980         * sysdeps/nptl/configure.ac: ... here.
1981         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1982         * sysdeps/nptl/gai_misc.h: ... here.
1983         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1984         * sysdeps/nptl/librt-cancellation.c: ... here.
1985         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1986         * sysdeps/nptl/malloc-machine.h: ... here.
1987         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1988         * sysdeps/nptl/pthread-functions.h: ... here.
1989         * nptl/sysdeps/pthread/pthread.h: Moved ...
1990         * sysdeps/nptl/pthread.h: ... here.
1991         * nptl/sysdeps/pthread/setxid.h: Moved ...
1992         * sysdeps/nptl/setxid.h: ... here.
1993         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1994         * sysdeps/nptl/sigfillset.c: ... here.
1995         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1996         * sysdeps/nptl/tcb-offsets.h: ... here.
1997         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1998         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1999         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2000         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2001         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2002         * sysdeps/pthread/allocalim.h: ... here.
2003         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2004         * sysdeps/pthread/bits/sigthread.h: ... here.
2005         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2006         * sysdeps/pthread/flockfile.c: ... here.
2007         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2008         * sysdeps/pthread/ftrylockfile.c: ... here.
2009         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2010         * sysdeps/pthread/funlockfile.c: ... here.
2011         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2012         * sysdeps/pthread/posix-timer.h: ... here.
2013         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2014         * sysdeps/pthread/timer_create.c: ... here.
2015         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2016         * sysdeps/pthread/timer_delete.c: ... here.
2017         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2018         * sysdeps/pthread/timer_getoverr.c: ... here.
2019         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2020         * sysdeps/pthread/timer_gettime.c: ... here.
2021         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2022         * sysdeps/pthread/timer_routines.c: ... here.
2023         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2024         * sysdeps/pthread/timer_settime.c: ... here.
2025         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2026         * sysdeps/pthread/tst-timer.c: ... here.
2027         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2028         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2029
2030         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2031         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2032
2033         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2034         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2035         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2036         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2037         Update #include target.
2038         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2039         * sysdeps/i386/i686/nptl/Makefile: ... here.
2040         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2041         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2042         Update #include target.
2043         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2044         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2045         * nptl/sysdeps/i386/Makefile: Moved ...
2046         * sysdeps/i386/nptl/Makefile: ... here.
2047         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2048         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2049         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2050         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2051         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2052         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2053         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2054         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2055         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2056         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2057         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2058         * nptl/sysdeps/i386/tls.h: Moved ...
2059         * sysdeps/i386/nptl/tls.h: ... here.
2060
2061         * sysdeps/sh/Makefile [$(subdir) = csu]
2062         (gen-as-const-headers): Add tcb-offsets.sym.
2063         * nptl/sysdeps/sh/Makefile: File removed.
2064         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2065         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2066         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2067         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2068         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2069         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2070         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2071         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2072         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2073         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2074         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2075         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2076         * nptl/sysdeps/sh/tls.h: Moved ...
2077         * sysdeps/sh/nptl/tls.h: ... here.
2078         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2079         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2080         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2081         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2082         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2083         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2084         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2085         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2086         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2087         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2088         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2089         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2090         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2091         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2092         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2093         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2094         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2095         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2096         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2097         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2098         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2099         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2101         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2102         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2103         Moved ...
2104         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2106         Moved ...
2107         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2109         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2112         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2113         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2114         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2115         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2116         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2117         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2118         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2119         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2120         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2121         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2122         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2123         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2124         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2125         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2126
2127 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2128
2129         * posix/spawn_faction_addopen.c: Include string.h.
2130
2131 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2132
2133         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2134         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2135         * nptl/sysdeps/x86_64/Makefile: Moved ...
2136         * sysdeps/x86_64/nptl/Makefile: ... here.
2137         * nptl/sysdeps/x86_64/configure: Moved ...
2138         * sysdeps/x86_64/nptl/configure: ... here.
2139         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2140         * sysdeps/x86_64/nptl/configure.ac: ... here.
2141         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2142         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2143         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2144         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2145         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2146         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2147         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2148         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2149         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2150         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2151         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2152         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2153         * nptl/sysdeps/x86_64/tls.h: Moved ...
2154         * sysdeps/x86_64/nptl/tls.h: ... here.
2155         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2156         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2157         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2158         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2159
2160         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2161
2162 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2163
2164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2165
2166 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2167
2168         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2169         type.
2170         [POSIX] (off_t): Likewise.
2171         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2172         [POSIX] (S_ISBLK): Require macro.
2173         [POSIX] (S_ISCHR): Likewise.
2174         [POSIX] (S_ISDIR): Likewise.
2175         [POSIX] (S_ISFIFO): Likewise.
2176         [POSIX] (S_ISREG): Likewise.
2177         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2178         optional-macro.
2179         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2180         type.
2181         [POSIX] (time_t): Likewise.
2182         [POSIX] (timer_t): Likewise.
2183
2184 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2185
2186         [BZ #17048]
2187         * posix/spawn_int.h (struct __spawn_action): Make the path string
2188         non-const to support deallocation.
2189         * posix/spawn_faction_addopen.c
2190         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2191         * posix/spawn_faction_destroy.c
2192         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2193         path in all spawn_do_open actions.
2194         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2195         posix_spawn_file_actions_addopen.
2196
2197 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2198
2199         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2200         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2201         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2202         conditional code always true.
2203         (__libc_vfork): New alias.
2204
2205 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2206
2207         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2208         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2209
2210         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2211
2212         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2213         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2214
2215         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2216         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2217
2218         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2219         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2220
2221 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2222
2223         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2224         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2225         multiarch strcmp for PPC64.
2226         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2227         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2229         multiarch optimizations.
2230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2231         (__libc_ifunc_impl_list): Likewise.
2232
2233 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2234
2235         * benchtests/scripts/validate_benchout.py: New script.
2236         * benchtests/Makefile (bench-func): Call it.
2237         * benchtests/scripts/benchout.schema.json: New file.
2238
2239 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2240
2241         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2242         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2243         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2244         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2245         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2246         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2247         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2248         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2249         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2250         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2251         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2252         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2253         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2254         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2255         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2256         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2258         Moved ...
2259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2260         ... here.
2261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2262         Moved ...
2263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2265         Moved ...
2266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2267         ... here.
2268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2269         Moved ...
2270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2271         ... here.
2272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2273         Moved ...
2274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2276         Moved ...
2277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2278         ... here.
2279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2280         Moved ...
2281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2282         ... here.
2283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2284         Moved ...
2285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2287         Moved ...
2288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2289         ... here.
2290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2291         Moved ...
2292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2293         ... here.
2294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2295         Moved ...
2296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2297         ... here.
2298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2299         Moved ...
2300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2302         Moved ...
2303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2304         ... here.
2305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2306         Moved ...
2307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2308         ... here.
2309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2310         Moved ...
2311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2312         ... here.
2313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2314         Moved ...
2315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2317         Moved ...
2318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2319         ... here.
2320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2321         Moved ...
2322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2323         ... here.
2324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2325         Moved ...
2326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2328         Moved ...
2329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2330         ... here.
2331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2332         Moved ...
2333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2335         Moved ...
2336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2338         Moved ...
2339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2340         ... here.
2341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2342         Moved ...
2343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2344         ... here.
2345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2346         Moved ...
2347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2348         ... here.
2349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2350         Moved ...
2351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2353         Moved ...
2354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2355         ... here.
2356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2357         Moved ...
2358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2359         ... here.
2360         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2361         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2363         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2365         Moved ...
2366         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2367         ... here.
2368         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2369         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2371         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2373         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2374         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2375         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2376         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2377         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2379         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2381         Moved ...
2382         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2384         Moved ...
2385         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2386         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2387         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2389         Moved ...
2390         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2392         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2394         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2395         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2396         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2397
2398 2014-06-10  Wilco  <wdijkstr@arm.com>
2399
2400         * math/test-fenv-return.c: New file.
2401         * math/Makefile: Add new test test-fenv-return.
2402
2403 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2404
2405         [BZ #17042]
2406         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2407         when x - 1 is zero.
2408         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2409         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2410         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2411         0.0L for an argument of 1.0L.
2412         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2413         Likewise.
2414         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2415         value when x - 1 is zero.
2416         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2417         * sysdeps/i386/fpu/libm-test-ulps: Update.
2418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419
2420 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2421
2422         [BZ #15119]
2423         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2424
2425 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2426
2427         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2428         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2429
2430 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2431
2432         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2433         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2434
2435         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2436         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2437
2438         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2439         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2440
2441         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2442         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2443
2444         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2445         if not already defined.
2446         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2447         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2448         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2449         (TLS_INIT_TP): Use it.
2450         (TLS_DEFINE_INIT_TP): New macro.
2451         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2452
2453 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2454
2455         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2456         constant.
2457         [POSIX] (IXANY): Likewise.
2458         [POSIX] (OLCUC): Likewise.
2459         [POSIX || POSIX2008] (CBAUD): Do not allow.
2460         [POSIX || POSIX2008] (DEFECHO): Likewise.
2461         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2462         [POSIX || POSIX2008] (ECHOKE): Likewise.
2463         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2464         [POSIX || POSIX2008] (EXTA): Likewise.
2465         [POSIX || POSIX2008] (EXTB): Likewise.
2466         [POSIX || POSIX2008] (FLUSHO): Likewise.
2467         [POSIX || POSIX2008] (LOBLK): Likewise.
2468         [POSIX || POSIX2008] (PENDIN): Likewise.
2469         [POSIX || POSIX2008] (SWTCH): Likewise.
2470         [POSIX || POSIX2008] (VDISCARD): Likewise.
2471         [POSIX || POSIX2008] (VDSUSP): Likewise.
2472         [POSIX || POSIX2008] (VLNEXT): Likewise.
2473         [POSIX || POSIX2008] (VREPRINT): Likewise.
2474         [POSIX || POSIX2008] (VSTATUS): Likewise.
2475         [POSIX || POSIX2008] (VWERASE): Likewise.
2476         (B*): Change to B[0123456789]*.
2477         * conform/data/time.h-data [POSIX || UNIX98]
2478         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2479         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2480         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2481         [POSIX] (tm_*): Do not allow.
2482
2483 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2484
2485         * Makefile (install): Don't set LANGUAGE.
2486         * Makefile.in (install): Likewise.
2487         * assert/Makefile (test-assert-ENV): Remove variable.
2488         (test-assert-perr-ENV): Likewise.
2489         * elf/Makefile (neededtest4-ENV): Likewise.
2490         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2491         [$(cross-compiling) = no]: Don't set LANGUAGE.
2492         * io/ftwtest-sh (LANG): Remove variable.
2493         * libio/Makefile (tst-widetext-ENV): Likewise.
2494         * manual/install.texi (Running make install): Don't refer to
2495         environment settings for make install.
2496         * INSTALL: Regenerated.
2497         * nptl/tst-tls6.sh: Don't set LANG.
2498         * posix/globtest.sh (LANG): Remove variable.
2499         * string/Makefile (tester-ENV): Likewise.
2500         (inl-tester-ENV): Likewise.
2501         (noinl-tester-ENV): Likewise.
2502         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2503         [$(cross-compiling) = no]: Don't set LANGUAGE.
2504         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2505         without explicit environment settings.
2506
2507 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2508
2509         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2510         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2511         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2512         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2513
2514 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2515
2516         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2517         other files in the crypt directory.
2518         * crypt/crypt.c: Remove duplicate includes.
2519         * crypt/crypt-entry.c: Likewise.
2520         * crypt/crypt_util.c: Likewise.
2521
2522 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2523
2524         * Makeconfig (run-program-env): New variable.
2525         (run-program-prefix-before-env): Likewise.
2526         (run-program-prefix-after-env): Likewise.
2527         (run-program-prefix): Define in terms of new variables.
2528         (built-program-cmd-before-env): New variable.
2529         (built-program-cmd-after-env): Likewise.
2530         (built-program-cmd): Define in terms of new variables.
2531         (test-program-prefix-before-env): New variable.
2532         (test-program-prefix-after-env): Likewise.
2533         (test-program-prefix): Define in terms of new variables.
2534         (test-program-cmd-before-env): New variable.
2535         (test-program-cmd-after-env): Likewise.
2536         (test-program-cmd): Define in terms of new variables.
2537         * Rules (make-test-out): Use $(run-program-env).
2538         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2539         (help): Do not mention environment variables.  Mention
2540         --timeoutfactor option.
2541         (timeoutfactor): New variable.
2542         (blacklist_exports): Remove function.
2543         (exports): Remove variable.
2544         (command): Do not include ${exports}.
2545         * manual/install.texi (Configuring and compiling): Do not mention
2546         test wrappers preserving environment variables.  Mention that last
2547         assignment to a variable must take precedence.
2548         * INSTALL: Regenerated.
2549         * benchtests/Makefile (run-bench): Use $(run-program-env).
2550         * catgets/Makefile ($(objpfx)test1.cat): Use
2551         $(built-program-cmd-before-env), $(run-program-env) and
2552         $(built-program-cmd-after-env).
2553         ($(objpfx)test2.cat): Do not specify environment variables
2554         explicitly.
2555         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2556         $(run-program-env) and $(built-program-cmd-after-env).
2557         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2558         $(run-program-env) and $(test-program-cmd-after-env).
2559         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2560         explicitly.
2561         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2562         run_program_env and test_program_cmd_after_env arguments.
2563         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2564         * elf/tst-pathopt.sh: Use run_program_env argument.
2565         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2566         $(test-wrapper-env) and $(run-program-env).
2567         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2568         run_program_env arguments.
2569         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2570         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2571         $(test-program-prefix-before-env), $(run-program-env) and
2572         $(test-program-prefix-after-env).
2573         ($(objpfx)tst-gettext2.out): Likewise.
2574         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2575         run_program_env and test_program_prefix_after_env arguments.
2576         * intl/tst-gettext2.sh: Likewise.
2577         * intl/tst-gettext4.sh: Do not set environment variables
2578         explicitly.
2579         * intl/tst-gettext6.sh: Likewise.
2580         * intl/tst-translit.sh: Likewise.
2581         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2582         $(test-program-prefix-before-env), $(run-program-env) and
2583         $(test-program-prefix-after-env).
2584         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2585         run_program_env and test_program_prefix_after_env arguments.
2586         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2587         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2588         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2589         explicitly with each use of ${test_wrapper_env}.
2590         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2591         $(test-program-prefix-before-env), $(run-program-env) and
2592         $(test-program-prefix-after-env).
2593         * posix/tst-getconf.sh: Do not set environment variables
2594         explicitly.
2595         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2596         run_program_env and test_program_prefix_after_env arguments.
2597         * stdio-common/tst-printf.sh: Do not set environment variables
2598         explicitly.
2599         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2600         $(test-program-prefix-before-env), $(run-program-env) and
2601         $(test-program-prefix-after-env).
2602         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2603         run_program_env and test_program_prefix_after_env arguments.
2604         Split $test calls into $test_pre and $test.
2605         * timezone/Makefile (build-testdata): Use
2606         $(built-program-cmd-before-env), $(run-program-env) and
2607         $(built-program-cmd-after-env).
2608
2609 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2610
2611         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2612         strlen for non SHARED builds.
2613
2614 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2615
2616         * nptl/allocatestack.c (check_list): Inlined function...
2617         (__reclaim_stacks): ... here.
2618
2619 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2620
2621         [BZ #15698]
2622         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2623         memory overrun.
2624
2625 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2626
2627         * Rules (make-test-out): Include
2628         LOCPATH=$(common-objpfx)localedata in default environment.
2629         * debug/Makefile (tst-chk1-ENV): Remove variable.
2630         (tst-chk2-ENV): Likewise.
2631         (tst-chk3-ENV): Likewise.
2632         (tst-chk4-ENV): Likewise.
2633         (tst-chk5-ENV): Likewise.
2634         (tst-chk6-ENV): Likewise.
2635         (tst-lfschk1-ENV): Likewise.
2636         (tst-lfschk2-ENV): Likewise.
2637         (tst-lfschk3-ENV): Likewise.
2638         (tst-lfschk4-ENV): Likewise.
2639         (tst-lfschk5-ENV): Likewise.
2640         (tst-lfschk6-ENV): Likewise.
2641         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2642         (tst-iconv7-ENV): Likewise.
2643         * intl/Makefile (LOCPATH-ENV): Likewise.
2644         (tst-codeset-ENV): Likewise.
2645         (tst-gettext3-ENV): Likewise.
2646         (tst-gettext5-ENV): Likewise.
2647         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2648         (tst-fopenloc-ENV): Likewise.
2649         (tst-fgetws-ENV): Remove variable.
2650         (tst-ungetwc1-ENV): Likewise.
2651         (tst-ungetwc2-ENV): Likewise.
2652         (bug-ungetwc2-ENV): Likewise.
2653         (tst-swscanf-ENV): Likewise.
2654         (bug-ftell-ENV): Likewise.
2655         (tst-fgetwc-ENV): Likewise.
2656         (tst-fseek-ENV): Likewise.
2657         (tst-ftell-partial-wide-ENV): Likewise.
2658         (tst-ftell-active-handler-ENV): Likewise.
2659         (tst-ftell-append-ENV): Likewise.
2660         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2661         (tst-regexloc-ENV): Likewise.
2662         (bug-regex1-ENV): Likewise.
2663         (tst-regex-ENV): Likewise.
2664         (tst-regex2-ENV): Likewise.
2665         (bug-regex5-ENV): Likewise.
2666         (bug-regex6-ENV): Likewise.
2667         (bug-regex17-ENV): Likewise.
2668         (bug-regex18-ENV): Likewise.
2669         (bug-regex19-ENV): Likewise.
2670         (bug-regex20-ENV): Likewise.
2671         (bug-regex22-ENV): Likewise.
2672         (bug-regex23-ENV): Likewise.
2673         (bug-regex25-ENV): Likewise.
2674         (bug-regex26-ENV): Likewise.
2675         (bug-regex30-ENV): Likewise.
2676         (bug-regex32-ENV): Likewise.
2677         (bug-regex33-ENV): Likewise.
2678         (bug-regex34-ENV): Likewise.
2679         (bug-regex35-ENV): Likewise.
2680         (tst-rxspencer-ENV): Likewise.
2681         (tst-rxspencer-no-utf8-ENV): Likewise.
2682         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2683         (tst-sscanf-ENV): Likewise.
2684         (tst-swprintf-ENV): Likewise.
2685         (tst-swscanf-ENV): Likewise.
2686         (test-vfprintf-ENV): Likewise.
2687         (scanf13-ENV): Likewise.
2688         (bug14-ENV): Likewise.
2689         (tst-grouping-ENV): Likewise.
2690         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2691         (tst-strtod3-ENV): Likewise.
2692         (tst-strtod4-ENV): Likewise.
2693         (tst-strtod5-ENV): Likewise.
2694         (testmb2-ENV): Likewise./
2695         * string/Makefile (tst-strxfrm-ENV): Likewise.
2696         (tst-strxfrm2-ENV): Likewise.
2697         (bug-strcoll1-ENV): Likewise.
2698         (test-strcasecmp-ENV): Likewise.
2699         (test-strncasecmp-ENV): Likewise.
2700         * time/Makefile (tst-strptime-ENV): Likewise.
2701         (tst-ftime_l-ENV): Likewise.
2702         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2703         (tst-mbrtowc-ENV): Likewise.
2704         (tst-wcrtomb-ENV): Likewise.
2705         (tst-mbrtowc2-ENV): Likewise.
2706         (tst-c16c32-1-ENV): Likewise.
2707         (tst-mbsnrtowcs-ENV): Likewise.
2708
2709 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2710
2711         * manual/resource.texi (How to get information about the memory
2712         subsystem?): Fix typo.
2713         Reported by Peon de la Parra Ivan <peon@keba.com>
2714
2715 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2716
2717         [BZ #16882]
2718         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2719         (pthread_spin_lock): Branch out of spin loop to proper location.
2720         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2721         (pthread_spin_lock): Likewise.
2722
2723         * nptl/tst-spin4.c: New test.
2724         * nptl/Makefile (tests): Add tst-spin4.
2725
2726 2014-06-03  Andreas Schwab  <schwab@suse.de>
2727
2728         [BZ #15946]
2729         * resolv/res_send.c (send_dg): Reload file descriptor after
2730         calling reopen.
2731
2732 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2733
2734         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2735
2736 2014-06-03  Richard Henderson  <rth@redhat.com>
2737
2738         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2739         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2740         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2741         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2742         in the SAVE_PID block.
2743         (__libc_vfork): New alias.
2744         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2745
2746         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2747         child in registers, not on the stack.  Remove RESET_PID conditionals.
2748         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2749
2750 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2751
2752         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2753
2754 2014-06-03  Wilco  <wdijkstr@arm.com>
2755
2756         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2757         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2758         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2759         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2760         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2761         Likewise.
2762
2763 2014-06-03  Wilco  <wdijkstr@arm.com>
2764
2765         * sysdeps/aarch64/fpu/math_private.h
2766         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2767         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2768         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2769         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2770         Fix declarations.
2771
2772 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2773
2774         * crypt/crypt-private.h: Include ufc-crypt.h.
2775         (__b64_from_24bit): Declare extern.
2776         * crypt/crypt_util.c(__b64_from_24bit): New function.
2777         (b64t): New static const variable.
2778         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2779         (b64t): Remove variable.
2780         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2781         * crypt/sha256-crypt.c: Include crypt-private.h.
2782         (b64t): Remove variable.
2783         (__sha256_crypt_r): Remove b64_from_24bit and replace
2784         with __b64_from_24bit.
2785         * crypt/sha512-crypt.c: Likewise.
2786
2787 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2788
2789         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2790         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2791         Label the code __libc_vfork rather than __vfork.
2792         [!NOT_IN_libc] (vfork): Define as weak alias.
2793         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2794         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2795         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2796
2797 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2798
2799         * malloc/malloc.c (malloc_info): Fix format specifier for
2800         n_mmaps.
2801
2802 2014-06-02  Wilco  <wdijkstr@arm.com>
2803
2804         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2805         FPCR write.
2806
2807 2014-06-02  Wilco  <wdijkstr@arm.com>
2808
2809         [BZ #17009]
2810         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2811         Rewrite to reduce FPCR/FPSR accesses.
2812
2813 2014-06-01  David S. Miller  <davem@davemloft.net>
2814
2815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2816
2817 2014-05-31  David S. Miller  <davem@davemloft.net>
2818
2819         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2820         to occur in round to nearest mode when |x| >= 2.0
2821
2822 2014-05-30  Richard Henderson  <rth@twiddle.net>
2823
2824         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2825         (PSEUDO_RET_NOERRNO): Remove.
2826         (ret): Don't redefine.
2827         (ret_NOERRNO): Define in terms of ret.
2828         (ret_ERRVAL): Likewise.
2829
2830         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2831         use of PSEUDO_RET; perform the error check directly.
2832
2833 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2834
2835         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2836         with __int128_t.
2837
2838 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2839
2840         * malloc/malloc (malloc_info): Fix formatting.
2841
2842 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2843             Roland McGrath  <roland@hack.frob.com>
2844
2845         * malloc/malloc (malloc_info): Also print mmapped statistics.
2846
2847 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2848
2849         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2850         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2851
2852 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2853
2854         * malloc/malloc.c (malloc_info): Inline mi_arena.
2855
2856 2014-05-29  Richard Henderson  <rth@twiddle.net>
2857
2858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2859         Remove comma before expanding ASM_ARGS_##nr.
2860         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2861         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2862         of ASM_ARGS_##nr.
2863         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2864         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2865         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2866         (ASM_ARGS_1): Add leading comma.
2867
2868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2869         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2870         to __errno_location.
2871         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2872         Remove the expected plt for __errno_location.
2873
2874         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2875         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2876         call to __read_tp.
2877
2878         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2879         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2880         it and break it down.
2881         (DOCARGS_0, DOCARGS_1): Do nothing.
2882         (DOCARGS_2): Update to store into the new stack frame.
2883         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2884         (UNDOCARGS_1): Update to restore from the new stack frame.
2885         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2886         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2887
2888         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2889         (SINGLE_THREAD_P): New parameter for result regno.
2890         (PSEUDO): Update to match; use cbz instead of beq.
2891
2892         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2893         Use ENTRY to define the _nocancel entry point.  Share the syscall
2894         and syscall error check paths with the cancel path.
2895         (PSEUDO_END): New.
2896
2897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2898         whitespace; tabs before and after asm mnemonics.
2899
2900 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2901
2902         [BZ #15132]
2903         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2904         Call fstat64 or stat64 internally, depending on arguments passed.
2905         Replace stat buffer argument with file descriptor argument.
2906         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2907         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2908         Pass fd to __internal_statvfs instead of calling fstat64.
2909         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2910         Pass fd to __internal_statvfs64 instead of calling fstat64.
2911         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2912         Pass -1 to __internal_statvfs instead of calling stat64.
2913         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2914         Pass -1 to __internal_statvfs64 instead of calling stat64.
2915
2916 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2917
2918         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2919         that was previously under [RESET_PID].
2920         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2921
2922         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2923         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2924
2925 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2926
2927         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2928
2929         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2930         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2931
2932 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2933
2934         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2935
2936 2014-05-27  Andreas Schwab  <schwab@suse.de>
2937
2938         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2939         TLS_INIT_TP macro.
2940         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2941         * elf/rtld.c (init_tls, dl_main): Likewise.
2942         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2943         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2944         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2945         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2946         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2947         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2948         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2949         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2950         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2951         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2952         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2953         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2954         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2955         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2956         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2957         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2958         * sysdeps/generic/tls.h: Update description.
2959
2960 2014-05-27  Will Newton  <will.newton@linaro.org>
2961
2962         [BZ #16990]
2963         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2964         and restore r2 rather than just restoring.
2965
2966 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2967
2968         [BZ #16724]
2969         * libio/tst-ftell-append.c: New test case.
2970         * libio/Makefile (tests): Add test case.
2971         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2972         append mode.
2973         * libio/wfileops.c (do_ftell_wide): Likewise.
2974
2975 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2976
2977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2978
2979         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2980         ...
2981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2983         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2984         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2985         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2986         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2987         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2990         Moved ...
2991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2992         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2993         Moved ...
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2995         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2996         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2997         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2998         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2999         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3000         ...
3001         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3002         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3003         Moved ...
3004         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3005         here.
3006         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3007         ...
3008         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3009         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3010         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3011
3012         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3013         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3014         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3015         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3016
3017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3018         merge into ...
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3021         ...
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3023         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3024         ...
3025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3026         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3027         Moved ...
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3029         here.
3030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3031         Moved ...
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3033         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3034         Moved ...
3035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3036
3037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3038         conditional [RESET_PID].
3039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3041         removed.
3042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3043         removed.
3044
3045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3046         <tcb-offsets.h>.
3047         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3048         (__libc_vfork): New strong alias.
3049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3050         removed.
3051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3052         Removed.
3053
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3055         <tcb-offsets.h>.
3056         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3057         (__libc_vfork): New strong alias.
3058         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3059         removed.
3060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3061         removed.
3062
3063 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3064
3065         * malloc/malloc.c (mi_arena): New function.
3066         (malloc_info): Remove nested function mi_arena. Call non-nosted
3067         function mi_arena.
3068
3069 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3070
3071         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3072         by insrwi.
3073         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3074         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3075         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3076         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3077         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3078         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3079         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3080
3081 2014-05-26  Andreas Schwab  <schwab@suse.de>
3082
3083         [BZ #16984]
3084         * locale/programs/repertoire.c (repertoire_read): Add slash
3085         between I18NPATH element and file name.
3086         * locale/programs/locfile.c (locfile_read): Likewise.
3087
3088 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3089
3090         * nptl/pthread_mutexattr_settype.c
3091         (__pthread_mutexattr_settype):
3092         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3093
3094 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3095
3096         * nptl/tst-mutex5 (do_test):
3097         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3098
3099 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3100
3101         * benchtests/README: Document 'init' directive.
3102         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3103         BENCH_INIT.
3104         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3105         (parse_file): Recognize 'init' directive.
3106
3107 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3108
3109         [BZ #16796]
3110         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3111         alignment of struct pthread.
3112
3113 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3114
3115         [BZ #16878]
3116         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3117         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3118         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3119         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3120
3121 2014-05-25  Richard Henderson  <rth@twiddle.net>
3122
3123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3124         (SINGLE_THREAD_P_PIC): Remove.
3125         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3126         (SINGLE_THREAD_P_PIC): Remove.
3127
3128         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3129         branch to syscall error ...
3130         (PSEUDO): ... here.
3131         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3132         from __local_syscall_error to .Lsyscall_error.
3133         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3134         (SYSCALL_ERROR): Update label name.
3135
3136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3137         Do not use DOARGS/UNDOARGS.
3138         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3139         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3140         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3141         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3142         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3143
3144         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3145         block comment.
3146
3147         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3148         define if !NOT_IN_libc.
3149         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3150         define with non-default symbol versions.
3151
3152 2014-05-23  Richard Henderson  <rth@twiddle.net>
3153
3154         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3155         (vfork, __vfork): Define via compat_symbol.
3156
3157         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3158         [!HAVE_IFUNC] (vfork_compat): Remove.
3159         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3160
3161 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3162
3163         [BZ #16978]
3164         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3165         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3166         variable.
3167
3168 2014-05-23  Richard Henderson  <rth@twiddle.net>
3169
3170         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3171         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3172         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3173         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3174
3175         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3176         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3177         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3178         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3179         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3180         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3181         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3182         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3183         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3184         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3185         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3186         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3187         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3188         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3189         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3190         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3191         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3192         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3193         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3194         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3195         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3196         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3197         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3198         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3199         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3200         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3201         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3202         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3203         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3204         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3205         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3206         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3207         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3208         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3209         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3210         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3211         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3212         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3213         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3214         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3215         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3216         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3217         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3218         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3219         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3220         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3221         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3222         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3223         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3224         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3225         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3226         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3227         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3228         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3229         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3230         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3231
3232         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3233         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3234         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3235         before exiting on error.
3236         (__libc_vfork): New strong alias.
3237         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3238         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3239
3240         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3241         that was previously under [RESET_PID].
3242         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3243
3244         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3245
3246 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3247
3248         [BZ #16977]
3249         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3250         value when x - 1 is zero.
3251         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3252         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3253         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3254         0.0L for an argument of 1.0L.
3255         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3256         Likewise.
3257         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3258         value when x - 1 is zero.
3259         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3260         * sysdeps/i386/fpu/libm-test-ulps: Update.
3261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3262
3263 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3264
3265         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3266         alphasort and versionsort.
3267
3268 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3269
3270         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3271         macro.
3272         [copysignf]: Likewise.
3273
3274 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3275
3276         * crypt/md5-crypt.c: Fix formatting.
3277
3278 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3279
3280         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3281         (b64_from_24bit): New function.
3282
3283 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3284
3285         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3286         libc_hidden_builtin_def to ifunc.
3287         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3288         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3289
3290 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3291
3292         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3293         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3294
3295 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3296
3297         * nscd/Depend (linuxthreads): Remove.
3298         (nptl): Add.
3299         * resolv/Depend (linuxthreads): Remove.
3300         * rt/Depend (linuxthreads): Remove.
3301
3302         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3303         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3304         $(common-objpfx)elf/.
3305         (link-libc-before-gnulib): Likewise.
3306         (elfobjdir): Remove variable.
3307         * Makefile (install): Use $(elf-objpfx) instead of
3308         $(common-objpfx)elf/.
3309         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3310         $(elfobjdir)/.
3311         (link-libc-deps): Likewise.
3312         ($(common-objpfx)libc.so): Likewise.
3313         ($(common-objpfx)linkobj/libc.so): Likewise.
3314         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3315         instead of $(common-objpfx)elf/.
3316         (symbolic-link-list): Likewise.
3317         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3318         [$(cross-compiling) = no]: Likewise.
3319         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3320         $(elfobjdir)/.
3321         (static-gnulib-arch): Likewise.
3322         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3323         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3324         $(common-objpfx)elf/.
3325
3326 2014-05-21  Richard Henderson  <rth@redhat.com>
3327
3328         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3329         (SINGLE_THREAD_P): Use the correct width load.  Fold
3330         into the ldr offset.
3331
3332         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3333         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3334
3335 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3336
3337         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3338         (libgcc_s_resume): Use __attribute_used__.
3339         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3340         Likewise.
3341
3342 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3343
3344         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3345         optimization when used with float constants.
3346
3347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3348
3349 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3350
3351         [BZ #16915]
3352         * locale/nl_langinfo_l.c: Make direct reference to every
3353         _nl_current_CATEGORY symbol.
3354         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3355         (tests-static): Add tst-langinfo-static.
3356         (tests-special): Add tst-langinfo-static.out.
3357         ($(objpfx)tst-langinfo.out): Redirect output.
3358         ($(objpfx)tst-langinfo-static.out): New.
3359         * localedata/tst-langinfo.sh: Send output to stdout.
3360         * localedata/tst-langinfo-static.c: New file.
3361
3362         [BZ #16965]
3363         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3364         when the shift amount is modulo the limb size.
3365
3366 2014-05-20  Richard Henderson  <rth@redhat.com>
3367
3368         [BZ #16967]
3369         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3370         Change type of sa_flags from unsigned int to int.
3371
3372         [BZ #16966]
3373         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3374
3375         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3376
3377 2014-05-20  Will Newton  <will.newton@linaro.org>
3378
3379         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3380         Test the return value of the system call in the nocancel case.
3381
3382 2014-05-20  Will Newton  <will.newton@linaro.org>
3383             Yvan Roux  <yvan.roux@linaro.org>
3384
3385         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3386         #include of asm/ptrace.h.
3387         (PTRACE_GET_THREAD_AREA): Remove #undef.
3388         (PTRACE_GETHBPREGS): Likewise.
3389         (PTRACE_SETHBPREGS): Likewise.
3390         (struct user_regs_struct): New structure.
3391         (struct user_fpsimd_struct): New structure.
3392         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3393         #include of asm/ptrace.h and second #include of sys/user.h.
3394         (PTRACE_GET_THREAD_AREA): Remove #undef.
3395         (PTRACE_GETHBPREGS): Likewise.
3396         (PTRACE_SETHBPREGS): Likewise.
3397         (ELF_NGREG): Use new struct user_regs_struct.
3398         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3399
3400 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3401
3402         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3403         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3404
3405 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3406
3407         [BZ #16958]
3408         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3409         membar to avoid block loads/stores to overlap previous stores.
3410
3411 2014-05-17  Richard Henderson  <rth@redhat.com>
3412
3413         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3414         Create the __##syscall_name##_nocancel entry point.
3415         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3416         Remove; let the sysdep-cancel.h code create it.
3417
3418 2014-05-17  David S. Miller  <davem@davemloft.net>
3419
3420         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3421         Protect with __USE_GNU.
3422         (TIOCSET_TEMPT): Likewise.
3423         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3424         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3425         these are already provided in bits/ioctl-types.h
3426
3427 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3428
3429         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3430         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3431
3432         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3433         Use wait4 regardless of [__NR_waitpid].
3434
3435 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3436
3437         PR libgcc/60166
3438         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3439         (_FP_NANSIGN_Q): Set the quiet bit.
3440
3441 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3442
3443         * benchtests/Makefile
3444         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3445         not $(common-objpfx)math/libm.so.
3446         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3447         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3448         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3449         $(common-objpfx)dlfcn/libdl.so.
3450         ($(objpfx)tst-audit8): Depend on $(libm), not
3451         $(common-objpfx)math/libm.so.
3452         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3453         not $(common-objpfx)dlfcn/libdl.so.
3454         * math/Makefile
3455         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3456         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3457         [$(build-shared) = yes].
3458         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3459         $(common-objpfx)nptl/libpthread.so.
3460         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3461         $(common-objpfx)math/libm.so$(libm.so-version) or
3462         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3463         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3464         $(common-objpfx)dlfcn/libdl.so.
3465         * setjmp/Makefile (link-libm): Remove variable.
3466         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3467         * stdio-common/Makefile (link-libm): Remove variable.
3468         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3469         * stdlib/Makefile (link-libm): Remove variable.
3470         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3471         ($(objpfx)tst-strtod-round): Likewise.
3472         ($(objpfx)tst-tininess): Likewise.
3473         ($(objpfx)tst-strtod-underflow): Likewise.
3474         ($(objpfx)tst-strtod6): Likewise.
3475         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3476         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3477         $(common-objpfx)dlfcn/libdl.so.
3478
3479 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3480
3481         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3482         BSD terminal modes definitions.
3483
3484 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3485
3486         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3487         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3488
3489         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3490         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3491         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3492         Don't do #include_next.
3493         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3494         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3495         Don't do #include_next.
3496         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3497         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3498         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3499         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3500
3501 2014-05-16  Allan McRae  <allan@archlinux.org>
3502
3503         * po/sv.po: Update Swedish translation from translation project.
3504
3505         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3506         in sed expression.
3507
3508 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3509
3510         [BZ #16917]
3511         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3512         errno if the TIOCGPTN ioctl fails with an error different than
3513         EINVAL.
3514         * login/tst-ptsname.c: New file.
3515         * login/Makefile (tests): Add tst-ptsname.
3516
3517         [BZ #16943]
3518         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3519         and prlimit64.
3520
3521 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3522
3523         [BZ #16849]
3524         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3525         herrno to return EAI_AGAIN.
3526
3527 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3528
3529         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3530         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3531         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3532         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3533         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3534         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3535         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3536         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3537         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3538         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3539         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3540         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3541         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3542         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3543         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3544         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3545         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3546         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3547         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3548         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3549         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3550         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3551         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3552         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3554         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3555         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3556         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3557         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3558         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3560         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3562         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3564         Moved ...
3565         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3567         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3569         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3571         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3573         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3575         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3577         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3579         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3581         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3583         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3585         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3587         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3589         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3591         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3593         Moved ...
3594         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3596         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3598         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3600         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3602         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3604         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3606         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3608         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3610         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3612         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3613         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3614         Moved ...
3615         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3617         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3618
3619         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3620         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3621         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3622         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3623         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3624         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3625         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3626         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3627         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3628         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3629         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3630         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3631         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3632         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3633         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3634         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3635         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3636         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3637         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3638         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3639         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3640         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3641         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3642         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3643         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3644         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3645         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3646         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3647         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3648         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3649         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3650
3651         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3652         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3653
3654         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3655         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3656         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3657         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3658         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3659         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3660         Moved ...
3661         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3662         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3663         Moved ...
3664         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3665         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3666         Moved ...
3667         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3668         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3669         Moved ...
3670         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3671         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3672         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3674         Moved ...
3675         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3676         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3677         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3678         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3679         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3680         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3681         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3682         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3683         Moved ...
3684         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3686         Moved ...
3687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3688         ... here.
3689         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3690         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3691         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3692         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3694         Moved ...
3695         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3696         ... here.
3697         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3698         Moved ...
3699         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3700         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3701         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3702         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3703         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3704         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3705         Moved ...
3706         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3707         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3708         Moved ...
3709         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3710         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3711         Moved ...
3712         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3713         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3714         Moved ...
3715         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3716         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3717         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3719         Moved ...
3720         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3721         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3722         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3723         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3724         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3725         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3726         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3727         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3728         Moved ...
3729         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3731         Moved ...
3732         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3733         ... here.
3734         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3735         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3736         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3737         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3739         Moved ...
3740         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3741         ... here.
3742         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3743         Moved ...
3744         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3745         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3746         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3747         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3748         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3749         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3750         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3751         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3752         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3753         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3754         Moved ...
3755         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3756         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3757         Moved ...
3758         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3759         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3760         Moved ...
3761         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3762         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3765         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3766         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3767         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3768         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3769         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3770         Moved ...
3771         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3772         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3773         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3774         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3775         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3776         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3777         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3778         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3779         Moved ...
3780         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3782         Moved ...
3783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3784         ... here.
3785         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3786         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3787         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3788         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3789         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3790         Moved ...
3791         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3792         ... here.
3793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3794         Moved ...
3795         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3796         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3797         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3798         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3799         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3800         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3801         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3802         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3803         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3804         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3805         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3806
3807         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3808         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3809
3810         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3811         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3812
3813         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3814         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3815         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3816         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3817         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3818         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3819         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3820         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3821         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3822         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3823         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3824         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3826         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3827         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3828         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3829         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3830         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3831         Moved ...
3832         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3833         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3834         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3835         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3836         Moved ...
3837         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3839         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3840         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3841         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3843         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3844         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3845         Moved ...
3846         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3848         Moved ...
3849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3853         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3855         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3856         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3857         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3858         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3859         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3860         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3861         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3862         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3863         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3864         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3865         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3866
3867         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3868         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3869         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3870         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3871         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3872
3873         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3874         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3875         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3876         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3877         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3878         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3879         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3880         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3881         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3882         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3883
3884         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3885         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3886
3887         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3888         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3889         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3890         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3891         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3892         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3893         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3894         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3895         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3896         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3897         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3898         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3899         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3900         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3902         Update #include.
3903         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3904         Likewise.
3905         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3906         Likewise.
3907         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3908         Likewise.
3909         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3910         Likewise.
3911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3912         Likewise.
3913         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3914         Likewise.
3915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3916         Likewise.
3917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3918         Likewise.
3919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3920         Likewise.
3921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3926         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3927         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3928         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3929         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3930         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3931         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3932         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3933         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3934         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3935         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3936
3937         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3938         that was previously under [RESET_PID].
3939         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3940         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3941         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3942
3943         * sysdeps/i386/nptl/Implies: New file.
3944         * sysdeps/x86_64/nptl/Implies: New file.
3945         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3946         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3947         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3948         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3949
3950         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3951         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3952         (__libc_vfork): New strong alias.
3953         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3954         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3955
3956         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3957         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3958         (__libc_vfork): New strong alias.
3959         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3960         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3961
3962         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3963         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3964         (__libc_vfork): New strong alias.
3965         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3966         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3967         * nptl/pt-vfork.c: New file.
3968         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3969         (libpthread: GLIBC_2.20): New version set (empty).
3970
3971 2014-05-14  Will Newton  <will.newton@linaro.org>
3972
3973         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3974         rather than #if.
3975
3976 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3977
3978         [BZ #16564]
3979         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3980         arguments with exponent 65 or above.
3981         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3982         arguments 0x1p113L or above.
3983         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3984         to arguments 0x1p107L or above.
3985         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3986         positive arguments with exponent 65 or above.
3987         * math/auto-libm-test-in: Add more tests of log1p.
3988         * math/auto-libm-test-out: Regenerated.
3989
3990         [BZ #16928]
3991         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3992         non-finite arguments is +0.
3993         * math/s_cacosf.c (__cacosf): Likewise.
3994         * math/s_cacosl.c (__cacosl): Likewise.
3995         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3996         * sysdeps/i386/fpu/libm-test-ulps: Update.
3997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3998
3999         [BZ #16927]
4000         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4001         value.
4002         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4003         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4004         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4005         for explicit high bit of mantissa when testing for argument equal
4006         to 1.
4007         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4008         * sysdeps/i386/fpu/libm-test-ulps: Update.
4009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4010
4011         [BZ #16516]
4012         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4013         (__erf): Scale by 16 instead of 8 in potentially underflowing
4014         case.  Ensure exception if result actually underflows.
4015         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4016         (__erff): Scale by 16 instead of 8 in potentially underflowing
4017         case.  Ensure exception if result actually underflows.
4018         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4019         (efx8): Remove variable.
4020         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4021         case.  Ensure exception if result actually underflows.
4022         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4023         (efx8): Remove variable.
4024         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4025         case.  Ensure exception if result actually underflows.
4026         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4027         (efx8): Remove variable.
4028         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4029         case.  Ensure exception if result actually underflows.
4030         * math/auto-libm-test-in: Add more tests of erf.
4031         * math/auto-libm-test-out: Regenerated.
4032
4033 2014-05-14  Andreas Schwab  <schwab@suse.de>
4034
4035         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4036         Remove code conditionalized on USE___THREAD.
4037
4038         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4039         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4040         not definedness.
4041
4042 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4043
4044         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4045         Define unconditionally.
4046         (__ASSUME_O_CLOEXEC): Likewise.
4047         (__ASSUME_SOCK_CLOEXEC): Likewise.
4048         (__ASSUME_IN_NONBLOCK): Likewise.
4049         (__ASSUME_PIPE2): Likewise.
4050         (__ASSUME_EVENTFD2): Likewise.
4051         (__ASSUME_SIGNALFD4): Likewise.
4052         (__ASSUME_DUP3): Likewise.
4053         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4054         (__ASSUME_DUP3): Do not define.
4055         (__ASSUME_EVENTFD2): Likewise.
4056         (__ASSUME_IN_NONBLOCK): Likewise.
4057         (__ASSUME_O_CLOEXEC): Likewise.
4058         (__ASSUME_PIPE2): Likewise.
4059         (__ASSUME_SIGNALFD4): Likewise.
4060         (__ASSUME_SOCK_CLOEXEC): Likewise.
4061         (__ASSUME_UTIMES): Undefine.
4062         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4063         (__ASSUME_UTIMES): Do not define.
4064         (__ASSUME_O_CLOEXEC): Likewise.
4065         (__ASSUME_SOCK_CLOEXEC): Likewise.
4066         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4067         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4068         0x020621].
4069         (__ASSUME_PIPE2): Likewise.
4070         (__ASSUME_EVENTFD2): Likewise.
4071         (__ASSUME_SIGNALFD4): Likewise.
4072         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4073         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4074         Do not define.
4075         (__ASSUME_EVENTFD2): Likewise.
4076         (__ASSUME_SIGNALFD4): Likewise.
4077         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4078         (__ASSUME_32BITUIDS): Likewise.
4079         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4080         (__ASSUME_IPC64): Likewise.
4081         (__ASSUME_ST_INO_64_BIT): Likewise.
4082         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4083         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4084         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4085         (__ASSUME_UTIMES): Do not define.
4086         (__ASSUME_PSELECT): Likewise.
4087         (__ASSUME_PPOLL): Likewise.
4088         (__ASSUME_O_CLOEXEC): Likewise.
4089         (__ASSUME_SOCK_CLOEXEC): Likewise.
4090         (__ASSUME_IN_NONBLOCK): Likewise.
4091         (__ASSUME_PIPE2): Likewise.
4092         (__ASSUME_EVENTFD2): Likewise.
4093         (__ASSUME_SIGNALFD4): Likewise.
4094         (__ASSUME_DUP3): Likewise.
4095         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4096         (__ASSUME_UTIMES): Likewise.
4097         (__ASSUME_O_CLOEXEC): Likewise.
4098         (__ASSUME_SOCK_CLOEXEC): Likewise.
4099         (__ASSUME_IN_NONBLOCK): Likewise.
4100         (__ASSUME_PIPE2): Likewise.
4101         (__ASSUME_EVENTFD2): Likewise.
4102         (__ASSUME_SIGNALFD4): Likewise.
4103         (__ASSUME_DUP3): Likewise.
4104         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4105         (__ASSUME_UTIMES): Likewise.
4106         (__ASSUME_O_CLOEXEC): Likewise.
4107         (__ASSUME_SOCK_CLOEXEC): Likewise.
4108         (__ASSUME_IN_NONBLOCK): Likewise.
4109         (__ASSUME_PIPE2): Likewise.
4110         (__ASSUME_EVENTFD2): Likewise.
4111         (__ASSUME_SIGNALFD4): Likewise.
4112         (__ASSUME_DUP3): Likewise.
4113         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4114         Likewise.
4115         (__ASSUME_UTIMES): Likewise.
4116         (__ASSUME_EVENTFD2): Likewise.
4117         (__ASSUME_SIGNALFD4): Likewise.
4118         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4119         (__ASSUME_O_CLOEXEC): Likewise.
4120         (__ASSUME_SOCK_CLOEXEC): Likewise.
4121         (__ASSUME_IN_NONBLOCK): Likewise.
4122         (__ASSUME_PIPE2): Likewise.
4123         (__ASSUME_EVENTFD2): Likewise.
4124         (__ASSUME_SIGNALFD4): Likewise.
4125         (__ASSUME_DUP3): Likewise.
4126         (__ASSUME_UTIMES): Undefine.
4127
4128         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4129         feclearexcept.  Remove symbol versioning code.
4130         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4131         symbol versioning code.
4132         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4133         symbol versioning code.
4134         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4135         feupdateenv.  Remove symbol versioning code.
4136         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4137         fegetexceptflag.  Remove symbol versioning code.
4138         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4139         fesetexceptflag.  Remove symbol versioning code.
4140         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4141         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4142         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4143         (__posix_fadvise64_l32): Remove prototype.
4144         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4145         code.
4146
4147 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4148
4149         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4150         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4151         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4152         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4153
4154 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4155
4156         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4157         current working directory
4158
4159 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4160
4161         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4162         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4163         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4164         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4165         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4166         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4167         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4168         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4169         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4170         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4171         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4172         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4173         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4174         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4175         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4176         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4177         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4178         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4179         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4180         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4181         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4182         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4183         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4184         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4185         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4186         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4187         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4188         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4189         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4190         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4191         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4192         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4193         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4194         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4195         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4196         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4197         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4198         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4199         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4200         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4201         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4202         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4203
4204         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4205         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4206
4207         * sysdeps/unix/sysv/linux/arm/Makefile
4208         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4209         Add rt-aeabi_unwind_cpp_pr1.
4210         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4211         Add nptl-aeabi_unwind_cpp_pr1.
4212         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4213         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4214         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4215         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4216         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4217         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4218
4219         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4220         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4221         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4222         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4223
4224         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4225         Deconditionalize the code that was previously under [RESET_PID].
4226         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4227
4228         * sysdeps/generic/exit-thread.h: New file.
4229         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4230         * include/unistd.h (__exit_thread): Remove declaration.
4231         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4232         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4233         * csu/libc-start.c: Include <exit-thread.h>.
4234         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4235         * nptl/pthread_create.c: Include <exit-thread.h>.
4236         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4237         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4238         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4239         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4240         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4241         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4242         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4243         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4244         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4245         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4246         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4247         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4248         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4249         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4250         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4251         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4252         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4253
4254 2014-05-13  Andreas Schwab  <schwab@suse.de>
4255
4256         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4257
4258 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4259
4260         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4261         (__ASSUME_UTIMES): Do not condition on kernel version.
4262         (__ASSUME_PSELECT): Define unconditionally.
4263         (__ASSUME_PPOLL): Likewise.
4264         (__ASSUME_ATFCTS): Likewise.
4265         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4266         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4267         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4268         (__ASSUME_UTIMENSAT): Define unconditionally.
4269         (__ASSUME_PRIVATE_FUTEX): Likewise.
4270         (__ASSUME_FALLOCATE): Likewise.
4271         (__ASSUME_O_CLOEXEC): Likewise.
4272         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4273         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4274         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4275         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4276         (__ASSUME_IN_NONBLOCK): Likewise.
4277         (__ASSUME_PIPE2): Likewise.
4278         (__ASSUME_EVENTFD2): Likewise.
4279         (__ASSUME_SIGNALFD4): Likewise.
4280         (__ASSUME_DUP3): Likewise.
4281         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4282         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4283         (__ASSUME_AT_RANDOM): Likewise.
4284         (__ASSUME_PREADV): Likewise.
4285         (__ASSUME_PWRITEV): Likewise.
4286         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4287         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4288         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4289         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4290         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4291         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4292         (__ASSUME_O_CLOEXEC): Define unconditionally.
4293         (__ASSUME_PSELECT): Do not undefine conditionally.
4294         (__ASSUME_PPOLL): Likewise.
4295         (__ASSUME_ATFCTS): Likewise.
4296         (__ASSUME_SET_ROBUST_LIST): Likewise.
4297         (__ASSUME_UTIMENSAT): Likewise.
4298         (__ASSUME_FDATASYNC): Define unconditionally.
4299         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4300         (__ASSUME_SIGFRAME_V2): Likewise.
4301         )__ASSUME_EVENTFD2): Likewise.
4302         (__ASSUME_SIGNALFD4): Likewise.
4303         (__ASSUME_PSELECT): Do not undefine conditionally.
4304         (__ASSUME_PPOLL): Likewise.
4305         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4306         (__ASSUME_PSELECT): Define unconditionally.
4307         (__ASSUME_PPOLL): Likewise.
4308         (__ASSUME_O_CLOEXEC): Likewise.
4309         (__ASSUME_SOCK_CLOEXEC): Likewise.
4310         (__ASSUME_IN_NONBLOCK): Likewise.
4311         (__ASSUME_PIPE2): Likewise.
4312         (__ASSUME_EVENTFD2): Likewise.
4313         (__ASSUME_SIGNALFD4): Likewise.
4314         (__ASSUME_DUP3): Likewise.
4315         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4316         (__ASSUME_O_CLOEXEC): Likewise.
4317         (__ASSUME_SOCK_CLOEXEC): Likewise.
4318         (__ASSUME_IN_NONBLOCK): Likewise.
4319         (__ASSUME_PIPE2): Likewise.
4320         (__ASSUME_EVENTFD2): Likewise.
4321         (__ASSUME_SIGNALFD4): Likewise.
4322         (__ASSUME_DUP3): Likewise.
4323         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4324         (__ASSUME_EVENTFD2): Likewise.
4325         (__ASSUME_SIGNALFD4): Likewise.
4326         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4327
4328 2014-05-12  Andreas Schwab  <schwab@suse.de>
4329
4330         [BZ #16932]
4331         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4332         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4333         than maximum RPC packet size.
4334         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4335         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4336         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4337         (_nss_nis_getservbyport_r): Likewise.
4338
4339 2014-05-12  Will Newton  <will.newton@linaro.org>
4340
4341         * malloc/Makefile (tests): Add tst-mallopt.
4342         * malloc/tst-mallopt.c: New file.
4343
4344 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4345
4346         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4347         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4348
4349 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4350
4351         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4352         (tst-tlsmod6.so): Likewise.
4353
4354 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4355
4356         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4357
4358 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4359
4360         [BZ #16064]
4361         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4362         and <dl-procinfo.h>.
4363         (__fegetenv): Save SSE state in envp->__eip if supported.
4364         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4365         envp->__eip if supported.
4366         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4367         and <dl-procinfo.h>.
4368         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4369         __data_offset and __data_selector in environment to 0.  Set SSE
4370         state if supported.
4371         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4372         test-fenv-sse.
4373         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4374         -mfpmath=sse.
4375         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4376
4377 2014-05-09  Will Newton  <will.newton@linaro.org>
4378
4379         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4380         and libc_relro_required for ARM.
4381         * sysdeps/arm/preconfigure: Regenerate.
4382
4383 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4384             Stefan Liebler  <stli@linux.vnet.ibm.com>
4385
4386         * config.make.in (enable-lock-elision): New Makefile variable.
4387         * configure.ac: Likewise.
4388         * configure: Regenerate.
4389         * sysdeps/s390/configure.ac:
4390         Add check for gcc transactions support.
4391         * sysdeps/s390/configure: Regenerate.
4392         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4393         Build elision files if enabled.
4394         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4395         Add lock elision support for s390.
4396         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4397         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4398         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4399         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4400         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4401         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4403         Likewise.
4404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4405         Likewise.
4406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4407         Likewise.
4408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4409         Likewise.
4410         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4411         (__lll_timedlock_elision, __lll_lock_elision)
4412         (__lll_unlock_elision, __lll_trylock_elision)
4413         (lll_timedlock_elision, lll_lock_elision)
4414         (lll_unlock_elision, lll_trylock_elision): Add.
4415         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4416         (pthread_mutex_t): Add lock elision support for s390.
4417
4418 2014-05-14  Wilco  <wdijkstr@arm.com>
4419
4420         * sysdeps/arm/fclrexcpt.c: Cleanup.
4421         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4422         * sysdeps/arm/feenablxcpt.c: Cleanup.
4423         * sysdeps/arm/fegetenv.c: Cleanup.
4424         * sysdeps/arm/fegetexcept.c: Cleanup.
4425         * sysdeps/arm/fegetround.c: Cleanup.
4426         * sysdeps/arm/feholdexcpt.c: Cleanup.
4427         * sysdeps/arm/fesetenv.c: Cleanup.
4428         * sysdeps/arm/fesetround.c: Cleanup.
4429         * sysdeps/arm/feupdateenv.c: Cleanup.
4430         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4431         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4432         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4433         * sysdeps/arm/ftestexcept.c: Cleanup.
4434         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4435         * sysdeps/arm/setfpucw.c: Cleanup.
4436
4437 2014-05-09  Will Newton  <will.newton@linaro.org>
4438
4439         * sysdeps/arm/armv7/strcmp.S: New file.
4440         * NEWS: Mention addition of ARMv7 optimized strcmp.
4441
4442 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4443
4444         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4445         look for %.ac rather than %.in.
4446
4447         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4448         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4449         * sysdeps/mach/hurd/configure: Regenerated.
4450         * sysdeps/unix/sysv/linux/configure: Regenerated.
4451
4452         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4453
4454 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4455
4456         [BZ# 16922]
4457         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4458         (LONG_SUB): Ditto.
4459         (PTR_SUB): Ditto.
4460
4461 2014-05-07  Andreas Schwab  <schwab@suse.de>
4462
4463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4464         when skipping over non-matching result from nscd.
4465
4466 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4467
4468         [BZ #16876]
4469         * nptl/sockperf.c (client): Check socket return value.
4470
4471         [BZ #16877]
4472         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4473         nscd security class.
4474
4475 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4476
4477         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4478         * sysdeps/arm/unwind.h: ... here.
4479
4480 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4481
4482         [BZ# 16916]
4483         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4484         Define.
4485
4486 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4487
4488         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4489         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4490         multiarch strncpy for PPC64.
4491         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4492         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4493         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4494         multiarch optimizations.
4495         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4496         (__libc_ifunc_impl_list): Likewise.
4497         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4498         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4499         multiarch stpncpy for PPC64.
4500         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4501         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4502
4503 2014-05-06  Andreas Schwab  <schwab@suse.de>
4504
4505         [BZ #16912]
4506         * gmon/mcount.c (_MCOUNT_DECL): Use
4507         atomic_compare_and_exchange_bool_acq instead of
4508         catomic_compare_and_exchange_bool_acq.
4509
4510 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4511
4512         * elf/Makefile (others, install-bin): Remove pldd.
4513         (pldd-modules): Variable removed.
4514         ($(objpfx)pldd): Target removed.
4515         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4516         (others, install-bin): Append pldd here.
4517         ($(objpfx)pldd): New target.
4518
4519         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4520         to 0, so the first #if test emitted later doesn't see it undefined.
4521         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4522         * sysdeps/gnu/errlist.c: Regenerated.
4523
4524 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4525
4526         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4527         [libc_hidden_builtin_def]: Define to empty value.
4528         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4529         [libc_hidden_builtin_def]: Likewise.
4530         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4531         [libc_hidden_builtin_def]: Likewise.
4532         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4533         [libc_hidden_builtin_def]: Likewise.
4534         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4535         __redirect_memcpy and define ifunc as default hidden symbol.
4536         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4537         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4538
4539 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4540
4541         * locale/iso-4217.def: Reintroduce XDR currency.
4542
4543 2014-05-04  Allan McRae  <allan@archlinux.org>
4544
4545         * po/eo.po: Update Esperanto translation from translation project.
4546
4547 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4548
4549         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4550         and FEATURE_INDEX_MAX to 1.
4551         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4552
4553 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4554
4555         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4556         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4557         * iconvdata/big5.c (ONE_DIRECTION): Define.
4558         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4559         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4560         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4561         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4562         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4563         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4564         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4565         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4566         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4567         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4568         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4569         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4570         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4571         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4572         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4573         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4574         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4575         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4576         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4577         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4578         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4579         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4580         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4581         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4582         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4583         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4584         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4585         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4586         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4587         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4588         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4589         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4590         * iconvdata/johab.c (ONE_DIRECTION): Define.
4591         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4592         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4593         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4594         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4595         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4596         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4597         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4598         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4599         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4600         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4601
4602 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4603
4604         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4605         (_IO_JUMPS_OFFSET): Define to 0.
4606
4607         * nptl/sysdeps/pthread/bits/libc-lock.h
4608         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4609         (__libc_lock_define_initialized_recursive): Always define using
4610         initializer.  Modern compilers treat uninitialized (implicit zero) and
4611         explicit zero initializers the same (i.e. put the datum in bss).
4612
4613 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4614
4615         * nscd/nscd-client.h: Include <string.h>.
4616
4617 2014-05-01  David S. Miller  <davem@davemloft.net>
4618
4619         [BZ #16885]
4620         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4621         multiple zero bytes exist at the end of a string.
4622         Reported by Aurelien Jarno <aurelien@aurel32.net>
4623
4624         * string/test-strcmp.c (check): Add explicit test for situations where
4625         there are multiple zero bytes after the first.
4626
4627 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4628
4629         [BZ #16890]
4630         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4631         when compiling wprintf.
4632         * stdio-common/tstdiomisc.c (t3): New function.
4633         (main): Call it.
4634
4635 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4636
4637         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4638         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4639         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4640         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4641
4642 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4643
4644         * stdlib/longlong.h: Updated from GCC.
4645
4646 2014-05-01  Will Newton  <will.newton@linaro.org>
4647             Bernard Ogden  <bernie.ogden@linaro.org>
4648
4649         * NEWS: Update fixed bug list.
4650
4651         [BZ #15119]
4652         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4653
4654 2014-04-30  David S. Miller  <davem@davemloft.net>
4655
4656         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4657         (libc_feholdexcept_setround_sparc_ctx): New function.
4658         (libc_fesetenv_sparc_ctx): Likewise.
4659         (libc_feupdateenv_sparc_ctx): Likewise.
4660         (libc_feholdsetround_sparc_ctx): Likewise.
4661         (libc_feholdexcept_setround_ctx): Define.
4662         (libc_feholdexcept_setroundf_ctx): Likewise.
4663         (libc_feholdexcept_setroundl_ctx): Likewise.
4664         (libc_fesetenv_ctx): Likewise.
4665         (libc_fesetenvf_ctx): Likewise.
4666         (libc_fesetenvl_ctx): Likewise.
4667         (libc_feupdateenv_ctx): Likewise.
4668         (libc_feupdateenvf_ctx): Likewise.
4669         (libc_feupdateenvl_ctx): Likewise.
4670         (libc_feresetround_ctx): Likewise.
4671         (libc_feresetroundf_ctx): Likewise.
4672         (libc_feresetroundl_ctx): Likewise.
4673         (libc_feholdsetround_ctx): Likewise.
4674         (libc_feholdsetroundf_ctx): Likewise.
4675         (libc_feholdsetroundl_ctx): Likewise.
4676
4677         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4678         with __USE_GNU instead of XOPEN cpp guards.
4679
4680         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4681         0.
4682
4683         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4684         with XOPEN cpp guards.
4685
4686 2014-04-30  Julian Brown  <julian@codesourcery.com>
4687
4688         [BZ #16888]
4689         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4690         handling.
4691
4692 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4693
4694         [BZ #9894]
4695         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4696         Change to 2.6.32.
4697         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4698         * sysdeps/unix/sysv/linux/configure: Regenerated.
4699         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4700         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4701         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4702         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4703         * README: Update reference to required Linux kernel version.
4704         * manual/install.texi (Linux): Update reference to required Linux
4705         kernel headers version.
4706         * INSTALL: Regenerated.
4707
4708         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4709         header inclusion.
4710         [POSIX] (limits.h): Likewise.
4711         [POSIX] (math.h): Likewise.
4712         [POSIX] (sys/wait.h): Likewise.
4713         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4714         function.
4715         [POSIX] (stddef.h): Do not allow header inclusion.
4716
4717 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4718
4719         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4720
4721 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4722
4723         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4724         Return immediately after lll_futex_wake.
4725
4726 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4727
4728         [BZ #16791]
4729         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4730         structure.
4731         (datahead_init_pos): Call datahead_init_common early.
4732         (datahead_init_neg): Likewise.
4733
4734         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4735         datahead_init_neg): New functions.
4736         * nscd/aicache.c (addhstaiX): Use them.
4737         * nscd/grpcache.c (cache_addgr): Likewise.
4738         * nscd/hstcache.c (cache_addhst): Likewise.
4739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4740         * nscd/netgroupcache.c (do_notfound): Likewise.
4741         (addgetnetgrentX): Likewise.
4742         (addinnetgrX): Likewise.
4743         * nscd/pwdcache.c (cache_addpw): Likewise.
4744         * nscd/servicescache.c (cache_addserv): Likewise.
4745
4746 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4747             Atsushi Onoe  <atsushi@onoe.org>
4748
4749         [BZ #14308]
4750         [BZ #12994]
4751         [BZ #13651]
4752         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4753         one response is valid.
4754         * resolv/res_send.c (send_dg): Check for validity of other
4755         response if the current response is a referral.
4756
4757 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4758
4759         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4760
4761 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4762
4763         [BZ #16823]
4764         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4765         Always divide by positive zero when computing -Inf result.
4766         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4767         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4768
4769 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4770
4771         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4772         FPSCR if value do not change.
4773         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4774         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4775         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4776         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4777         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4778         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4779         function.
4780
4781 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4782
4783         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4784         * sysdeps/unix/sysv/linux/hppa: Move directory from
4785         ports/systeps/unix/sysv/linux/hppa.
4786         * README: Update listing for hppa-*-linux-gnu.
4787
4788 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4789
4790         [BZ #16754]
4791         * manual/stdio.texi (Hook functions): Fix types of stream hook
4792         functions.
4793         [BZ #16854]
4794         * socket/sys/socket.h: Fix typo in comment.
4795
4796 2014-04-28  Wilco  <wdijkstr@arm.com>
4797
4798         * sysdeps/arm/fenv_private.h: New file.
4799         * sysdeps/arm/math_private.h: New file.
4800         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4801
4802 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4803
4804         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4805         with __int128_t.
4806         (La_x86_64_retval): Likewise.
4807
4808 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4809
4810         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4811         fpsr if value didn't change.
4812         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4813         to fpcr if value didn't change.
4814         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4815         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4816         fpsr or fpcr if value didn't change.
4817         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4818         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4819         fpcr if value didn't change.
4820         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4821         to fpsr if value didn't change.
4822
4823 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4824
4825         * nptl/tst-sem3.c: Use test-skeleton.c
4826         (main): Rename to do_test.  Use return instead of
4827         exit.
4828         * nptl/tst-sem4.c: Use test-skeleton.c
4829         (main): Rename to do_test.
4830
4831 2014-04-22  David S. Miller  <davem@davemloft.net>
4832
4833         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4834         (struct sigaction): New struct member __glibc_reserved0, change
4835         type of sa_flags to int.
4836
4837 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4838
4839         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4840         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4841
4842 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4843
4844         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4845         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4846
4847 2014-04-22  Will Newton  <will.newton@linaro.org>
4848             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4849
4850         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4851         (__longjmp): Add longjmp and longjmp_target SystemTap
4852         probes.
4853         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4854         (__sigsetjmp): Add setjmp SystemTap probe.
4855
4856 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4857
4858         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4859         match manual order.
4860
4861 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4862
4863         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4864
4865         * sysdeps/powerpc/fpu/fenv_private.h
4866         (libc_feholdexcept_setroundl_ctx): Define to
4867         libc_feholdexcept_setround_ppc_ctx.
4868         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4869         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4870         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4871         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4872
4873 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4874
4875         * sysdeps/aarch64/math-tests.h: New file.
4876
4877 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4878
4879         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4880         New.
4881         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4882         Check and set bit_AVX2_Usable.
4883         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4884         macro.
4885         (bit_AVX2): Likewise.
4886         (index_AVX2_Usable): Likewise.
4887         (CPUID_AVX2): Likewise.
4888         (HAS_AVX2): Likewise.
4889
4890 2014-04-17  Will Newton  <will.newton@linaro.org>
4891
4892         * manual/setjmp.texi (System V contexts): Add note that
4893         calling setcontext on a context created by a call to a
4894         signal handler is undefined.  Update text to note that
4895         setcontext from a signal handler is possible but not
4896         recommended.
4897
4898         [BZ #16629]
4899         * stdlib/tst-setcontext.c: Include signal.h.
4900         (main): Check that the signal stack before and
4901         after swapcontext is the same.
4902
4903         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4904         Re-implement to restore registers in user code and avoid
4905         rt_sigreturn system call.
4906
4907 2014-04-17  Wilco  <wdijkstr@arm.com>
4908
4909         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4910         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4911         * math/test-fenv.c: Skip exception trap tests on targets which only
4912         support non-stop mode.
4913
4914 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4915             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4916
4917         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4918         (libc_feholdsetround_aarch64_ctx)
4919         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4920         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4921         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4922         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4923         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4924         (libc_feresetround_noexl_ctx): Define.
4925
4926 2014-04-16  Richard Henderson  <rth@redhat.com>
4927
4928         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4929
4930         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4931         unwind tables.
4932
4933         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4934         const from the non-libc, non-ldso copy.
4935
4936         * sysdeps/alpha/libm-test-ulps: Regenerate.
4937
4938 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4939             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4940
4941         * sysdeps/aarch64/fpu/math_private.h: New file.
4942
4943 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4944
4945         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4946
4947 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4948
4949         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4950         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4951         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4952         Intel MPX bound registers before _dl_profile_fixup.
4953         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4954         registers after _dl_profile_fixup.  Save and restore bound
4955         registers bnd0/bnd1 when calling _dl_call_pltexit.
4956         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4957         (LR_BND_OFFSET): Likewise.
4958         (LRV_BND0_OFFSET): Likewise.
4959         (LRV_BND1_OFFSET): Likewise.
4960
4961 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4962
4963         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4964         to...
4965         * sysdeps/mach/hurd/i386/tls.h: ... here.
4966         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4967         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4968         fields.
4969
4970 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4971
4972         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4973
4974 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4975
4976         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4977
4978 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4979
4980         [BZ #14770]
4981         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4982         * sysdeps/s390/configure: Regenerate.
4983
4984         [BZ #16824]
4985         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4986         Set round-to-nearest internally to reduce error accumulation.
4987
4988 2014-04-16  Alan Modra  <amodra@gmail.com>
4989
4990         [BZ #16740]
4991         [BZ #16619]
4992         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4993         * math/libm-test.inc (frexp_test_data): Add tests.
4994         * NEWS: Update fixed bug list.
4995
4996 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4997
4998         * benchtests/Makefile: Depend on libraries in build directory.
4999         (bench-math): Separate out math tests.
5000         (bench-pthread): Separate out pthread tests.
5001         (bench): Include math and pthread tests.
5002
5003 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5004
5005         [BZ #16831]
5006         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5007         _dl_debug_initialize.
5008
5009         * configure.ac: Remove SELinux header check.
5010         * configure: Regenerate.
5011         * nscd/selinux.c (perms): Array of const char* to permission names.
5012         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5013         default policy. Call string_to_security_class and string_to_av_perm to
5014         translate strings. Enforce default policy and call avs_has_perm with
5015         results of translated strings.
5016
5017 2014-04-13  David S. Miller  <davem@davemloft.net>
5018
5019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5020
5021 2014-04-12  Allan McRae  <allan@archlinux.org>
5022
5023         [BZ #16838]
5024         * manual/string.texi (Collation Functions): Fix qsort argument
5025         order in example.
5026         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5027
5028 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5029
5030         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5031         Make the test a no-op if there are no exceptions defined.
5032
5033 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5034
5035         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5036         enable-hardcoded-path-in-tests
5037
5038 2014-04-11  Will Newton  <will.newton@linaro.org>
5039
5040         * benchtests/Makefile (extra-objs): Add json-lib.o.
5041         (bench-func): Tidy up JSON output.
5042         * benchtests/bench-skeleton.c: Include json-lib.h.
5043         (main): Use JSON library functions to do output of
5044         benchmark results.
5045         * benchtests/bench-timing-type.c (main): Output the
5046         timing type simply, leaving formatting to the user.
5047         * benchtests/json-lib.c: New file.
5048         * benchtests/json-lib.h: Likewise.
5049
5050 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5051
5052         [BZ #15215]
5053         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5054         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5055         memory barriers.  Add comments.
5056         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5057         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5058         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5059         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5060         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5061         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5062
5063 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5064
5065         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5066         * sysdeps/s390/s390-64/configure.ac: ... this ...
5067         * sysdeps/s390/configure.ac: ... to here.
5068         * sysdeps/s390/s390-32/configure: Delete file.
5069         * sysdeps/s390/s390-64/configure: Delete file.
5070         * sysdeps/s390/configure: Regenerate.
5071
5072 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5073
5074         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5075
5076 2014-04-11  Will Newton  <will.newton@linaro.org>
5077
5078         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5079         to zero if it is not defined elsewhere.  (mtrim): Test
5080         the value of MALLOC_DEBUG with #if rather than #ifdef.
5081
5082 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5083
5084         * benchtests/pthread_once-inputs: New file.
5085         * benchtests/pthread_once-source.c: New file.
5086         * benchtests/README: Update documentation.
5087
5088 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5089             H.J. Lu  <hongjiu.lu@intel.com>
5090
5091         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5092         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5093         * sysdeps/x86_64/configure: Regenerated.
5094         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5095         macro.
5096         (REGISTER_SAVE_RAX): Likewise.
5097         (REGISTER_SAVE_RCX): Likewise.
5098         (REGISTER_SAVE_RDX): Likewise.
5099         (REGISTER_SAVE_RSI): Likewise.
5100         (REGISTER_SAVE_RDI): Likewise.
5101         (REGISTER_SAVE_R8): Likewise.
5102         (REGISTER_SAVE_R9): Likewise.
5103         (REGISTER_SAVE_BND0): Likewise.
5104         (REGISTER_SAVE_BND1): Likewise.
5105         (REGISTER_SAVE_BND2): Likewise.
5106         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5107         bound registers when calling _dl_fixup.
5108
5109 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5110
5111         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5112         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5113         of its definition.
5114         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5115         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5116         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5117         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5118         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5119         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5120         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5121
5122 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5123
5124         [BZ #15514]
5125         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5126         pathconf(_PC_NAME_MAX).
5127
5128 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5129
5130         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5131         Remove macro usage.
5132         (__PTHREAD_SPINS): Move definition to ...
5133         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5134         (__PTHREAD_SPINS): ... here.
5135         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5136         (__PTHREAD_SPIN): Likewise.
5137         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5138         (__PTHREAD_SPIN): Likewise.
5139         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5140         (__PTHREAD_SPIN): Likewise.
5141         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5142         (__PTHREAD_SPIN): Likewise.
5143         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5144         (__PTHREAD_SPIN): Likewise.
5145         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5146         (__PTHREAD_SPIN): Likewise.
5147         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5148         (__PTHREAD_SPIN): Likewise.
5149         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5150         (__PTHREAD_SPIN): Likewise.
5151         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5152         (__PTHREAD_SPIN): Likewise.
5153         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5154         (__PTHREAD_SPIN): Likewise.
5155         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5156         (__PTHREAD_SPIN): Likewise.
5157         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5158         (__PTHREAD_SPIN): Likewise.
5159
5160         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5161         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5162         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5163         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5164         imply folder.
5165         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5166         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5167         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5168         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5169         correct imply path.
5170         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5171         strlen symbol for non multi-arch builds.
5172         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5173         missing hidden_def and weak_alias.
5174
5175 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5176
5177         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5178
5179 2014-04-07  Will Newton  <will.newton@linaro.org>
5180
5181         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5182         and contents.  [!_LIBC] Remove #ifndef and contents.
5183         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5184         * string/memccpy.c (__memccpy): Use ANSI prototype.
5185         * string/memfrob.c (memfrob): Likewise.
5186         * string/strcoll.c (STRCOLL): Likewise.
5187         * string/strlen.c (strlen): Likewise.
5188         * string/strtok.c (STRTOK): Likewise.
5189         * string/strcat.c: Remove unused #include of memcopy.h.
5190         (strcat): Use ANSI prototype.
5191         * string/strchr.c: Remove unused #include of memcopy.h.
5192         (strchr): Use ANSI prototype.
5193         * string/strcmp.c: Remove unused #include of memcopy.h.
5194         (strcmp): Use ANSI prototype.
5195         * string/strcpy.c: Remove unused #include of memcopy.h.
5196         (strcpy): Use ANSI prototype.
5197
5198 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5199
5200         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5201         * config.make.in (config-extra-cppflags): Set it from
5202         libc_extra_cppflags.
5203         * configure.ac (libc_extra_cflags): Make it accumulate over
5204         configure fragments.
5205         (libc_extra_cppflags): New flag.
5206         * configure. Regenerate.
5207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5208         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5209         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5211
5212         [BZ #16815]
5213         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5214         result for FE_DOWNWARD rounding mode.
5215         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5216         Likewise.
5217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5218
5219 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5220
5221         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5222         in function argument name.
5223
5224 2014-04-03  David Svoboda  <svoboda@cert.org>
5225
5226         [BZ #5666]
5227         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5228         explicitly.
5229
5230 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5231
5232         * elf/dl-unmap-segments.h: New file.
5233         * sysdeps/generic/ldsodefs.h
5234         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5235         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5236         * elf/dl-fptr.c: Likewise.
5237         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5238         * sysdeps/aarch64/tlsdesc.c: Likewise.
5239         * sysdeps/arm/tlsdesc.c: Likewise.
5240         * sysdeps/i386/tlsdesc.c: Likewise.
5241         * sysdeps/tile/dl-runtime.c: Likewise.
5242         * sysdeps/x86_64/tlsdesc.c: Likewise.
5243         * elf/dl-load.h: New file.
5244         * elf/dl-load.c: Include it.
5245         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5246         Macros moved to dl-load.h.
5247         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5248         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5249         Use _dl_unmap_segments in place of __munmap.
5250         Break out segment-mapping loop into ...
5251         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5252
5253 2014-04-03  Will Newton  <will.newton@linaro.org>
5254
5255         * elf/dl-lookup.c (do_lookup_x): Remove comment
5256         referring to nested function and move variable
5257         declarations down to before first use.
5258
5259 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5260
5261         [BZ #16799]
5262         [BZ #16800]
5263         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5264         with 0 numerator.
5265         * math/s_catanf.c (__catanf): Likewise.
5266         * math/s_catanh.c (__catanh): Likewise.
5267         * math/s_catanhf.c (__catanhf): Likewise.
5268         * math/s_catanhl.c (__catanhl): Likewise.
5269         * math/s_catanl.c (__catanl): Likewise.
5270         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5271         by positive zero when computing -Inf result.
5272         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5273         (catanh_test): Likewise.
5274         * sysdeps/i386/fpu/libm-test-ulps: Update.
5275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5276
5277         [BZ #16789]
5278         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5279         instead of using underflowing value in computing result.
5280         * math/s_clog10.c (__clog10): Likewise.
5281         * math/s_clog10f.c (__clog10f): Likewise.
5282         * math/s_clog10l.c (__clog10l): Likewise.
5283         * math/s_clogf.c (__clogf): Likewise.
5284         * math/s_clogl.c (__clogl): Likewise.
5285         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5286         (clog10_test): Likewise.
5287         * sysdeps/i386/fpu/libm-test-ulps: Update.
5288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5289
5290 2014-04-02  Alan Modra  <amodra@gmail.com>
5291
5292         [BZ #16739]
5293         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5294         output when value is near a power of two.  Use int64_t for lx and
5295         remove casts.  Use decimal rather than hex exponent constants.
5296         Don't use long double multiplication when double will suffice.
5297         * math/libm-test.inc (nextafter_test_data): Add tests.
5298         * NEWS: Add 16739 and 16786 to bug list.
5299
5300         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5301
5302         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5303
5304 2014-04-01  Will Newton  <will.newton@linaro.org>
5305
5306         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5307         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5308
5309 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5310
5311         [BZ #13347]
5312         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5313         * nptl/tst-setuid2.c: New file.
5314         * nptl/Makefile (xtests): Add tst-setuid2.
5315
5316 2014-04-01  Alan Modra  <amodra@gmail.com>
5317
5318         [BZ #16786]
5319         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5320
5321 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5322
5323         [BZ #6803]
5324         [BZ #6804]
5325         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5326         set errno as appropriate.
5327         * math/w_scalbf.c (__scalbf): Likewise.
5328         * math/w_scalbl.c (__scalbl): Likewise.
5329         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5330         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5331         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5332         Add more NaN tests.
5333
5334         [BZ #16349]
5335         * math/w_atan2.c: Include <errno.h>.
5336         (__atan2): Set errno for result underflowing to zero.
5337         * math/w_atan2f.c: Include <errno.h>.
5338         (__atan2f): Set errno for result underflowing to zero.
5339         * math/w_atan2l.c: Include <errno.h>.
5340         (__atan2l): Set errno for result underflowing to zero.
5341         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5342         tests.
5343         * math/auto-libm-test-out: Regenerated.
5344
5345 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5346
5347         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5348         Encode instruction correctly in little endian.
5349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5350         Likewise.
5351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5352         Likewise.
5353         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5354         Likewise.
5355         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5356         Likewise.
5357
5358 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5359
5360         [BZ #9894]
5361         * sysdeps/unix/sysv/linux/kernel-features.h
5362         [__sparc__ && !__arch64__ && !__sparc_v9__]
5363         (__ASSUME_SET_ROBUST_LIST): Do not define.
5364         [__sparc__ && !__arch64__ && !__sparc_v9__]
5365         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5366         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5369         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5370         (__ASSUME_REQUEUE_PI): Likewise.
5371         (__ASSUME_SET_ROBUST_LIST): Likewise.
5372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5373         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5374         Undefine.
5375         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5376         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5377         Likewise.
5378         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5379         Likewise.
5380         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5381         Likewise.
5382         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5383         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5384         Undefine.
5385         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5386         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5387         Likewise.
5388
5389         [BZ #16648]
5390         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5391         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5392         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5393
5394 2014-03-31  Will Newton  <will.newton@linaro.org>
5395
5396         * benchtests/Makefile (bench): Add ffs and ffsll to list
5397         of tests.
5398         * benchtests/ffs-inputs: New file.
5399         * benchtests/ffsll-inputs: Likewise.
5400
5401 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5402
5403         [BZ #16770]
5404         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5405         too large before casting to int.
5406         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5407         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5408         * math/libm-test.inc (scalb_test_data): Add more tests.
5409
5410 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5411
5412         * benchtests/Makefile (DETAILED_OPT): New make option.
5413         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5414         set.
5415         * benchtests/bench-skeleton.c: Include stdbool.h.
5416         (main): Store and print timings per input.
5417         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5418         member to each argument value.
5419         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5420         (_print_arg_data): Initialize per-input timing to 0.
5421
5422         * benchtests/Makefile (timing-type): New binary.
5423         (bench-clean): Also remove bench-timing-type.
5424         (bench): New target for timing-type.
5425         (bench-func): Print output in JSON format.
5426         * benchtests/bench-skeleton.c (main): Print output in JSON
5427         format.
5428         * benchtests/bench-timing-type.c: New file.
5429         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5430         (TIMING_PRINT_STATS): Remove.
5431         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5432         name separately.
5433
5434         * benchtests/bench-modf.c: Remove.
5435         * benchtests/modf-inputs: New inputs file.
5436
5437 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5438
5439         [BZ #16362]
5440         * math/s_clog10.c (M_PI_LOG10E): New macro.
5441         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5442         imaginary parts are 0.
5443         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5444         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5445         imaginary parts are 0.
5446         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5447         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5448         imaginary parts are 0.
5449         * math/libm-test.inc (clog10_test_data): Update expected results
5450         for when real and imaginary parts are 0.
5451
5452 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5453
5454         * elf/dl-load.c: Finish conversion of __builtin_expect into
5455         __glibc_{un}likely.
5456
5457 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5458
5459         [BZ #16348]
5460         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5461         1+x for argument with exponent below -67.
5462         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5463         Likewise.
5464         * math/auto-libm-test-in: Add more tests of exp.
5465         * math/auto-libm-test-out: Regenerated.
5466
5467 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5468
5469         [BZ #16759]
5470         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5471         (nscd_getnetgrent): Use it.
5472
5473         [BZ #16760]
5474         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5475         of stpcpy.
5476
5477 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5478
5479         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5480         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5481         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5482         (lll_robust_unlock): Remove out of line section. Use cfi
5483         intrinsics.
5484         (LLL_STUB_UNWIND_INFO*): Remove.
5485         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5486         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5487         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5488         (lll_robust_unlock): Remove out of line section. Use cfi
5489         intrinsics.
5490         (LLL_STUB_UNWIND_INFO*): Remove.
5491
5492 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5493
5494         [BZ #16758]
5495         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5496         blank values.
5497
5498 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5499
5500         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5501
5502 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5503
5504         [BZ #16198]
5505         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5506         fnstenv.
5507         * math/test-fenv-preserve.c: New file.
5508         * math/Makefile (tests): Add test-fenv-preserve.
5509
5510 2014-03-26  Will Newton <will.newton@linaro.org>
5511
5512         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5513
5514 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5515
5516         * scripts/versionlist.awk: Partition the version sets and emit all
5517         GLIBC_* (sorted) before all others (sorted).
5518
5519 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5520
5521         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5522         GLIBC_2.2.5 version.
5523
5524 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5525
5526         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5527         calls.
5528
5529         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5530         previous change.
5531
5532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5533
5534 2014-03-25  Andreas Schwab  <schwab@suse.de>
5535
5536         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5537         label to be used after in6ailist is initialized.
5538
5539 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5540
5541         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5542         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5543
5544 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5545
5546         [BZ #16357]
5547         [BZ #16599]
5548         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5549         min_plus_half.
5550         (fp_formats): Update initializers.
5551         (init_fp_formats): Initialize new field.
5552         (output_for_one_input_case): Allow underflow for results up to
5553         min_plus_half.
5554         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5555         * math/auto-libm-test-in: Don't mark some underflows from asin and
5556         atanh as spurious.
5557         * math/auto-libm-test-out: Regenerated.
5558         * sysdeps/i386/fpu/libm-test-ulps: Update.
5559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5560
5561 2014-03-25  Andreas Schwab  <schwab@suse.de>
5562
5563         * libio/Makefile (tst-ftell-partial-wide-ENV)
5564         (tst-ftell-active-handler-ENV): Define.
5565
5566 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5567
5568         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5569
5570 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5571
5572         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5573
5574 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5575
5576         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5577         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5578         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5579
5580 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5581
5582         [BZ #16634]
5583         * elf/dl-load.c (open_verify): Add mode parameter.
5584         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5585         (open_path): Change from boolean 'secure' to complete flag 'mode'
5586         (_dl_map_object): Adjust.
5587         * elf/Makefile (tests): Add tst-dlopen-aout.
5588         * elf/tst-dlopen-aout.c: New test.
5589
5590 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5591
5592         [BZ #16714]
5593         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5594         (struct stat): Rename member pad0 to __glibc_reserved0.
5595
5596         [BZ #16712]
5597         * sysdeps/s390/s390-32/bits/wordsize.h
5598         (__WORDSIZE32_SIZE_ULONG): New define.
5599         * sysdeps/s390/s390-64/bits/wordsize.h
5600         (__WORDSIZE32_SIZE_ULONG): Likewise.
5601         * sysdeps/generic/stdint.h (SIZE_MAX):
5602         Define as UL if __WORDSIZE32_SIZE_ULONG.
5603
5604         [BZ #16713]
5605         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5606         (__glibc_reserved0): New variable.
5607         (sa_flags): Change type to int.
5608
5609         * posix/Makefile (before-compile): Use += before-compile instead
5610         of a :=.
5611
5612         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5613         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5614
5615 2014-03-20  Andreas Schwab  <schwab@suse.de>
5616
5617         [BZ #16743]
5618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5619         non-matching result from nscd.
5620
5621 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5622
5623         * scripts/bench.py: Moved to ...
5624         * benchtests/scripts/bench.py: ... here.
5625         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5626
5627 2014-03-24  Andreas Schwab  <schwab@suse.de>
5628
5629         [BZ #16002]
5630         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5631         alloca_account and account alloca use for struct in6ailist.
5632
5633 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5634
5635         [BZ #16284]
5636         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5637         rounding mode to recompute results that overflow to infinity or
5638         underflow to zero.
5639         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5640         bug 16284.
5641         * math/auto-libm-test-out: Regenerated.
5642         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5643         (ccosh_test): Likewise.
5644         (csin_test_data): Use plus_oflow.
5645         (csin_test): Use ALL_RM_TEST.
5646         (csinh_test_data): Use plus_oflow.
5647         (csinh_test): Use ALL_RM_TEST.
5648         * sysdeps/i386/fpu/libm-test-ulps: Update.
5649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5650
5651 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5652
5653         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5654         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5655         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5656
5657         [BZ #16731]
5658         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5659         when x - 1 is zero.
5660         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5661         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5662         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5663         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5664         argument is 1.
5665         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5666         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5667         zero.
5668         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5669         * sysdeps/i386/fpu/libm-test-ulps: Update.
5670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5671
5672 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5673
5674         * scripts/bench.pl: Remove file.
5675         * scripts/bench.py: New benchmark script.
5676         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5677         * benchtests/README: Mention python dependency.
5678         * scripts/pylintrc: New file.
5679         * scripts/pylint: New file.
5680
5681         * bits/mathdef.h: Use #ifdef instead of #if.
5682         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5683         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5684         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5685         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5686         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5687         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5688
5689 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5690             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5691
5692         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5694         and strpbrk-ppc64 objects.
5695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5696         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5697         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5698         multiarch strpbrk for POWER7.
5699         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5700         multiarch strpbrk for PPC64.
5701         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5702         ifunc selector.
5703         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5704         strpbrk for POWER7.
5705
5706 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5707
5708         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5709         (atan_test): Likewise.
5710         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5711         (atanh_test): Use ALL_RM_TEST.
5712         (atan2_test_data): Likewise.
5713         (cabs_test): Likewise.
5714         (cacosh_test): Likewise.
5715         (carg_test): Likewise.
5716         (casin_test): Likewise.
5717         (casinh_test): Likewise.
5718         (cbrt_test): Likewise.
5719         (csqrt_test): Likewise.
5720         (erf_test): Likewise.
5721         (erfc_test): Likewise.
5722         (pow10_test): Likewise.
5723         (exp2_test): Likewise.
5724         (hypot_test): Likewise.
5725         (j0_test): Likewise.
5726         (j1_test): Likewise.
5727         (lgamma_test): Likewise.
5728         (gamma_test): Likewise.
5729         (sincos_test): Likewise.
5730         (tanh_test): Likewise.
5731         (y0_test): Likewise.
5732         (y1_test): Likewise.
5733         * sysdeps/i386/fpu/libm-test-ulps: Update.
5734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5735
5736 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5737
5738         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5740         and strcspn-ppc64 objects.
5741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5742         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5743         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5744         multiarch strcspn for POWER7.
5745         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5746         multiarch strcspn for PPC64.
5747         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5748         ifunc selector.
5749         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5750         strcspn for POWER7.
5751
5752 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5753
5754         * math/gen-libm-test.pl (generate_testfile): Expect only function
5755         name as argument to AUTO_TESTS_* and pass results for all rounding
5756         modes to parse_args.
5757         (parse_auto_input): Separate inputs of automatic tests from
5758         outputs before storing in %auto_tests.
5759         * math/libm-test.inc (acos_test_data): Update call to
5760         AUTO_TESTS_f_f.
5761         (acos_test): Use ALL_RM_TEST.
5762         (acos_tonearest_test_data): Remove.
5763         (acos_test_tonearest): Likewise.
5764         (acos_towardzero_test_data): Likewise.
5765         (acos_test_towardzero): Likewise.
5766         (acos_downward_test_data): Likewise.
5767         (acos_test_downward): Likewise.
5768         (acos_upward_test_data): Likewise.
5769         (acos_test_upward): Likewise.
5770         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5771         (asin_test_data): Likewise.
5772         (asin_test): Use ALL_RM_TEST.
5773         (asin_tonearest_test_data): Remove.
5774         (asin_test_tonearest): Likewise.
5775         (asin_towardzero_test_data): Likewise.
5776         (asin_test_towardzero): Likewise.
5777         (asin_downward_test_data): Likewise.
5778         (asin_test_downward): Likewise.
5779         (asin_upward_test_data): Likewise.
5780         (asin_test_upward): Likewise.
5781         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5782         (atan_test_data): Likewise.
5783         (atanh_test_data): Likewise.
5784         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5785         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5786         (carg_test_data): Likewise.
5787         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5788         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5789         (ccosh_test_data): Likewise.
5790         (cexp_test_data): Likewise.
5791         (clog_test_data): Likewise.
5792         (clog10_test_data): Likewise.
5793         (cos_test_data): Update call to AUTO_TESTS_f_f.
5794         (cos_test): Use ALL_RM_TEST.
5795         (cos_tonearest_test_data): Remove.
5796         (cos_test_tonearest): Likewise.
5797         (cos_towardzero_test_data): Likewise.
5798         (cos_test_towardzero): Likewise.
5799         (cos_downward_test_data): Likewise.
5800         (cos_test_downward): Likewise.
5801         (cos_upward_test_data): Likewise.
5802         (cos_test_upward): Likewise.
5803         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5804         (cosh_test): Use ALL_RM_TEST.
5805         (cosh_tonearest_test_data): Remove.
5806         (cosh_test_tonearest): Likewise.
5807         (cosh_towardzero_test_data): Likewise.
5808         (cosh_test_towardzero): Likewise.
5809         (cosh_downward_test_data): Likewise.
5810         (cosh_test_downward): Likewise.
5811         (cosh_upward_test_data): Likewise.
5812         (cosh_test_upward): Likewise.
5813         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5814         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5815         (ctan_test_data): Likewise.
5816         (ctan_test): Use ALL_RM_TEST.
5817         (ctan_tonearest_test_data): Remove.
5818         (ctan_test_tonearest): Likewise.
5819         (ctan_towardzero_test_data): Likewise.
5820         (ctan_test_towardzero): Likewise.
5821         (ctan_downward_test_data): Likewise.
5822         (ctan_test_downward): Likewise.
5823         (ctan_upward_test_data): Likewise.
5824         (ctan_test_upward): Likewise.
5825         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5826         (ctanh_test): Use ALL_RM_TEST.
5827         (ctanh_tonearest_test_data): Remove.
5828         (ctanh_test_tonearest): Likewise.
5829         (ctanh_towardzero_test_data): Likewise.
5830         (ctanh_test_towardzero): Likewise.
5831         (ctanh_downward_test_data): Likewise.
5832         (ctanh_test_downward): Likewise.
5833         (ctanh_upward_test_data): Likewise.
5834         (ctanh_test_upward): Likewise.
5835         (erf_test_data): Update call to AUTO_TESTS_f_f.
5836         (erfc_test_data): Likewise.
5837         (exp_test_data): Likewise.
5838         (exp_test): Use ALL_RM_TEST.
5839         (exp_tonearest_test_data): Remove.
5840         (exp_test_tonearest): Likewise.
5841         (exp_towardzero_test_data): Likewise.
5842         (exp_test_towardzero): Likewise.
5843         (exp_downward_test_data): Likewise.
5844         (exp_test_downward): Likewise.
5845         (exp_upward_test_data): Likewise.
5846         (exp_test_upward): Likewise.
5847         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5848         (exp10_test): Use ALL_RM_TEST.
5849         (exp10_tonearest_test_data): Remove.
5850         (exp10_test_tonearest): Likewise.
5851         (exp10_towardzero_test_data): Likewise.
5852         (exp10_test_towardzero): Likewise.
5853         (exp10_downward_test_data): Likewise.
5854         (exp10_test_downward): Likewise.
5855         (exp10_upward_test_data): Likewise.
5856         (exp10_test_upward): Likewise.
5857         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5858         (expm1_test_data): Likewise.
5859         (expm1_test): Use ALL_RM_TEST.
5860         (expm1_tonearest_test_data): Remove.
5861         (expm1_test_tonearest): Likewise.
5862         (expm1_towardzero_test_data): Likewise.
5863         (expm1_test_towardzero): Likewise.
5864         (expm1_downward_test_data): Likewise.
5865         (expm1_test_downward): Likewise.
5866         (expm1_upward_test_data): Likewise.
5867         (expm1_test_upward): Likewise.
5868         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5869         (fma_test): Use ALL_RM_TEST.
5870         (fma_towardzero_test_data): Remove.
5871         (fma_test_towardzero): Likewise.
5872         (fma_downward_test_data): Likewise.
5873         (fma_test_downward): Likewise.
5874         (fma_upward_test_data): Likewise.
5875         (fma_test_upward): Likewise.
5876         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5877         (j0_test_data): Update call to AUTO_TESTS_f_f.
5878         (j1_test_data): Likewise.
5879         (jn_test_data): Update call to AUTO_TESTS_if_f.
5880         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5881         (log_test_data): Update call to AUTO_TESTS_f_f.
5882         (log10_test_data): Likewise.
5883         (log1p_test_data): Likewise.
5884         (log2_test_data): Likewise.
5885         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5886         (pow_tonearest_test_data): Likewise.
5887         (sin_test_data): Update call to AUTO_TESTS_f_f.
5888         (sin_test): Use ALL_RM_TEST.
5889         (sin_tonearest_test_data): Remove.
5890         (sin_test_tonearest): Likewise.
5891         (sin_towardzero_test_data): Likewise.
5892         (sin_test_towardzero): Likewise.
5893         (sin_downward_test_data): Likewise.
5894         (sin_test_downward): Likewise.
5895         (sin_upward_test_data): Likewise.
5896         (sin_test_upward): Likewise.
5897         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5898         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5899         (sinh_test): Use ALL_RM_TEST.
5900         (sinh_tonearest_test_data): Remove.
5901         (sinh_test_tonearest): Likewise.
5902         (sinh_towardzero_test_data): Likewise.
5903         (sinh_test_towardzero): Likewise.
5904         (sinh_downward_test_data): Likewise.
5905         (sinh_test_downward): Likewise.
5906         (sinh_upward_test_data): Likewise.
5907         (sinh_test_upward): Likewise.
5908         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5909         (sqrt_test): Use ALL_RM_TEST.
5910         (sqrt_tonearest_test_data): Remove.
5911         (sqrt_test_tonearest): Likewise.
5912         (sqrt_towardzero_test_data): Likewise.
5913         (sqrt_test_towardzero): Likewise.
5914         (sqrt_downward_test_data): Likewise.
5915         (sqrt_test_downward): Likewise.
5916         (sqrt_upward_test_data): Likewise.
5917         (sqrt_test_upward): Likewise.
5918         (tan_test_data): Update call to AUTO_TESTS_f_f.
5919         (tan_test): Use ALL_RM_TEST.
5920         (tan_tonearest_test_data): Remove.
5921         (tan_test_tonearest): Likewise.
5922         (tan_towardzero_test_data): Likewise.
5923         (tan_test_towardzero): Likewise.
5924         (tan_downward_test_data): Likewise.
5925         (tan_test_downward): Likewise.
5926         (tan_upward_test_data): Likewise.
5927         (tan_test_upward): Likewise.
5928         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5929         (tgamma_test_data): Likewise.
5930         (y0_test_data): Likewise.
5931         (y1_test_data): Likewise.
5932         (yn_test_data): Update call to AUTO_TESTS_if_f.
5933         (main): Do not call removed functions.
5934
5935 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5936
5937         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5938         (ldexp_test_data): Remove.
5939         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5940         scalbn_test_data.
5941         (scalb_test): Use ALL_RM_TEST.
5942
5943 2014-03-19  Andreas Schwab  <schwab@suse.de>
5944
5945         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5946
5947 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5948
5949         [BZ #16649]
5950         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5951         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5952         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5953         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5954         (__ASSUME_PREADV): Undefine.
5955         (__ASSUME_PWRITEV): Likewise.
5956
5957 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5958
5959         * bits/mman-linux.h: Add comment about non-Linux use.
5960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5961         bits/mman-linux.h resting place.
5962
5963         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5964         * bits/mman-linux.h: ... here.
5965
5966 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5967
5968         * conform/conformtest.pl: Add standard definition when calling C
5969         preprocessor on data files.
5970         (checknamespace): Remove unused variable.
5971
5972 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5973
5974         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5975         minus_oflow, plus_uflow and minus_uflow in expected results.
5976         * math/libm-test.inc (scalbn_test_data): Add more tests of
5977         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5978         minus_uflow.
5979         (scalbn_test): Use ALL_RM_TEST.
5980         (scalbln_test_data): Add more tests of negative arguments.  Use
5981         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5982         (scalbln_test): Use ALL_RM_TEST.
5983
5984 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5985
5986         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5987
5988 2014-03-18  Will Newton  <will.newton@linaro.org>
5989
5990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5991         inaccurate comment.
5992
5993 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5994
5995         * Makerules [!subdir] (check-abi): Exit with error status if a
5996         test failed.
5997
5998 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5999
6000         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6001         for rint.  Include results for all rounding modes.
6002         (nearbyint_test): Use ALL_RM_TEST.
6003         (rint_test_data): Include all tests used for nearbyint.
6004
6005 2014-03-17  Will Newton  <will.newton@linaro.org>
6006
6007         * nptl/sysdeps/pthread/pthread.h: Revert previous
6008         change.
6009
6010         * sysdeps/generic/ldsodefs.h: Revert previous
6011         change.
6012
6013         * libio/genops.c: Revert previous change.
6014         * libio/libioP.h: Likewise.
6015         * stdio-common/vfprintf.c: Likewise.
6016
6017         * sysdeps/generic/math_private.h: Revert previous
6018         change.
6019
6020         * sysdeps/generic/math_private.h: Check whether
6021         HAVE_RM_CTX is defined with #ifdef rather
6022         than #if.
6023
6024         * argp/argp-fmtstream.h: Check whether
6025         __STRICT_ANSI__ is defined with #ifdef rather
6026         than #if.
6027         * argp/argp.h: Likewise.
6028
6029         * libio/genops.c: Check whether
6030         _IO_JUMPS_OFFSET is defined with #ifdef rather
6031         than #if.
6032         * libio/libioP.h: Likewise.
6033         * stdio-common/vfprintf.c: Likewise.
6034
6035         * sysdeps/generic/ldsodefs.h: Check whether
6036         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6037         than #if.
6038
6039         * nptl/sysdeps/pthread/pthread.h: Check
6040         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6041         its value.
6042
6043 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6044
6045         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6046         setting O_APPEND.
6047         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6048         test case.
6049
6050         [BZ #16680]
6051         * libio/fileops.c (_IO_file_open): Seek to end of file but
6052         don't cache the offset.
6053         (get_file_offset): Remove function.
6054         (do_ftell): Use cached offset when available.
6055         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6056         don't cache the offset.
6057         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6058         case.
6059         (do_one_test): Call it.
6060         (do_ftell_test): Fix up expected old offset for a+ mode.
6061         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6062         available.
6063
6064         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6065         up test status with function return status.
6066         (do_write_test): Likewise.
6067         (do_append_test): Likewise.
6068
6069         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6070         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6071         Remove.
6072
6073 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6074
6075         * math/gen-libm-test.pl (parse_args): Handle results specified for
6076         each rounding mode separately.
6077         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6078         tests and results from lrint_tonearest_test_data,
6079         lrint_towardzero_test_data, lrint_downward_test_data and
6080         lrint_upward_test_data.
6081         (lrint_test): Use ALL_RM_TEST.
6082         (lrint_tonearest_test_data): Remove.
6083         (lrint_test_tonearest): Likewise.
6084         (lrint_towardzero_test_data): Likewise.
6085         (lrint_test_towardzero): Likewise.
6086         (lrint_downward_test_data): Likewise.
6087         (lrint_test_downward): Likewise.
6088         (lrint_upward_test_data): Likewise.
6089         (lrint_test_upward): Likewise.
6090         (llrint_test_data): Merge in per-rounding-mode tests and results
6091         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6092         llrint_downward_test_data and llrint_upward_test_data.
6093         (llrint_test): Use ALL_RM_TEST.
6094         (llrint_tonearest_test_data): Remove.
6095         (llrint_test_tonearest): Likewise.
6096         (llrint_towardzero_test_data): Likewise.
6097         (llrint_test_towardzero): Likewise.
6098         (llrint_downward_test_data): Likewise.
6099         (llrint_test_downward): Likewise.
6100         (llrint_upward_test_data): Likewise.
6101         (llrint_test_upward): Likewise.
6102         (rint_test_data): Merge in per-rounding-mode tests and results
6103         from rint_tonearest_test_data, rint_towardzero_test_data,
6104         rint_downward_test_data and rint_upward_test_data.  Add
6105         per-rounding-mode results for tests not in those arrays.
6106         (rint_test): Use ALL_RM_TEST.
6107         (rint_tonearest_test_data): Remove.
6108         (rint_test_tonearest): Likewise.
6109         (rint_towardzero_test_data): Likewise.
6110         (rint_test_towardzero): Likewise.
6111         (rint_downward_test_data): Likewise.
6112         (rint_test_downward): Likewise.
6113         (rint_upward_test_data): Likewise.
6114         (rint_test_upward): Likewise.
6115         (main): Don't call removed functions.
6116
6117 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6118
6119         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6120         "Compiled on ..." crapola.  It is anti-useful.
6121
6122 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6123
6124         * scripts/evaluate-test.sh: Handle fourth argument to determine
6125         whether test run should stop on failure.
6126         * Makeconfig (stop-on-test-failure): New variable.
6127         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6128         $(stop-on-test-failure).
6129         * Makefile (tests): Give a summary of results from testing and
6130         exit with failure status if they include an ERROR or FAIL.
6131         (xtests): Likewise.
6132         * manual/install.texi (Configuring and compiling): Mention
6133         stop-on-test-failure=y.
6134         * INSTALL: Regenerated.
6135
6136 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6137
6138         * scripts/versionlist.awk: New file.
6139         * Makerules [$(build-shared) = yes]
6140         (postclean-generated): Add Versions.def, not Versions.def.v and
6141         Versions.def.v.i.
6142         ($(common-objpfx)Versions.def.v.i): Target removed.
6143         ($(common-objpfx)Versions.def): New target.
6144         ($(common-objpfx)Versions.all): Depend on that rather that
6145         $(common-objpfx)Versions.def.v.
6146         * Versions.def: File removed.
6147
6148         * Makeconfig (+gccwarn): Add -Wundef.
6149         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6150         a dl-sysdep.h breaking its contract.
6151         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6152         * include/stackinfo.h: New file.
6153         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6154         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6155         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6156         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6157         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6158         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6159         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6160         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6161         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6162         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6163         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6164         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6165         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6166         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6167         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6168
6169 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6170
6171         [BZ #16707]
6172         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6173         implementation.
6174         * math/libm-test.inc (round_test_data): Add more tests.
6175
6176         [BZ #16706]
6177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6178         implementation.
6179         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6180
6181         [BZ #16701]
6182         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6183         implementation.
6184         * math/libm-test.inc (ceil_test_data): Add more tests.
6185
6186         * math/libm-test.inc (trunc_test_data): Add more tests related to
6187         BZ#16414.
6188
6189 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6190
6191         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6192         with #if rather than #ifdef.
6193         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6194
6195 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6196
6197         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6198         first.  Disable AVX-512 GCC support if assembler doesn't support
6199         it.
6200         * sysdeps/x86_64/configure: Regenerated.
6201
6202 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6203
6204         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6205         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6206         (__old_pthread_attr_setstack): Likewise.
6207         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6208         [!_STACK_GROWS_DOWN]: Likewise.
6209
6210 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6211
6212         * config.make.in (have-bash2): Delete.
6213         * configure.ac (libc_cv_have_bash2): Delete.
6214         * configure: Regenerate.
6215         * elf/Makefile (common-ldd-rewrite): Rename to ...
6216         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6217         (sh-ldd-rewrite): Delete.
6218         (bash-ldd-rewrite): Delete.
6219         (have-bash2): Delete checks.
6220         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6221         ldd-rewrite.
6222
6223         * config.make.in (have-ksh): Delete.
6224         (KSH): Delete.
6225         * configure.ac (libc_cv_have_ksh): Delete.
6226         * configure: Regenerate.
6227
6228         * elf/Makefile: Delete $(have-ksh) check.
6229         ($(objpfx)sotruss): Change KSH to BASH.
6230         * elf/sotruss.ksh: Rename to ...
6231         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6232         function style to match POSIX.  Drop ksh vim mode setting.
6233
6234         * manual/time.texi (Specifying the Time Zone with TZ): Change
6235         Tuesday to Thursday.
6236
6237         * debug/tst-longjmp_chk2.c: Update header comment.
6238         (stackoverflow_handler): Add comment.  Call assert on pass value.
6239
6240 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6241
6242         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6243         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6244         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6245         (La_x86_64_vector): Add zmm.
6246         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6247         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6248         ($(objpfx)tst-audit10): New target.
6249         ($(objpfx)tst-audit10.out): Likewise.
6250         (tst-audit10-ENV): New.
6251         (AVX512-CFLAGS): Likewise.
6252         (CFLAGS-tst-audit10.c): Likewise.
6253         (CFLAGS-tst-auditmod10a.c): Likewise.
6254         (CFLAGS-tst-auditmod10b.c): Likewise.
6255         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6256         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6257         * sysdeps/x86_64/configure: Regenerated.
6258         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6259         AVX-512 zmm register support.
6260         (_dl_x86_64_save_sse): Likewise.
6261         (_dl_x86_64_restore_sse): Likewise.
6262         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6263         size vector registers.
6264         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6265         (ZMM_SIZE): Likewise.
6266         * sysdeps/x86_64/tst-audit10.c: New file.
6267         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6268         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6269
6270 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6271
6272         * configure.ac (HAVE_EHDR_START): New check.
6273         * configure: Regenerated.
6274         * config.h.in (HAVE_EHDR_START): New #undef.
6275         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6276         assuming the lowest-addressed segment maps the start of the file.
6277
6278 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6279
6280         * INSTALL: Regenerated.
6281
6282 2014-03-13  Will Newton  <will.newton@linaro.org>
6283
6284         * manual/setjmp.texi (System V contexts): Improve
6285         clarity and grammar of documentation.
6286
6287 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6288
6289         [BZ #16381]
6290         * elf/Makefile (tests): Add tst-pie2.
6291         (tests-pie): Add tst-pie2.
6292         * elf/tst-pie2.c: New file.
6293         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6294         for ET_EXEC.
6295         * elf/rtld.c (map_doit): Load executable as lt_executable.
6296         (dl_main): Likewise.
6297
6298 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6299
6300         [BZ #16642]
6301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6302         (__ASSUME_PSELECT): Undefine.
6303
6304 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6305
6306         [BZ #16689]
6307         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6308         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6309         static build.
6310         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6311         selector for static builds.
6312
6313 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6314
6315         [BZ #16695]
6316         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6317         key in the buffer.
6318
6319 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6320
6321         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6322         IFUNC selector for static builds.
6323
6324 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6325
6326         * sysdeps/mips/math_private.h [__mips_hard_float]
6327         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6328         libc_feresetround_mips_ctx.
6329         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6330         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6331         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6332
6333         [BZ #16677]
6334         * math/s_nextafter.c (__nextafter): Do not return value from
6335         overflowing computation.
6336         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6337         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6338         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6339         Likewise.
6340         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6341         Likewise.
6342         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6343         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6344
6345 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6346
6347         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6348         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6349         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6350         the new mov targetting sp.
6351
6352 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6353
6354         [BZ #16683]
6355         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6356         Define it for static builds as well.
6357         (NO_BZERO_IMPL): Likewise.
6358
6359 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6360
6361         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6362         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6363         multiarch strspn for PPC64.
6364         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6365         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6367         (__libc_ifunc_impl_list): Likewise.
6368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6369         multiarch optimizations
6370         * string/strspn.c (strspn): Using macro to redefine symbol name.
6371
6372 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6373             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6374
6375         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6376         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6377         multiarch strncat for PPC64.
6378         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6379         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6381         (__libc_ifunc_impl_list): Likewise.
6382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6383         multiarch optimizations
6384
6385 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6386
6387         [BZ #16639]
6388         * nscd/nscd.service: Make service type forking.
6389
6390 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6391
6392         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6393         sign in non default rounding modes.
6394         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6395
6396 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6397
6398         * math/libm-test.inc (ALL_RM_TEST): New macro.
6399         (ceil_test): Use ALL_RM_TEST.
6400         (cimag_test): Likewise.
6401         (conj_test): Likewise.
6402         (copysign_test): Likewise.
6403         (cproj_test): Likewise.
6404         (creal_test): Likewise.
6405         (fabs_test): Likewise.
6406         (floor_test): Likewise.
6407         (fmax_test): Likewise.
6408         (fmin_test): Likewise.
6409         (fmod_test): Likewise.
6410         (fpclassify_test): Likewise.
6411         (frexp_test): Likewise.
6412         (ilogb_test): Likewise.
6413         (isfinite_test): Likewise.
6414         (finite_test): Likewise.
6415         (isgreater_test): Likewise.
6416         (isgreaterequal_test): Likewise.
6417         (isinf_test): Likewise.
6418         (isless_test): Likewise.
6419         (islessequal_test): Likewise.
6420         (islessgreater_test): Likewise.
6421         (isnan_test): Likewise.
6422         (isnormal_test): Likewise.
6423         (issignaling_test): Likewise.
6424         (isunordered_test): Likewise.
6425         (logb_test): Likewise.
6426         (logb_downward_test_data): Remove.
6427         (logb_test_downward): Likewise.
6428         (lround_test): Use ALL_RM_TEST.
6429         (llround_test): Likewise.
6430         (modf_test): Likewise.
6431         (nexttoward_test): Likewise.
6432         (remainder_test): Likewise.
6433         (drem_test): Likewise.
6434         (remainder_tonearest_test_data): Likewise.
6435         (remainder_test_tonearest): Likewise.
6436         (drem_test_tonearest): Likewise.
6437         (remainder_towardzero_test_data): Likewise.
6438         (remainder_test_towardzero): Likewise.
6439         (drem_test_towardzero): Likewise.
6440         (remainder_downward_test_data): Likewise.
6441         (remainder_test_downward): Likewise.
6442         (drem_test_downward): Likewise.
6443         (remainder_upward_test_data): Likewise.
6444         (remainder_test_upward): Likewise.
6445         (drem_test_upward): Likewise.
6446         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6447         (round_test): Use ALL_RM_TEST.
6448         (signbit_test): Likewise.
6449         (trunc_test): Likewise.
6450         (significand_test): Likewise.
6451         (main): Don't call removed functions.
6452
6453 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6454
6455         [BZ #16674]
6456         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6457         || __USE_XOPEN2K8].
6458         (ILL_ILLOPN): Likewise.
6459         (ILL_ILLADR): Likewise.
6460         (ILL_ILLTRP): Likewise.
6461         (ILL_PRVOPC): Likewise.
6462         (ILL_PRVREG): Likewise.
6463         (ILL_COPROC): Likewise.
6464         (ILL_BADSTK): Likewise.
6465         (FPE_INTDIV): Likewise.
6466         (FPE_INTOVF): Likewise.
6467         (FPE_FLTDIV): Likewise.
6468         (FPE_FLTOVF): Likewise.
6469         (FPE_FLTUND): Likewise.
6470         (FPE_FLTRES): Likewise.
6471         (FPE_FLTINV): Likewise.
6472         (FPE_FLTSUB): Likewise.
6473         (SEGV_MAPERR): Likewise.
6474         (SEGV_ACCERR): Likewise.
6475         (BUS_ADRALN): Likewise.
6476         (BUS_ADRERR): Likewise.
6477         (BUS_OBJERR): Likewise.
6478         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6479         (TRAP_TRACE): Likewise.
6480         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6481         __USE_XOPEN2K8].
6482         (CLD_KILLED): Likewise.
6483         (CLD_DUMPED): Likewise.
6484         (CLD_TRAPPED): Likewise.
6485         (CLD_STOPPED): Likewise.
6486         (CLD_CONTINUED): Likewise.
6487         (POLL_IN): Likewise.
6488         (POLL_OUT): Likewise.
6489         (POLL_MSG): Likewise.
6490         (POLL_ERR): Likewise.
6491         (POLL_PRI): Likewise.
6492         (POLL_HUP): Likewise.
6493         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6494         Likewise.
6495         (ILL_ILLOPN): Likewise.
6496         (ILL_ILLADR): Likewise.
6497         (ILL_ILLTRP): Likewise.
6498         (ILL_PRVOPC): Likewise.
6499         (ILL_PRVREG): Likewise.
6500         (ILL_COPROC): Likewise.
6501         (ILL_BADSTK): Likewise.
6502         (FPE_INTDIV): Likewise.
6503         (FPE_INTOVF): Likewise.
6504         (FPE_FLTDIV): Likewise.
6505         (FPE_FLTOVF): Likewise.
6506         (FPE_FLTUND): Likewise.
6507         (FPE_FLTRES): Likewise.
6508         (FPE_FLTINV): Likewise.
6509         (FPE_FLTSUB): Likewise.
6510         (SEGV_MAPERR): Likewise.
6511         (SEGV_ACCERR): Likewise.
6512         (BUS_ADRALN): Likewise.
6513         (BUS_ADRERR): Likewise.
6514         (BUS_OBJERR): Likewise.
6515         (BUS_MCEERR_AR): Likewise.
6516         (BUS_MCEERR_AO): Likewise.
6517         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6518         (TRAP_TRACE): Likewise.
6519         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6520         __USE_XOPEN2K8].
6521         (CLD_KILLED): Likewise.
6522         (CLD_DUMPED): Likewise.
6523         (CLD_TRAPPED): Likewise.
6524         (CLD_STOPPED): Likewise.
6525         (CLD_CONTINUED): Likewise.
6526         (POLL_IN): Likewise.
6527         (POLL_OUT): Likewise.
6528         (POLL_MSG): Likewise.
6529         (POLL_ERR): Likewise.
6530         (POLL_PRI): Likewise.
6531         (POLL_HUP): Likewise.
6532         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6533         (ILL_ILLOPN): Likewise.
6534         (ILL_ILLADR): Likewise.
6535         (ILL_ILLTRP): Likewise.
6536         (ILL_PRVOPC): Likewise.
6537         (ILL_PRVREG): Likewise.
6538         (ILL_COPROC): Likewise.
6539         (ILL_BADSTK): Likewise.
6540         (FPE_INTDIV): Likewise.
6541         (FPE_INTOVF): Likewise.
6542         (FPE_FLTDIV): Likewise.
6543         (FPE_FLTOVF): Likewise.
6544         (FPE_FLTUND): Likewise.
6545         (FPE_FLTRES): Likewise.
6546         (FPE_FLTINV): Likewise.
6547         (FPE_FLTSUB): Likewise.
6548         (SEGV_MAPERR): Likewise.
6549         (SEGV_ACCERR): Likewise.
6550         (BUS_ADRALN): Likewise.
6551         (BUS_ADRERR): Likewise.
6552         (BUS_OBJERR): Likewise.
6553         (BUS_MCEERR_AR): Likewise.
6554         (BUS_MCEERR_AO): Likewise.
6555         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6556         (TRAP_TRACE): Likewise.
6557         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6558         __USE_XOPEN2K8].
6559         (CLD_KILLED): Likewise.
6560         (CLD_DUMPED): Likewise.
6561         (CLD_TRAPPED): Likewise.
6562         (CLD_STOPPED): Likewise.
6563         (CLD_CONTINUED): Likewise.
6564         (POLL_IN): Likewise.
6565         (POLL_OUT): Likewise.
6566         (POLL_MSG): Likewise.
6567         (POLL_ERR): Likewise.
6568         (POLL_PRI): Likewise.
6569         (POLL_HUP): Likewise.
6570         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6571         Likewise.
6572         (ILL_ILLOPN): Likewise.
6573         (ILL_ILLADR): Likewise.
6574         (ILL_ILLTRP): Likewise.
6575         (ILL_PRVOPC): Likewise.
6576         (ILL_PRVREG): Likewise.
6577         (ILL_COPROC): Likewise.
6578         (ILL_BADSTK): Likewise.
6579         (ILL_BADIADDR): Likewise.
6580         (ILL_BREAK): Likewise.
6581         (FPE_INTDIV): Likewise.
6582         (FPE_INTOVF): Likewise.
6583         (FPE_FLTDIV): Likewise.
6584         (FPE_FLTOVF): Likewise.
6585         (FPE_FLTUND): Likewise.
6586         (FPE_FLTRES): Likewise.
6587         (FPE_FLTINV): Likewise.
6588         (FPE_FLTSUB): Likewise.
6589         (FPE_DECOVF): Likewise.
6590         (FPE_DECDIV): Likewise.
6591         (FPE_DECERR): Likewise.
6592         (FPE_INVASC): Likewise.
6593         (FPE_INVDEC): Likewise.
6594         (SEGV_MAPERR): Likewise.
6595         (SEGV_ACCERR): Likewise.
6596         (SEGV_PSTKOVF): Likewise.
6597         (BUS_ADRALN): Likewise.
6598         (BUS_ADRERR): Likewise.
6599         (BUS_OBJERR): Likewise.
6600         (BUS_MCEERR_AR): Likewise.
6601         (BUS_MCEERR_AO): Likewise.
6602         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6603         (TRAP_TRACE): Likewise.
6604         (TRAP_BRANCH): Likewise.
6605         (TRAP_HWBKPT): Likewise.
6606         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6607         __USE_XOPEN2K8].
6608         (CLD_KILLED): Likewise.
6609         (CLD_DUMPED): Likewise.
6610         (CLD_TRAPPED): Likewise.
6611         (CLD_STOPPED): Likewise.
6612         (CLD_CONTINUED): Likewise.
6613         (POLL_IN): Likewise.
6614         (POLL_OUT): Likewise.
6615         (POLL_MSG): Likewise.
6616         (POLL_ERR): Likewise.
6617         (POLL_PRI): Likewise.
6618         (POLL_HUP): Likewise.
6619         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6620         (ILL_ILLOPN): Likewise.
6621         (ILL_ILLADR): Likewise.
6622         (ILL_ILLTRP): Likewise.
6623         (ILL_PRVOPC): Likewise.
6624         (ILL_PRVREG): Likewise.
6625         (ILL_COPROC): Likewise.
6626         (ILL_BADSTK): Likewise.
6627         (FPE_INTDIV): Likewise.
6628         (FPE_INTOVF): Likewise.
6629         (FPE_FLTDIV): Likewise.
6630         (FPE_FLTOVF): Likewise.
6631         (FPE_FLTUND): Likewise.
6632         (FPE_FLTRES): Likewise.
6633         (FPE_FLTINV): Likewise.
6634         (FPE_FLTSUB): Likewise.
6635         (SEGV_MAPERR): Likewise.
6636         (SEGV_ACCERR): Likewise.
6637         (BUS_ADRALN): Likewise.
6638         (BUS_ADRERR): Likewise.
6639         (BUS_OBJERR): Likewise.
6640         (BUS_MCEERR_AR): Likewise.
6641         (BUS_MCEERR_AO): Likewise.
6642         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6643         (TRAP_TRACE): Likewise.
6644         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6645         __USE_XOPEN2K8].
6646         (CLD_KILLED): Likewise.
6647         (CLD_DUMPED): Likewise.
6648         (CLD_TRAPPED): Likewise.
6649         (CLD_STOPPED): Likewise.
6650         (CLD_CONTINUED): Likewise.
6651         (POLL_IN): Likewise.
6652         (POLL_OUT): Likewise.
6653         (POLL_MSG): Likewise.
6654         (POLL_ERR): Likewise.
6655         (POLL_PRI): Likewise.
6656         (POLL_HUP): Likewise.
6657         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6658         (ILL_ILLOPN): Likewise.
6659         (ILL_ILLADR): Likewise.
6660         (ILL_ILLTRP): Likewise.
6661         (ILL_PRVOPC): Likewise.
6662         (ILL_PRVREG): Likewise.
6663         (ILL_COPROC): Likewise.
6664         (ILL_BADSTK): Likewise.
6665         (FPE_INTDIV): Likewise.
6666         (FPE_INTOVF): Likewise.
6667         (FPE_FLTDIV): Likewise.
6668         (FPE_FLTOVF): Likewise.
6669         (FPE_FLTUND): Likewise.
6670         (FPE_FLTRES): Likewise.
6671         (FPE_FLTINV): Likewise.
6672         (FPE_FLTSUB): Likewise.
6673         (SEGV_MAPERR): Likewise.
6674         (SEGV_ACCERR): Likewise.
6675         (BUS_ADRALN): Likewise.
6676         (BUS_ADRERR): Likewise.
6677         (BUS_OBJERR): Likewise.
6678         (BUS_MCEERR_AR): Likewise.
6679         (BUS_MCEERR_AO): Likewise.
6680         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6681         (TRAP_TRACE): Likewise.
6682         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6683         __USE_XOPEN2K8].
6684         (CLD_KILLED): Likewise.
6685         (CLD_DUMPED): Likewise.
6686         (CLD_TRAPPED): Likewise.
6687         (CLD_STOPPED): Likewise.
6688         (CLD_CONTINUED): Likewise.
6689         (POLL_IN): Likewise.
6690         (POLL_OUT): Likewise.
6691         (POLL_MSG): Likewise.
6692         (POLL_ERR): Likewise.
6693         (POLL_PRI): Likewise.
6694         (POLL_HUP): Likewise.
6695         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6696         (ILL_ILLOPN): Likewise.
6697         (ILL_ILLADR): Likewise.
6698         (ILL_ILLTRP): Likewise.
6699         (ILL_PRVOPC): Likewise.
6700         (ILL_PRVREG): Likewise.
6701         (ILL_COPROC): Likewise.
6702         (ILL_BADSTK): Likewise.
6703         (FPE_INTDIV): Likewise.
6704         (FPE_INTOVF): Likewise.
6705         (FPE_FLTDIV): Likewise.
6706         (FPE_FLTOVF): Likewise.
6707         (FPE_FLTUND): Likewise.
6708         (FPE_FLTRES): Likewise.
6709         (FPE_FLTINV): Likewise.
6710         (FPE_FLTSUB): Likewise.
6711         (SEGV_MAPERR): Likewise.
6712         (SEGV_ACCERR): Likewise.
6713         (BUS_ADRALN): Likewise.
6714         (BUS_ADRERR): Likewise.
6715         (BUS_OBJERR): Likewise.
6716         (BUS_MCEERR_AR): Likewise.
6717         (BUS_MCEERR_AO): Likewise.
6718         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6719         (TRAP_TRACE): Likewise.
6720         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6721         __USE_XOPEN2K8].
6722         (CLD_KILLED): Likewise.
6723         (CLD_DUMPED): Likewise.
6724         (CLD_TRAPPED): Likewise.
6725         (CLD_STOPPED): Likewise.
6726         (CLD_CONTINUED): Likewise.
6727         (POLL_IN): Likewise.
6728         (POLL_OUT): Likewise.
6729         (POLL_MSG): Likewise.
6730         (POLL_ERR): Likewise.
6731         (POLL_PRI): Likewise.
6732         (POLL_HUP): Likewise.
6733         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6734         (ILL_ILLOPN): Likewise.
6735         (ILL_ILLADR): Likewise.
6736         (ILL_ILLTRP): Likewise.
6737         (ILL_PRVOPC): Likewise.
6738         (ILL_PRVREG): Likewise.
6739         (ILL_COPROC): Likewise.
6740         (ILL_BADSTK): Likewise.
6741         (ILL_DBLFLT): Likewise.
6742         (ILL_HARDWALL): Likewise.
6743         (FPE_INTDIV): Likewise.
6744         (FPE_INTOVF): Likewise.
6745         (FPE_FLTDIV): Likewise.
6746         (FPE_FLTOVF): Likewise.
6747         (FPE_FLTUND): Likewise.
6748         (FPE_FLTRES): Likewise.
6749         (FPE_FLTINV): Likewise.
6750         (FPE_FLTSUB): Likewise.
6751         (SEGV_MAPERR): Likewise.
6752         (SEGV_ACCERR): Likewise.
6753         (BUS_ADRALN): Likewise.
6754         (BUS_ADRERR): Likewise.
6755         (BUS_OBJERR): Likewise.
6756         (BUS_MCEERR_AR): Likewise.
6757         (BUS_MCEERR_AO): Likewise.
6758         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6759         (TRAP_TRACE): Likewise.
6760         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6761         __USE_XOPEN2K8].
6762         (CLD_KILLED): Likewise.
6763         (CLD_DUMPED): Likewise.
6764         (CLD_TRAPPED): Likewise.
6765         (CLD_STOPPED): Likewise.
6766         (CLD_CONTINUED): Likewise.
6767         (POLL_IN): Likewise.
6768         (POLL_OUT): Likewise.
6769         (POLL_MSG): Likewise.
6770         (POLL_ERR): Likewise.
6771         (POLL_PRI): Likewise.
6772         (POLL_HUP): Likewise.
6773         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6774         (ILL_ILLOPN): Likewise.
6775         (ILL_ILLADR): Likewise.
6776         (ILL_ILLTRP): Likewise.
6777         (ILL_PRVOPC): Likewise.
6778         (ILL_PRVREG): Likewise.
6779         (ILL_COPROC): Likewise.
6780         (ILL_BADSTK): Likewise.
6781         (FPE_INTDIV): Likewise.
6782         (FPE_INTOVF): Likewise.
6783         (FPE_FLTDIV): Likewise.
6784         (FPE_FLTOVF): Likewise.
6785         (FPE_FLTUND): Likewise.
6786         (FPE_FLTRES): Likewise.
6787         (FPE_FLTINV): Likewise.
6788         (FPE_FLTSUB): Likewise.
6789         (SEGV_MAPERR): Likewise.
6790         (SEGV_ACCERR): Likewise.
6791         (BUS_ADRALN): Likewise.
6792         (BUS_ADRERR): Likewise.
6793         (BUS_OBJERR): Likewise.
6794         (BUS_MCEERR_AR): Likewise.
6795         (BUS_MCEERR_AO): Likewise.
6796         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6797         (TRAP_TRACE): Likewise.
6798         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6799         __USE_XOPEN2K8].
6800         (CLD_KILLED): Likewise.
6801         (CLD_DUMPED): Likewise.
6802         (CLD_TRAPPED): Likewise.
6803         (CLD_STOPPED): Likewise.
6804         (CLD_CONTINUED): Likewise.
6805         (POLL_IN): Likewise.
6806         (POLL_OUT): Likewise.
6807         (POLL_MSG): Likewise.
6808         (POLL_ERR): Likewise.
6809         (POLL_PRI): Likewise.
6810         (POLL_HUP): Likewise.
6811         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6812         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6813
6814         [BZ #16670]
6815         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6816         before #include of <time.h>.
6817         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6818         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6819         (test-xfail-UNIX98/sched.h/conform): Likewise.
6820
6821 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6822
6823         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6824         error absence of trapping exception support.
6825         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6826
6827 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6828
6829         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6830         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6831         * timezone/Makefile (testdata): Move definition above include of
6832         Rules.
6833         (test-zones): New variable.
6834         (tests-special): Add zone files.
6835         (build-testdata): Use $(evaluate-test).
6836
6837         * elf/Makefile (tests-special): Rename tests to end with .out.
6838         ($(objpfx)noload-mem): Likewise.
6839         ($(objpfx)tst-leaks1-mem): Likewise.
6840         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6841         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6842         $(objpfx)test-iconvconfig.out.
6843         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6844         set -e inside subshell and redirect output to file.
6845         * iconvdata/Makefile (generated): Rename tests to end with .out.
6846         Correct type.
6847         (tests-special): Rename tests to end with .out.
6848         ($(objpfx)mtrace-tst-loading): Likewise.
6849         * intl/Makefile (generated): Likewise.
6850         (tests-special): Likewise.
6851         ($(objpfx)mtrace-tst-gettext): Likewise.
6852         * misc/Makefile (generated): Likewise.
6853         (tests-special): Likewise.
6854         ($(objpfx)tst-error1-mem): Likewise.
6855         * nptl/Makefile (tests-special): Likewise.
6856         ($(objpfx)tst-stack3-mem): Likewise.
6857         (generated): Likewise.
6858         * posix/Makefile (generated): Likewise.
6859         (tests-special): Likewise.
6860         (xtests-special): Likewise.
6861         ($(objpfx)tst-fnmatch-mem): Likewise.
6862         ($(objpfx)bug-regex2-mem): Likewise.
6863         ($(objpfx)bug-regex14-mem): Likewise.
6864         ($(objpfx)bug-regex21-mem): Likewise.
6865         ($(objpfx)bug-regex31-mem): Likewise.
6866         ($(objpfx)tst-vfork3-mem): Likewise.
6867         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6868         ($(objpfx)tst-pcre-mem): Likewise.
6869         ($(objpfx)tst-boost-mem): Likewise.
6870         ($(objpfx)bug-ga2-mem): Likewise.
6871         ($(objpfx)bug-glob2-mem): Likewise.
6872         * resolv/Makefile (generate): Likewise.
6873         (tests-special): Likewise.
6874         (xtests-special): Likewise.
6875         (generated): Likewise.
6876         ($(objpfx)mtrace-tst-leaks): Likewise.
6877         ($(objpfx)mtrace-tst-leaks2): Likewise.
6878
6879         * scripts/merge-test-results.sh: New file.
6880         * Makefile (tests-special-notdir): New variable.
6881         (tests): Run merge-test-results.sh.
6882         (xtests): Likewise.
6883         * Rules (tests-special-notdir): New variable.
6884         (xtests-special-notdir): Likewise.
6885         (tests): Run merge-test-results.sh
6886         (xtests): Likewise.
6887
6888         * Makeconfig (test-xfail-name): New variable.
6889         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6890         compute variable name for expected failures.
6891         * conform/Makefile (conformtest-headers-data): New variable.
6892         (conformtest-standards): Likewise.
6893         (conformtest-headers-ISO): Likewise.
6894         (conformtest-headers-ISO99): Likewise.
6895         (conformtest-headers-ISO11): Likewise.
6896         (conformtest-headers-POSIX): Likewise.
6897         (conformtest-headers-XPG3): Likewise.
6898         (conformtest-headers-XPG4): Likewise.
6899         (conformtest-headers-UNIX98): Likewise.
6900         (conformtest-headers-XOPEN2K): Likewise.
6901         (conformtest-headers-POSIX2008): Likewise.
6902         (conformtest-headers-XOPEN2K8): Likewise.
6903         (conformtest-header-list-base): Likewise.
6904         (conformtest-header-list-tests): Likewise.
6905         (conformtest-header-base): Likewise.
6906         (conformtest-header-tests): Likewise.
6907         (tests-special): Add $(conformtest-header-list-tests).  If
6908         [$(fast-check) && !$(cross-compiling)], add
6909         $(conformtest-header-tests) instead of
6910         $(objpfx)run-conformtest.out.
6911         (generated): Add $(conformtest-header-list-base).  If
6912         [$(fast-check) && !$(cross-compiling)], add
6913         $(conformtest-header-base).  Remove previous setting.
6914         ($(conformtest-header-list-tests)): New target.
6915         (test-xfail-run-conformtest): Remove variable.
6916         ($(objpfx)run-conformtest.out): Remove target.
6917         (test-xfail-ISO11/complex.h/conform): New variable.
6918         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6919         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6920         (test-xfail-XPG3/varargs.h/conform): Likewise.
6921         (test-xfail-XPG4/varargs.h/conform): Likewise.
6922         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6923         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6924         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6925         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6926         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6927         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6928         (test-xfail-XPG3/ftw.h/conform): Likewise.
6929         (test-xfail-XPG3/grp.h/conform): Likewise.
6930         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6931         (test-xfail-XPG3/limits.h/conform): Likewise.
6932         (test-xfail-XPG3/pwd.h/conform): Likewise.
6933         (test-xfail-XPG3/search.h/conform): Likewise.
6934         (test-xfail-XPG3/signal.h/conform): Likewise.
6935         (test-xfail-XPG3/stdio.h/conform): Likewise.
6936         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6937         (test-xfail-XPG3/string.h/conform): Likewise.
6938         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6939         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6940         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6941         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6942         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6943         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6944         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6945         (test-xfail-XPG3/termios.h/conform): Likewise.
6946         (test-xfail-XPG3/time.h/conform): Likewise.
6947         (test-xfail-XPG3/unistd.h/conform): Likewise.
6948         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6949         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6950         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6951         (test-xfail-XPG4/netdb.h/conform): Likewise.
6952         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6953         (test-xfail-XPG4/signal.h/conform): Likewise.
6954         (test-xfail-XPG4/stdio.h/conform): Likewise.
6955         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6956         (test-xfail-XPG4/stropts.h/conform): Likewise.
6957         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6958         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6959         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6960         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6961         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6962         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6963         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6964         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6965         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6966         (test-xfail-XPG4/termios.h/conform): Likewise.
6967         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6968         (test-xfail-XPG4/unistd.h/conform): Likewise.
6969         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6970         (test-xfail-POSIX/sched.h/conform): Likewise.
6971         (test-xfail-POSIX/signal.h/conform): Likewise.
6972         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6973         (test-xfail-POSIX/tar.h/conform): Likewise.
6974         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6975         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6976         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6977         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6978         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6979         (test-xfail-UNIX98/sched.h/conform): Likewise.
6980         (test-xfail-UNIX98/signal.h/conform): Likewise.
6981         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6982         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6983         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6984         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6985         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6986         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6987         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6988         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6989         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6990         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6991         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6992         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6993         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6994         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6995         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6996         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6997         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6998         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6999         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7000         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7001         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7002         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7003         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7004         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7005         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7006         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7007         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7008         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7009         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7010         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7011         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7012         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7013         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7014         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7015         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7016         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7017         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7018         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7019         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7020         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7021         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7022         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7023         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7024         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7025         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7026         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7027         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7028         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7029         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7030         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7031         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7032         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7033         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7034         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7035         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7036         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7037         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7038         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7039         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7040         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7041         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7042         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7043         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7044         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7045         (conformtest-cc-flags): Likewise.
7046         ($(conformtest-header-tests): New target.
7047         * conform/check-header-lists.sh: New file.
7048         * conform/run-conformtest.sh: Remove.
7049
7050         * conform/conformtest.pl: Allow ' and \ in values given for
7051         constants.
7052         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7053         inclusion.
7054         [POSIX] (sys/types.h): Likewise.
7055         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7056         inclusion.
7057         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7058         inclusion.
7059         * conform/data/signal.h-data (SIGIO): Remove expectation.
7060         [XPG3] (SIGBUS): Do not expect.
7061         [POSIX || XPG3] (SIGPOLL): Likewise.
7062         [POSIX || XPG3] (SIGPROF): Likewise.
7063         [POSIX || XPG3] (SIGSYS): Likewise.
7064         [XPG3] (SIGTRAP): Likewise.
7065         [POSIX || XPG3] (SIGURG): Likewise.
7066         [POSIX || XPG3] (SIGVTALRM): Likewise.
7067         [POSIX || XPG3] (SIGXCPU): Likewise.
7068         [POSIX || XPG3] (SIGXFSZ): Likewise.
7069         [POSIX] (SA_SIGINFO): Expect.
7070         [XPG3] (siginfo_t): Do not expect type or contents.
7071         [POSIX] (si_pid): Do not expect element.
7072         [POSIX] (si_uid): Likewise.
7073         [POSIX] (si_addr): Likewise.
7074         [POSIX] (si_status): Likewise.
7075         [POSIX] (si_band): Likewise.
7076         [XPG4] (si_value): Likewise.
7077         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7078         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7079         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7080         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7081         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7082         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7083         [POSIX || XPG3] (ILL_COPROC): Likewise.
7084         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7085         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7086         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7087         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7088         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7089         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7090         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7091         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7092         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7093         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7094         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7095         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7096         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7097         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7098         [POSIX || XPG3] (CLD_EXITED): Likewise.
7099         [POSIX || XPG3] (CLD_KILLED): Likewise.
7100         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7101         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7102         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7103         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7104         [POSIX || XPG3] (POLL_IN): Likewise.
7105         [POSIX || XPG3] (POLL_OUT): Likewise.
7106         [POSIX || XPG3] (POLL_MSG): Likewise.
7107         [POSIX || XPG3] (POLL_ERR): Likewise.
7108         [POSIX || XPG3] (POLL_PRI): Likewise.
7109         [POSIX || XPG3] (POLL_HUP): Likewise.
7110         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7111         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7112         (SIG*): Do not allow.
7113         [XPG3] (si_*): Likewise.
7114         [XPG3] (SI_*): Likewise.
7115         [XPG3 || XPG4] (sigev_*): Likewise.
7116         [XPG3 || XPG4] (SIGEV_*): Likewise.
7117         [XPG3 || XPG4] (sival_*): Likewise.
7118         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7119         [POSIX || XPG3] (BUS_*): Likewise.
7120         [POSIX || XPG3] (CLD_*): Likewise.
7121         [POSIX || XPG3] (FPE_*): Likewise.
7122         [POSIX || XPG3] (ILL_*): Likewise.
7123         [POSIX || XPG3] (POLL_*): Likewise.
7124         [POSIX || XPG3] (SEGV_*): Likewise.
7125         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7126         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7127         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7128         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7129         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7130         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7131         Specify type and value.
7132         (TVERSLEN): Likewise.
7133         (REGTYPE): Likewise.
7134         (AREGTYPE): Likewise.
7135         (LNKTYPE): Likewise.
7136         (SYMTYPE): Likewise.
7137         (CHRTYPE): Likewise.
7138         (BLKTYPE): Likewise.
7139         (DIRTYPE): Likewise.
7140         (FIFOTYPE): Likewise.
7141         (CONTTYPE): Likewise.
7142         (TSUID): Likewise.
7143         (TSGID): Likewise.
7144         (TSVTX): Likewise.
7145         (TUREAD): Likewise.
7146         (TUWRITE): Likewise.
7147         (TUEXEC): Likewise.
7148         (TGREAD): Likewise.
7149         (TGWRITE): Likewise.
7150         (TGEXEC): Likewise.
7151         (TOREAD): Likewise.
7152         (TOWRITE): Likewise.
7153         (TOEXEC): Likewise.
7154         [POSIX] (TSVTX): Expect constant.
7155
7156 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7157
7158         * Makefile (tests): Change dependencies to ....
7159         (tests-special): ... additions to this variable.
7160         (tests): Depend on $(tests-special).
7161         * Makerules (check-abi-list): New variable.
7162         (check-abi): Depend on $(check-abi-list).
7163         [$(subdir) = elf] (tests-special): Add
7164         $(objpfx)check-abi-libc.out.
7165         [$(build-shared) = yes && subdir] (tests-special): Add
7166         $(check-abi-list).
7167         [$(build-shared) = yes && subdir] (tests): Do not depend on
7168         check-abi.
7169         * Rules (tests): Depend on $(tests-special).
7170         (xtests): Depend on $(xtests-special).
7171         * catgets/Makefile (tests): Change dependencies to ....
7172         (tests-special): ... additions to this variable.
7173         * conform/Makefile (tests): Change dependencies to ....
7174         (tests-special): ... additions to this variable.
7175         * elf/Makefile (tests): Change dependencies to ....
7176         (tests-special): ... additions to this variable.
7177         * grp/Makefile (tests): Change dependencies to ....
7178         (tests-special): ... additions to this variable.
7179         * iconv/Makefile (xtests): Change dependencies to ....
7180         (xtests-special): ... additions to this variable.
7181         * iconvdata/Makefile (tests): Change dependencies to ....
7182         (tests-special): ... additions to this variable.
7183         * intl/Makefile (tests): Change dependencies to ....
7184         (tests-special): ... additions to this variable.  Also add
7185         $(objpfx)tst-gettext.out.
7186         * io/Makefile (tests): Change dependencies to ....
7187         (tests-special): ... additions to this variable.
7188         * libio/Makefile (tests): Change dependencies to ....
7189         (tests-special): ... additions to this variable.
7190         * malloc/Makefile (tests): Change dependencies to ....
7191         (tests-special): ... additions to this variable.
7192         * misc/Makefile (tests): Change dependencies to ....
7193         (tests-special): ... additions to this variable.
7194         * nptl/Makefile (tests): Change dependencies to ....
7195         (tests-special): ... additions to this variable.
7196         * nptl_db/Makefile (tests): Change dependencies to ....
7197         (tests-special): ... additions to this variable.
7198         * posix/Makefile (tests): Change dependencies to ....
7199         (tests-special): ... additions to this variable.
7200         (xtests): Change dependencies to ....
7201         (xtests-special): ... additions to this variable.
7202         * resolv/Makefile (tests): Change dependencies to ....
7203         (tests-special): ... additions to this variable.
7204         (xtests): Change dependencies to ....
7205         (xtests-special): ... additions to this variable.
7206         * stdio-common/Makefile (tests): Change dependencies to ....
7207         (tests-special): ... additions to this variable.
7208         (do-tst-unbputc): Remove target.
7209         (do-tst-printf): Likewise.
7210         * stdlib/Makefile (tests): Change dependencies to ....
7211         (tests-special): ... additions to this variable.
7212         * string/Makefile (tests): Change dependencies to ....
7213         (tests-special): ... additions to this variable.
7214         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7215         (tests-special): ... additions to this variable.
7216
7217         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7218         whole file.
7219         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7220         whole file.
7221         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7222         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7223
7224         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7225         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7226         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7227         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7228         * conform/data/libgen.h-data [XPG3]: Likewise.
7229         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7230         * conform/data/ndbm.h-data [XPG3]: Likewise.
7231         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7232         * conform/data/netdb.h-data [XPG3]: Likewise.
7233         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7234         * conform/data/poll.h-data [XPG3]: Likewise.
7235         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7236         * conform/data/strings.h-data [XPG3]: Likewise.
7237         * conform/data/stropts.h-data [XPG3]: Likewise.
7238         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7239         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7240         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7241         Likewise.
7242         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7243         * conform/data/sys/time.h-data [XPG3]: Likewise.
7244         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7245         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7246         * conform/data/sys/un.h-data [XPG3]: Likewise.
7247         * conform/data/syslog.h-data [XPG3]: Likewise.
7248         * conform/data/ucontext.h-data [XPG3]: Likewise.
7249         * conform/data/utmpx.h-data [XPG3]: Likewise.
7250         * conform/data/varargs.h-data [UNIX98]: Enable file.
7251
7252         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7253
7254         * math/libm-test.inc (struct test_f_f_data): Move expected results
7255         into structure for each rounding mode.
7256         (struct test_ff_f_data): Likewise.
7257         (struct test_ff_f_data_nexttoward): Likewise.
7258         (struct test_fi_f_data): Likewise.
7259         (struct test_fl_f_data): Likewise.
7260         (struct test_if_f_data): Likewise.
7261         (struct test_fff_f_data): Likewise.
7262         (struct test_c_f_data): Likewise.
7263         (struct test_f_f1_data): Likewise.
7264         (struct test_fF_f1_data): Likewise.
7265         (struct test_ffI_f1_data): Likewise.
7266         (struct test_c_c_data): Likewise.
7267         (struct test_cc_c_data): Likewise.
7268         (struct test_f_i_data): Likewise.
7269         (struct test_ff_i_data): Likewise.
7270         (struct test_f_l_data): Likewise.
7271         (struct test_f_L_data): Likewise.
7272         (struct test_fFF_11_data): Likewise.
7273         (RM_): New macro.
7274         (RM_FE_DOWNWARD): Likewise.
7275         (RM_FE_TONEAREST): Likewise.
7276         (RM_FE_TOWARDZERO): Likewise.
7277         (RM_FE_UPWARD): Likewise.
7278         (RUN_TEST_LOOP_f_f): Update references to expected results.
7279         (RUN_TEST_LOOP_2_f): Likewise.
7280         (RUN_TEST_LOOP_fff_f): Likewise.
7281         (RUN_TEST_LOOP_c_f): Likewise.
7282         (RUN_TEST_LOOP_f_f1): Likewise.
7283         (RUN_TEST_LOOP_fF_f1): Likewise.
7284         (RUN_TEST_LOOP_fI_f1): Likewise.
7285         (RUN_TEST_LOOP_ffI_f1): Likewise.
7286         (RUN_TEST_LOOP_c_c): Likewise.
7287         (RUN_TEST_LOOP_cc_c): Likewise.
7288         (RUN_TEST_LOOP_f_i): Likewise.
7289         (RUN_TEST_LOOP_f_i_tg): Likewise.
7290         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7291         (RUN_TEST_LOOP_f_b): Likewise.
7292         (RUN_TEST_LOOP_f_b_tg): Likewise.
7293         (RUN_TEST_LOOP_f_l): Likewise.
7294         (RUN_TEST_LOOP_f_L): Likewise.
7295         (RUN_TEST_LOOP_fFF_11): Likewise.
7296         * math/gen-libm-test.pl (parse_args): Output four copies of
7297         expected results for each test.
7298
7299         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7300         (__ASSUME_UTIMES): Remove.
7301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7302         (__ASSUME_UTIMES): Likewise.
7303
7304         * math/gen-auto-libm-tests.c: Update comment on output format.
7305         (output_for_one_input_case): Generate before-rounding and
7306         after-rounding information as conditions on output flags not
7307         floating-point format.
7308         * math/auto-libm-test-out: Regenerated.
7309         * math/gen-libm-test.pl (cond_value): New function.
7310         (or_cond_value): Use cond_value.
7311         (generate_testfile): Handle conditional exceptions.
7312
7313 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7314
7315         * math/libm-test.inc (max_valid_error): New variable.
7316         (init_max_error): Take new argument specifying whether function
7317         results are exactly determined.  Set max_valid_error and bound
7318         other variables for errors based on this argument.
7319         (set_max_error): Do not record results above max_valid_error.
7320         (check_float_internal): Only accept errors of up to 0.5ulps if
7321         also at most max_valid_error.
7322         (START): Take new argument EXACT and pass it to init_max_error.
7323         (acos_test): Update call to START.
7324         (acos_test_tonearest): Likewise.
7325         (acos_test_towardzero): Likewise.
7326         (acos_test_downward): Likewise.
7327         (acos_test_upward): Likewise.
7328         (acosh_test): Likewise.
7329         (asin_test): Likewise.
7330         (asin_test_tonearest): Likewise.
7331         (asin_test_towardzero): Likewise.
7332         (asin_test_downward): Likewise.
7333         (asin_test_upward): Likewise.
7334         (asinh_test): Likewise.
7335         (atan_test): Likewise.
7336         (atanh_test): Likewise.
7337         (atan2_test): Likewise.
7338         (cabs_test): Likewise.
7339         (cacos_test): Likewise.
7340         (cacosh_test): Likewise.
7341         (carg_test): Likewise.
7342         (casin_test): Likewise.
7343         (casinh_test): Likewise.
7344         (catan_test): Likewise.
7345         (catanh_test): Likewise.
7346         (cbrt_test): Likewise.
7347         (ccos_test): Likewise.
7348         (ccosh_test): Likewise.
7349         (ceil_test): Likewise.
7350         (cexp_test): Likewise.
7351         (cimag_test): Likewise.
7352         (clog_test): Likewise.
7353         (clog10_test): Likewise.
7354         (conj_test): Likewise.
7355         (copysign_test): Likewise.
7356         (cos_test): Likewise.
7357         (cos_test_tonearest): Likewise.
7358         (cos_test_towardzero): Likewise.
7359         (cos_test_downward): Likewise.
7360         (cos_test_upward): Likewise.
7361         (cosh_test): Likewise.
7362         (cosh_test_tonearest): Likewise.
7363         (cosh_test_towardzero): Likewise.
7364         (cosh_test_downward): Likewise.
7365         (cosh_test_upward): Likewise.
7366         (cpow_test): Likewise.
7367         (cproj_test): Likewise.
7368         (creal_test): Likewise.
7369         (csin_test): Likewise.
7370         (csinh_test): Likewise.
7371         (csqrt_test): Likewise.
7372         (ctan_test): Likewise.
7373         (ctan_test_tonearest): Likewise.
7374         (ctan_test_towardzero): Likewise.
7375         (ctan_test_downward): Likewise.
7376         (ctan_test_upward): Likewise.
7377         (ctanh_test): Likewise.
7378         (ctanh_test_tonearest): Likewise.
7379         (ctanh_test_towardzero): Likewise.
7380         (ctanh_test_downward): Likewise.
7381         (ctanh_test_upward): Likewise.
7382         (erf_test): Likewise.
7383         (erfc_test): Likewise.
7384         (exp_test): Likewise.
7385         (exp_test_tonearest): Likewise.
7386         (exp_test_towardzero): Likewise.
7387         (exp_test_downward): Likewise.
7388         (exp_test_upward): Likewise.
7389         (exp10_test): Likewise.
7390         (exp10_test_tonearest): Likewise.
7391         (exp10_test_towardzero): Likewise.
7392         (exp10_test_downward): Likewise.
7393         (exp10_test_upward): Likewise.
7394         (pow10_test): Likewise.
7395         (exp2_test): Likewise.
7396         (expm1_test): Likewise.
7397         (expm1_test_tonearest): Likewise.
7398         (expm1_test_towardzero): Likewise.
7399         (expm1_test_downward): Likewise.
7400         (expm1_test_upward): Likewise.
7401         (fabs_test): Likewise.
7402         (fdim_test): Likewise.
7403         (floor_test): Likewise.
7404         (fma_test): Likewise.
7405         (fma_test_towardzero): Likewise.
7406         (fma_test_downward): Likewise.
7407         (fma_test_upward): Likewise.
7408         (fmax_test): Likewise.
7409         (fmin_test): Likewise.
7410         (fmod_test): Likewise.
7411         (fpclassify_test): Likewise.
7412         (frexp_test): Likewise.
7413         (hypot_test): Likewise.
7414         (ilogb_test): Likewise.
7415         (isfinite_test): Likewise.
7416         (finite_test): Likewise.
7417         (isgreater_test): Likewise.
7418         (isgreaterequal_test): Likewise.
7419         (isinf_test): Likewise.
7420         (isless_test): Likewise.
7421         (islessequal_test): Likewise.
7422         (islessgreater_test): Likewise.
7423         (isnan_test): Likewise.
7424         (isnormal_test): Likewise.
7425         (issignaling_test): Likewise.
7426         (isunordered_test): Likewise.
7427         (j0_test): Likewise.
7428         (j1_test): Likewise.
7429         (jn_test): Likewise.
7430         (ldexp_test): Likewise.
7431         (lgamma_test): Likewise.
7432         (gamma_test): Likewise.
7433         (lrint_test): Likewise.
7434         (lrint_test_tonearest): Likewise.
7435         (lrint_test_towardzero): Likewise.
7436         (lrint_test_downward): Likewise.
7437         (lrint_test_upward): Likewise.
7438         (llrint_test): Likewise.
7439         (llrint_test_tonearest): Likewise.
7440         (llrint_test_towardzero): Likewise.
7441         (llrint_test_downward): Likewise.
7442         (llrint_test_upward): Likewise.
7443         (log_test): Likewise.
7444         (log10_test): Likewise.
7445         (log1p_test): Likewise.
7446         (log2_test): Likewise.
7447         (logb_test): Likewise.
7448         (logb_test_downward): Likewise.
7449         (lround_test): Likewise.
7450         (llround_test): Likewise.
7451         (modf_test): Likewise.
7452         (nearbyint_test): Likewise.
7453         (nextafter_test): Likewise.
7454         (nexttoward_test): Likewise.
7455         (pow_test): Likewise.
7456         (pow_test_tonearest): Likewise.
7457         (pow_test_towardzero): Likewise.
7458         (pow_test_downward): Likewise.
7459         (pow_test_upward): Likewise.
7460         (remainder_test): Likewise.
7461         (drem_test): Likewise.
7462         (remainder_test_tonearest): Likewise.
7463         (drem_test_tonearest): Likewise.
7464         (remainder_test_towardzero): Likewise.
7465         (drem_test_towardzero): Likewise.
7466         (remainder_test_downward): Likewise.
7467         (drem_test_downward): Likewise.
7468         (remainder_test_upward): Likewise.
7469         (drem_test_upward): Likewise.
7470         (remquo_test): Likewise.
7471         (rint_test): Likewise.
7472         (rint_test_tonearest): Likewise.
7473         (rint_test_towardzero): Likewise.
7474         (rint_test_downward): Likewise.
7475         (rint_test_upward): Likewise.
7476         (round_test): Likewise.
7477         (scalb_test): Likewise.
7478         (scalbn_test): Likewise.
7479         (scalbln_test): Likewise.
7480         (signbit_test): Likewise.
7481         (sin_test): Likewise.
7482         (sin_test_tonearest): Likewise.
7483         (sin_test_towardzero): Likewise.
7484         (sin_test_downward): Likewise.
7485         (sin_test_upward): Likewise.
7486         (sincos_test): Likewise.
7487         (sinh_test): Likewise.
7488         (sinh_test_tonearest): Likewise.
7489         (sinh_test_towardzero): Likewise.
7490         (sinh_test_downward): Likewise.
7491         (sinh_test_upward): Likewise.
7492         (sqrt_test): Likewise.
7493         (sqrt_test_tonearest): Likewise.
7494         (sqrt_test_towardzero): Likewise.
7495         (sqrt_test_downward): Likewise.
7496         (sqrt_test_upward): Likewise.
7497         (tan_test): Likewise.
7498         (tan_test_tonearest): Likewise.
7499         (tan_test_towardzero): Likewise.
7500         (tan_test_downward): Likewise.
7501         (tan_test_upward): Likewise.
7502         (tanh_test): Likewise.
7503         (tgamma_test): Likewise.
7504         (trunc_test): Likewise.
7505         (y0_test): Likewise.
7506         (y1_test): Likewise.
7507         (yn_test): Likewise.
7508         (significand_test): Likewise.
7509
7510         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7511         individual tests in comment.
7512         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7513         (prev_max_error): New variable.
7514         (prev_real_max_error): Likewise.
7515         (prev_imag_max_error): Likewise.
7516         (compare_ulp_data): Don't refer to test names in comment.
7517         (find_test_ulps): Remove function.
7518         (find_function_ulps): Likewise.
7519         (find_complex_function_ulps): Likewise.
7520         (init_max_error): Take function name as argument.  Look up ulps
7521         for that function.
7522         (print_ulps): Remove function.
7523         (print_max_error): Use prev_max_error instead of calling
7524         find_function_ulps.
7525         (print_complex_max_error): Use prev_real_max_error and
7526         prev_imag_max_error instead of calling find_complex_function_ulps.
7527         (check_float_internal): Take max_ulp parameter instead of calling
7528         find_test_ulps.  Don't call print_ulps.
7529         (check_float): Update call to check_float_internal.
7530         (check_complex): Update calls to check_float_internal.
7531         (START): Pass argument to init_max_error.
7532         * math/gen-libm-test.pl (%results): Don't include "kind"
7533         information.
7534         (parse_ulps): Don't handle ulps of individual tests.
7535         (print_ulps_file): Likewise.
7536         (output_ulps): Likewise.
7537         * math/README.libm-test: Update.
7538         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7539         individual tests.
7540         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7541         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7542         * sysdeps/arm/libm-test-ulps: Likewise.
7543         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7544         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7545         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7546         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7547         * sysdeps/microblaze/libm-test-ulps: Likewise.
7548         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7549         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7550         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7551         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7552         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7553         * sysdeps/sh/libm-test-ulps: Likewise.
7554         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7555         * sysdeps/tile/libm-test-ulps: Likewise.
7556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7557
7558 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7559
7560         * math/libm-test.inc (print_complex_max_error): Check separately
7561         whether real and imaginary errors are within allowed range and
7562         pass 0 to print_complex_function_ulps instead of value within
7563         allowed range.
7564
7565 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7566
7567         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7568         formatting.
7569         (get_handles_fopen): Likewise.
7570         (do_write_test): Likewise.
7571
7572         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7573
7574         * libio/fileops.c (do_ftell): Use cached offset when
7575         available.
7576         * libio/iofwide.c (do_ftell_wide): Likewise.
7577         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7578         _IO_file_attach.
7579         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7580
7581         [BZ #16532]
7582         * libio/libioP.h (get_file_offset): New function.
7583         * libio/fileops.c (get_file_offset): Likewise.
7584         (do_ftell): Likewise.
7585         (_IO_new_file_seekoff): Split out ftell logic.
7586         * libio/wfileops.c (do_ftell_wide): Likewise.
7587         (_IO_wfile_seekoff): Split out ftell logic.
7588         * libio/tst-ftell-active-handler.c: New test case.
7589         * libio/Makefile (tests): Add it.
7590
7591 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7592
7593         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7594         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7595
7596 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7597
7598         [BZ #16639]
7599         * nscd/connections.c (nscd_init): Call do_exit.
7600         (start_threads): Call do_exit and notify_parent.
7601         (begin_drop_privileges): Call do_exit.
7602         (finish_drop_privileges): Likewise.
7603         * nscd/selinux.c (preserve_capabilities): Likewise.
7604         (install_real_capabilities): Likewise.
7605         (nscd_selinux_enabled): Likewise.
7606         (avc_create_thread): Likewise.
7607         (avc_alloc_lock): Likewise.
7608         (nscd_avc_init): Likewise.
7609         * nscd/nscd.c (parent_fd): New static variable.
7610         (main): Create a pipe between parent and child processes.
7611         Skip closing parent_fd.
7612         (monitor_child): New function.
7613         (do_exit): Likewise.
7614         (notify_parent): Likewise.
7615         * nscd/nscd.h (notify_parent): Likewise.
7616         (do_exit): Likewise.
7617
7618 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7619
7620         * malloc/malloc.c (__libc_calloc): Revert last change.
7621
7622 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7623
7624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7625
7626 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7627
7628         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7629         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7630         implementation.
7631         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7632         (__libc_ifunc_impl_list): Likewise.
7633         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7634         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7635         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7636         * string/strrchr.c: Define STRRCHR.
7637
7638 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7639
7640         * benchtest/bench-strtok.c (simple_strtok): Delete.
7641         (strtok_string): Use as benchmark.
7642         * string/strtok (STRTOK): New macro.
7643
7644 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7645
7646         * manual/threads.texi: Add header and standard comments to all
7647         functions.
7648
7649         * elf/dl-lookup.c (check_match): New function.
7650         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7651         (do_lookup_x): Remove nested function check_match. Use non-nested
7652         function check_match.
7653
7654 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7655
7656         * csu/Makefile (generated, before-compile): Use += rather than =.
7657         * catgets/Makefile (generated, generated-dirs): Likewise.
7658         * debug/Makefile (generated): Likewise.
7659         * dlfcn/Makefile (generated): Likewise.
7660         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7661         * iconvdata/Makefile (before-compile, generated): Likewise.
7662         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7663         * libio/Makefile (generated): Likewise.
7664         * malloc/Makefile (generated): Likewise.
7665         * manual/Makefile (generated, generated-dirs): Likewise.
7666         * misc/Makefile (generated): Likewise.
7667         * posix/Makefile (generated): Likewise.
7668         * resolv/Makefile (generated): Likewise.
7669         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7670         * timezone/Makefile (generated, generated-dirs): Likewise.
7671
7672         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7673
7674 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7675
7676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7677         power8 implementation.
7678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7679         file: POWER8 llround ifunc implementation.
7680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7681         (__lllround): Add POWER8 implementation.
7682         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7683         POWER8 llround implementation.
7684
7685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7686         power8 implementation.
7687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7688         file: POWER8 llrint ifunc implementation.
7689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7690         Add POWER8 implementation.
7691         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7692         POWER8 llrint implementation.
7693
7694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7695         power8 implementation.
7696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7697         file: POWER8 finite ifunc implementation.
7698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7699         Add POWER8 implementation.
7700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7701         Likewise.
7702         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7703         POWER8 finite implementation.
7704         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7705
7706         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7707         power8 implementation.
7708         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7709         file: POWER8 isinf ifunc implementation.
7710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7711         POWER8 implementation.
7712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7713         Likewise.
7714         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7715         isinf implementation.
7716         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7717
7718         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7719         (INIT_ARCH): Add hwcap2 initialization.
7720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7721         power8 implementation.
7722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7723         file: POWER8 isnan ifunc implementation.
7724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7725         POWER8 implementation.
7726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7727         Likewise.
7728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7729         isnan implementation.
7730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7731
7732 2014-02-27  Joey Ye  <joey.ye@arm.com>
7733
7734         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7735         (_FP_NANFRAC_Q): Set to zero.
7736
7737 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7738
7739         [BZ #16623]
7740         * math/auto-libm-test-in: New test inputs.
7741         * math/auto-libm-test-out: Regenerate.
7742         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7743         and DA.
7744         (__cos): Likewise.
7745         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7746
7747 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7748
7749         * scripts/evaluate-test.sh: Take new argument indicating whether
7750         failure is expected.
7751         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7752         indicating whether failure is expected.
7753         * conform/Makefile (test-xfail-run-conformtest): New variable.
7754         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7755         level.
7756         * posix/Makefile (test-xfail-annexc): New variable.
7757         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7758
7759 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7760
7761         * argp/Makefile: Include Makeconfig immediately after defining
7762         subdir.
7763         * assert/Makefile: Likewise.
7764         * benchtests/Makefile: Likewise.
7765         * catgets/Makefile: Likewise.
7766         * conform/Makefile: Likewise.
7767         * crypt/Makefile: Likewise.
7768         * csu/Makefile: Likewise.
7769         (all): Remove target.
7770         * ctype/Makefile: Include Makeconfig immediately after defining
7771         subdir.
7772         * debug/Makefile: Likewise.
7773         * dirent/Makefile: Likewise.
7774         * dlfcn/Makefile: Likewise.
7775         * gmon/Makefile: Likewise.
7776         * gnulib/Makefile: Likewise.
7777         * grp/Makefile: Likewise.
7778         * gshadow/Makefile: Likewise.
7779         * hesiod/Makefile: Likewise.
7780         * hurd/Makefile: Likewise.
7781         (all): Remove target.
7782         * iconvdata/Makefile: Include Makeconfig immediately after
7783         defining subdir.
7784         * inet/Makefile: Likewise.
7785         * intl/Makefile: Likewise.
7786         * io/Makefile: Likewise.
7787         * libio/Makefile: Likewise.
7788         (all): Remove target.
7789         * locale/Makefile: Include Makeconfig immediately after defining
7790         subdir.
7791         * login/Makefile: Likewise.
7792         * mach/Makefile: Likewise.
7793         (all): Remove target.
7794         * malloc/Makefile: Include Makeconfig immediately after defining
7795         subdir.
7796         (all): Remove target.
7797         * manual/Makefile: Include Makeconfig immediately after defining
7798         subdir.
7799         * math/Makefile: Likewise.
7800         * misc/Makefile: Likewise.
7801         * nis/Makefile: Likewise.
7802         * nss/Makefile: Likewise.
7803         * po/Makefile: Likewise.
7804         (all): Remove target.
7805         * posix/Makefile: Include Makeconfig immediately after defining
7806         subdir.
7807         * pwd/Makefile: Likewise.
7808         * resolv/Makefile: Likewise.
7809         * resource/Makefile: Likewise.
7810         * rt/Makefile: Likewise.
7811         * setjmp/Makefile: Likewise.
7812         * shadow/Makefile: Likewise.
7813         * signal/Makefile: Likewise.
7814         * socket/Makefile: Likewise.
7815         * soft-fp/Makefile: Likewise.
7816         * stdio-common/Makefile: Likewise.
7817         * stdlib/Makefile: Likewise.
7818         * streams/Makefile: Likewise.
7819         * string/Makefile: Likewise.
7820         * sunrpc/Makefile: Likewise.
7821         (all): Remove target.
7822         * sysvipc/Makefile: Include Makeconfig immediately after defining
7823         subdir.
7824         * termios/Makefile: Likewise.
7825         * time/Makefile: Likewise.
7826         * timezone/Makefile: Likewise.
7827         (all): Remove target.
7828         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7829         subdir.
7830         * wctype/Makefile: Likewise.
7831
7832 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7833
7834         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7835         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7836         (libc_feholdexcept_setround_mips): Ditto.
7837         (libc_feholdsetround): New.
7838         (libc_feholdsetroundf): New.
7839         (libc_feholdsetroundl): New.
7840         (libc_feupdateenv_test_mips): New.
7841         (libc_feupdateenv_test): New.
7842         (libc_feupdateenv_testf): New.
7843         (libc_feupdateenv_testl): New.
7844         (libc_feresetround): New.
7845         (libc_feresetroundf): New.
7846         (libc_feresetroundl): New.
7847         (libc_fetestexcept_mips): New.
7848         (libc_fetestexcept): New.
7849         (libc_fetestexceptf): New.
7850         (libc_fetestexceptl): New.
7851         (HAVE_RM_CTX): New.
7852         (libc_feholdexcept_setround_mips_ctx): New.
7853         (libc_feholdexcept_setround_ctx): New.
7854         (libc_feholdexcept_setroundf_ctx): New.
7855         (libc_feholdexcept_setroundl_ctx): New.
7856         (libc_fesetenv_mips_ctx): New.
7857         (libc_fesetenv_ctx): New.
7858         (libc_fesetenv_ctxf): New.
7859         (libc_fesetenv_ctxl): New.
7860         (libc_feupdateenv_mips_ctx): New.
7861         (libc_feupdateenv_ctx): New.
7862         (libc_feupdateenvf_ctx): New.
7863         (libc_feupdateenvl_ctx): New.
7864         (libc_feholdsetround_mips_ctx): New.
7865         (libc_feholdsetround_ctx): New.
7866         (libc_feholdsetroundf_ctx): New.
7867         (libc_feholdsetroundl_ctx): New.
7868         (libc_feresetround_mips_ctx): New.
7869         (libc_feresetround_ctx): New.
7870         (libc_feresetroundf_ctx): New.
7871         (libc_feresetroundl_ctx): New.
7872
7873 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7874
7875         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7876
7877         * manual/ipc.texi: New file.
7878         * manual/Makefile (chapters): Add ipc.
7879         * manual/job.texi: Add "Inter-Process Communication" to next.
7880         * manual/process.texi: Add "Inter-Process Communication" to prev.
7881
7882 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7883
7884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7885
7886 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7887
7888         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7889
7890         * manual/arith.texi: Fix spaces after sentences.
7891         * manual/charset.texi: Likewise.
7892         * manual/errno.texi: Likewise.
7893         * manual/install.texi: Likewise.
7894         * manual/llio.texi: Likewise.
7895         * manual/locale.texi: Likewise.
7896         * manual/maint.texi: Likewise.
7897         * manual/math.texi: Likewise.
7898         * manual/memory.texi: Likewise.
7899         * manual/message.texi: Likewise.
7900         * manual/probes.texi: Likewise.
7901         * manual/resource.texi: Likewise.
7902         * manual/signal.texi: Likewise.
7903         * manual/socket.texi: Likewise.
7904         * manual/stdio.texi: Likewise.
7905         * manual/string.texi: Likewise.
7906         * manual/time.texi: Likewise.
7907         * manual/users.texi: Likewise.
7908
7909 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7910
7911         [BZ #16632]
7912         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7913         _DEFAULT_SOURCE is defined.
7914
7915 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7916             Carlos O'Donell  <carlos@redhat.com>
7917
7918         [BZ #16613]
7919         * elf/dl-tls.c (_dl_count_modids): New function.
7920         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7921         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7922         audit library and increment generation counter.
7923         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7924         * elf/tst-audit9.c: New file.
7925         * elf/tst-auditmod9a.c: New file.
7926         * elf/tst-auditmod9b.c: New file.
7927         * elf/Makefile: Add rules to build and run tst-audit9.
7928
7929 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7930
7931         [BZ #15347]
7932         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7933
7934 2014-02-25  Will Newton  <will.newton@linaro.org>
7935
7936         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7937         (__longjmp): Restore sp and lr before restoring callee
7938         saved registers.  Add longjmp and longjmp_target
7939         SystemTap probe point.
7940         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7941         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7942         Define to zero to match jmpbuf layout.
7943         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7944         (__sigsetjmp): Save sp and lr before saving callee
7945         saved registers.  Add setjmp SystemTap probe point.
7946
7947 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7948
7949         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7950
7951 2014-02-24  Andreas Schwab  <schwab@suse.de>
7952
7953         [BZ #15804]
7954         * elf/pldd.c (wait_for_ptrace_stop): New function.
7955         (main): Call it after attaching.
7956
7957 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7958
7959         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7960         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7961         Versions files is now verboten.
7962         * hurd/Versions (libc: GLIBC_2.0):
7963         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7964         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7965         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7966         * mach/Versions: Likewise.
7967
7968         * csu/Versions: Remove unused %include.
7969         * resolv/Versions: Likewise.
7970
7971 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7972
7973         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7974         ($(objpfx)check-local-headers.out): Likewise.
7975         ($(objpfx)begin-end-check.out): Likewise.
7976         * Makerules (check-abi-%.out): Likewise.
7977         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7978         ($(objpfx)test2.cat): Likewise.
7979         ($(objpfx)de/libc.cat): Likewise.
7980         ($(objpfx)test-gencat.out): Likewise.
7981         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7982         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7983         ($(objpfx)noload-mem): Likewise.
7984         ($(objpfx)tst-pathopt.out): Likewise.
7985         ($(objpfx)tst-rtld-load-self.out): Likewise.
7986         ($(objpfx)tst-array1-cmp.out): Likewise.
7987         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7988         ($(objpfx)tst-array2-cmp.out): Likewise.
7989         ($(objpfx)tst-array3-cmp.out): Likewise.
7990         ($(objpfx)tst-array4-cmp.out): Likewise.
7991         ($(objpfx)tst-array5-cmp.out): Likewise.
7992         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7993         ($(objpfx)check-textrel.out): Likewise.
7994         ($(objpfx)check-execstack.out): Likewise.
7995         ($(objpfx)check-localplt.out): Likewise.
7996         ($(objpfx)order2-cmp.out): Likewise.
7997         ($(objpfx)tst-leaks1-mem): Likewise.
7998         ($(objpfx)tst-leaks1-static-mem): Likewise.
7999         ($(objpfx)tst-initorder-cmp.out): Likewise.
8000         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8001         ($(objpfx)tst-unused-dep.out): Likewise.
8002         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8003         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8004         * iconv/Makefile (test-iconvconfig): Likewise.
8005         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8006         ($(objpfx)iconv-test.out): Likewise.
8007         ($(objpfx)tst-tables.out): Likewise.
8008         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8009         ($(objpfx)tst-gettext.out): Likewise.
8010         ($(objpfx)tst-translit.out): Likewise.
8011         ($(objpfx)tst-gettext2.out): Likewise.
8012         ($(objpfx)tst-gettext4.out): Likewise.
8013         ($(objpfx)tst-gettext6.out): Likewise.
8014         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8015         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8016         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8017         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8018         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8019         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8020         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8021         ($(objpfx)wordexp-tst.out): Likewise.
8022         ($(objpfx)annexc.out): Likewise.
8023         ($(objpfx)tst-fnmatch-mem): Likewise.
8024         ($(objpfx)bug-regex2-mem): Likewise.
8025         ($(objpfx)bug-regex14-mem): Likewise.
8026         ($(objpfx)bug-regex21-mem): Likewise.
8027         ($(objpfx)bug-regex31-mem): Likewise.
8028         ($(objpfx)tst-vfork3-mem): Likewise.
8029         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8030         ($(objpfx)tst-pcre-mem): Likewise.
8031         ($(objpfx)tst-boost-mem): Likewise.
8032         ($(objpfx)tst-getconf.out): Likewise.
8033         ($(objpfx)bug-ga2-mem): Likewise.
8034         ($(objpfx)bug-glob2-mem): Likewise.
8035         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8036         ($(objpfx)mtrace-tst-leaks2): Likewise.
8037         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8038         ($(objpfx)tst-printf.out): Likewise.
8039         ($(objpfx)tst-setvbuf1.out): Likewise.
8040         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8041         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8042         ($(objpfx)tst-fmtmsg.out): Likewise.
8043         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8044         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8045
8046         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8047         * bits/sigaction.h [__USE_MISC]: Likewise.
8048         * bits/waitstatus.h: Update #endif comments.
8049         * ctype/ctype.h: Likewise.
8050         * dirent/dirent.h: Likewise.
8051         [__USE_MISC]: Remove redundant conditionals.
8052         * grp/grp.h: Update #endif comments.
8053         [__USE_GNU]: Remove redundant conditionals.
8054         [__USE_MISC]: Likewise.
8055         * inet/netinet/in.h [__USE_GNU]: Likewise.
8056         * io/sys/stat.h [__USE_MISC]: Likewise.
8057         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8058         * libio/bits/stdio.h: Update #endif comments.
8059         [__USE_MISC]: Remove redundant conditionals.
8060         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8061         * libio/stdio.h: Update #endif comments.
8062         [__USE_MISC]: Remove redundant conditionals.
8063         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8064         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8065         * math/math.h: Update #else and #endif comments.
8066         [__USE_MISC]: Remove redundant conditionals.
8067         * misc/sys/uio.h: Update #endif comments.
8068         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8069         * posix/glob.h [__USE_MISC]: Likewise.
8070         * posix/sys/types.h: Update #endif comments.
8071         [__USE_MISC]: Remove redundant conditionals.
8072         * posix/sys/wait.h: Update #endif comments.
8073         [__USE_MISC]: Remove redundant conditionals.
8074         * posix/unistd.h: Update #endif comments.
8075         [__USE_MISC]: Remove redundant conditionals.
8076         * pwd/pwd.h [__USE_GNU]: Likewise.
8077         [__USE_MISC]: Likewise.
8078         * resolv/netdb.h [__USE_GNU]: Likewise.
8079         * signal/signal.h: Update #endif comments.
8080         [__USE_MISC]: Remove redundant conditionals.
8081         * stdlib/stdlib.h: Update #else and #endif comments.
8082         [__USE_MISC]: Remove redundant conditionals.
8083         [__USE_GNU]: Likewise.
8084         * string/bits/string2.h [__USE_MISC]: Likewise.
8085         * string/string.h: Update #endif comments.
8086         [__USE_MISC]: Remove redundant conditionals.
8087         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8088         Likewise.
8089         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8090         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8091         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8092         Likewise.
8093         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8094         Likewise.
8095         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8096         comments.
8097         [__USE_MISC]: Remove redundant conditionals.
8098         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8099         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8100         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8101         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8102         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8103         Likewise.
8104         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8105         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8106         Likewise.
8107         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8108         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8109         Likewise.
8110         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8111         Likewise.
8112         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8113         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8114         Likewise.
8115         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8116         Likewise.
8117         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8118         * sysdeps/x86/bits/string.h: Update #endif comments.
8119         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8120         conditionals.
8121         * time/sys/time.h: Update #endif comments.
8122         * time/time.h: Likewise.
8123         [__USE_MISC]: Remove redundant conditionals.
8124
8125 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8126
8127         [BZ #16600]
8128         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8129
8130 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8131
8132         * Versions.def (librt): Add GLIBC_2.17.
8133
8134 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8135
8136         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8137         synonym for _SYS_AUXV_H to allow direct inclusion.
8138         * sysdeps/sparc/bits/hwcap.h: Likewise.
8139         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8140         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8141         * sysdeps/sparc/sysdep.h: Likewise.
8142
8143 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8144
8145         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8146
8147 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8148
8149         * benchtests/bench-strrchr.c: Print length instead of position.
8150
8151 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8152
8153         [BZ #16611]
8154         * sysdeps/unix/sysv/linux/kernel-features.h
8155         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8156         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8157         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8158         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8159         Likewise.
8160         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8161         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8162         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8163         (__ASSUME_SENDMMSG): Define instead of using previous
8164         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8165         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8166         (__ASSUME_SENDMMSG_SYSCALL): Define.
8167         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8168         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8169         Likewise.
8170         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8171         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8172         Likewise.
8173         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8174         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8175         Likewise.
8176         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8177         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8178         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8179         [__ASSUME_SENDMMSG]: Change conditionals to
8180         [__ASSUME_SENDMMSG_SOCKETCALL].
8181         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8182         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8183         Define.
8184         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8185         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8186         Likewise.
8187         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8188         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8189         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8190         [!__ASSUME_SENDMMSG]: Change conditional to
8191         [!__ASSUME_SENDMMSG_SOCKETCALL].
8192         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8193         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8194         Define.
8195
8196         [BZ #16610]
8197         * sysdeps/unix/sysv/linux/kernel-features.h
8198         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8199         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8200         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8201         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8202         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8203         [__i386__ || __sparc__]
8204         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8205         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8206         (__ASSUME_RECVMMSG): Define instead of using previous
8207         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8208         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8209         (__ASSUME_RECVMMSG_SYSCALL): Define.
8210         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8211         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8212         Likewise.
8213         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8214         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8215         Likewise.
8216         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8217         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8218         Likewise.
8219         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8220         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8221         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8222         [__ASSUME_RECVMMSG]: Change condition to
8223         [__ASSUME_RECVMMSG_SOCKETCALL].
8224         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8225         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8226         Define.
8227         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8229         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8230         Likewise.
8231         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8232         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8233         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8234         [!__ASSUME_RECVMMSG]: Change condition to
8235         [!__ASSUME_RECVMMSG_SOCKETCALL].
8236         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8237         (__ASSUME_RECVMMSG_SYSCALL): Define.
8238
8239         [BZ #16609]
8240         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8241         __powerpc__ || __s390__ || __sh__ || __sparc__]
8242         (__ASSUME_SOCKETCALL): Define.
8243         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8244         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8245         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8246         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8247         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8248         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8249         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8250         (__ASSUME_ACCEPT4): Define instead of using previous
8251         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8252         __powerpc__ || __sparc__ || __s390__)] condition.
8253         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8254         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8255         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8256         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8257         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8258         [!__ASSUME_ACCEPT4]: Change condition to
8259         [!__ASSUME_ACCEPT4_SOCKETCALL].
8260         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8261         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8262         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8263         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8264         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8265         __ASSUME_ACCEPT4_SYSCALL.
8266         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8267         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8268         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8269         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8270         __ASSUME_ACCEPT4_SYSCALL.
8271         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8272         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8273         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8274         [__ASSUME_ACCEPT4]: Change condition to
8275         [__ASSUME_ACCEPT4_SOCKETCALL].
8276         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8277         (__ASSUME_SOCKETCALL): Define.
8278         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8279         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8280         (__ASSUME_SOCKETCALL): Define.
8281         (__ASSUME_ACCEPT4): Remove.
8282         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8283         Define.
8284         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8285         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8288         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8289
8290         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8291         macro.
8292         (HWCAP_ARM_LPAE): Likewise.
8293         (HWCAP_ARM_EVTSTRM): Likewise.
8294         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8295         Add vpfd32, lpae and evtstrm.
8296         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8297         Increase to 22.
8298
8299 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8300
8301         * math/auto-libm-test-in: Add tests of clog10.
8302         * math/auto-libm-test-out: Regenerated.
8303         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8304         * sysdeps/i386/fpu/libm-test-ulps: Update.
8305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8306
8307 2014-02-18  Andreas Schwab  <schwab@suse.de>
8308
8309         [BZ #16574]
8310         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8311         Store non-zero if the second buffer was newly allocated.
8312         (send_dg): Likewise.
8313         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8314         to send_vc and send_dg.
8315         (res_nsend): Pass NULL for ansp2_malloced.
8316         * resolv/res_query.c (__libc_res_nquery): Add parameter
8317         answerp2_malloced and pass it down to __libc_res_nsend.
8318         (res_nquery): Pass additional NULL to __libc_res_nquery.
8319         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8320         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8321         second answer buffer if answerp2_malloced was set.
8322         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8323         (__libc_res_nquerydomain): Add parameter
8324         answerp2_malloced and pass it down to __libc_res_nquery.
8325         (res_nquerydomain): Pass additional NULL to
8326         __libc_res_nquerydomain.
8327         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8328         additional NULL to __libc_res_nsend and __libc_res_nquery.
8329         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8330         additional NULL to __libc_res_nsearch.
8331         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8332         parameter of __libc_res_nsearch to check for separately allocated
8333         second buffer.
8334         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8335         __libc_res_nquery.
8336         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8337         additional NULL to __libc_res_nquery.
8338         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8339         __libc_res_nsearch.
8340         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8341         * include/resolv.h: Update prototypes of __libc_res_nquery,
8342         __libc_res_nsearch, __libc_res_nsend.
8343
8344 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8345
8346         * math/auto-libm-test-in: Add tests of fma.
8347         * math/auto-libm-test-out: Regenerated.
8348         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8349         (fma_towardzero_test_data): Likewise.
8350         (fma_downward_test_data): Likewise.
8351         (fma_upward_test_data): Likewise.
8352         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8353         mpc_mode.
8354         (rounding_modes): Add values for new field.
8355         (func_calc_method): Add value mpfr_fff_f.
8356         (func_calc_desc): Add mpfr_fff_f union field.
8357         (test_function): Add field exact_args.
8358         (FUNC): Add macro argument EXACT_ARGS.
8359         (FUNC_mpfr_f_f): Update call to FUNC.
8360         (FUNC_mpfr_f_f): Likewise.
8361         (FUNC_mpfr_ff_f): Likewise.
8362         (FUNC_mpfr_if_f): Likewise.
8363         (FUNC_mpc_c_f): Likewise.
8364         (FUNC_mpc_c_c): Likewise.
8365         (test_functions): Add fma.  Update calls to FUNC.
8366         (handle_input_arg): Add argument exact_args.
8367         (add_test): Update call to handle_input_arg.
8368         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8369         (output_for_one_input_case): Update call to calc_generic_results.
8370         Recalculate exact zero results in each rounding mode.
8371
8372         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8373         non-negative before setting low bit.
8374         * math/auto-libm-test-in: Mark one asin test possibly having
8375         spurious underflow.
8376         * math/auto-libm-test-out: Regenerated.
8377         * sysdeps/i386/fpu/libm-test-ulps: Update.
8378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8379
8380 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8381
8382         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8383         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8384         ports/sysdeps/unix/sysv/linux/microblaze.
8385         * README: Add missing listing for microblaze*-*-linux-gnu.
8386
8387 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8388
8389         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8390         * sysdeps/unix/sysv/linux/ia64: Move directory from
8391         ports/sysdeps/unix/sysv/linux/ia64.
8392         * README: Update listing for ia64-*-linux-gnu.
8393
8394 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8395             Joseph Myers  <joseph@codesourcery.com>
8396
8397         * Makeconfig (test-name): New variable.
8398         (evaluate-test): Likewise.
8399         * Makerules (do-test-clean): Remove .test-result files.
8400         (common-mostlyclean): Likewise.
8401         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8402         * scripts/evaluate-test.sh: New file.
8403
8404 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8405
8406         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8407         separate $(objpfx)tst-fopenloc-cmp.out and
8408         $(objpfx)tst-fopenloc-mem.out targets.
8409         (tests): Update dependencies.
8410         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8411         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8412         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8413         (tst-rxspencer-no-utf8-ARGS): New variable.
8414         (tst-rxspencer-no-utf8-ENV): Likewise.
8415         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8416         instead of $(objpfx)tst-rxspencer-mem.
8417         ($(objpfx)tst-rxspencer-mem): Change target to
8418         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8419         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8420         * posix/tst-rxspencer-no-utf8.c: New file.
8421
8422         * elf/Makefile ($(objpfx)order.out): Remove rule.
8423         [$(run-built-tests) = yes] (tests): Depend on
8424         $(objpfx)order-cmp.out.
8425         ($(objpfx)order-cmp.out): New rule.
8426         [$(run-built-tests) = yes] (tests): Depend on
8427         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8428         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8429         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8430         $(objpfx)tst-array5-static-cmp.out.
8431         ($(objpfx)tst-array1.out): Remove rule.
8432         ($(objpfx)tst-array1-cmp.out): New rule.
8433         ($(objpfx)tst-array1-static.out): Remove rule.
8434         ($(objpfx)tst-array1-static-cmp.out): New rule.
8435         ($(objpfx)tst-array2.out): Remove rule.
8436         ($(objpfx)tst-array2-cmp.out): New rule.
8437         ($(objpfx)tst-array3.out): Remove rule.
8438         ($(objpfx)tst-array3-cmp.out): New rule.
8439         ($(objpfx)tst-array4.out): Remove rule.
8440         ($(objpfx)tst-array4-cmp.out): New rule.
8441         ($(objpfx)tst-array5.out): Remove rule.
8442         ($(objpfx)tst-array5-cmp.out): New rule.
8443         ($(objpfx)tst-array5-static.out): Remove rule.
8444         ($(objpfx)tst-array5-static-cmp.out): New rule.
8445         [$(run-built-tests) = yes] (tests): Depend on
8446         $(objpfx)order2-cmp.out.
8447         ($(objpfx)order2.out): Remove rule.
8448         ($(objpfx)order2-cmp.out): New rule.
8449         ($(objpfx)tst-initorder.out): Remove rule.
8450         [$(run-built-tests) = yes] (tests): Depend on
8451         $(objpfx)tst-initorder-cmp.out.
8452         ($(objpfx)tst-initorder-cmp.out): New rule.
8453         ($(objpfx)tst-initorder2.out): Remove rule.
8454         [$(run-built-tests) = yes] (tests): Depend on
8455         $(objpfx)tst-initorder2-cmp.out.
8456         ($(objpfx)tst-initorder2-cmp.out): New rule.
8457         [$(run-built-tests) = yes] (tests): Depend on
8458         $(objpfx)tst-unused-dep-cmp.out.
8459         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8460         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8461         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8462         on $(objpfx)tst-setvbuf1-cmp.out.
8463         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8464         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8465         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8466         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8467         ($(objpfx)tst-svc.out): Remove rule.
8468         ($(objpfx)tst-svc-cmp.out): New rule.
8469
8470 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8471
8472         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8473         * ctype/ctype.h [__USE_MISC]: Likewise.
8474         * dirent/dirent.h [__USE_MISC]: Likewise.
8475         * grp/grp.h [__USE_MISC]: Likewise.
8476         * io/fcntl.h [__USE_MISC]: Likewise.
8477         * io/sys/stat.h [__USE_MISC]: Likewise.
8478         * libio/stdio.h [__USE_MISC]: Likewise.
8479         * posix/unistd.h [__USE_MISC]: Likewise.
8480         * pwd/pwd.h [__USE_MISC]: Likewise.
8481         * stdlib.h [__USE_MISC]: Likewise.
8482         * string/bits/string2.h [__USE_MISC]: Likewise.
8483         * string/string.h [__USE_MISC]: Likewise.
8484         * time/time.h [__USE_MISC]: Likewise.
8485
8486 2014-02-13  Andreas Schwab  <schwab@suse.de>
8487
8488         [BZ #16574]
8489         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8490         second answer buffer if it was separately allocated.
8491
8492 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8493
8494         * sysdeps/mips/math-tests.h: Include <features.h>.
8495         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8496         (ROUNDING_TESTS_long_double): Do not define.
8497         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8498         (EXCEPTION_TESTS_long_double): Likewise.
8499         * sysdeps/mips/mips64/libm-test-ulps: Update.
8500
8501         * include/features.h (__USE_BSD): Remove macro definitions.
8502         (__USE_SVID): Likewise.
8503         (_BSD_SOURCE): Likewise.
8504         (_SVID_SOURCE): Likewise.
8505         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8506         from definition of _DEFAULT_SOURCE.
8507         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8508         [_DEFAULT_SOURCE].
8509         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8510         * bits/mman.h [__USE_BSD]: Likewise.
8511         * bits/termios.h [__USE_BSD]: Likewise.
8512         * bits/waitstatus.h [__USE_BSD]: Likewise.
8513         * ctype/ctype.h [__USE_SVID]: Likewise.
8514         * dirent/dirent.h [__USE_BSD]: Likewise.
8515         * grp/grp.h [__USE_SVID]: Likewise.
8516         [__USE_BSD]: Likewise.
8517         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8518         * io/fcntl.h [__USE_BSD]: Likewise.
8519         * io/ftw.h [__USE_BSD]: Likewise.
8520         * io/sys/stat.h [__USE_BSD]: Likewise.
8521         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8522         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8523         * libio/stdio.h [__USE_SVID]: Likewise.
8524         [__USE_BSD]: Likewise.
8525         * math/math.h [__USE_SVID]: Likewise.
8526         [__USE_BSD]: Likewise.
8527         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8528         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8529         * misc/search.h [__USE_SVID]: Likewise.
8530         * misc/sys/mman.h [__USE_BSD]: Likewise.
8531         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8532         * misc/sys/uio.h [__USE_BSD]: Likewise.
8533         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8534         * posix/glob.h [__USE_BSD]: Likewise.
8535         * posix/regex.h [__USE_BSD]: Likewise.
8536         * posix/sys/types.h [__USE_BSD]: Likewise.
8537         [__USE_SVID]: Likewise.
8538         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8539         * posix/sys/wait.h [__USE_BSD]: Likewise.
8540         [__USE_SVID]: Likewise.
8541         * posix/unistd.h [__USE_BSD]: Likewise.
8542         [__USE_SVID]: Likewise.
8543         * pwd/pwd.h [__USE_SVID]: Likewise.
8544         * resolv/netdb.h [__USE_BSD]: Likewise.
8545         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8546         * signal/signal.h [__USE_BSD]: Likewise.
8547         [__USE_SVID]: Likewise.
8548         * socket/sys/socket.h [__USE_BSD]: Likewise.
8549         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8550         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8551         [__USE_SVID]: Likewise.
8552         * string/bits/string2.h [__USE_BSD]: Likewise.
8553         [__USE_SVID]: Likewise.
8554         * string/bits/string3.h [__USE_BSD]: Likewise.
8555         * string/endian.h [__USE_BSD]: Likewise.
8556         * string/string.h [__USE_SVID]: Likewise.
8557         [__USE_BSD]: Likewise.
8558         * string/strings.h [__USE_BSD]: Likewise.
8559         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8560         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8561         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8562         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8563         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8564         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8565         Likewise.
8566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8567         Likewise.
8568         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8569         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8570         Likewise.
8571         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8572         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8573         Likewise.
8574         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8575         Likewise.
8576         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8577         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8578         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8579         Likewise.
8580         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8581         Likewise.
8582         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8583         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8584         * termios/termios.h [__USE_BSD]: Likewise.
8585         * time/sys/time.h [__USE_BSD]: Likewise.
8586         * time/time.h [__USE_BSD]: Likewise.
8587         [__USE_SVID]: Likewise.
8588
8589         * Makefile (subdir_targets): Remove subdir_lint.out.
8590
8591         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8592         (do-tst-printf): Likewise.
8593         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8594         $(objpfx)tst-printf.out.
8595
8596         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8597
8598         * Makerules (check-abi-%): Change target to
8599         $(objpfx)check-abi-%.out.
8600         (check-abi target): Update dependencies.
8601         (check-abi-pattern variable): Redirect output of diff to $@.
8602         (check-abi variable): Likewise.
8603         * elf/Makefile (check-abi): Update dependencies.
8604
8605         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8606         unused.
8607         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8608         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8609         subnormal range.
8610         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8611         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8612         value has largest subnormal exponent.
8613         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8614         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8615         * sysdeps/aarch64/soft-fp/sfp-machine.h
8616         (_FP_TININESS_AFTER_ROUNDING): New macro.
8617         * sysdeps/alpha/soft-fp/sfp-machine.h
8618         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8619         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8620         Likewise.
8621         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8622         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8623         * sysdeps/mips/soft-fp/sfp-machine.h
8624         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8625         * sysdeps/powerpc/soft-fp/sfp-machine.h
8626         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8627         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8628         Likewise.
8629         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8630         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8631         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8632         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8633         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8634         Likewise.
8635
8636 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8637
8638         [BZ #16545]
8639         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8640         model 1.
8641
8642 2014-02-12  Richard Henderson  <rth@redhat.com>
8643
8644         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8645         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8646         * sysdeps/unix/sysv/linux/alpha: Move directory from
8647         ports/sysdeps/unix/sysv/linux/alpha.
8648         * README: Update listing for alpha-*-linux-gnu.
8649
8650 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8651
8652         * include/features.h: Update comment documenting feature test
8653         macros.
8654         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8655         _DEFAULT_SOURCE.
8656         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8657         (_SVID_SOURCE): Likewise.
8658         (_DEFAULT_SOURCE): Update description of default features.
8659         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8660         with _GNU_SOURCE.
8661         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8662         (S_ISVTX): Likewise.
8663         * manual/math.texi (Mathematical Constants): Likewise.
8664         * manual/signal.texi (Interrupted Primitives): Likewise.
8665         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8666         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8667         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8668         Don't refer to _SVID_SOURCE in warning text.
8669
8670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8671
8672         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8673         already defined.
8674         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8675         * sysdeps/mips/dl-lookup.c: Remove.
8676         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8677
8678 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8679
8680         [BZ #16447]
8681         * math/auto-libm-test-in: Add testcase for expl.
8682         * math/auto-libm-test-out: Regenerate.
8683         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8684         calculation of unsafe.
8685         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8686
8687 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8688
8689         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8690         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8691         ports/sysdeps/unix/sysv/linux/aarch64.
8692         * README: Update listing for aarch64*-*-linux-gnu.
8693
8694 2014-02-11  Will Newton  <will.newton@linaro.org>
8695
8696         * manual/probes.texi (Mathematical Function Probes): Use
8697         "triggered" instead of "hit".
8698
8699         * manual/probes.texi (Internal Probes): Add documentation
8700         of setjmp, longjmp and longjmp_target probes.
8701
8702         * include/stap-probe.h: Add comment about probe argument
8703         format.
8704
8705         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8706         definition.  (tr_where, tr_freehook, tr_mallochook,
8707         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8708
8709 2014-02-11  David S. Miller  <davem@davemloft.net>
8710
8711         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8712         processing int_tests.
8713
8714 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8715
8716         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8717         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8718         * sysdeps/unix/sysv/linux/mips: Move directory from
8719         ports/sysdeps/unix/sysv/linux/mips.
8720         * README: Update listing for mips-*-linux-gnu and
8721         mips64-*-linux-gnu.
8722
8723 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8724
8725         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8726         * sysdeps/unix/sysv/linux/m68k: Move directory from
8727         ports/sysdeps/unix/sysv/linux/m68k.
8728         * README: Update listing for m68k-*-linux-gnu.
8729
8730 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8731
8732         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8733         * sysdeps/unix/sysv/linux/generic: Move directory from
8734         ports/sysdeps/unix/sysv/linux/generic.
8735         * sysdeps/unix/sysv/linux/tile: Move directory from
8736         ports/sysdeps/unix/sysv/linux/tile.
8737         * README: Update listing for tile*-*-linux-gnu.
8738
8739 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8740
8741         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8742         __builtin_expect.
8743         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8744         * catgets/open_catalog.c (__open_catalog): Likewise.
8745         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8746         * debug/confstr_chk.c: Likewise.
8747         * debug/fread_chk.c (__fread_chk): Likewise.
8748         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8749         * debug/getgroups_chk.c: Likewise.
8750         * debug/mbsnrtowcs_chk.c: Likewise.
8751         * debug/mbsrtowcs_chk.c: Likewise.
8752         * debug/mbstowcs_chk.c: Likewise.
8753         * debug/memcpy_chk.c: Likewise.
8754         * debug/memmove_chk.c: Likewise.
8755         * debug/mempcpy_chk.c: Likewise.
8756         * debug/memset_chk.c: Likewise.
8757         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8758         * debug/strcat_chk.c (__strcat_chk): Likewise.
8759         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8760         * debug/strncat_chk.c (__strncat_chk): Likewise.
8761         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8762         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8763         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8764         * debug/wcpncpy_chk.c: Likewise.
8765         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8766         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8767         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8768         * debug/wcsncpy_chk.c: Likewise.
8769         * debug/wcsnrtombs_chk.c: Likewise.
8770         * debug/wcsrtombs_chk.c: Likewise.
8771         * debug/wcstombs_chk.c: Likewise.
8772         * debug/wmemcpy_chk.c: Likewise.
8773         * debug/wmemmove_chk.c: Likewise.
8774         * debug/wmempcpy_chk.c: Likewise.
8775         * debug/wmemset_chk.c: Likewise.
8776         * dirent/scandirat.c (SCANDIRAT): Likewise.
8777         * dlfcn/dladdr1.c (dladdr1): Likewise.
8778         * dlfcn/dladdr.c (dladdr): Likewise.
8779         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8780         * dlfcn/dlerror.c (__dlerror): Likewise.
8781         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8782         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8783         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8784         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8785         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8786         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8787         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8788         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8789         Likewise.
8790         * elf/dl-conflict.c: Likewise.
8791         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8792         * elf/dl-dst.h: Likewise.
8793         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8794         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8795         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8796         * elf/dl-init.c (call_init, _dl_init): Likewise.
8797         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8798         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8799         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8800         Likewise.
8801         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8802         Likewise.
8803         * elf/dl-minimal.c (__libc_memalign): Likewise.
8804         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8805         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8806         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8807         * elf/dl-sym.c (do_sym): Likewise.
8808         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8809         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8810         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8811         * elf/dl-writev.h (_dl_writev): Likewise.
8812         * elf/ldconfig.c (search_dir): Likewise.
8813         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8814         (dl_main): Likewise.
8815         * elf/setup-vdso.h (setup_vdso): Likewise.
8816         * grp/compat-initgroups.c (compat_call): Likewise.
8817         * grp/fgetgrent.c (fgetgrent): Likewise.
8818         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8819         * grp/putgrent.c (putgrent): Likewise.
8820         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8821         Likewise.
8822         * hurd/hurdinit.c: Likewise.
8823         * iconvdata/8bit-gap.c (struct): Likewise.
8824         * iconvdata/ansi_x3.110.c : Likewise.
8825         * iconvdata/big5.c : Likewise.
8826         * iconvdata/big5hkscs.c : Likewise.
8827         * iconvdata/cp1255.c: Likewise.
8828         * iconvdata/cp1258.c : Likewise.
8829         * iconvdata/cp932.c : Likewise.
8830         * iconvdata/euc-cn.c: Likewise.
8831         * iconvdata/euc-jisx0213.c : Likewise.
8832         * iconvdata/euc-jp.c: Likewise.
8833         * iconvdata/euc-jp-ms.c : Likewise.
8834         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8835         * iconvdata/gb18030.c : Likewise.
8836         * iconvdata/gbbig5.c (const): Likewise.
8837         * iconvdata/gbgbk.c: Likewise.
8838         * iconvdata/gbk.c : Likewise.
8839         * iconvdata/ibm1364.c : Likewise.
8840         * iconvdata/ibm930.c : Likewise.
8841         * iconvdata/ibm932.c: Likewise.
8842         * iconvdata/ibm933.c : Likewise.
8843         * iconvdata/ibm935.c : Likewise.
8844         * iconvdata/ibm937.c : Likewise.
8845         * iconvdata/ibm939.c : Likewise.
8846         * iconvdata/ibm943.c: Likewise.
8847         * iconvdata/iso_11548-1.c: Likewise.
8848         * iconvdata/iso-2022-cn.c : Likewise.
8849         * iconvdata/iso-2022-cn-ext.c : Likewise.
8850         * iconvdata/iso-2022-jp-3.c: Likewise.
8851         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8852         * iconvdata/iso-2022-kr.c : Likewise.
8853         * iconvdata/iso646.c (gconv_end): Likewise.
8854         * iconvdata/iso_6937-2.c : Likewise.
8855         * iconvdata/iso_6937.c : Likewise.
8856         * iconvdata/iso8859-1.c: Likewise.
8857         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8858         * iconvdata/shift_jisx0213.c : Likewise.
8859         * iconvdata/sjis.c : Likewise.
8860         * iconvdata/t.61.c : Likewise.
8861         * iconvdata/tcvn5712-1.c : Likewise.
8862         * iconvdata/tscii.c: Likewise.
8863         * iconvdata/uhc.c : Likewise.
8864         * iconvdata/unicode.c (gconv_end): Likewise.
8865         * iconvdata/utf-16.c (gconv_end): Likewise.
8866         * iconvdata/utf-32.c (gconv_end): Likewise.
8867         * iconvdata/utf-7.c (base64): Likewise.
8868         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8869         * iconv/gconv_close.c (__gconv_close): Likewise.
8870         * iconv/gconv_open.c (__gconv_open): Likewise.
8871         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8872         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8873         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8874         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8875         (ucs4le_internal_loop_single): Likewise.
8876         * iconv/iconv.c (iconv): Likewise.
8877         * iconv/iconv_close.c: Likewise.
8878         * iconv/loop.c (SINGLE): Likewise.
8879         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8880         * include/atomic.h: Likewise.
8881         * inet/inet6_option.c (option_alloc): Likewise.
8882         * intl/bindtextdom.c (set_binding_values): Likewise.
8883         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8884         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8885         * intl/localealias.c (read_alias_file): Likewise.
8886         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8887         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8888         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8889         * libio/fmemopen.c (fmemopen): Likewise.
8890         * libio/iofgets.c (_IO_fgets): Likewise.
8891         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8892         * libio/iofgetws.c (fgetws): Likewise.
8893         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8894         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8895         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8896         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8897         * locale/findlocale.c (_nl_find_locale): Likewise.
8898         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8899         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8900         Likewise.
8901         * locale/setlocale.c (setlocale): Likewise.
8902         * login/programs/pt_chown.c (main): Likewise.
8903         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8904         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8905         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8906         (mmap, mmap64, mremap, munmap): Likewise.
8907         * math/e_exp2l.c: Likewise.
8908         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8909         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8910         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8911         * math/s_catan.c (__catan): Likewise.
8912         * math/s_catanf.c (__catanf): Likewise.
8913         * math/s_catanh.c (__catanh): Likewise.
8914         * math/s_catanhf.c (__catanhf): Likewise.
8915         * math/s_catanhl.c (__catanhl): Likewise.
8916         * math/s_catanl.c (__catanl): Likewise.
8917         * math/s_ccosh.c (__ccosh): Likewise.
8918         * math/s_ccoshf.c (__ccoshf): Likewise.
8919         * math/s_ccoshl.c (__ccoshl): Likewise.
8920         * math/s_cexp.c (__cexp): Likewise.
8921         * math/s_cexpf.c (__cexpf): Likewise.
8922         * math/s_cexpl.c (__cexpl): Likewise.
8923         * math/s_clog10.c (__clog10): Likewise.
8924         * math/s_clog10f.c (__clog10f): Likewise.
8925         * math/s_clog10l.c (__clog10l): Likewise.
8926         * math/s_clog.c (__clog): Likewise.
8927         * math/s_clogf.c (__clogf): Likewise.
8928         * math/s_clogl.c (__clogl): Likewise.
8929         * math/s_csin.c (__csin): Likewise.
8930         * math/s_csinf.c (__csinf): Likewise.
8931         * math/s_csinh.c (__csinh): Likewise.
8932         * math/s_csinhf.c (__csinhf): Likewise.
8933         * math/s_csinhl.c (__csinhl): Likewise.
8934         * math/s_csinl.c (__csinl): Likewise.
8935         * math/s_csqrt.c (__csqrt): Likewise.
8936         * math/s_csqrtf.c (__csqrtf): Likewise.
8937         * math/s_csqrtl.c (__csqrtl): Likewise.
8938         * math/s_ctan.c (__ctan): Likewise.
8939         * math/s_ctanf.c (__ctanf): Likewise.
8940         * math/s_ctanh.c (__ctanh): Likewise.
8941         * math/s_ctanhf.c (__ctanhf): Likewise.
8942         * math/s_ctanhl.c (__ctanhl): Likewise.
8943         * math/s_ctanl.c (__ctanl): Likewise.
8944         * math/w_pow.c: Likewise.
8945         * math/w_powf.c: Likewise.
8946         * math/w_powl.c: Likewise.
8947         * math/w_scalb.c (sysv_scalb): Likewise.
8948         * math/w_scalbf.c (sysv_scalbf): Likewise.
8949         * math/w_scalbl.c (sysv_scalbl): Likewise.
8950         * misc/error.c (error_tail): Likewise.
8951         * misc/pselect.c (__pselect): Likewise.
8952         * nis/nis_callback.c (__nis_create_callback): Likewise.
8953         * nis/nis_call.c (__nisfind_server): Likewise.
8954         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8955         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8956         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8957         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8958         * nis/nis_lookup.c (nis_lookup): Likewise.
8959         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8960         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8961         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8962         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8963         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8964         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8965         * nis/nss_compat/compat-initgroups.c (add_group)
8966         (internal_getgrent_r): Likewise.
8967         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8968         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8969         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8970         (internal_getspnam_r): Likewise.
8971         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8972         (_nss_nis_getaliasbyname_r): Likewise.
8973         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8974         (_nss_nis_getntohost_r): Likewise.
8975         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8976         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8977         (_nss_nis_getgrgid_r): Likewise.
8978         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8979         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8980         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8981         (_nss_nis_gethostbyname4_r): Likewise.
8982         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8983         (initgroups_netid): Likewise.
8984         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8985         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8986         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8987         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8988         (_nss_nis_getprotobynumber_r): Likewise.
8989         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8990         (_nss_nis_getsecretkey): Likewise.
8991         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8992         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8993         (_nss_nis_getpwuid_r): Likewise.
8994         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8995         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8996         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8997         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8998         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8999         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9000         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9001         Likewise.
9002         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9003         (_nss_nisplus_getntohost_r): Likewise.
9004         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9005         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9006         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9007         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9008         Likewise.
9009         * nis/nss_nisplus/nisplus-initgroups.c
9010         (_nss_nisplus_initgroups_dyn): Likewise.
9011         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9012         (_nss_nisplus_getnetbyaddr_r): Likewise.
9013         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9014         (_nss_nisplus_getprotobynumber_r): Likewise.
9015         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9016         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9017         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9018         Likewise.
9019         * nis/nss_nisplus/nisplus-service.c
9020         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9021         (_nss_nisplus_getservbyport_r): Likewise.
9022         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9023         (_nss_nisplus_getspnam_r): Likewise.
9024         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9025         Likewise.
9026         * nscd/aicache.c (addhstaiX): Likewise.
9027         * nscd/cache.c (cache_search, prune_cache): Likewise.
9028         * nscd/connections.c (register_traced_file, send_ro_fd)
9029         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9030         (main_loop_epoll): Likewise.
9031         * nscd/grpcache.c (addgrbyX): Likewise.
9032         * nscd/hstcache.c (addhstbyX): Likewise.
9033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9034         * nscd/mem.c (gc, mempool_alloc): Likewise.
9035         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9036         (addinnetgrX): Likewise.
9037         * nscd/nscd-client.h (__nscd_acquire_maplock)
9038         (__nscd_drop_map_ref): Likewise.
9039         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9040         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9041         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9042         Likewise.
9043         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9044         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9045         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9046         (__nscd_get_map_ref): Likewise.
9047         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9048         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9049         Likewise.
9050         * nscd/pwdcache.c (addpwbyX): Likewise.
9051         * nscd/selinux.c (preserve_capabilities): Likewise.
9052         * nscd/servicescache.c (addservbyX): Likewise.
9053         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9054         * posix/fnmatch.c (fnmatch): Likewise.
9055         * posix/getopt.c (_getopt_internal_r): Likewise.
9056         * posix/glob.c (glob, glob_in_dir): Likewise.
9057         * posix/wordexp.c (exec_comm_child): Likewise.
9058         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9059         (getanswer_r, gaih_getanswer_slice): Likewise.
9060         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9061         * resolv/res_init.c: Likewise.
9062         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9063         * resolv/res_query.c (__libc_res_nquery): Likewise.
9064         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9065         Likewise.
9066         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9067         * stdio-common/perror.c (perror): Likewise.
9068         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9069         * stdio-common/tmpnam.c (tmpnam): Likewise.
9070         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9071         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9072         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9073         Likewise.
9074         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9075         * stdlib/putenv.c (putenv): Likewise.
9076         * stdlib/setenv.c (__add_to_environ): Likewise.
9077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9078         * stdlib/strtol_l.c (INTERNAL): Likewise.
9079         * string/memmem.c (memmem): Likewise.
9080         * string/strerror.c (strerror): Likewise.
9081         * string/strnlen.c (__strnlen): Likewise.
9082         * string/test-memmem.c (simple_memmem): Likewise.
9083         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9084         * sunrpc/pm_getport.c (__get_socket): Likewise.
9085         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9086         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9087         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9088         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9089         Likewise.
9090         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9091         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9092         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9093         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9094         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9095         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9096         Likewise.
9097         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9098         Likewise.
9099         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9100         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9101         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9102         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9103         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9104         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9105         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9106         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9107         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9108         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9109         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9110         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9111         Likewise.
9112         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9113         Likewise.
9114         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9115         Likewise.
9116         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9117         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9118         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9119         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9120         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9121         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9122         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9125         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9126         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9128         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9129         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9131         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9132         Likewise.
9133         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9134         Likewise.
9135         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9136         Likewise.
9137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9138         Likewise.
9139         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9140         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9141         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9142         Likewise.
9143         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9144         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9145         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9146         * sysdeps/posix/sleep.c: Likewise.
9147         * sysdeps/posix/tempname.c: Likewise.
9148         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9149         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9150         Likewise.
9151         * sysdeps/powerpc/powerpc32/dl-machine.h
9152         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9153         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9154         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9155         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9156         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9157         Likewise.
9158         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9159         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9160         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9161         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9162         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9163         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9164         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9165         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9166         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9167         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9169         (elf_machine_lazy_rel): Likewise.
9170         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9172         (elf_machine_lazy_rel): Likewise.
9173         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9174         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9175         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9176         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9177         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9178         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9179         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9180         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9181         Likewise.
9182         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9183         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9184         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9185         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9186         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9187         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9188         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9189         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9190         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9191         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9192         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9193         Likewise.
9194         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9195         (__posix_fallocate64_l64): Likewise.
9196         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9197         (posix_fallocate): Likewise.
9198         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9199         Likewise.
9200         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9201         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9202         (getifaddrs_internal): Likewise.
9203         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9204         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9205         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9206         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9207         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9208         (__posix_fallocate64_l64): Likewise.
9209         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9210         Likewise.
9211         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9212         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9213         (__get_clockfreq): Likewise.
9214         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9215         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9216         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9219         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9220         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9221         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9222         Likewise.
9223         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9224         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9225         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9226         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9227         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9228         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9229         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9230         Likewise.
9231         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9232         (posix_fallocate): Likewise.
9233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9234         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9235         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9236         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9237         (elf_machine_rela, elf_machine_rela_relative)
9238         (elf_machine_lazy_rel): Likewise.
9239         * time/asctime.c (asctime_internal): Likewise.
9240         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9241         * time/tzset.c (__tzset_parse_tz): Likewise.
9242         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9243         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9244         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9245         * wcsmbs/wcsmbsload.h: Likewise.
9246
9247         [BZ #15894]
9248         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9249
9250         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9251         (arena_get2): Remove THREAD_STATS conditionals.
9252         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9253         (__malloc_stats, int): Likewise.
9254
9255 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9256
9257         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9258         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9259
9260         * manual/setjmp.texi: Fix typos/grammar errors.
9261
9262         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9263         Only return early when n is <= 0.  Delete unused return statement.
9264
9265         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9266         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9267         * debug/tst-longjmp_chk3.c: New file.
9268
9269         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9270         (test_main): Replace code with set_fortify_handler call.
9271         * debug/test-strcpy_chk.c: Likewise.
9272         * debug/tst-chk1.c: Likewise.
9273         * debug/tst-longjmp_chk.c: Likewise.
9274         * test-skeleton.c: Include fcntl.h & paths.h
9275         (set_fortify_handler): Define.
9276
9277         * debug/tst-longjmp_chk.c: Add header comment and include
9278         ../test-skeleton.c.
9279         (do_test): Mark static.
9280         (TEST_FUNCTION): Define.
9281
9282         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9283         (IP_PMTUDISC_INTERFACE): Likewise.
9284         (IP_MULTICAST_IF): Likewise.
9285         (IP_MULTICAST_TTL): Likewise.
9286         (IP_MULTICAST_LOOP): Likewise.
9287         (IP_ADD_MEMBERSHIP): Likewise.
9288         (IP_DROP_MEMBERSHIP): Likewise.
9289         (IP_UNBLOCK_SOURCE): Likewise.
9290         (IP_BLOCK_SOURCE): Likewise.
9291         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9292         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9293         (IP_MSFILTER): Likewise.
9294         (MCAST_JOIN_GROUP): Likewise.
9295         (MCAST_BLOCK_SOURCE): Likewise.
9296         (MCAST_UNBLOCK_SOURCE): Likewise.
9297         (MCAST_LEAVE_GROUP): Likewise.
9298         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9299         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9300         (MCAST_MSFILTER): Likewise.
9301         (IP_MULTICAST_ALL): Likewise.
9302         (IP_UNICAST_IF): Likewise.
9303
9304         * timezone/Makefile: Delete $(have-ksh) check.
9305         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9306         * timezone/tzselect.ksh: Add +x mode bits.
9307
9308         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9309         (ANON_INODE_FS_MAGIC): Likewise.
9310         (BDEVFS_MAGIC): Likewise.
9311         (BINFMTFS_MAGIC): Likewise.
9312         (BTRFS_TEST_MAGIC): Likewise.
9313         (CRAMFS_MAGIC_WEND): Likewise.
9314         (DEBUGFS_MAGIC): Likewise.
9315         (ECRYPTFS_SUPER_MAGIC): Likewise.
9316         (EXT3_SUPER_MAGIC): Likewise.
9317         (EXT4_SUPER_MAGIC): Likewise.
9318         (FUTEXFS_SUPER_MAGIC): Likewise.
9319         (HOSTFS_SUPER_MAGIC): Likewise.
9320         (HUGETLBFS_MAGIC): Likewise.
9321         (MINIX3_SUPER_MAGIC): Likewise.
9322         (MTD_INODE_FS_MAGIC): Likewise.
9323         (NILFS_SUPER_MAGIC): Likewise.
9324         (OPENPROM_SUPER_MAGIC): Likewise.
9325         (PIPEFS_MAGIC): Likewise.
9326         (PSTOREFS_MAGIC): Likewise.
9327         (QNX6_SUPER_MAGIC): Likewise.
9328         (RAMFS_MAGIC): Likewise.
9329         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9330         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9331         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9332         (SECURITYFS_MAGIC): Likewise.
9333         (SELINUX_MAGIC): Likewise.
9334         (SMACK_MAGIC): Likewise.
9335         (SOCKFS_MAGIC): Likewise.
9336         (SQUASHFS_MAGIC): Likewise.
9337         (STACK_END_MAGIC): Likewise.
9338         (TMPFS_MAGIC): Likewise.
9339         (USBDEVICE_SUPER_MAGIC): Likewise.
9340         (V9FS_MAGIC): Likewise.
9341         (XENFS_SUPER_MAGIC): Likewise.
9342         (CRAMFS_MAGIC): Fix typo in comment.
9343         (EXT2_SUPER_MAGIC): Update comment.
9344         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9345
9346 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9347
9348         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9349         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9350         * sysdeps/unix/sysv/linux/arm: Move directory from
9351         ports/sysdeps/unix/sysv/linux/arm.
9352         * README: Update listing for arm-*-linux-gnueabi.
9353
9354         * README: Remove mention of am33.
9355
9356 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9357
9358         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9359         than the comma operator, to avoid "rhs of comma has no effect"
9360         compiler warnings.
9361         (__sigfillset, __sigandset, __sigorset): Likewise.
9362         * include/signal.h (__sigemptyset): Likewise.
9363         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9364
9365 2014-02-07  Allan McRae  <allan@archlinux.org>
9366
9367         * version.h (RELEASE): Set to "development".
9368         (VERSION): Set to "2.19.90"
9369         * NEWS: Add 2.20 section.
9370
9371 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9372
9373         [BZ #16529]
9374         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9375
9376 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9377
9378         * manual/contrib.texi: Update entry for Carlos O'Donell,
9379         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9380
9381 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9382
9383         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9384
9385         * sysdeps/unix/sysv/linux/kernel-features.h
9386         [__LINUX_KERNEL_VERSION >= 0x020621]
9387         (__ASSUME_PROC_PID_TASK_COMM): Define.
9388
9389 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9390
9391         [BZ #16398]
9392         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9393         conversion when destination buffer does not have enough space.
9394         * libio/tst-ftell-partial-wide.c: New test case.
9395         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9396
9397         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9398         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9399         Leonard and Allan McRae.
9400
9401 2014-02-04  David S. Miller  <davem@davemloft.net>
9402
9403         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9404         32-bit.
9405
9406 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9407
9408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9409         New file
9410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9411         New file
9412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9413         New file.
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9415         New file.
9416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9417         New file.
9418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9419         New file.
9420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9421         New file.
9422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9423         New file.
9424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9425         New file.
9426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9427         New file.
9428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9429         New file.
9430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9431         New file.
9432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9433         New file.
9434
9435 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9436
9437         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9438         * shlib-versions: Likewise.
9439
9440 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9442
9443         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9444         (abilist-pattern): New variable, set to %-le.abilist.
9445
9446         * Makerules (abilist-pattern): New variable.
9447         (vpath): Use $(abilist-pattern) in place of %.abilist.
9448         (check-abi-% pattern rule): Likewise.
9449         (check-abi, update-abi): Likewise.
9450
9451 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9452
9453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9454
9455 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9456
9457         * manual/startup.texi: Add next, previous, and top entries for
9458         the `Program Arguments' and `Environment Variables' nodes.
9459
9460 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9461
9462         * manual/macros.texi: Add comments before MTASC-safety macros.
9463
9464         * manual/users.texi: Document MTASC-safety properties.
9465
9466         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9467         (pthread_getspecific, pthread_setspecific): Format with
9468         @deftypefun, and add @safety note.
9469         * manual/signal.texi: Move comments that analyze the above
9470         functions to their home place.
9471
9472 2014-02-03  Allan McRae  <allan@archlinux.org>
9473
9474         * po/sl.po: Update Slovenian translation from translation project.
9475
9476 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9477
9478         * manual/time.texi (timegm): Add missing blank after @c.
9479         Reported by Joseph Myers <joseph@codesourcery.com>.
9480
9481 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9482
9483         * manual/check-safety.sh: New.
9484         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9485
9486         * manual/terminal.texi: Document MTASC-safety properties.
9487
9488         * manual/filesys.texi: Document MTASC-safety properties.
9489
9490         * manual/errno.texi: Document MTASC-safety properties.
9491
9492         * manual/intro.texi: Document safety identifiers and
9493         conditionals.
9494
9495         * manual/string.texi (wcstok): Fix prototype.
9496         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9497
9498         * manual/time.texi: Document MTASC-safety properties.
9499
9500         * manual/string.texi: Document MTASC-safety properties.
9501
9502         * manual/threads.texi: Document MTASC-safety properties.
9503
9504         * manual/stdio.texi: Document MTASC-safety properties.
9505
9506         * manual/syslog.texi: Document MTASC-safety properties.
9507
9508         * manual/sysinfo.texi: Document MTASC-safety properties.
9509
9510         * manual/startup.texi: Document MTASC-safety properties.
9511
9512         * manual/socket.texi: Document MTASC-safety properties.
9513
9514         * manual/signal.texi: Document MTASC-safety properties.
9515
9516 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9517
9518         * manual/setjmp.texi: Document MTASC-safety properties.
9519
9520         * manual/search.texi: Document MTASC-safety properties.
9521
9522         * manual/resource.texi: Document MTASC-safety properties.
9523
9524         * manual/process.texi: Document MTASC-safety properties.
9525
9526         * manual/platform.texi: Document MTASC-safety properties.
9527
9528         * manual/pipe.texi: Document MTASC-safety properties.
9529
9530         * manual/pattern.texi: Document MTASC-safety properties.
9531
9532         * manual/message.texi: Document MTASC-safety properties.
9533
9534         [BZ #12751]
9535         * manual/memory.texi: Document MTASC-safety properties.
9536
9537         * manual/math.texi: Document MTASC-safety properties.
9538
9539         * manual/locale.texi: Document MTASC-safety properties.
9540
9541         * manual/llio.texi: Document MTASC-safety properties.
9542
9543         * manual/libdl.texi: New.
9544
9545         * manual/lang.texi: Document MTASC-safety properties.
9546
9547         * manual/job.texi: Document MTASC-safety properties.
9548
9549         * manual/getopt.texi: Document MTASC-safety properties.
9550
9551         * manual/ctype.texi: Document MTASC-safety properties.
9552
9553 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9554
9555         [BZ #16046]
9556         * csu/libc-tls.c (static_map): Remove variable.
9557         (__libc_setup_tls): Use main executable's link map for TLS data.
9558         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9559         casing for LM_ID_BASE and GL(dl_nns).
9560         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9561         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9562         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9563         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9564         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9565         member.
9566         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9567         l_phnum members.
9568
9569 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9570
9571         * manual/debug.texi: Document MTASC-safety properties.
9572
9573 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9574
9575         [BZ #16510]
9576         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9577         of __x86_64__ when disabling x87 inline functions.
9578
9579 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9580
9581         * manual/charset.texi: Document MTASC-safety properties.
9582
9583         * manual/crypt.texi: Document MTASC-safety properties.
9584
9585         * manual/conf.texi: Document MTASC-safety properties.
9586
9587         * manual/arith.texi: Document MTASC-safety properties.
9588
9589         * manual/argp.texi: Document MTASC-safety properties.
9590
9591         * manual/macros.texi: Introduce macros to document multi
9592         thread, asynchronous signal and asynchronous cancellation
9593         safety properties.
9594         * manual/intro.texi: Introduce the properties themselves.
9595
9596 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9597
9598         * sysdeps/sh/sh4/Makefile: New file.
9599
9600 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9601
9602         * math/gen-libm-test.pl ($srcdir): New variable.
9603         ($auto_input): Use it.
9604
9605 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9606
9607         [BZ #16506]
9608         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9609         access beyond array bounds when parsing netgroups file.
9610
9611         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9612         the old buffer before realloc.
9613
9614 2014-01-27  Allan McRae  <allan@archlinux.org>
9615
9616         * po/fr.po: Update French translation from translation project.
9617
9618 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9619
9620         * sysdeps/sh/libm-test-ulps: Regenerate.
9621
9622 2014-01-24  David S. Miller  <davem@davemloft.net>
9623
9624         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9625
9626 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9627
9628         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9629         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9630
9631 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9632
9633         [BZ #16474]
9634         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9635         string pointers after reallocation.
9636
9637 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9638
9639         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9640         __SH4A__ instead of __SH_FPU_ANY__.
9641
9642 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9643
9644         * sysdeps/sh/fpu_control.h: New file.
9645         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9646         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9647         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9648         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9649         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9650         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9651         * sysdeps/sh/sys/ucontext.h: Remove.
9652         * sysdeps/sh/sys: Remove directory.
9653
9654 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9655
9656         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9657         s390/sys/ucontext.h.
9658         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9659         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9660
9661 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9662
9663         [BZ #15605]
9664         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9665
9666 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9667
9668         [BZ#16431]
9669         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9670         Adjust the vDSO correctly for internal calls.
9671         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9672
9673 2014-01-20  Allan McRae  <allan@archlinux.org>
9674
9675         * po/ca.po: Update Catalan translation from translation project.
9676
9677 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9678
9679         * sysdeps/s390/sotruss-lib.c: New file.
9680
9681 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9682
9683         [BZ#16430]
9684         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9685         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9686         local calls issues by not having a PLT stub required for IFUNC calls.
9687         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9688
9689 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9690
9691         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9692         * math/test-fpucw-static.c: Likewise.
9693
9694 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9695
9696         [BZ #16453]
9697         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9698
9699 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9700
9701         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9702         implementation for powerpc.
9703
9704 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9705
9706         [BZ #14782]
9707         * sysdeps/posix/system.c (__libc_system): Do not enable
9708         asynchronous cancellation.
9709
9710 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9711
9712         [BZ #16427]
9713         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9714         handling only for numbers special also in the IEEE case.
9715
9716 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9717
9718         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9719
9720 2014-01-11  Allan McRae  <allan@archlinux.org>
9721
9722         * po/bg.po: Update Bulgarian translation from translation project.
9723
9724         * po/de.po: Update German translation from translation project.
9725
9726 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9727
9728         * sysdeps/generic/gcc-compat.h: New file.
9729
9730 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9731
9732         * benchtests/asin-inputs: Correct slow inputs.
9733         * benchtests/acos-inputs: Likewise.
9734
9735 2014-01-10  Allan McRae  <allan@archlinux.org>
9736
9737         * po:sv.po: Update Swedish translation from translation project.
9738
9739         * po/vi.po: Update Vietnamese translation from translation project.
9740
9741         * po/eo.po: Update Esperanto translation from translation project.
9742
9743         * po/cs.po: Update Czech translation from translation project.
9744
9745         * po/nl.po: Update Dutch translation from translation project.
9746
9747         * po/pl.po: Update Polish translation from translation project.
9748
9749         * po/ru.po: Update Russian translation from translation project.
9750
9751         * po/uk.po: Update Ukrainian translation from translation project.
9752
9753 2014-01-08  Brooks Moses  <bmoses@google.com>
9754
9755         * elf/dl-load.c: Fix comment typo.
9756
9757 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9758
9759         * po/header.pot: Rename to...
9760         * po/pot.header: ... this.
9761         * po/Makefile: Use pot.header.
9762
9763 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9764             Maxim Kuvyrkov  <maxim@kugelworks.com>
9765
9766         [BZ #16394]
9767         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9768         SRC and DEST against LEN.
9769
9770 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9771
9772         [BZ #16414]
9773         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9774         implementation.
9775         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9776
9777 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9778
9779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9780
9781 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9782
9783         [BZ #16408]
9784         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9785         for large positive arguments.
9786
9787 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9788
9789         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9790
9791         * math/auto-libm-test-in: Mark various tests with
9792         xfail-rounding:ldbl-128ibm.
9793         * math/auto-libm-test-out: Regenerated.
9794
9795         [BZ #16407]
9796         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9797         Increase overflow threshold.
9798
9799 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9800
9801         [BZ #14286]
9802         * stdio-common/vfprintf.c: Check for integer overflow.
9803
9804 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9805
9806         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9807         the first argument and return value of __tls_get_addr_internal.
9808
9809 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9810
9811         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9812         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9813
9814 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9815
9816         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9817         * sysdeps/s390/rtld-global-offsets.sym: New file.
9818         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9819         GLIBC_2.19 symbol.
9820         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9821         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9822         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9823         ... this.
9824         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9825         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9826         ... this.
9827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9828         Regenerate.
9829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9830         Regenerate.
9831         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9832         halfs of GPRs for high_gprs contexts.
9833         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9834         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9835         field.
9836         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9837         uc_flags field.
9838         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9839         64 bit versions:
9840         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9841         for high GPRs (uc_high_gprs) and for future extensions
9842         (__reserved).
9843         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9844         for future extensions (__reserved).
9845         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9846         64 bit versions:
9847         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9848         SC_HIGHGPRS offset definition.
9849         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9850         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9851
9852         * Versions.def: Add GLIBC_2.19 for libpthread.
9853         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9854         siglongjmp for libpthread with GLIBC_2.19 symver.
9855         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9856         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9857         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9858         * sysdeps/s390/__longjmp.c: New file.
9859         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9860         * sysdeps/s390/longjmp.c: New file.
9861         * sysdeps/s390/setjmp.S: New file.
9862         * sysdeps/s390/sigjmp.S: New file.
9863         * sysdeps/s390/v1-longjmp.c: New file.
9864         * sysdeps/s390/v1-setjmp.h: New file.
9865         * sysdeps/s390/v1-sigjmp.c: New file.
9866         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9867         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9868         GLIBC_2.19 version.
9869         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9870         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9871         versioned symbols for ____longjmp_chk.
9872         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9873         Likewise.
9874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9875         Regenerate.
9876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9877         Regenerate.
9878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9879         Regenerate.
9880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9881         Regenerate.
9882         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9883         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9884         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9885         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9886         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9887         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9888         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9889         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9890         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9891         * sysdeps/s390/rtld-__longjmp.c: New file.
9892         * sysdeps/s390/rtld-setjmp.S: New file.
9893
9894 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9895
9896         [BZ #16400]
9897         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9898         Return -__logl (x) for small positive arguments without evaluating
9899         a polynomial.
9900
9901 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9902
9903         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9904         Rename to ...
9905         (__ptrace_peeksiginfo_args): ... this.
9906         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9907         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9908         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9909
9910 2014-01-06  Allan McRae  <allan@archlinux.org>
9911
9912         * inet/netinet/in.h: Fix typo in comment.
9913
9914 2014-01-05  Andreas Jaeger  <aj@suse.de>
9915
9916         * sysdeps/i386/fpu/libm-test-ulps: Update.
9917
9918 2014-01-05  Allan McRae  <allan@archlinux.org>
9919
9920         * po/libc.pot: Regenerated.
9921
9922         * malloc/memusagestat.c: Fix gettext call formatting.
9923
9924 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9925
9926         * nscd/nscd.c: Improve usage() output.
9927
9928 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9929
9930         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9931         * sysdeps/unix/sysv/linux/configure: Regenerated.
9932         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9933         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9934
9935 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9936
9937         [BZ #16390]
9938         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9939         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9940
9941 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9942
9943         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9944         extra tokens at end of #undef directive.
9945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9946         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9947         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9948
9949 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9950
9951         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9952
9953         * math/auto-libm-test-in: Mark various tests with
9954         xfail-rounding:ldbl-128ibm.
9955         * math/auto-libm-test-out: Regenerated.
9956
9957 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9958
9959         [BZ #16386]
9960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9961         numbers with subnormal high part when calculating exponent.
9962
9963         [BZ #16385]
9964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9965         fabs.
9966
9967         [BZ #16384]
9968         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9969         M_LN2l.
9970         (__ieee754_acoshl): Use __log1pl not __log1p.
9971
9972 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9973
9974         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9975         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9976         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9977         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9978         (reused_arena, arena_get2): Convert to GNU style.
9979         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9980         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9981         (memalign_check, __malloc_set_state): Likewise.
9982         * malloc/mallocbug.c (main): Likewise.
9983         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9984         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9985         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9986         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9987         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9988         (__posix_memalign, malloc_info): Likewise.
9989         * malloc/malloc.h: Likewise.
9990         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9991         (mallochook, memalignhook, reallochook, mabort): Likewise.
9992         * malloc/mcheck.h: Likewise.
9993         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9994         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9995         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9996         * malloc/morecore.c (__default_morecore): Likewise.
9997         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9998         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9999         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10000         (print_and_abort): Likewise.
10001         * malloc/obstack.h: Likewise.
10002         * malloc/set-freeres.c (__libc_freeres): Likewise.
10003         * malloc/tst-mallocstate.c (main): Likewise.
10004         * malloc/tst-mtrace.c (main): Likewise.
10005         * malloc/tst-realloc.c (do_test): Likewise.
10006
10007 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10008
10009         [BZ #16366]
10010         * nscd/netgroupcache.c (do_notfound): New function.
10011         (addgetnetgrentX): Use it.
10012
10013         [BZ # 16365]
10014         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10015         NSS_STATUS_NOTFOUND.
10016
10017 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10018
10019         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021
10022 2014-01-01  Allan McRae  <allan@archlinux.org>
10023
10024         * scripts/update-copyrights: Update configure input file suffix.
10025
10026         * NEWS: Update copyright year.
10027         * catgets/gencat.c: Likewise.
10028         * csu/version.c: Likewise.
10029         * debug/catchsegv.sh: Likewise.
10030         * debug/pcprofiledump.c: Likewise.
10031         * debug/xtrace.sh: Likewise.
10032         * elf/ldconfig.c: Likewise.
10033         * elf/ldd.bash.in: Likewise.
10034         * elf/pldd.c: Likewise.
10035         * elf/sotruss.ksh: Likewise.
10036         * elf/sprof.c: Likewise.
10037         * iconv/iconv_prog.c: Likewise.
10038         * iconv/iconvconfig.c: Likewise.
10039         * locale/programs/locale.c: Likewise.
10040         * locale/programs/localedef.c: Likewise.
10041         * login/programs/pt_chown.c: Likewise.
10042         * malloc/memusage.sh: Likewise.
10043         * malloc/memusagestat.c: Likewise.
10044         * malloc/mtrace.pl: Likewise.
10045         * manual/libc.texinfo: Likewise.
10046         * nscd/nscd.c: Likewise.
10047         * nss/getent.c: Likewise.
10048         * nss/makedb.c: Likewise.
10049         * posix/getconf.c: Likewise.
10050         * scripts/test-installation.pl: Likewise.
10051
10052         * All files with FSF copyright notices: Update copyright dates
10053         using scripts/update-copyrights.
10054         * intl/plural.c: Regenerated.
10055         * locale/programs/charmap-kw.h: Likewise.
10056         * locale/programs/locfile-kw.h: Likewise.
10057
10058 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10059
10060         * sysdeps/unix/sysv/linux/configure: Regenerated.
10061         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10062         the linux/fanotify.h header.
10063         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10064         HAVE_LINUX_FANOTIFY_H is defined.
10065
10066 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10067
10068         * benchtests/cos-inputs: New inputs.
10069         * benchtests/sin-inputs: Likewise.
10070
10071         * benchtests/atan-inputs: New inputs. Fix name of multiple
10072         precision fallback inputs.
10073
10074         * benchtests/atanh-inputs: New inputs.
10075         * benchtests/tanh-inputs: Likewise.
10076
10077         * benchtests/acosh-inputs: New inputs.
10078         * benchtests/asinh-inputs: Likewise.
10079
10080         * benchtests/cosh-inputs: New inputs.
10081         * benchtests/sinh-inputs: Likewise.
10082
10083         * benchtests/acos-inputs: Add more inputs.
10084         * benchtests/asin-inputs: Likewise.
10085
10086 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10087
10088         [BZ #16375]
10089         * manual/arith.texi: Fix spelling.
10090         * manual/charset.texi: Likewise.
10091         * manual/errno.texi: Likewise.
10092         * manual/filesys.texi: Likewise.
10093         * manual/lang.texi: Likewise.
10094         * manual/llio.texi: Likewise.
10095         * manual/locale.texi: Likewise.
10096         * manual/message.texi: Likewise.
10097         * manual/resource.texi: Likewise.
10098         * manual/search.texi: Likewise.
10099         * manual/setjmp.texi: Likewise.
10100         * manual/stdio.texi: Likewise.
10101         * manual/string.texi: Likewise.
10102         * manual/sysinfo.texi: Likewise.
10103         * manual/time.texi: Likewise.
10104
10105 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10106
10107         * po/sl.po: New file.
10108
10109 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10110
10111         * .gitignore: Add core/.gdbinit/.gdb_history.
10112
10113 2013-12-27  Allan McRae  <allan@archlinux.org>
10114
10115         [BZ #16369]
10116         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10117         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10118
10119 2013-12-24  Brooks Moses  <bmoses@google.com>
10120
10121         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10122         all compilers that claim C++98 compliance, not just GCC.
10123         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10124         Likewise.
10125
10126 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10127
10128         * NEWS: Restore accidentally deleted bug-fix entries.
10129
10130 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10131             Ondřej Bílka  <neleai@seznam.cz>
10132
10133         [BZ #15073]
10134         * malloc/malloc.c (_int_free): Perform sanity check only if we
10135         have_lock.
10136
10137 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10138
10139         [BZ #12986]
10140         * manual/stdio.texi (String Input Conversions): Clarify that character
10141         classes are not supported.
10142
10143 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10144
10145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10146
10147 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10148
10149         [BZ #16337]
10150         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10151         Calculate results for small negative arguments directly rather
10152         than using reflection formula with special underflow handling.
10153
10154         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10155         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10156         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10157         (fchflags): Likewise.
10158         (revoke): Likewise.
10159         (setlogin): Likewise.
10160         (sigaltstack): Likewise.
10161         (wait4): Likewise.
10162         (sigblock): Remove.
10163         (sigsetmask): Likewise.
10164         (wait3): Likewise.
10165         (waitpid): Likewise.
10166         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10167         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10168         file.
10169         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10170         * sysdeps/unix/bsd/Makefile: ... here.
10171         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10172         * sysdeps/unix/bsd/Versions: ... here.
10173         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10174         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10175         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10176         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10177         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10178         * sysdeps/unix/bsd/sigblock.c: ... here.
10179         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10180         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10181         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10182         * sysdeps/unix/bsd/sigvec.c: ... here.
10183         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10184         * sysdeps/unix/bsd/tcdrain.c: ... here.
10185         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10186         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10187         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10188         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10189         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10190         * sysdeps/unix/bsd/wait.c: ... here.
10191         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10192         * sysdeps/unix/bsd/wait3.c: ... here.
10193         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10194         * sysdeps/unix/bsd/waitpid.c: ... here.
10195
10196 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10197
10198         [BZ #16356]
10199         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10200         round-to-nearest for [!USE_AS_EXPM1L].
10201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10202         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10203         more tests of exp and exp10.  Expect some exp10 tests to miss
10204         exceptions or fail in directed rounding modes.
10205         * math/auto-libm-test-out: Regenerated.
10206         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10207         (exp10_test_tonearest): New function.
10208         (exp10_towardzero_test_data): New array.
10209         (exp10_test_towardzero): New function.
10210         (exp10_downward_test_data): New array.
10211         (exp10_test_downward): New function.
10212         (exp10_upward_test_data): New array.
10213         (exp10_test_upward): New function.
10214         (main): Call the new functions.
10215         * sysdeps/i386/fpu/libm-test-ulps: Update.
10216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10217
10218 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10219
10220         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10221         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10222         * math/auto-libm-test-out: Regenerated.
10223         * math/libm-test.inc (acosh_test_data): Add more tests.
10224         (atanh_test_data): Likewise.
10225         (ceil_test_data): Likewise.
10226         (copysign_test_data): Likewise.
10227         * sysdeps/i386/fpu/libm-test-ulps: Update.
10228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10229
10230         * timezone/checktab.awk: Update from tzcode 2013i.
10231         * timezone/private.h: Likewise.
10232         * timezone/scheck.c: Likewise.
10233         * timezone/tzfile.h: Likewise.
10234         * timezone/tzselect.ksh: Likewise.
10235         * timezone/zdump.c: Likewise.
10236         * timezone/zic.c: Likewise.
10237
10238         * math/auto-libm-test-in: Add tests of cpow.
10239         * math/auto-libm-test-out: Regenerated.
10240         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10241         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10242         mpc_cc_c.
10243         (func_calc_desc): Add mpc_cc_c union field.
10244         (test_functions): Add cpow.
10245         (special_fill_2pi): New function.
10246         (special_real_inputs): Add 2pi.
10247         (calc_generic_results): Handle mpc_cc_c.
10248         * sysdeps/i386/fpu/libm-test-ulps: Update.
10249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10250
10251         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10252         csqrt, ctan and ctanh.
10253         * math/auto-libm-test-out: Regenerated.
10254         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10255         (TEST_COND_x86): Likewise.
10256         (ccos_test_data): Use AUTO_TESTS_c_c.
10257         (ccosh_test_data): Likewise.
10258         (cexp_test_data): Likewise.
10259         (clog_test_data): Likewise.
10260         (csqrt_test_data): Likewise.
10261         (ctan_test_data): Likewise.
10262         (ctan_tonearest_test_data): Likewise.
10263         (ctan_towardzero_test_data): Likewise.
10264         (ctan_downward_test_data): Likewise.
10265         (ctan_upward_test_data): Likewise.
10266         (ctanh_test_data): Likewise.
10267         (ctanh_tonearest_test_data): Likewise.
10268         (ctanh_towardzero_test_data): Likewise.
10269         (ctanh_downward_test_data): Likewise.
10270         (ctanh_upward_test_data): Likewise.
10271         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10272         mpc_c_c.
10273         (func_calc_desc): Add mpc_c_c union field.
10274         (FUNC_mpc_c_c): New macro.
10275         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10276         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10277         ctanh.
10278         (special_fill_min_subnorm_p120): New function.
10279         (special_real_inputs): Add min_subnorm_p120.
10280         (calc_generic_results): Handle mpc_c_c.
10281         * sysdeps/i386/fpu/libm-test-ulps: Update.
10282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10283
10284 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10285
10286         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10287         (do_sin_slow): New functions.
10288         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10289         (cslow2, csloww1, csloww2): Use the new functions.
10290
10291         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10292         Use M to change sign of result instead of X.  Assume X is
10293         positive.
10294         (csloww1): Likewise.
10295         (__sin): Adjust.
10296         (__cos): Adjust.
10297
10298         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10299         arguments A and DA.
10300         (__sin): Adjust.
10301         (__cos): Likewise.
10302
10303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10304         (__cos): Likewise.
10305         (sloww1): Don't adjust sign of DX.
10306         (csloww1): Likewise.
10307         (sloww2): Use X directly and don't adjust sign of DX.
10308         (csloww2): Likewise.
10309
10310 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10311
10312         * math/auto-libm-test-in: Add tests of cabs and carg.
10313         * math/auto-libm-test-out: Regenerated.
10314         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10315         (carg_test_data): Likewise.
10316         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10317         mpc_c_f.
10318         (func_calc_desc): Add mpc_c_f union field.
10319         (test_functions): Add cabs and carg.
10320         (calc_generic_results): Handle mpc_c_f.
10321
10322         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10323         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10324         as a macro and a compat symbol.
10325         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10326         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10327         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10328         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10329         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10330         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10331         not use .hidden.
10332         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10333         Likewise.
10334         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10335         Likewise.
10336         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10337         Likewise.
10338         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10339         Likewise.
10340         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10341         Likewise.
10342         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10343         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10344         from GLIBC_2.3.2.
10345
10346 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10347
10348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10349
10350 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10351
10352         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10353         trailing whitespace removed.
10354         * scripts/config.guess: Update to version 2013-11-29.
10355         * scripts/config.sub: Update to version 2013-10-01.
10356
10357         * math/auto-libm-test-in: Add tests of sincos.
10358         * math/auto-libm-test-out: Regenerated.
10359         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10360         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10361         mpfr_f_11.
10362         (func_calc_desc): Add mpfr_f_11 union field.
10363         (test_functions): Add sincos.
10364         (calc_generic_results): Handle mpfr_f_11.
10365         * sysdeps/i386/fpu/libm-test-ulps: Update.
10366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10367
10368 2013-12-19  Andreas Schwab  <schwab@suse.de>
10369
10370         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10371         CALL_MCOUNT.
10372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10373         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10374         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10375
10376 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10377
10378         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10379         * sysdeps/i386/fpu/libm-test-ulps: Update.
10380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10381
10382         [BZ #16293]
10383         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10384         round-to-nearest mode when using frndint.
10385         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10386         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10387         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10388         Likewise.
10389         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10390         sinh test to fail.
10391         * math/auto-libm-test-out: Regenerated.
10392         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10393         (TEST_COND_x86): Likewise.
10394         (expm1_tonearest_test_data): New array.
10395         (expm1_test_tonearest): New function.
10396         (expm1_towardzero_test_data): New array.
10397         (expm1_test_towardzero): New function.
10398         (expm1_downward_test_data): New array.
10399         (expm1_test_downward): New function.
10400         (expm1_upward_test_data): New array.
10401         (expm1_test_upward): New function.
10402         (main): Run the new test functions.
10403         * sysdeps/i386/fpu/libm-test-ulps: Update.
10404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10405
10406         * include/features.h: Update comment documenting feature test
10407         macros.  Mention _DEFAULT_SOURCE in comment.
10408         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10409         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10410         _BSD_SOURCE and _SVID_SOURCE.
10411         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10412         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10413         !_SVID_SOURCE]: Likewise.
10414         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10415         (__USE_POSIX_IMPLICITLY): Define.
10416         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10417         (_POSIX_SOURCE): Undefine and redefine.
10418         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10419         (_POSIX_C_SOURCE): Likewise.
10420         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10421         (Feature Test Macros): Update documentation of default features.
10422
10423 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10424
10425         * benchtests/Makefile: Add bench-strtok.
10426         * benchtests/bench-strtok.c: New file: strtok benchtest.
10427
10428 2013-12-19  Allan McRae  <allan@archlinux.org>
10429
10430         * manual/install.texi: Suppress menu for plain text output.
10431         * INSTALL: Regenerated.
10432
10433 2013-12-18  Brooks Moses  <bmoses@google.com>
10434
10435         [BZ #15846]
10436         * misc/getauxval.c: Include errno.h.
10437         (__getauxval): Set errno to ENOENT if the requested type is not
10438         found.
10439         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10440         don't declare with __attribute_const__.
10441         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10442         * manual/startup.texi: Document that getauxval sets errno.
10443
10444 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10445
10446         * math/auto-libm-test-in: Add tests of jn and yn.
10447         * math/auto-libm-test-out: Regenerated.
10448         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10449         (yn_test_data): Likewise.
10450         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10451         mpfr_if_f.
10452         (func_calc_desc): Add mpfr_if_f union field.
10453         (FUNC_mpfr_if_f): New macro.
10454         (test_functions): Add jn and yn.
10455         (calc_generic_results): Assert type of second input for
10456         mpfr_ff_f.  Handle mpfr_if_f.
10457         (output_for_one_input_case): Disable all checking for arguments
10458         fitting floating-point types in case of an integer argument.
10459         * sysdeps/i386/fpu/libm-test-ulps: Update.
10460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10461
10462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10463         Don't expect fegetround reference in libm.so.
10464
10465 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10466
10467         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10468         $(config-cflags-nofma).
10469
10470 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10471
10472         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10473         * math/auto-libm-test-out: Regenerated.
10474
10475         [BZ #16338]
10476         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10477         to determine exponent and adjust argument to have exponent of -1.
10478         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10479         log2.
10480         * math/auto-libm-test-out: Regenerated.
10481         * sysdeps/i386/fpu/libm-test-ulps: Update.
10482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10483
10484 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10485
10486         * manual/probes.texi: Remove cases when per-thread arenas are
10487         disabled.
10488
10489 2013-12-18  Andreas Schwab  <schwab@suse.de>
10490
10491         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10492         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10493         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10494         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10495         * sysdeps/i386/i686/multiarch/Makefile: Update.
10496         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10497
10498 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10499
10500         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10501         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10502
10503 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10504
10505         [BZ #15968]
10506         Support TZ transition times < 00:00:00.
10507         This is needed for version-3 tz-format files; it supports time
10508         stamps past 2037 for America/Godthab (the only entry in the tz
10509         database for which this change is relevant).
10510         * manual/time.texi (TZ Variable): Document transition times
10511         from -167:59:59 through -00:00:01.
10512         * time/tzset.c (tz_rule): Time of day is now signed.
10513         (__tzset_parse_tz): Parse negative time of day.
10514
10515         Document TZ transition times >= 25:00:00.
10516         * manual/time.texi (TZ Variable): Document transition times from
10517         25:00:00 through 167:59:59.  These are already supported, and this
10518         support will help with version-3 tz-format files.
10519
10520         * manual/time.texi (TZ Variable): Modernize North America example
10521         to reflect current (i.e., 2007-and-later) daylight saving rules.
10522
10523         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10524
10525 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10526
10527         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10528         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10529         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10530         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10531         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10532         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10533         * sysdeps/unix/bsd/clock.c: Likewise.
10534         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10535         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10536         * sysdeps/unix/bsd/init-posix.c: Likewise.
10537         * sysdeps/unix/bsd/poll.c: Likewise.
10538         * sysdeps/unix/bsd/ptsname.c: Likewise.
10539         * sysdeps/unix/bsd/seekdir.c: Likewise.
10540         * sysdeps/unix/bsd/setegid.c: Likewise.
10541         * sysdeps/unix/bsd/seteuid.c: Likewise.
10542         * sysdeps/unix/bsd/setgid.c: Likewise.
10543         * sysdeps/unix/bsd/setrgid.c: Likewise.
10544         * sysdeps/unix/bsd/setruid.c: Likewise.
10545         * sysdeps/unix/bsd/setsid.c: Likewise.
10546         * sysdeps/unix/bsd/setuid.c: Likewise.
10547         * sysdeps/unix/bsd/sigaction.c: Likewise.
10548         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10549         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10550         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10551         * sysdeps/unix/bsd/telldir.c: Likewise.
10552         * sysdeps/unix/bsd/times.c: Likewise.
10553         * sysdeps/unix/bsd/usleep.c: Likewise.
10554
10555         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10556         ($(objpfx)libbsd-compat.a): Remove rule.
10557
10558         * include/features.h (__FAVOR_BSD): Do not define.
10559         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10560         features conflicting with POSIX.
10561         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10562         (_BSD_SOURCE): Remove description of not being a subset of other
10563         feature test macros.
10564         * manual/job.texi (getpgrp): Do not document BSD version.
10565         (getpgid): Do not document by reference to BSD getpgrp.
10566         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10567         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10568         * signal/signal.h [__FAVOR_BSD]: Likewise.
10569         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10570         instead of making contents conditional on [__FAVOR_BSD].
10571         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10572
10573 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10574
10575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10576
10577 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10578
10579         [BZ #16314]
10580         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10581         values below 2**-450, not 2**-500.
10582         * math/auto-libm-test-in: Don't allow spurious underflow from
10583         hypot.
10584         * math/auto-libm-test-out: Regenerated.
10585
10586         [BZ #16316]
10587         [BZ #16330]
10588         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10589         values of ha and hb and sort them after adjusting subnormal
10590         arguments.
10591         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10592         Likewise.
10593         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10594         values of ea and eb and sort them after adjusting subnormal
10595         arguments.
10596         * math/auto-libm-test-in: Do not expect some hypot tests of
10597         subnormals to fail.  Add more hypot tests.
10598         * math/auto-libm-test-out: Regenerated.
10599
10600 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10601
10602         [BZ #13304]
10603         * sysdeps/sh/s_fma.c: New file.
10604         * sysdeps/sh/s_fmaf.c: New file.
10605         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10606         version.
10607         * sysdeps/sh/Implies: Add sh/soft-fp.
10608
10609 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10610
10611         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10612         level of indirection to members `objname', `errstring', `malloced'.
10613         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10614         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10615         it as the __longjmp argument (just pass 1 instead).
10616         (_dl_catch_error): Initialize C with argument pointers and address of
10617         volatile local ERRCODE rather than copying values out of C at return.
10618
10619 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10620
10621         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10622         * math/auto-libm-test-out: Regenerated.
10623         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10624         (hypot_test_data): Likewise.
10625         (pow_test_data): Likewise.
10626         (pow_tonearest_test_data): Likewise.
10627         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10628         mpfr_ff_f.
10629         (func_calc_desc): Add mpfr_ff_f union field.
10630         (FUNC_mpfr_ff_f): New macro.
10631         (test_functions): Add atan2, hypot and pow.
10632         (special_fill_min): New function.
10633         (special_fill_minus_min): Likewise.
10634         (special_fill_min_subnorm): Likewise.
10635         (special_fill_minus_min_subnorm): Likewise.
10636         (special_real_inputs): Add min, -min, min_subnorm and
10637         -min_subnorm.
10638         (calc_generic_results): Handle mpfr_ff_f.
10639         * sysdeps/i386/fpu/libm-test-ulps: Update.
10640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10641
10642 2013-12-16  Will Newton  <will.newton@linaro.org>
10643
10644         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10645         (Aligned Memory Blocks): Add documentation for aligned_alloc
10646         and suggest it as an alternative to posix_memalign.
10647         (Hooks for Malloc): Document __memalign_hook is also called
10648         for aligned_alloc.  (Summary of Malloc): Add summary for
10649         aligned alloc.  Document __memalign_hook is also called
10650         for aligned_alloc.
10651
10652 2013-12-16  Will Newton  <will.newton@linaro.org>
10653
10654         * manual/memory.texi (Malloc Examples): Clarify default
10655         alignment documentation.  Suggest posix_memalign rather
10656         than memalign or valloc.
10657         (Aligned Memory Blocks): Remove suggestion to use memalign
10658         or valloc.  Remove obsolete comment about BSD.
10659         Document memalign errno values and mark the function obsolete.
10660         Document posix_memalign returned error codes.  Mark valloc
10661         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10662         called for posix_memalign and valloc.
10663         (Summary of Malloc): Add posix_memalign to function summary.
10664         __memalign_hook is also called for posix_memalign and valloc.
10665
10666 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10667
10668         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10669         TAYLOR_SIN.
10670         (__sin): Adjust.
10671         (__cos): Likewise.
10672         (sloww): Use mynumber union.  Expand ternary operator into
10673         if-else statements.
10674         (cslow): use mynumber union.
10675
10676 2013-12-16  Allan McRae  <allan@archlinux.org>
10677
10678         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10679         * configure: Regenerated.
10680
10681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10682
10683         [BZ #14120]
10684         * configure.ac: Added --enable-maintainer-mode. Check for
10685         autoconf when enabled.
10686         * configure: Regenerated.
10687
10688         * nscd/nscd.service: New file.
10689         * nscd/nscd.tmpfiles: New file.
10690
10691 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10692
10693         [BZ #12100]
10694         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10695         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10696         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10697         (strstr): Add __strstr_sse2_unaligned ifunc.
10698         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10699         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10700         (strcasestr): Remove __strcasestr_sse42 ifunc.
10701         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10704
10705 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10706
10707         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10708         * sysdeps/sh/bits/fenv.h: ... here.
10709         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10710
10711 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10712
10713         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10714
10715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10716         hypotf multiarch implementations.
10717         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10720         multiarch hypot for PPC64.
10721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10723         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10724         multiarch hypotf for PPC64.
10725
10726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10727         modff multiarch implementations.
10728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10731         multiarch modf for PPC64.
10732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10735         multiarch modff for PPC64.
10736
10737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10738         and logl multiarch implementations.
10739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10742         multiarch logb for PPC64.
10743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10746         multiarch logb for PPC64.
10747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10750         multiarch logb for PPC64.
10751
10752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10753         isinff multiarch implementation.
10754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10755         file.
10756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10758         multiarch isinf for PPC64.
10759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10760         file.
10761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10762         multiarch isinff for PPC64.
10763
10764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10765         finitef multiarch implementation.
10766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10767         file.
10768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10770         multiarch finite for PPC64.
10771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10772         file.
10773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10774         multiarch finitef for PPC64.
10775
10776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10777         lrint multiarch implementation.
10778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10779         file.
10780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10782         multiarch llrint for PPC64.
10783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10784         multiarch lrint for PPC64.
10785
10786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10787         copysignf multiarch implementation.
10788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10789         file.
10790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10791         file.
10792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10793         multiarch copysign for PPC64.
10794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10795         multiarch copysignf for PPC64.
10796
10797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10798         multiarch implementation.
10799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10800         file.
10801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10802         file.
10803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10804         file.
10805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10806         file.
10807         multiarch llround for PPC64.
10808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10809         multiarch trunc for PPC64.
10810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10811         multiarch truncf for PPC64.
10812
10813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10814         multiarch implementation.
10815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10816         file.
10817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10818         file.
10819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10820         file.
10821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10822         file.
10823         multiarch llround for PPC64.
10824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10825         multiarch round for PPC64.
10826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10827         multiarch roundf for PPC64.
10828
10829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10830         multiarch implementation.
10831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10832         file.
10833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10834         file.
10835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10836         file.
10837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10838         file.
10839         multiarch llround for PPC64.
10840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10841         multiarch floor for PPC64.
10842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10843         multiarch floorf for PPC64.
10844
10845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10846         multiarch implementation.
10847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10848         file.
10849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10850         file.
10851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10852         file.
10853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10854         file.
10855         multiarch llround for PPC64.
10856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10857         multiarch ceil for PPC64.
10858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10859         multiarch ceilf for PPC64.
10860
10861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10862         multiarch implementation.
10863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10864         file.
10865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10866         file.
10867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10868         file.
10869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10870         multiarch llround for PPC64.
10871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10872         multiarch lround for PPC64.
10873
10874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10875         multiarch implementation.
10876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10879         file.
10880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10883         multiarch isnan for PPC64.
10884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10885         multiarch isnanf for PPC64.
10886
10887         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10888         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10889         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10890         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10891         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10893
10894         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10895         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10896         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10897         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10898
10899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10900         multiarch implementations.
10901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10902         (__libc_ifunc_impl_list): Likewise.
10903         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10904         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10906         multiarch stpcpy for PPC64.
10907
10908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10909         multiarch implementations.
10910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10911         (__libc_ifunc_impl_list): Likewise.
10912         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10913         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10914         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10915         multiarch strcpy for PPC64.
10916
10917         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10918         redefine function name.
10919         (_wordcopy_fwd_dest_aligned): Likewise.
10920         (_wordcopy_bwd_aligned): Likewise.
10921         (_wordcopy_bwd_dest_aligned): Likewise.
10922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10923         multiarch implementations.
10924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10925         (__libc_ifunc_impl_list): Likewise.
10926         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10927         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10930         multiarch wcscpy for PPC64.
10931
10932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10933         multiarch implementations.
10934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10935         (__libc_ifunc_impl_list): Likewise.
10936         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10937         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10938         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10940         multiarch wcscpy for PPC64.
10941
10942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10943         multiarch implementations.
10944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10945         (__libc_ifunc_impl_list): Likewise.
10946         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10947         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10948         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10950         multiarch wcsrchr for PPC64.
10951
10952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10953         multiarch implementations.
10954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10955         (__libc_ifunc_impl_list): Likewise.
10956         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10957         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10958         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10959         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10960         multiarch wcschr for PPC64.
10961
10962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10963         multiarch implementations.
10964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10965         (__libc_ifunc_impl_list): Likewise.
10966         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10967         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10968         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10969         multiarch strchrnul for PPC64.
10970
10971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10972         implementations.
10973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10974         (__libc_ifunc_impl_list): Likewise.
10975         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10976         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10977         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10978         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10979         strchr for PPC64.
10980
10981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10982         implementations.
10983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10984         (__libc_ifunc_impl_list): Likewise.
10985         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10986         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10987         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10988         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10989         strncmp for PPC64.
10990
10991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10992         multiarch implementations.
10993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10994         (__libc_ifunc_impl_list): Likewise.
10995         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10996         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10997         strncasecmp for PPC64.
10998         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10999         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11000         multiarch strncasecmp_l for PPC64.
11001
11002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11003         multiarch implementations.
11004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11005         (__libc_ifunc_impl_list): Likewise.
11006         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11008         multiarch strcasecmp for PPC64.
11009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11010         file.
11011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11012         multiarch strcasecmp_l for PPC64.
11013
11014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11015         implementations.
11016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11017         (__libc_ifunc_impl_list): Likewise.
11018         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11019         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11020         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11021         strnlen for PPC64.
11022
11023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11024         implementations.
11025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11026         (__libc_ifunc_impl_list): Likewise.
11027         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11028         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11029         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11030         strlen for PPC64.
11031
11032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11033         implementations.
11034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11035         (__libc_ifunc_impl_list): Likewise.
11036         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11037         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11038         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11039         rawmemrchr for PPC64.
11040
11041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11042         implementation.
11043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11044         (__libc_ifunc_impl_list): Likewise.
11045         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11046         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11047         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11048         memrchr for PPC64.
11049
11050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11051         implementation.
11052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11053         (__libc_ifunc_impl_list): Likewise.
11054         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11055         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11056         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11057         memchr for PPC64.
11058
11059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11060         implementation.
11061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11062         (__libc_ifunc_impl_list): Likewise.
11063         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11064         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11065         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11066         mempcpy for PPC64.
11067
11068         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11069         avoid cretion of __bzero symbol.
11070         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11071         Likewise.
11072         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11073         Likewise.
11074         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11075         Likewise.
11076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11077         multiarch implementations.
11078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11079         (__libc_ifunc_impl_list): Likewise.
11080         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11081         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11082         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11083         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11084         bzero for PPC32.
11085         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11086         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11087         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11088         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11089         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11090         memset for PPC64.
11091         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11092
11093         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11095         implementations.
11096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11097         (__libc_ifunc_impl_list): Likewise.
11098         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11099         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11100         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11101         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11102         memcmp for PPC64.
11103
11104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11105         multiarch for POWER/PPC64.
11106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11107         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11108         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11109         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11110         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11114         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11115         memcpy for PPC64.
11116
11117         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11118         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11119         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11120         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11121         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11122         * sysdeps/powerpc/powerpc64/power5/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/power6/fpu/Implies: New File.
11126         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11127         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11128         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11129         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11130         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11131         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11139
11140 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11141
11142         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11143
11144 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11145
11146         * benchtests/Makefile (bench): Add exp2 and log2.
11147         (LDLIBS-bench-exp2): Add -lm.
11148         (LDLIBS-bench-log2): Likewise.
11149         * benchtests/exp2-inputs: New inputs file.
11150         * benchtests/log2-inputs: New inputs file.
11151         * benchtests/log-inputs: Add new inputs.
11152         * benchtests/tan-inputs: Likewise.
11153
11154 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11155
11156         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11157         definition...
11158         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11159         (csloww2): ... from here.
11160
11161         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11162         instead of structures.
11163         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11164         (POLYNOMIAL): Likewise.
11165         (TAYLOR_SLOW): Likewise.
11166         (__sin): Likewise.
11167         (__cos): Likewise.
11168         (slow1): Likewise.
11169         (slow2): Likewise.
11170         (sloww): Likewise.
11171         (sloww1); Likewise.
11172         (sloww2): Likewise.
11173         (bsloww1): Likewise.
11174         (bsloww2): Likewise.
11175         (cslow2): Likewise.
11176         (csloww): Likewise.
11177         (csloww1): Likewise.
11178         (csloww2): Likewise.
11179
11180 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11181
11182         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11183         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11184         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11185         * malloc/hooks.c (realloc_check): Likewise.
11186
11187         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11188         * malloc/arena.c: Remove PER_THREAD conditional.
11189         [!PER_THREAD]: Remove code.
11190         (ptmalloc_unlock_all2): Likewise.
11191         (ptmalloc_init): Likewise.
11192         (_int_new_arena): Likewise.
11193         (arena_get2): Likewise.
11194         * malloc/hooks.c (__malloc_get_state): Likewise.
11195         (__malloc_set_state): Likewise.
11196         * malloc/malloc.c: Likewise.
11197         (struct malloc_state): Likewise.
11198         (struct malloc_par): Likewise.
11199         (__libc_realloc): Likewise.
11200         (__libc_mallopt): Likewise.
11201
11202 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11203
11204         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11205
11206 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11207
11208         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11209         macro to a function.  Check for zero perturb_byte.
11210         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11211
11212         * malloc/malloc.c: (force_reg): Remove.
11213         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11214         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11215         force_reg by atomic_forced_read.
11216         * malloc/arena.c (ptmalloc_init): Likewise.
11217         * malloc/hooks.c (top_check): Likewise.
11218
11219 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11220
11221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11222
11223 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11224
11225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11226
11227 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11228
11229         * math/auto-libm-test-in: Add tests of lgamma.
11230         * math/auto-libm-test-out: Regenerated.
11231         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11232         (M_LOG_2_SQRT_PIl): Likewise.
11233         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11234         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11235         mpfr_f_f1.
11236         (func_calc_desc): Add mpfr_f_f1 union field.
11237         (ARGS1): New macro.
11238         (ARGS2): Likewise.
11239         (ARGS3): Likewise.
11240         (ARGS4): Likewise.
11241         (RET1): Likewise.
11242         (RET2): Likewise.
11243         (CALC): Likewise.
11244         (FUNC): Likewise.
11245         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11246         (test_functions): Add lgamma.
11247         (calc_generic_results): Handle mpfr_f_f1.
11248         * sysdeps/i386/fpu/libm-test-ulps: Update.
11249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11250
11251 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11252
11253         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11254         __mpn_add_n for PowerPC64/POWER7.
11255         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11256         __mpn_sub_n for PowerPC64/POWER7.
11257
11258         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11259         __mpn_addmul_1 for PowerPC64.
11260         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11261         __mpn_submul_1 for PowerPC64.
11262         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11263         for PowerPC64.
11264         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11265         for PowerPC64.
11266
11267 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11268
11269         [BZ #15089]
11270         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11271
11272 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11273
11274         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11275
11276         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11277         add multiarch folders.
11278         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11279         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11280         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11281         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11282         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11283         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11284         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11285         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11286         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11287         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11288         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11295
11296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11297         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11299         New file.
11300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11301         New file.
11302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11303         multiarch __ieee754_hypot for PowerPC32.
11304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11305         New file.
11306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11307         New file.
11308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11309         multiarch __ieee754_hypotf for PowerPC32.
11310
11311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11312         long_double_symbol only if __logbl is defined.
11313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11314         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11315         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11316         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11318         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11319         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11320         path for implementation.
11321         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11324         logb, and logbl multiarch implementations for PowerPC32.
11325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11326         file.
11327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11328         file.
11329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11330         multiarch logb for PowerPC32.
11331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11332         file.
11333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11334         file.
11335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11336         multiarch logbf for PowerPC32.
11337         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11339         file.
11340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11341         multiarch logbl implementation for PowerPC32.
11342
11343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11344         and modff multiarch implementations.
11345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11346         New file.
11347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11348         New file.
11349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11350         multiarch modf for PowerPC32.
11351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11352         New file.
11353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11354         New file.
11355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11356         multiarch modff for PowerPC32.
11357
11358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11359         and lrintf multiarch implementations.
11360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11361         New file.
11362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11363         New file.
11364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11365         multiarch lrint for PowerPC32.
11366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11367         file: multiarch lrintf for PowerPC32.
11368
11369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11370         and lroundf multiarch implementations.
11371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11372         New file.
11373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11374         New file.
11375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11376         New file.
11377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11378         multiarch lround for PowerPC32.
11379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11380         file: multiarch lroundf for PowerPC32.
11381
11382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11383         copysign and copysignf multiarch implementations.
11384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11385         New file.
11386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11387         New file.
11388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11389         file: multiarch copysign for PowerPC32.
11390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11391         file: multiarch copysignf for PowerPC32.
11392
11393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11394         and truncf multiarch implementations.
11395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11396         New file.
11397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11398         file.
11399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11400         multiarch trunc for PowerPC32.
11401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11402         New file.
11403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11404         New file.
11405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11406         multiarch truncf for PowerPC32.
11407
11408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11409         and roundf multiarch implementations.
11410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11411         New file.
11412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11413         file.
11414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11415         multiarch round for PowerPC32.
11416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11417         New file.
11418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11419         New file.
11420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11421         multiarch roundf for PowerPC32.
11422
11423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11424         and floorf multiarch implementations.
11425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11426         New file.
11427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11428         file.
11429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11430         multiarch floor for PowerPC32.
11431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11432         New file.
11433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11434         New file.
11435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11436         multiarch floorf for PowerPC32.
11437
11438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11439         and ceilf multiarch implementations.
11440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11441         New file.
11442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11443         file.
11444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11445         multiarch ceil for PowerPC32.
11446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11447         New file.
11448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11449         file.
11450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11451         multiarch ceilf for PowerPC32.
11452
11453         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11454         is defined.
11455         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11456         FINITEF is defined.
11457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11458         and finitef multiarch implementations.
11459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11460         New file.
11461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11462         file.
11463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11464         multiarch finite for PowerPC32.
11465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11466         New file.
11467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11468         file: multiarch finitef for PowerPC32.
11469
11470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11471         and isinff multiarch implementations.
11472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11473         file.
11474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11475         file.
11476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11477         multiarch isinf for PowerPC32.
11478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11479         New file.
11480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11481         multiarch isinff for PowerPC32.
11482
11483         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11484         alias when __isnan is defined.
11485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11486         and isnanf multiarch implementations.
11487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11488         file.
11489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11490         file.
11491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11492         file.
11493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11494         file.
11495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11496         multiarch isnan for PowerPC32.
11497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11498         New file.
11499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11500         New file.
11501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11502         multiarch isnanf for PowerPC32.
11503
11504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11505         and sqrtf multiarch implementations.
11506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11507         file.
11508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11509         file.
11510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11511         multiarch sqrt for PowerPC32.
11512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11513         file.
11514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11515         file.
11516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11517         multiarch sqrtf for PowerPC32.
11518
11519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11520         and llroundf multiarch implementations.
11521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11522         New file.
11523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11524         New file.
11525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11526         New file.
11527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11528         file: multiarch llround for PowerPC32.
11529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11530         file: multiarch llroundf for PowerPC32.
11531
11532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11533         multiarch PowerPC32 fpu implementations.
11534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11535         New file.
11536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11537         New file.
11538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11539         multiarch llrint for PowerPC32.
11540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11541         New file.
11542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11543         New file.
11544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11545         file.
11546
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11548
11549         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11550         file.
11551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11552         file.
11553         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11554         file.
11555         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11556         multiarch wordcopy for PPC32.
11557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11558         wordcopy objects.
11559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11560         (__libc_ifunc_impl_list): Likewise.
11561         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11562         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11563         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11564         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11565         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11566         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11567
11568         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11570         file.
11571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11572         file.
11573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11574         file.
11575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11576         multiarch wcscpy for PPC32.
11577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11578         multiarch objects.
11579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11580         (__libc_ifunc_impl_list): Likewise.
11581         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11582         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11583         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11584         sysdeps/powerpc/power6/wcscpy.c.
11585
11586         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11588         file.
11589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11590         file.
11591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11592         file.
11593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11594         multiarch wcsrchr for PPC32.
11595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11596         multiarch objects.
11597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11598         (__libc_ifunc_impl_list): Likewise.
11599         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11600         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11601         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11602         sysdeps/powerpc/power6/wcsrchr.c.
11603
11604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11605         file.
11606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11607         file.
11608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11610         multiarch wcschr for PPc32.
11611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11612         multiarch objects.
11613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11614         (__libc_ifunc_impl_list): Likewise.
11615         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11616         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11617         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11618         sysdeps/powerpc/power6/wcschr.c.
11619
11620         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11621         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11622         file.
11623         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11624         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11625         file: multiarch strchr for PPC32.
11626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11627         multiarch objects.
11628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11629         (__libc_ifunc_impl_list): Likewise.
11630
11631         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11632         name.
11633         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11634         file.
11635         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11636         file.
11637         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11638         multiarch strchrnul for PPC32.
11639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11640         multiarch objects.
11641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11642         (__libc_ifunc_impl_list): Likewise.
11643
11644         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11645         file.
11646         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11647         multiarch strncasecmp for PPC32.
11648         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11649         file.
11650         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11651         multiarch strncasecmp_l for PPC32.
11652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11653         strncasecmp multiarch objects.
11654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11655         (__libc_ifunc_impl_list): Likewise.
11656
11657         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11658         file.
11659         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11660         multiarch strncasecmp for PPC32.
11661         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11662         New file.
11663         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11664         multiarch strcasecmp_l for PPC32.
11665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11666         multiarch objects.
11667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11668         (__libc_ifunc_impl_list): Likewise.
11669
11670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11671         file.
11672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11673         file.
11674         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11675         multiarch strncmp for PPC32.
11676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11677         multiarch objects.
11678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11679         (__libc_ifunc_impl_list): Likewise.
11680
11681         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11682         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11683         file.
11684         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11685         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11687         multiarch objects.
11688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11689         (__libc_ifunc_impl_list): Likewise.
11690
11691         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11692         file.
11693         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11694         file.
11695         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11697         multiarch objects.
11698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11699         (__libc_ifunc_impl_list): Likewise.
11700
11701         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11702         file.
11703         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11704         file.
11705         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11706         multiarch rawmemchr for PPC32.
11707         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11708         multiarch objects.
11709         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11710         (__libc_ifunc_impl_list): Likewise.
11711
11712         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11713         file.
11714         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11715         file.
11716         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11717         file: memrchr multiarch for PPC32.
11718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11719         multiarch objects.
11720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11721         (__libc_ifunc_impl_list): Likewise.
11722
11723         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11724         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11725         file.
11726         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11728         multiarch memchr for PPC32.
11729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11730         multiarch objects.
11731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11732         (__libc_ifunc_impl_list): Likewise.
11733
11734         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11735         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11736         file.
11737         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11738         file.
11739         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11740         file: multiarch mempcpy for PPC32.
11741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11742         multiarch objects.
11743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11744         (__libc_ifunc_impl_list): Likewise.
11745
11746         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11747         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11748         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11750         multiarch bzero for PPC32.
11751         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11752         file.
11753         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11754         file.
11755         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11756         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11757         file: multiarch memset for PPC32.
11758         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11760         memset multiarch objects.
11761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11762         (__libc_ifunc_impl_list): Likewise.
11763
11764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11765         file.
11766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11768         memcmp for PPC32.
11769         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11771         multiarch objects.
11772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11773         (__libc_ifunc_impl_list): Likewise.
11774
11775         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11776         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11778         file.
11779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11780         file.
11781         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11782         file.
11783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11784         multiarch memcpy for PPC32.
11785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11786         multiarch objects.
11787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11788         (__libc_ifunc_impl_list): Likewise.
11789
11790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11791         support multiarch for POWER/PPC32.
11792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11793         Likewise.
11794         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11796         Implies file to make multiarch folder appers before the fpu and
11797         default folder for power4 configuration.
11798
11799 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11800
11801         * scripts/bench.pl: Append volatile keyword to type.
11802
11803 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11804
11805         * sysdeps/sh/sotruss-lib.c: New file.
11806         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11807
11808 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11809
11810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11811
11812 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11813
11814         [BZ #6810]
11815         * math/w_tgamma.c: Include <errno.h>.
11816         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11817         * math/w_tgammaf.c: Include <errno.h>.
11818         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11819         * math/w_tgammal.c: Include <errno.h>.
11820         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11821         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11822         underflow.  Add more tgamma tests.
11823         * math/auto-libm-test-out: Regenerated.
11824         * sysdeps/i386/fpu/libm-test-ulps: Update.
11825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11826
11827         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11828         sin, sinh, tan, tanh, tgamma, y0 and y1.
11829         * math/auto-libm-test-out: Regenerated.
11830         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11831         (TEST_COND_x86): Likewise.
11832         (M_E2l): Remove macro.
11833         (M_E3l): Likewise.
11834         (M_2_SQRT_PIl): Likewise.
11835         (M_SQRT_PIl): Likewise.
11836         (M_1_DIV_El): Likewise.
11837         (log_test_data): Use AUTO_TESTS_f_f.
11838         (log10_test_data): Likewise.
11839         (log1p_test_data): Likewise.
11840         (log2_test_data): Likewise.
11841         (sin_test_data): Likewise.
11842         (sin_tonearest_test_data): Likewise.
11843         (sin_towardzero_test_data): Likewise.
11844         (sin_downward_test_data): Likewise.
11845         (sin_upward_test_data): Likewise.
11846         (sinh_test_data): Likewise.
11847         (sinh_tonearest_test_data): Likewise.
11848         (sinh_towardzero_test_data): Likewise.
11849         (sinh_downward_test_data): Likewise.
11850         (sinh_upward_test_data): Likewise.
11851         (tan_test_data): Likewise.
11852         (tan_tonearest_test_data): Likewise.
11853         (tan_towardzero_test_data): Likewise.
11854         (tan_downward_test_data): Likewise.
11855         (tan_upward_test_data): Likewise.
11856         (tanh_test_data): Likewise.
11857         (tgamma_test_data): Likewise.
11858         (y0_test_data): Likewise.
11859         (y1_test_data): Likewise.
11860         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11861         (special_real_inputs): Add pi/4.
11862         * sysdeps/i386/fpu/libm-test-ulps: Update.
11863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11864
11865 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11866
11867         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11868         "longjmp_target" static probes.
11869         (__longjmp): Rename to __longjmp_symbol.
11870         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11871         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11872         on which longjmp to generate.
11873         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11874         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11875         probe.
11876         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11877         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11879         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11880         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11881         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11883         __longjmp_symbol based on which __longjmp to generate.
11884         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11885         probe.
11886         (setjmp): Rename to setjmp_symbol.
11887         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11888         (_setjmp): Rename to _setjmp_symbol.
11889         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11890         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11891         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11892         which setjmp to generate.
11893         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11894         "longjmp_target" static probes.
11895
11896 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11897
11898         * benchtests/README: Add note about output arguments.
11899         * benchtests/bench-sincos.c: Remove file.
11900         * benchtests/sincos-inputs: New file.
11901         * scripts/bench.pl: Identify output arguments and define
11902         static variables for them.
11903
11904         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11905
11906         [BZ #15941]
11907         * Makefile (INSTALL): Add install-plain.texi as the primary
11908         dependency.
11909         * manual/install-plain.texi: New file.
11910         * manual/install.texi: Include node directive only for
11911         non-plaintext output.
11912
11913 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11914
11915         * stdlib/longlong.h: Update from GCC.
11916
11917         [BZ #6807]
11918         [BZ #15901]
11919         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11920         * math/w_j0f.c (y0f): Likewise.
11921         * math/w_j0l.c (__y0l): Likewise.
11922         * math/w_j1.c (y1): Likewise.
11923         * math/w_j1f.c (y1f): Likewise.
11924         * math/w_j1l.c (__y1l): Likewise
11925         * math/w_jn.c (yn): Likewise.
11926         * math/w_jnf.c (ynf): Likewise.
11927         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11928         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11929         value for Bessel function domain errors outside _SVID_ mode.
11930         Adjust sign of return value for yn (negative integer, 0).
11931         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11932         by zero in return for negative x and set sign appropriately for
11933         negative n.
11934         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11935         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11936         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11937         expectations in error cases.
11938         (y1_test_data): Likewise.
11939         (yn_test_data): Likewise.
11940         * sysdeps/i386/fpu/libm-test-ulps: Update.
11941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11942
11943 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11944
11945         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11946         "64" to "64-v1".  Add "64-v2".
11947         (abi-64-options): Rename to ...
11948         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11949         (abi-64-condition): Rename to ...
11950         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11951         (abi-64-ld-soname): Rename to ...
11952         (abi-64-v1-ld-soname): ... this.
11953         (abi-64-v2-options): Define.
11954         (abi-64-v2-condition): Likewise.
11955         (abi-64-v2-ld-soname): Likewise.
11956         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11957         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11961
11962 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11963             Alan Modra  <amodra@gmail.com>
11964
11965         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11966         New versions for use with the ELFv2 ABI.
11967         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11968         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11969         declaration.
11970         (struct La_ppc64v2_retval): Likewise.
11971         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11972         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11973         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11974         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11975         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11976         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11977         Do not save or restore CR.
11978         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11979         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11980         return values for ELFv2 ABI.  Fix location of FPR return registers.
11981         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11982         updated values for _CALL_ELF == 2.
11983         (La_regs, La_retval, int_retval): Likewise.
11984
11985 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11986
11987         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11988         (FRAME_MIN_SIZE_PARM): Likewise.
11989         (FRAME_BACKCHAIN): Likewise.
11990         (FRAME_CR_SAVE): Likewise.
11991         (FRAME_LR_SAVE): Likewise.
11992         (FRAME_TOC_SAVE): Likewise.
11993         (FRAME_PARM_SAVE): Likewise.
11994         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11995         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11996         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11997         (call_mcount_parm_offset): New macro.
11998         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11999         (PROF): Use symbolic stack frame offsets.
12000         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12001         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12002         Redefine in terms of FRAME_MIN_SIZE.
12003         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12004         (_dl_profile_resolve): Likewise.  Update comment.
12005         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12006         symbols stack frame offsets.
12007         (__sigsetjmp): Likewise.
12008         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12009         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12010         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12011         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12012
12013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12014         (FRAME_BACKCHAIN): Remove.
12015         (FRAME_CR_SAVE): Likewise.
12016         (FRAME_LR_SAVE): Likewise.
12017         (FRAME_COMPILER_DW): Likewise.
12018         (FRAME_LINKER_DW): Likewise.
12019         (FRAME_TOC_SAVE): Likewise.
12020         (FRAME_PARM_SAVE): Likewise.
12021         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12022         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12023         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12025         (CHECK_SP): Use symbolic stack frame offsets.
12026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12027         zone" instead of caller's parameter save area for temp storage.
12028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12029         Likewise.  Also, use symbolic stack frame offsets.
12030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12031         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12032         our own stack frame instead of the caller's.
12033         (__socket): Use symbolic stack frame offsets.
12034
12035 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12036             Alan Modra  <amodra@gmail.com>
12037
12038         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12039         Define.
12040         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12041         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12042         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12043         New function.
12044         (elf_machine_fixup_plt): Call it.
12045         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12046         reloc arguments.
12047         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12048         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12049         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12050         r2 before calling target.
12051
12052 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12053             Alan Modra  <amodra@gmail.com>
12054
12055         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12056         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12057         versions of macros to support ELFv2 ABI.
12058         (LOCALENTRY): New macro.
12059         (ENTRY, EALIGN): Use it.
12060         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12061         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12062         fall through into ENTRY entry point.
12063         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12064         Only define if _CALL_ELF != 2.
12065
12066         (elf_machine_matches_host): Verify ABI version matches.
12067         (RTLD_START): Use LOCALENTRY.
12068         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12069         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12070         (PLT_ENTRY_WORDS): New macro.
12071         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12072         (elf_machine_runtime_setup): Support ELFv2 ABI.
12073         (elf_machine_fixup_plt): Likewise.
12074         (elf_machine_plt_conflict): Likewise.
12075         (resolve_ifunc): Likewise.
12076         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12078         Likewise.
12079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12080         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12082         (makecontext): Support ELFv2 ABI.
12083         * elf/elf.h (EF_PPC64_ABI): Define.
12084
12085 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12086
12087         * sysdeps/powerpc/powerpc64/sysdep.h
12088         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12089         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12090         (ENTRY) [ASSEMBLER]: ... but instead here ...
12091         (EALIGN) [ASSEMBLER]: ... and here.
12092         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12093         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12094         (ENTRY_2) [!ASSEMBLER]: Use it.
12095         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12096         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12097         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12098         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12099         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12101         Use PPC64_LOAD_FUNCPTR.
12102
12103         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12104
12105 2013-12-04  Alan Modra  <amodra@gmail.com>
12106
12107         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12108         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12109         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12110         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12111
12112         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12113         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12114         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12115         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12116         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12117         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12118
12119 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12120
12121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12122         (__makecontext): Fix incorrect CFI when backtracing out of
12123         context created via makecontext.
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12125         (__setcontext): Fix incorrect CFI during switch to new context.
12126         (__novec_setcontext): Likewise.
12127
12128 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12129
12130         [BZ #4772]
12131         * time/strptime_l.c (__strptime_internal): Allow modifiers
12132         in strptime.
12133         * time/tst-strptime.c (day_tests): Add testcase.
12134
12135 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12136
12137         * scripts/bench.pl: Skip over blank lines.
12138
12139 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12140
12141         [BZ #926]
12142         * manual/time.texi (Calendar Time): Clarify what timezone functions
12143         use.
12144
12145 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12146
12147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12148
12149 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12150
12151         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12152         implementation.
12153         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12154         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12155         * debug/memset_chk.c (__memset_chk): Likewise.
12156         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12157         * debug/strncpy_chk.c: Likewise.
12158
12159 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12160
12161         [BZ #15268]
12162         [BZ #15425]
12163         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12164         (__ieee754_exp): For possibly underflowing results, check size of
12165         result and force underflow exception if required.
12166         * math/auto-libm-test-in: Add more tests of exp.
12167         * math/auto-libm-test-out: Regenerated.
12168         * sysdeps/i386/fpu/libm-test-ulps: Update.
12169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12170
12171         [BZ #16283]
12172         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12173         * math/w_exp2f.c (__exp2f): Likewise.
12174         * math/w_exp2l.c (__exp2l): Likewise.
12175         * math/auto-libm-test-in: Do not allow missing errno on exp2
12176         underflow.
12177         * math/auto-libm-test-out: Regenerated.
12178
12179 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12180
12181         [BZ #16274]
12182         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12183         handle filename validation.
12184         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12185         (do_open): Delete.
12186
12187 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12188
12189         [BZ #6786]
12190         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12191         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12192         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12193         <float.h>.
12194         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12195         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12196         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12198         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12199         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12200         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12201         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12202         Add more erfc tests.
12203         * math/auto-libm-test-out: Regenerated.
12204         * sysdeps/i386/fpu/libm-test-ulps: Update.
12205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12206
12207         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12208         exp2, expm1, j0 and j1.
12209         * math/auto-libm-test-out: Regenerated.
12210         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12211         (erfc_test_data): Likewise.
12212         (exp_test_data): Likewise.
12213         (exp_tonearest_test_data): Likewise.
12214         (exp_towardzero_test_data): Likewise.
12215         (exp_downward_test_data): Likewise.
12216         (exp_upward_test_data): Likewise.
12217         (exp10_test_data): Likewise.
12218         (exp2_test_data): Likewise.
12219         (expm1_test_data): Likewise.
12220         (j0_test_data): Likewise.
12221         (j1_test_data): Likewise.
12222         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12223         (input_flag_type): Add flag_xfail_rounding.
12224         (input_flags): Add xfail-rounding.
12225         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12226         (output_for_one_input_case): Handle flag_xfail_rounding.
12227         * sysdeps/i386/fpu/libm-test-ulps: Update.
12228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12229
12230 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12231
12232         [BZ #16289]
12233         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12234         division by 0.
12235
12236 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12237
12238         [BZ #16195]
12239         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12240         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12241         (STAP_PROBE0): New macro.
12242         (STAP_PROBE1): Likewise.
12243         (STAP_PROBE2): Likewise.
12244         (STAP_PROBE3): Likewise.
12245         (STAP_PROBE4): Likewise.
12246
12247 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12248
12249         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12250
12251 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12252
12253         * benchtests/Makefile (bench): Add sqrt.
12254         (LDLIBS-bench-sqrt): New.
12255         * benchtests/sqrt-input: New.
12256
12257 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12258
12259         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12260         (GAIH_EAI): Likewise.
12261         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12262         (gaih_inet): Likewise.
12263         (getaddrinfo): Don't use GAIH_EAI.
12264
12265         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12266         (struct gaih): Remove definition.
12267
12268 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12269
12270         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12271         Use HERRNOP directly.
12272
12273 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12274
12275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12276
12277 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12278
12279         * math/gen-auto-libm-tests.c (test_functions): Add more
12280         single-argument functions.
12281         (special_fill_pi_2): New function.
12282         (special_fill_minus_pi_2): Likewise.
12283         (special_fill_pi_6): Likewise.
12284         (special_fill_minus_pi_6): Likewise.
12285         (special_fill_pi_3): Likewise.
12286         (special_fill_2pi_3): Likewise.
12287         (special_fill_e): Likewise.
12288         (special_fill_1_e): Likewise.
12289         (special_fill_e_minus_1): Likewise.
12290         (special_real_inputs): Add more special inputs.
12291         (output_for_one_input_case): Do not require ERANGE on underflow to
12292         zero if round-to-nearest result does not underflow to zero, unless
12293         exact results required.
12294         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12295         atan, atanh, cbrt, cos and cosh.
12296         * math/auto-libm-test-out: Regenerated.
12297         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12298         (acos_tonearest_test_data): Likewise.
12299         (acos_towardzero_test_data): Likewise.
12300         (acos_downward_test_data): Likewise.
12301         (acos_upward_test_data): Likewise.
12302         (acosh_test_data): Likewise.
12303         (asin_test_data): Likewise.
12304         (asin_tonearest_test_data): Likewise.
12305         (asin_towardzero_test_data): Likewise.
12306         (asin_upward_test_data): Likewise.
12307         (asinh_test_data): Likewise.
12308         (atan_test_data): Likewise.
12309         (atanh_test_data): Likewise.
12310         (cbrt_test_data): Likewise.
12311         (cos_test_data): Likewise.
12312         (cos_tonearest_test_data): Likewise.
12313         (cos_towardzero_test_data): Likewise.
12314         (cos_downward_test_data): Likewise.
12315         (cos_upward_test_data): Likewise.
12316         (cosh_test_data): Likewise.
12317         (cosh_tonearest_test_data): Likewise.
12318         (cosh_towardzero_test_data): Likewise.
12319         (cosh_downward_test_data): Likewise.
12320         (cosh_upward_test_data): Likewise.
12321         * sysdeps/i386/fpu/libm-test-ulps: Update.
12322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12323
12324 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12325
12326         [BZ #6787]
12327         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12328         * math/w_exp10f.c (__exp10f): Likewise.
12329         * math/w_exp10l.c (__exp10l): Likewise.
12330         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12331         errno settings in existing tests.
12332
12333         [BZ #14032]
12334         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12335         precision control set to double precision.
12336         * sysdeps/i386/fpu/w_sqrt.c: New file.
12337         * math/auto-libm-test-in: Add more tests.
12338         * math/auto-libm-test-out: Update.
12339
12340         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12341         (sqrt_test_tonearest): New function.
12342         (sqrt_towardzero_test_data): New variable.
12343         (sqrt_test_towardzero): New function.
12344         (sqrt_downward_test_data): New variable.
12345         (sqrt_test_downward): New function.
12346         (sqrt_upward_test_data): New variable.
12347         (sqrt_test_upward): New function.
12348         (main): Call the new functions.
12349
12350         * math/gen-auto-libm-tests.c: New file.
12351         * math/auto-libm-test-in: Likewise.
12352         * math/auto-libm-test-out: New generated file.
12353         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12354         variables.
12355         (%beautify): Add generated representations of zero.
12356         (top level): Set $auto_input and call parse_auto_input.
12357         (beautify): Remove trailing "f" from hex float constants.
12358         (parse_args): Handle XFAIL_TEST.
12359         (convert_condition): New function.
12360         (or_value): Likewise.
12361         (or_cond_value): Likewise.
12362         (generate_testfile): Handle AUTO_TESTS_* lines.
12363         (parse_auto_input): New function.
12364         * math/libm-test.inc (XFAIL_TEST): New macro.
12365         (ERRNO_UNCHANGED): Update value.
12366         (ERRNO_EDOM): Likewise.
12367         (ERRNO_ERANGE): Likewise.
12368         (IGNORE_RESULT): Likewise.
12369         (TEST_COND_flt_32): New macro.
12370         (TEST_COND_dbl_64): Likewise.
12371         (TEST_COND_ldbl_96_intel): Likewise.
12372         (TEST_COND_ldbl_96_m68k): Likewise.
12373         (TEST_COND_ldbl_128): Likewise.
12374         (TEST_COND_ldbl_128ibm): Likewise.
12375         (TEST_COND_long32): Likewise.
12376         (TEST_COND_long64): Likewise.
12377         (TEST_COND_before_rounding): Likewise.
12378         (TEST_COND_after_rounding): Likewise.
12379         (enable_test): Handle XFAIL_TEST flag.
12380         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12381         with finite results.
12382         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12383         auto-libm-test-out.
12384
12385 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12386             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12387
12388         [BZ #16214]
12389         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12390         __tls_get_addr_internal instead of __tls_get_offset in order to
12391         avoid GOT pointer dependency.  Make rtld export
12392         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12393         __tls_get_addr since we are a __tls_get_offset platform.
12394         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12395         GOT pointer being set up before.
12396         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12397
12398 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12399
12400         * manual/math.texi (Errors in Math Functions): Document accuracy
12401         goals.
12402
12403         [BZ #15004]
12404         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12405         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12406         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12407         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12408         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12409         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12410         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12411         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12412         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12413         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12414         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12415         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12416         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12417         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12418         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12419         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12420
12421         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12422         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12423         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12424         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12425         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12426         Likewise.
12427         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12428         Likewise.
12429         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12430         Likewise.
12431         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12432         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12433         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12434         atomic-feupdateenv and flt-rounds.
12435         * sysdeps/powerpc/nofpu/Versions (libc): Add
12436         __atomic_feholdexcept, __atomic_feclearexcept,
12437         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12438         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12439         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12440         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12441         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12442         here.
12443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12444         Update.
12445
12446         * manual/arith.texi (FP Exceptions): Document that exceptions may
12447         not be raised when matherr is used.
12448         (Math Error Reporting): Document overflow in directed rounding
12449         modes.  Document that errno may not be set when finite values are
12450         returned on overflow.  Document intent to set errno on underflow
12451         only for underflow to zero.
12452
12453         [BZ #16271]
12454         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12455         round-to-nearest then adjust result for other rounding modes.
12456         * include/fenv.h (fegetround): Use libm_hidden_proto.
12457         * math/fegetround.c (fegetround): Use libm_hidden_def.
12458         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12459         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12460         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12461         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12462         Likewise.
12463         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12464         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12465         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12466         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12467
12468 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12469
12470         [BZ #16077]
12471         * nss/Versions (libnss_files): Add
12472         _nss_files_gethostbyname3_r.
12473         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12474         New function.
12475         (HOST_DB_LOOKUP): Remove macro.
12476         (_nss_files_gethostbyname_r): Implement function without the
12477         HOST_DB_LOOKUP macro.
12478         (_nss_files_gethostbyname2_r): Likewise.
12479
12480 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12481
12482         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12483
12484 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12485
12486         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12487         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12488         warning.
12489
12490 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12491
12492         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12493         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12494         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12495         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12496         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12497         __fe_nomask_env_priv and attribute_hidden.
12498         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12499         (libc_feupdateenv_test_ppc): Likewise.
12500         (libc_feresetround_ppc): Likewise.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12502         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12503         compat_symbol macro.
12504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12505         (__fe_nomask_env): Likewise.
12506         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12507
12508 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12509
12510         * string/Makefile: Remove ifunc tests.
12511         * string/test-string.h: Define TEST_IFUNC.
12512         * string/test-bcopy-ifunc.c: Remove.
12513         * string/test-bzero-ifunc.c: Likewise.
12514         * string/test-memccpy-ifunc.c: Likewise.
12515         * string/test-memchr-ifunc.c: Likewise.
12516         * string/test-memcmp-ifunc.c: Likewise.
12517         * string/test-memcpy-ifunc.c: Likewise.
12518         * string/test-memmem-ifunc.c: Likewise.
12519         * string/test-memmove-ifunc.c: Likewise.
12520         * string/test-mempcpy-ifunc.c: Likewise.
12521         * string/test-memrchr-ifunc.c: Likewise.
12522         * string/test-memset-ifunc.c: Likewise.
12523         * string/test-rawmemchr-ifunc.c: Likewise.
12524         * string/test-stpcpy-ifunc.c: Likewise.
12525         * string/test-stpncpy-ifunc.c: Likewise.
12526         * string/test-strcasecmp-ifunc.c: Likewise.
12527         * string/test-strcasestr-ifunc.c: Likewise.
12528         * string/test-strcat-ifunc.c: Likewise.
12529         * string/test-strchr-ifunc.c: Likewise.
12530         * string/test-strchrnul-ifunc.c: Likewise.
12531         * string/test-strcmp-ifunc.c: Likewise.
12532         * string/test-strcpy-ifunc.c: Likewise.
12533         * string/test-strcspn-ifunc.c: Likewise.
12534         * string/test-strlen-ifunc.c: Likewise.
12535         * string/test-strncasecmp-ifunc.c: Likewise.
12536         * string/test-strncat-ifunc.c: Likewise.
12537         * string/test-strncmp-ifunc.c: Likewise.
12538         * string/test-strncpy-ifunc.c: Likewise.
12539         * string/test-strnlen-ifunc.c: Likewise.
12540         * string/test-strpbrk-ifunc.c: Likewise.
12541         * string/test-strrchr-ifunc.c: Likewise.
12542         * string/test-strspn-ifunc.c: Likewise.
12543         * string/test-strstr-ifunc.c: Likewise.
12544
12545 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12546
12547         * benchtests/Makefile: Remove ifunc tests.
12548         * benchtests/bench-string.h: Define TEST_IFUNC.
12549         * benchtests/bench-bcopy-ifunc.c: Remove.
12550         * benchtests/bench-bzero-ifunc.c: Likewise.
12551         * benchtests/bench-memccpy-ifunc.c: Likewise.
12552         * benchtests/bench-memchr-ifunc.c: Likewise.
12553         * benchtests/bench-memcmp-ifunc.c: Likewise.
12554         * benchtests/bench-memcpy-ifunc.c: Likewise.
12555         * benchtests/bench-memmem-ifunc.c: Likewise.
12556         * benchtests/bench-memmove-ifunc.c: Likewise.
12557         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12558         * benchtests/bench-memrchr-ifunc.c: Likewise.
12559         * benchtests/bench-memset-ifunc.c: Likewise.
12560         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12561         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12562         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12563         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12564         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12565         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12566         * benchtests/bench-strcat-ifunc.c: Likewise.
12567         * benchtests/bench-strchr-ifunc.c: Likewise.
12568         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12569         * benchtests/bench-strcmp-ifunc.c: Likewise.
12570         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12571         * benchtests/bench-strcpy-ifunc.c: Likewise.
12572         * benchtests/bench-strcspn-ifunc.c: Likewise.
12573         * benchtests/bench-strlen-ifunc.c: Likewise.
12574         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12575         * benchtests/bench-strncat-ifunc.c: Likewise.
12576         * benchtests/bench-strncmp-ifunc.c: Likewise.
12577         * benchtests/bench-strncpy-ifunc.c: Likewise.
12578         * benchtests/bench-strnlen-ifunc.c: Likewise.
12579         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12580         * benchtests/bench-strrchr-ifunc.c: Likewise.
12581         * benchtests/bench-strsep-ifunc.c: Likewise.
12582         * benchtests/bench-strspn-ifunc.c: Likewise.
12583         * benchtests/bench-strstr-ifunc.c: Likewise.
12584
12585 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12586
12587         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12588
12589 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12590
12591         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12592         * rt/aio.h: Likewise.
12593         * sysdeps/gnu/bits/utmp.h: Likewise.
12594         * sysdeps/gnu/bits/utmpx.h: Likewise.
12595         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12596         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12597         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12598         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12599         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12600         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12601         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12602         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12603         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12604         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12605         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12606         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12607         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12609         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12610         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12611         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12612         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12613         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12614         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12615         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12616         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12617         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12618         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12619         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12620         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12621         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12622         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12623         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12624         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12625         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12626         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12627         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12628         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12629         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12630         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12631         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12632         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12633         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12634         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12635         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12636         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12637
12638 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12639
12640         [BZ #16245]
12641         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12642         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12643
12644 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12645
12646         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12647         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12648         Likewise.
12649
12650 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12651
12652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12653         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12654         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12655         (__fesetround): Remove define.
12656         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12657         rounding and exceptions handling.
12658         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12659         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12660         (__fe_nomask_env): Likewise.
12661         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12662         __fegetround instead of fegetround.
12663         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12664         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12665
12666 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12667
12668         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12669         it's there.
12670
12671         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12672
12673 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12674
12675         [BZ #11157]
12676         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12677         (encrypt_r): Likewise.
12678         * malloc/obstack.h (obstack_free): Likewise.
12679         * posix/unistd.h (encrypt): Likewise.
12680
12681 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12682
12683         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12684         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12685         DL_CALL_DT_FINI() that call the functions directly.
12686         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12687         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12688         * elf/dl-fini.c: Likewise.
12689
12690 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12691
12692         * malloc/hooks.c (memalign_check): Add alignment rounding.
12693         * malloc/malloc.c (_mid_memalign): New function.
12694         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12695         Implement by calling _mid_memalign.
12696         * manual/probes.texi (Memory Allocation Probes): Remove
12697         memory_valloc_retry and memory_pvalloc_retry.
12698
12699 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12700
12701         * locale/programs/locarchive.c (open_archive): Add const
12702         qualifier to ARCHIVEFNAME and copy default fname to
12703         DEFAULT_FNAME.
12704
12705         [BZ #15601]
12706         * libio/tst-widetext.input: Rename Oriya to Odia.
12707         * locale/iso-639.def: Likewise.
12708
12709         * manual/probes.texi (Mathematical Function Probes): Add
12710         documentation for sin, cos, asin and acos probes.
12711         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12712         (__sin32): Add slowasin probe.
12713         (__cos32): Add slowacos probe.
12714         (__mpsin): Add slowsin probe.
12715         (__mpcos): Add slowcos probe.
12716
12717 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12718
12719         [BZ #15483]
12720         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12721         thread-local __sim_exceptions_thread and global
12722         __sim_exceptions_global.
12723         (__sim_disabled_exceptions): Change to thread-local
12724         __sim_disabled_exceptions_thread and global
12725         __sim_disabled_exceptions_global.
12726         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12727         and global __sim_round_mode_global.
12728         (__simulate_exceptions): Use thread-local floating-point state and
12729         set global state from it as needed.
12730         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12731         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12732         __sim_round_mode_thread.
12733         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12734         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12735         and global __sim_exceptions_global.
12736         (__sim_disabled_exceptions): Change to thread-local
12737         __sim_disabled_exceptions_thread and global
12738         __sim_disabled_exceptions_global.
12739         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12740         and global __sim_round_mode_global.
12741         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12742         (SIM_SET_GLOBAL): Likewise.
12743         * sysdeps/powerpc/soft-fp/sfp-machine.h
12744         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12745         __sim_round_mode_thread.
12746         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12747         __sim_disabled_exceptions_thread.
12748         (__sim_exceptions): Change to __sim_exceptions_thread.
12749         (__sim_disabled_exceptions): Change to
12750         __sim_disabled_exceptions_thread.
12751         (__sim_round_mode): Change to __sim_round_mode_thread.
12752         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12753         thread-local floating-point state and set global state from it as
12754         needed.
12755         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12756         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12757         (__sim_disabled_exceptions): Remove extern declaration.
12758         (feenableexcept): Use thread-local floating-point state and set
12759         global state from it as needed.
12760         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12761         extern declaration.
12762         (__sim_disabled_exceptions): Likewise.
12763         (__sim_round_mode): Likewise.
12764         (__fegetenv): Use thread-local floating-point state.
12765         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12766         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12767         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12768         floating-point state and set global state from it as needed.
12769         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12770         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12771         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12772         Likewise.
12773         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12774         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12775         Likewise.
12776         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12777         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12778         Use __sim_round_mode_thread.
12779         * math/test-fenv-tls.c: New file.
12780         * math/Makefile (tests): Add test-fenv-tls.
12781         ($(objpfx)test-fenv-tls): Depend on
12782         $(common-objpfx)nptl/libpthread.so.
12783
12784 2013-11-19  Andreas Schwab  <schwab@suse.de>
12785
12786         * locale/programs/locale.c (show_info): Decode wordarray elements.
12787         * locale/categories.def (LC_MONETARY): Add element for
12788         _NL_MONETARY_CRNCYSTR.
12789         * locale/C-monetary.c (conversion_rate): New variable.
12790         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12791         element.
12792
12793 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12794
12795         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12796         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12797
12798 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12799
12800         * elf/Makefile (tst-auxv): New test.
12801         * elf/tst-auxv.c: New
12802         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12803
12804 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12805
12806         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12807         (hidden_proto): Caller changed.
12808         (hidden_tls_proto): New macro.
12809         (libc_hidden_tls_proto): Likewise.
12810         (rtld_hidden_tls_proto): Likewise.
12811         (libm_hidden_tls_proto): Likewise.
12812         (libresolv_hidden_tls_proto): Likewise.
12813         (librt_hidden_tls_proto): Likewise.
12814         (libdl_hidden_tls_proto): Likewise.
12815         (libnss_files_hidden_tls_proto): Likewise.
12816         (libnsl_hidden_tls_proto): Likewise.
12817         (libnss_nisplus_hidden_tls_proto): Likewise.
12818         (libutil_hidden_tls_proto): Likewise.
12819
12820 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12821
12822         [BZ #10253]
12823         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12824         (decompose_rpath): Defer expansion to fillin_rpath.
12825         (_dl_init_paths): Pass linkmap to fillin_rpath.
12826
12827 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12828
12829         * benchtests/Makefile: Add strsep.
12830         * benchtests/bench-strsep.c: New file: strsep benchtest.
12831         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12832
12833 2013-11-18  Andreas Schwab  <schwab@suse.de>
12834
12835         * locale/programs/locale.c (show_info) [case byte]: Check for
12836         '\377' instead of '\177'.
12837         * locale/C-monetary.c (not_available): Always use "\377".
12838         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12839         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12840         detect unavailable sign_posn locale elements.
12841         * locale/localeconv.c (__localeconv): For grouping and
12842         mon_grouping handle "\177" and "\377" like no grouping.
12843         (INT_ELEM): New macro.  Use it to set all numeric members.
12844         * locale/programs/ld-monetary.c (monetary_read)
12845         <tok_mon_grouping>: Normalize single -1 to the empty string.
12846         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12847         Likewise.
12848
12849 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12850
12851         [BZ #16055]
12852         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12853         when we match (nil).
12854         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12855
12856 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12857
12858         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12859         (NO_TEST_INLINE): Update value.
12860         (ERRNO_UNCHANGED): Likewise.
12861         (ERRNO_EDOM): Likewise.
12862         (ERRNO_ERANGE): Likewise.
12863         (IGNORE_RESULT): Likewise.
12864         (check_float_internal): Check signs of NaN results if
12865         TEST_NAN_SIGN used.
12866         (check_complex): Pass TEST_NAN_SIGN flag through to second
12867         check_float_internal call.
12868         (copysign_test_data): Add tests with quiet NaNs as second
12869         argument.  Use TEST_NAN_SIGN.
12870         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12871         TEST_NAN_SIGN.
12872         (signbit_test_data): Add tests of quiet NaN argument.
12873         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12874
12875         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12876         $ignore_result.
12877         (parse_args): Handle function results specified as IGNORE.
12878         * math/libm-test.inc (IGNORE_RESULT): New macro.
12879         (check_float_internal): Do not check numerical result if flag
12880         IGNORE_RESULT set.
12881         (check_complex): Pass through IGNORE_RESULT to second
12882         check_float_internal call.
12883         (check_int): Do not check numerical result if flag IGNORE_RESULT
12884         set.
12885         (check_long): Likewise.
12886         (check_bool): Likewise.
12887         (check_longlong): Likewise.
12888         (lrint_test_data): Add tests of infinite and NaN arguments.
12889         (lrint_tonearest_test_data): Likewise.
12890         (lrint_towardzero_test_data): Likewise.
12891         (lrint_downward_test_data): Likewise.
12892         (lrint_upward_test_data): Likewise.
12893         (llrint_test_data): Likewise.
12894         (llrint_tonearest_test_data): Likewise.
12895         (llrint_towardzero_test_data): Likewise.
12896         (llrint_downward_test_data): Likewise.
12897         (llrint_upward_test_data): Likewise.
12898         (lround_test_data): Likewise.
12899         (llround_test_data): Likewise.
12900
12901         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12902         (ERRNO_UNCHANGED): Update value.
12903         (ERRNO_EDOM): Likewise.
12904         (ERRNO_ERANGE): Likewise.
12905         (NO_TEST_INLINE_FLOAT): New macro.
12906         (NO_TEST_INLINE_DOUBLE): Likewise.
12907         (enable_test): New function.
12908         (RUN_TEST_f_f): Check enable_test before running test.
12909         (RUN_TEST_2_f): Likewise.
12910         (RUN_TEST_fff_f): Likewise.
12911         (RUN_TEST_c_f): Likewise.
12912         (RUN_TEST_f_f1): Likewise.
12913         (RUN_TEST_fF_f1): Likewise.
12914         (RUN_TEST_fI_f1): Likewise.
12915         (RUN_TEST_ffI_f1): Likewise.
12916         (RUN_TEST_c_c): Likewise.
12917         (RUN_TEST_cc_c): Likewise.
12918         (RUN_TEST_f_i): Likewise.
12919         (RUN_TEST_f_i_tg): Likewise.
12920         (RUN_TEST_ff_i_tg): Likewise.
12921         (RUN_TEST_f_b): Likewise.
12922         (RUN_TEST_f_b_tg): Likewise.
12923         (RUN_TEST_f_l): Likewise.
12924         (RUN_TEST_f_L): Likewise.
12925         (RUN_TEST_fFF_11): Likewise.
12926         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12927         conditionals.
12928         (cosh_test_data): Likewise.
12929         (exp_test_data): Likewise.
12930         (expm1_test_data): Likewise.
12931         (hypot_test_data): Likewise.
12932         (pow_test_data): Likewise.
12933         (sinh_test_data): Likewise.
12934         (tanh_test_data): Likewise.
12935         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12936         flags argument.
12937
12938         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12939         tests with quiet NaN input and output.
12940         (acosh_test_data): Likewise.
12941         (asin_test_data): Likewise.
12942         (asinh_test_data): Likewise.
12943         (atan_test_data): Likewise.
12944         (atanh_test_data): Likewise.
12945         (atan2_test_data): Likewise.
12946         (cbrt_test_data): Likewise.
12947         (cos_test_data): Likewise.
12948         (cosh_test_data): Likewise.
12949         (erf_test_data): Likewise.
12950         (erfc_test_data): Likewise.
12951         (exp_test_data): Likewise.
12952         (exp10_test_data): Likewise.
12953         (exp2_test_data): Likewise.
12954         (expm1_test_data): Likewise.
12955         (hypot_test_data): Likewise.
12956         (j0_test_data): Likewise.
12957         (j1_test_data): Likewise.
12958         (jn_test_data): Likewise.
12959         (lgamma_test_data): Likewise.
12960         (log_test_data): Likewise.
12961         (log10_test_data): Likewise.
12962         (log1p_test_data): Likewise.
12963         (log2_test_data): Likewise.
12964         (pow_test_data): Likewise.
12965         (scalb_test_data): Likewise.
12966         (sin_test_data): Likewise.
12967         (sincos_test_data): Likewise.
12968         (sinh_test_data): Likewise.
12969         (tan_test_data): Likewise.
12970         (tanh_test_data): Likewise.
12971         (tgamma_test_data): Likewise.
12972         (y0_test_data): Likewise.
12973         (y1_test_data): Likewise.
12974         (yn_test_data): Likewise.
12975
12976         [BZ #16167]
12977         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12978         argument being NaN and avoid computations with second argument in
12979         that case.
12980         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12981         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12982         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12983
12984 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12985
12986         * locale/iso-639.def: Add Chitwani Tharu (the).
12987
12988 2013-11-14  Andreas Schwab  <schwab@suse.de>
12989
12990         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12991         word instead of empty string.
12992
12993 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12994
12995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12996         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12998         (__fe_nomask_env): Likewise.
12999
13000 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13001
13002         * benchtests/bench-timing.h: Include time.h.
13003
13004 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13005
13006         [BZ #15997]
13007         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13008         to 3.4.0 for x32.
13009         * sysdeps/unix/sysv/linux/configure: Regenerated.
13010
13011 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13012
13013         [BZ #16151]
13014         * stdlib/strtod_l.c (round_and_return): Do not consider
13015         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13016         exponent one less than half the least subnormal exponent.
13017         * stdlib/test-strtod-round-data: Add more tests.
13018         * stdlib/tst-strtod-round.c (tests): Regenerated.
13019
13020 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13021
13022         [BZ #14143]
13023         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13024         (__fe_mask_env): Likewise.
13025         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13026         libm_hidden_proto and add function prototype.
13027         (__fe_mask_env): Add function prototype.
13028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13029         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13031         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13033         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13034
13035 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13036
13037         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13038         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13039
13040 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13041
13042         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13043         of htab_find_slot().
13044
13045 2013-11-11  David S. Miller  <davem@davemloft.net>
13046
13047         [BZ #16150]
13048         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13049         symbol in the non-vis3 case in static builds.
13050         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13051         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13052         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13053         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13054
13055 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13056
13057         [BZ #387]
13058         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13059         it is empty.
13060
13061 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13062
13063         * benchtests/Makefile: Add bench-strtod.
13064         * benchtests/bench-strtod.c: New file: strtod benchtest
13065
13066 2013-11-11  Andreas Schwab  <schwab@suse.de>
13067
13068         [BZ #16153]
13069         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13070         terminating NUL in key length.
13071
13072 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13073
13074         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13075         Add artificial ODP entry for vDSO symbol for PPC64.
13076         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13077         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13078
13079 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13080
13081         [BZ #15374]
13082         * nss/getent.c (services_keys): Recognize services starting with digit.
13083
13084 2013-11-06  David S. Miller  <davem@davemloft.net>
13085
13086         [BZ #15985]
13087         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13088         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13089
13090 2013-11-06  Will Newton  <will.newton@linaro.org>
13091
13092         * manual/memory.texi (Malloc Examples): Remove register
13093         keyword from examples.
13094
13095 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13096
13097         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13098
13099 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13100
13101         [BZ #6981]
13102         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13103         depending on [__GCC_IEC_559 > 0].
13104         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13105         depending on [__GCC_IEC_559_COMPLEX > 0].
13106
13107 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13108
13109         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13110         to iso-639.def.
13111
13112 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13113
13114         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13115
13116 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13117
13118         [BZ #16112]
13119         * malloc/malloc (malloc_info): Do not handle first bin as
13120         special case.
13121
13122 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13123
13124         * locale/iso-639.def: Add Central Nahuatl (nhn).
13125
13126 2013-11-01  Bruno Haible  <bruno@clisp.org>
13127
13128         [BZ #7003]
13129         * manual/math.texi (BSD Random): Specify range upper bound as
13130         in POSIX.
13131
13132 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13133
13134         * locale/iso-639.def: Add Meadow Mari (mhr).
13135
13136 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13137
13138         [BZ #14752], [BZ #15763]
13139         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13140         Validate name.
13141         * rt/tst_shm.c: Add test for escaping directory.
13142
13143 2013-10-31  Andreas Schwab  <schwab@suse.de>
13144
13145         [BZ #15917]
13146         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13147         followed by 'x' as part of digit sequence.
13148         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13149
13150 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13151
13152         [BZ #16037]
13153         * configure.ac: allow GNU Make 4.0 and greater.
13154         * configure: Regenerated.
13155
13156 2013-10-30  Will Newton  <will.newton@linaro.org>
13157
13158         [BZ #16038]
13159         * malloc/hooks.c (memalign_check): Limit alignment to the
13160         maximum representable power of two.
13161         * malloc/malloc.c (__libc_memalign): Likewise.
13162         * malloc/tst-memalign.c (do_test): Add test for very
13163         large alignment values.
13164         * malloc/tst-posix_memalign.c (do_test): Likewise.
13165
13166 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13167
13168         [BZ #11087]
13169         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13170         (munmap_chunk): Likewise.
13171         (mremap_chunk): Likewise.
13172
13173 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13174
13175         [BZ #15799]
13176         * stdlib/div.c (div): Remove obsolete code.
13177         * stdlib/ldiv.c (ldiv): Likewise.
13178         * stdlib/lldiv.c (lldiv): Likewise.
13179
13180 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13181
13182         [BZ #16071]
13183         * nss/nss_files/files-XXX.c (get_contents_ret): New
13184         enumerator.
13185         (get_contents): New function.
13186         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13187
13188 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13189
13190         * configure.in: Moved to ...
13191         * configure.ac: ... here. Change reference to configure.in
13192         to configure.ac.
13193         * sysdeps/arm/preconfigure.ac: ... here.
13194         configure.in to configure.ac.
13195         * sysdeps/gnu/configure.in: Moved to ...
13196         * sysdeps/gnu/configure.ac: ... here.
13197         * sysdeps/i386/configure.in: Moved to ...
13198         * sysdeps/i386/configure.ac: ... here.
13199         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13200         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13201         * sysdeps/mach/configure.in: Moved to ...
13202         * sysdeps/mach/configure.ac: ... here.
13203         * sysdeps/mach/hurd/configure.in: Moved to ...
13204         * sysdeps/mach/hurd/configure.ac: ... here.
13205         * sysdeps/powerpc/configure.in: Moved to ...
13206         * sysdeps/powerpc/configure.ac: ... here.
13207         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13208         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13209         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13210         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13211         * sysdeps/s390/s390-32/configure.in: Moved to ...
13212         * sysdeps/s390/s390-32/configure.ac: ... here.
13213         * sysdeps/s390/s390-64/configure.in: Moved to ...
13214         * sysdeps/s390/s390-64/configure.ac: ... here.
13215         * sysdeps/sh/configure.in: Moved to ...
13216         * sysdeps/sh/configure.ac: ... here.
13217         * sysdeps/sparc/configure.in: Moved to ...
13218         * sysdeps/sparc/configure.ac: ... here.
13219         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13220         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13221         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13222         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13223         * sysdeps/x86_64/configure.in: Moved to ...
13224         * sysdeps/x86_64/configure.ac: ... here.
13225         * sysdeps/x86_64/preconfigure.in: Moved to ...
13226         * sysdeps/x86_64/preconfigure.ac: ... here.
13227         * aclocal.m4: Change reference to configure.in to configure.ac.
13228         * config.h.in: Likewise.
13229         * manual/install.texi: Likewise.
13230         * manual/maint.texi: Likewise.
13231         * Makefile: Likewise.
13232         * malloc/Makefile: Likewise.
13233         * nscd/Makefile: Likewise.
13234         * Makeconfig: Change reference to configure.in and
13235         preconfigure.in to configure.ac and preconfigure.ac
13236         respectively.
13237         * INSTALL: Regenerated.
13238         * configure: Likewise.
13239         * sysdeps/gnu/configure: Likewise.
13240         * sysdeps/i386/configure: Likewise.
13241         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13242         * sysdeps/mach/configure: Likewise.
13243         * sysdeps/mach/hurd/configure: Likewise.
13244         * sysdeps/powerpc/configure: Likewise.
13245         * sysdeps/powerpc/powerpc32/configure: Likewise.
13246         * sysdeps/powerpc/powerpc64/configure: Likewise.
13247         * sysdeps/s390/s390-32/configure: Likewise.
13248         * sysdeps/s390/s390-64/configure: Likewise.
13249         * sysdeps/sh/configure: Likewise.
13250         * sysdeps/sparc/configure: Likewise.
13251         * sysdeps/unix/sysv/linux/configure: Likewise.
13252         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13253         * sysdeps/x86_64/configure: Likewise.
13254         * sysdeps/x86_64/preconfigure: Likewise.
13255
13256 2013-10-29  Andreas Schwab  <schwab@suse.de>
13257
13258         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13259
13260 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13261
13262         * benchtests/pow-inputs: Add new inputs.
13263
13264         * benchtests/exp-inputs: Add new inputs.
13265
13266         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13267         conditional check for return value.
13268         (__cos32): Likewise.
13269
13270 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13271
13272         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13273         to provide a boost for large inputs with word alignment.
13274         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13275         implementation based on optimized PPC64 strcpy.
13276         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13277         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13278         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13279         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13280
13281 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13282
13283         [BZ #2801]
13284         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13285
13286 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13287
13288         [BZ #14876]
13289         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13290         * time/tst-strptime.c (day_tests): Add testcase.
13291
13292 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13293
13294         [BZ #14029]
13295         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13296
13297 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13298
13299         [BZ #16074]
13300         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13301         MAP_FAILED on error.
13302
13303 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13304
13305         [BZ #16072]
13306         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13307         heap for large requests.
13308
13309 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13310
13311         [BZ #9954]
13312         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13313         result if the result has no associated interface.
13314         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13315         interface for all 127.X.Y.Z addresses.
13316
13317 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13318
13319         * locale/iso-639.def: Add Ligurian (lij)
13320
13321 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13322
13323         [BZ #15825]
13324         * sunrpc/rpc_main.c: Document rpcgen -5.
13325
13326 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13327
13328         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13329
13330 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13331
13332         [BZ #10278]
13333         * posix/glob.c: Match only directories when trailing slash is present.
13334         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13335         (main): Add testcase.
13336
13337 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13338
13339         [BZ #15670]
13340         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13341
13342 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13343
13344         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13345         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13346         AUTH_DES and cindex for FIPS 140-2.
13347         (DES Encryption): Add cindex FIPS 46-3.
13348
13349         * locale/locarchive.h (struct locarhandle): Add fname.
13350         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13351         if an optional argument was specified to --list-archive,
13352         otherwise NULL.
13353         * locale/programs/locarchive.c (show_archive_content): Take new
13354         argument fname and pass it via ah.fname to open_archive.
13355         * locale/programs/localedef.h: Update decl.
13356         (open_archive): If AH->fname is non-null, open that file
13357         rather than the default file name, and don't ignore ENOENT.
13358         (create_archive): Set AH.fname to NULL.
13359         (delete_locales_from_archive): Likewise.
13360         (add_locales_to_archive): Likewise.
13361         * locale/programs/locfile.c (write_all_categories): Likewise.
13362
13363 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13364             Aldy Hernandez  <aldyh@redhat.com>
13365
13366         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13367         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13368         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13369         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13370         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13371         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13372         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13373         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13374         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13375         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13376         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13377         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13378         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13379         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13380         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13381         Likewise.
13382         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13383         Likewise.
13384         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13385         Likewise.
13386         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13387         Likewise.
13388         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13389         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13390         Likewise.
13391         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13392         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13393         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13394         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13395         Likewise.
13396         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13397         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13398         * sysdeps/powerpc/preconfigure: Likewise.
13399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13400         Likewise.
13401         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13402         Replace contents of file by #include of <fenv_libc.h>.
13403         * sysdeps/powerpc/soft-fp/sfp-machine.h
13404         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13405         and <sys/prctl.h>.
13406         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13407         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13408         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13415         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13419         Allow copysignl PLT reference to be missing.
13420
13421 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13422             Joseph Myers  <joseph@codesourcery.com
13423
13424         [BZ #15948]
13425         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13426         single character.
13427         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13428
13429 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13430
13431         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13432         * elf/tst-tls1.c: Likewise.
13433         * elf/tst-tls10.h: Likewise.
13434         * elf/tst-tls14.c: Likewise.
13435         * elf/tst-tls2.c: Likewise.
13436         * elf/tst-tls3.c: Likewise.
13437         * elf/tst-tls4.c: Likewise.
13438         * elf/tst-tls5.c: Likewise.
13439         * elf/tst-tls6.c: Likewise.
13440         * elf/tst-tls7.c: Likewise.
13441         * elf/tst-tls8.c: Likewise.
13442         * elf/tst-tls9.c: Likewise.
13443         * elf/tst-tlsmod1.c: Likewise.
13444         * elf/tst-tlsmod13.c: Likewise.
13445         * elf/tst-tlsmod13a.c: Likewise.
13446         * elf/tst-tlsmod14a.c: Likewise.
13447         * elf/tst-tlsmod16a.c: Likewise.
13448         * elf/tst-tlsmod16b.c: Likewise.
13449         * elf/tst-tlsmod2.c: Likewise.
13450         * elf/tst-tlsmod3.c: Likewise.
13451         * elf/tst-tlsmod4.c: Likewise.
13452         * elf/tst-tlsmod5.c: Likewise.
13453         * elf/tst-tlsmod6.c: Likewise.
13454
13455 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13456
13457         [BZ #12486]
13458         * malloc/malloc.c: remove checks for statistics.
13459
13460 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13461
13462         [BZ #15277]
13463         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13464         * inet/tst-network.c: Add testcase.
13465
13466 2013-10-17  Andreas Schwab  <schwab@suse.de>
13467
13468         [BZ #15218]
13469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13470         to determine canonical name.
13471
13472 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13473
13474         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13475         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13477         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13478         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13479         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13480         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13481         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13482         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13483         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13484         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13485         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13486         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13487         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13488         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13489         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13491         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13492         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13493         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13494         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13495         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13496         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13497         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13498         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13499         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13500         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13501         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13502         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13503         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13504         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13505         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13506         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13507         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13508         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13509         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13510         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13511         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13512         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13513         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13514         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13515         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13516         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13517         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13518         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13519         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13520         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13521         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13522         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13523         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13524         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13525         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13526         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13527         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13528         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13529         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13531         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13532
13533 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13534
13535         [BZ #16041]
13536         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13537         make result into a quiet NaN.
13538
13539 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13540
13541         * soft-fp/adddf3.c: Fix horizontal whitespace.
13542         * soft-fp/addsf3.c: Likewise.
13543         * soft-fp/addtf3.c: Likewise.
13544         * soft-fp/divdf3.c: Likewise.
13545         * soft-fp/divsf3.c: Likewise.
13546         * soft-fp/divtf3.c: Likewise.
13547         * soft-fp/double.h: Likewise.
13548         * soft-fp/eqdf2.c: Likewise.
13549         * soft-fp/eqsf2.c: Likewise.
13550         * soft-fp/eqtf2.c: Likewise.
13551         * soft-fp/extenddftf2.c: Likewise.
13552         * soft-fp/extended.h: Likewise.
13553         * soft-fp/extendsfdf2.c: Likewise.
13554         * soft-fp/extendsftf2.c: Likewise.
13555         * soft-fp/extendxftf2.c: Likewise.
13556         * soft-fp/fixdfdi.c: Likewise.
13557         * soft-fp/fixdfsi.c: Likewise.
13558         * soft-fp/fixdfti.c: Likewise.
13559         * soft-fp/fixsfdi.c: Likewise.
13560         * soft-fp/fixsfsi.c: Likewise.
13561         * soft-fp/fixsfti.c: Likewise.
13562         * soft-fp/fixtfdi.c: Likewise.
13563         * soft-fp/fixtfsi.c: Likewise.
13564         * soft-fp/fixtfti.c: Likewise.
13565         * soft-fp/fixunsdfdi.c: Likewise.
13566         * soft-fp/fixunsdfsi.c: Likewise.
13567         * soft-fp/fixunsdfti.c: Likewise.
13568         * soft-fp/fixunssfdi.c: Likewise.
13569         * soft-fp/fixunssfsi.c: Likewise.
13570         * soft-fp/fixunssfti.c: Likewise.
13571         * soft-fp/fixunstfdi.c: Likewise.
13572         * soft-fp/fixunstfsi.c: Likewise.
13573         * soft-fp/fixunstfti.c: Likewise.
13574         * soft-fp/floatdidf.c: Likewise.
13575         * soft-fp/floatdisf.c: Likewise.
13576         * soft-fp/floatditf.c: Likewise.
13577         * soft-fp/floatsidf.c: Likewise.
13578         * soft-fp/floatsisf.c: Likewise.
13579         * soft-fp/floatsitf.c: Likewise.
13580         * soft-fp/floattidf.c: Likewise.
13581         * soft-fp/floattisf.c: Likewise.
13582         * soft-fp/floattitf.c: Likewise.
13583         * soft-fp/floatundidf.c: Likewise.
13584         * soft-fp/floatundisf.c: Likewise.
13585         * soft-fp/floatunditf.c: Likewise.
13586         * soft-fp/floatunsidf.c: Likewise.
13587         * soft-fp/floatunsisf.c: Likewise.
13588         * soft-fp/floatunsitf.c: Likewise.
13589         * soft-fp/floatuntidf.c: Likewise.
13590         * soft-fp/floatuntisf.c: Likewise.
13591         * soft-fp/floatuntitf.c: Likewise.
13592         * soft-fp/fmadf4.c: Likewise.
13593         * soft-fp/fmasf4.c: Likewise.
13594         * soft-fp/fmatf4.c: Likewise.
13595         * soft-fp/gedf2.c: Likewise.
13596         * soft-fp/gesf2.c: Likewise.
13597         * soft-fp/getf2.c: Likewise.
13598         * soft-fp/ledf2.c: Likewise.
13599         * soft-fp/lesf2.c: Likewise.
13600         * soft-fp/letf2.c: Likewise.
13601         * soft-fp/muldf3.c: Likewise.
13602         * soft-fp/mulsf3.c: Likewise.
13603         * soft-fp/multf3.c: Likewise.
13604         * soft-fp/negdf2.c: Likewise.
13605         * soft-fp/negsf2.c: Likewise.
13606         * soft-fp/negtf2.c: Likewise.
13607         * soft-fp/op-1.h: Likewise.
13608         * soft-fp/op-2.h: Likewise.
13609         * soft-fp/op-4.h: Likewise.
13610         * soft-fp/op-8.h: Likewise.
13611         * soft-fp/op-common.h: Likewise.
13612         * soft-fp/quad.h: Likewise.
13613         * soft-fp/single.h: Likewise.
13614         * soft-fp/soft-fp.h: Likewise.
13615         * soft-fp/sqrtdf2.c: Likewise.
13616         * soft-fp/sqrtsf2.c: Likewise.
13617         * soft-fp/sqrttf2.c: Likewise.
13618         * soft-fp/subdf3.c: Likewise.
13619         * soft-fp/subsf3.c: Likewise.
13620         * soft-fp/subtf3.c: Likewise.
13621         * soft-fp/truncdfsf2.c: Likewise.
13622         * soft-fp/trunctfdf2.c: Likewise.
13623         * soft-fp/trunctfsf2.c: Likewise.
13624         * soft-fp/trunctfxf2.c: Likewise.
13625         * soft-fp/unorddf2.c: Likewise.
13626         * soft-fp/unordsf2.c: Likewise.
13627         * soft-fp/unordtf2.c: Likewise.
13628
13629 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13630
13631         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13632         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13633
13634 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13635
13636         * elf/dl-libc.c: Clear initfini list after freeing.
13637
13638 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13639
13640         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13641         * soft-fp/addsf3.c: Likewise.
13642         * soft-fp/addtf3.c: Likewise.
13643         * soft-fp/divdf3.c: Likewise.
13644         * soft-fp/divsf3.c: Likewise.
13645         * soft-fp/divtf3.c: Likewise.
13646         * soft-fp/double.h: Likewise.
13647         * soft-fp/eqdf2.c: Likewise.
13648         * soft-fp/eqsf2.c: Likewise.
13649         * soft-fp/eqtf2.c: Likewise.
13650         * soft-fp/extenddftf2.c: Likewise.
13651         * soft-fp/extended.h: Likewise.
13652         * soft-fp/extendsfdf2.c: Likewise.
13653         * soft-fp/extendsftf2.c: Likewise.
13654         * soft-fp/extendxftf2.c: Likewise.
13655         * soft-fp/fixdfdi.c: Likewise.
13656         * soft-fp/fixdfsi.c: Likewise.
13657         * soft-fp/fixdfti.c: Likewise.
13658         * soft-fp/fixsfdi.c: Likewise.
13659         * soft-fp/fixsfsi.c: Likewise.
13660         * soft-fp/fixsfti.c: Likewise.
13661         * soft-fp/fixtfdi.c: Likewise.
13662         * soft-fp/fixtfsi.c: Likewise.
13663         * soft-fp/fixtfti.c: Likewise.
13664         * soft-fp/fixunsdfdi.c: Likewise.
13665         * soft-fp/fixunsdfsi.c: Likewise.
13666         * soft-fp/fixunsdfti.c: Likewise.
13667         * soft-fp/fixunssfdi.c: Likewise.
13668         * soft-fp/fixunssfsi.c: Likewise.
13669         * soft-fp/fixunssfti.c: Likewise.
13670         * soft-fp/fixunstfdi.c: Likewise.
13671         * soft-fp/fixunstfsi.c: Likewise.
13672         * soft-fp/fixunstfti.c: Likewise.
13673         * soft-fp/floatdidf.c: Likewise.
13674         * soft-fp/floatdisf.c: Likewise.
13675         * soft-fp/floatditf.c: Likewise.
13676         * soft-fp/floatsidf.c: Likewise.
13677         * soft-fp/floatsisf.c: Likewise.
13678         * soft-fp/floatsitf.c: Likewise.
13679         * soft-fp/floattidf.c: Likewise.
13680         * soft-fp/floattisf.c: Likewise.
13681         * soft-fp/floattitf.c: Likewise.
13682         * soft-fp/floatundidf.c: Likewise.
13683         * soft-fp/floatundisf.c: Likewise.
13684         * soft-fp/floatunsidf.c: Likewise.
13685         * soft-fp/floatunsisf.c: Likewise.
13686         * soft-fp/floatuntidf.c: Likewise.
13687         * soft-fp/floatuntisf.c: Likewise.
13688         * soft-fp/floatuntitf.c: Likewise.
13689         * soft-fp/fmadf4.c: Likewise.
13690         * soft-fp/fmasf4.c: Likewise.
13691         * soft-fp/fmatf4.c: Likewise.
13692         * soft-fp/gedf2.c: Likewise.
13693         * soft-fp/gesf2.c: Likewise.
13694         * soft-fp/getf2.c: Likewise.
13695         * soft-fp/ledf2.c: Likewise.
13696         * soft-fp/lesf2.c: Likewise.
13697         * soft-fp/letf2.c: Likewise.
13698         * soft-fp/muldf3.c: Likewise.
13699         * soft-fp/mulsf3.c: Likewise.
13700         * soft-fp/multf3.c: Likewise.
13701         * soft-fp/negdf2.c: Likewise.
13702         * soft-fp/negsf2.c: Likewise.
13703         * soft-fp/negtf2.c: Likewise.
13704         * soft-fp/op-1.h: Likewise.
13705         * soft-fp/op-2.h: Likewise.
13706         * soft-fp/op-4.h: Likewise.
13707         * soft-fp/op-8.h: Likewise.
13708         * soft-fp/op-common.h: Likewise.
13709         * soft-fp/quad.h: Likewise.
13710         * soft-fp/single.h: Likewise.
13711         * soft-fp/soft-fp.h: Likewise.
13712         * soft-fp/sqrtdf2.c: Likewise.
13713         * soft-fp/sqrtsf2.c: Likewise.
13714         * soft-fp/sqrttf2.c: Likewise.
13715         * soft-fp/subdf3.c: Likewise.
13716         * soft-fp/subsf3.c: Likewise.
13717         * soft-fp/subtf3.c: Likewise.
13718         * soft-fp/truncdfsf2.c: Likewise.
13719         * soft-fp/trunctfdf2.c: Likewise.
13720         * soft-fp/trunctfsf2.c: Likewise.
13721         * soft-fp/trunctfxf2.c: Likewise.
13722         * soft-fp/unorddf2.c: Likewise.
13723         * soft-fp/unordsf2.c: Likewise.
13724         * soft-fp/unordtf2.c: Likewise.
13725
13726 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13727
13728         [BZ #15672]
13729         * misc/error.c (error_tail): Fix possible buffer overflow.
13730
13731 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13732
13733         [BZ #13028]
13734         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13735         address.
13736
13737 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13738
13739         [BZ #832]
13740         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13741         testing pipefail option.
13742
13743 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13744
13745         * soft-fp/double.h: Indent preprocessor directives inside #if.
13746         * soft-fp/extended.h: Likewise.
13747         * soft-fp/op-2.h: Likewise.
13748         * soft-fp/op-4.h: Likewise.
13749         * soft-fp/op-common.h: Likewise.
13750         * soft-fp/quad.h: Likewise.
13751         * soft-fp/single.h: Likewise.
13752         * soft-fp/soft-fp.h: Likewise.
13753
13754 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13755
13756         * iconv/iconv_prog.c: Fix typos.
13757         * stdio-common/psiginfo-data.h: Likewise.
13758
13759 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13760
13761         [BZ #15764]
13762         * locale/setlocale.c: Fix typo.
13763
13764 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13765
13766         [BZ #16036]
13767         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13768         signaling NaN arguments.
13769         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13770         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13771
13772         [BZ #14910]
13773         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13774         unordered operands.
13775         * soft-fp/gesf2.c (__gesf2): Likewise.
13776         * soft-fp/getf2.c (__getf2): Likewise.
13777         * soft-fp/ledf2.c (__ledf2): Likewise.
13778         * soft-fp/lesf2.c (__lesf2): Likewise.
13779         * soft-fp/letf2.c (__letf2): Likewise.
13780
13781         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13782         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13783         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13784         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13785         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13786         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13787         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13788         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13789         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13790         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13791         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13792         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13793         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13794         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13795         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13796         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13797         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13798         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13799         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13800         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13801         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13802         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13803         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13804         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13805         * soft-fp/floattidf.c (__floattidf): Likewise.
13806         * soft-fp/floattisf.c (__floattisf): Likewise.
13807         * soft-fp/floattitf.c (__floattitf): Likewise.
13808         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13809         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13810         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13811         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13812         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13813         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13814         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13815         * soft-fp/gesf2.c (__gesf2): Likewise.
13816         * soft-fp/getf2.c (__getf2): Likewise.
13817         * soft-fp/ledf2.c (__ledf2): Likewise.
13818         * soft-fp/lesf2.c (__lesf2): Likewise.
13819         * soft-fp/letf2.c (__letf2): Likewise.
13820
13821         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13822         Undefine and redefine.
13823         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13824         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13825         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13826         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13827         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13828         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13829         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13830         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13831         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13832         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13833         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13834         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13835         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13836         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13837         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13838
13839         [BZ #16032]
13840         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13841         without decrementing exponent if mantissa >= that for the
13842         denominator, not >.
13843         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13844         denominator, not >.  Decrement exponent in < case instead of
13845         incrementing in >= case.
13846         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13847         without decrementing exponent if mantissa >= that for the
13848         denominator, not >.
13849
13850         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13851         computing saturated result for unsigned overflow.
13852
13853 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13854             Jeff Law  <law@redhat.com>
13855
13856         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13857         (atan2Mp): Add systemtap probe marker.
13858         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13859         (__ieee754_log): Add systemtap probe marker.
13860         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13861         (atanMp): Add systemtap probe marker.
13862         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13863         (tanMp): Add systemtap probe marker.
13864         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13865         (__slowexp): Add systemtap probe marker.
13866         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13867         (__slowpow): Add systemtap probe marker.
13868         * manual/probes.texi: Document probes.
13869
13870 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13871
13872         [BZ #15362]
13873         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13874         written.
13875         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13876         written.
13877         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13878         written to buffer but not flushed.
13879         * libio/iofwrite_u.c:  Likewise.
13880         * libio/iopadn.c:  Return bytes returned even if EOF was
13881         encountered.
13882         * libio/iowpadn.c:  Likewise.
13883         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13884         if _IO_padn does not write the whole buffer.
13885         [!COMPILE_WPRINTF] (PAD): Likewise.
13886
13887 2013-10-10  David S. Miller  <davem@davemloft.net>
13888
13889         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13890         directory block.
13891
13892 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13893
13894         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13895         instead of FSF address.
13896         * soft-fp/fixdfti.c: Likewise.
13897         * soft-fp/fixsfti.c: Likewise.
13898         * soft-fp/fixtfti.c: Likewise.
13899         * soft-fp/fixunsdfti.c: Likewise.
13900         * soft-fp/fixunssfti.c: Likewise.
13901         * soft-fp/fixunstfti.c: Likewise.
13902         * soft-fp/floattidf.c: Likewise.
13903         * soft-fp/floattisf.c: Likewise.
13904         * soft-fp/floattitf.c: Likewise.
13905         * soft-fp/floatuntidf.c: Likewise.
13906         * soft-fp/floatuntisf.c: Likewise.
13907         * soft-fp/floatuntitf.c: Likewise.
13908         * soft-fp/trunctfxf2.c: Likewise.
13909
13910         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13911         * soft-fp/fixdfti.c: Likewise.
13912         * soft-fp/fixsfti.c: Likewise.
13913         * soft-fp/fixtfti.c: Likewise.
13914         * soft-fp/fixunsdfti.c: Likewise.
13915         * soft-fp/fixunssfti.c: Likewise.
13916         * soft-fp/fixunstfti.c: Likewise.
13917         * soft-fp/floattidf.c: Likewise.
13918         * soft-fp/floattisf.c: Likewise.
13919         * soft-fp/floattitf.c: Likewise.
13920         * soft-fp/floatuntidf.c: Likewise.
13921         * soft-fp/floatuntisf.c: Likewise.
13922         * soft-fp/floatuntitf.c: Likewise.
13923         * soft-fp/trunctfxf2.c: Likewise.
13924
13925 2013-10-10  David S. Miller  <davem@davemloft.net>
13926
13927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13928
13929 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13930
13931         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13932         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13933         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13934         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13935         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13936         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13937         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13938
13939         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13940         for NaNs before doing comparisons on argument.
13941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13942         Likewise.
13943
13944 2013-10-10  Will Newton  <will.newton@linaro.org>
13945
13946         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13947         passed to _int_memalign does not overflow.
13948
13949 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13950
13951         * scripts/bench.pl: Add include-sources directive.
13952         * benchtests/README: Update documentation.
13953
13954 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13955
13956         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13957         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13958         instead of FP_INIT_ROUNDMODE.
13959         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13960         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13961
13962         [BZ #16034]
13963         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13964         copy class of input value.
13965         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13966         not handle exceptions.
13967         * soft-fp/negsf2.c (__negsf2): Likewise.
13968         * soft-fp/negtf2.c (__negtf2): Likewise.
13969         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13970
13971 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13972
13973         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13974         semicolon.  From Linux kernel.
13975
13976 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13977
13978         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13979
13980 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13981
13982         [BZ #156]
13983         * manual/socket.texi: Added statement about buffer
13984         for gethostbyname2_r.
13985
13986 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13987
13988         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13989         Use .p2align directive instead, throughout.
13990         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13991         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13992         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13993         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13994         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13995         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13996         * sysdeps/x86_64/strchr.S: Likewise.
13997         * sysdeps/x86_64/strrchr.S: Likewise.
13998
13999 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14000
14001         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14002
14003         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14004
14005         * sysdeps/generic/math_private.h (__mpsin1): Remove
14006         declaration.
14007         (__mpcos1): Likewise.
14008         (__mpsin): New argument __range_reduce.
14009         (__mpcos): Likewise.
14010         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14011         (slow): Use __mpsin and __mpcos.
14012         (slow1): Likewise.
14013         (slow2): Likewise.
14014         (sloww): Likewise.
14015         (sloww1): Likewise.
14016         (sloww2): Likewise.
14017         (bsloww): Likewise.
14018         (bsloww1): Likewise.
14019         (bsloww2): Likewise.
14020         (cslow2): Likewise.
14021         (csloww): Likewise.
14022         (csloww1): Likewise.
14023         (csloww2): Likewise.
14024         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14025         range_reduce.  Merge in __mpsin1.
14026         (__mpcos): Likewise.
14027         (__mpsin1): Remove.
14028         (__mpcos1): Likewise.
14029
14030 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14031
14032         * locale/loadlocale.c (_nl_intern_locale_data): Use
14033         LOCFILE_ALIGNED_P.
14034         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14035         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14036         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14037         obstack data is appropriately aligned.
14038         (obstack_int32_grow_fast): Likewise.
14039         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14040         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14041         (add_locale_uint32_array): Likewise.
14042
14043 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14044
14045         * benchtests/Makefile: Remove ARGLIST and RET variables.
14046         ($(objpfx)bench-%.c): Pass only function name to the script.
14047         * benchtests/README: Update documentation.
14048         * benchtests/acos-inputs: Add new directives.
14049         * benchtests/acosh-inputs: Likewise.
14050         * benchtests/asin-inputs: Likewise.
14051         * benchtests/asinh-inputs: Likewise.
14052         * benchtests/atan-inputs: Likewise.
14053         * benchtests/atanh-inputs: Likewise.
14054         * benchtests/cos-inputs: Likewise.
14055         * benchtests/cosh-inputs: Likewise.
14056         * benchtests/exp-inputs: Likewise.
14057         * benchtests/log-inputs: Likewise.
14058         * benchtests/pow-inputs: Likewise.
14059         * benchtests/rint-inputs: Likewise.
14060         * benchtests/sin-inputs: Likewise.
14061         * benchtests/sinh-inputs: Likewise.
14062         * benchtests/tan-inputs: Likewise.
14063         * benchtests/tanh-inputs: Likewise.
14064         * scripts/bench.pl: Add support for new directives.
14065
14066 2013-10-07  Alan Modra  <amodra@gmail.com>
14067
14068         * README: Fix careless merge.
14069
14070 2013-10-05  Alan Modra  <amodra@gmail.com>
14071
14072         * NEWS: Mention powerpc64le support and bugs fixed.
14073         * README: Both big-endian and little-endian powerpc64 supported.
14074
14075 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14076
14077         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14078         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14079         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14080         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14081
14082 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14083
14084         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14085         match prototype.
14086
14087 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14088
14089         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14090         Move -mhard-float appending from
14091         ports/sysdeps/powerpc/powerpc32/Makefile.
14092         [$(with-fp) = yes] (ASFLAGS): Likewise.
14093         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14094         * sysdeps/powerpc/nofpu: Move directory from
14095         ports/sysdeps/powerpc/nofpu.
14096         * sysdeps/powerpc/soft-fp: Move directory from
14097         ports/sysdeps/powerpc/soft-fp.
14098         * sysdeps/powerpc/powerpc32/405: Move directory from
14099         ports/sysdeps/powerpc/powerpc32/405.
14100         * sysdeps/powerpc/powerpc32/440: Move directory from
14101         ports/sysdeps/powerpc/powerpc32/440.
14102         * sysdeps/powerpc/powerpc32/464: Move directory from
14103         ports/sysdeps/powerpc/powerpc32/464.
14104         * sysdeps/powerpc/powerpc32/476: Move directory from
14105         ports/sysdeps/powerpc/powerpc32/476.
14106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14107         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14109         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14111         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14113         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14115         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14116         * README: Update for powerpc-*-linux-gnu software floating point
14117         support in libc.
14118
14119         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14120         case to powerpc/powerpc32*.
14121         * sysdeps/unix/sysv/linux/configure: Regenerated.
14122
14123         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14124         (_FPU_MASK_OM): Define as 0x04.
14125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14127         0x00c10080.
14128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14129         0x0000003c.
14130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14131
14132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14133         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14134         getcontext_e500.
14135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14137         setcontext_e500.
14138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14139         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14140         and setcontext_e500.
14141
14142 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14143
14144         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14145
14146 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14147
14148         * manual/threads.texi (Default Thread Attributes): Fix typo.
14149
14150 2013-10-04  Will Newton  <will.newton@linaro.org>
14151
14152         * malloc/Makefile: Add tst-memalign.
14153         * malloc/tst-memalign.c: New file.
14154
14155         * malloc/tst-posix_memalign.c: Add comments.
14156         (do_test): Add comments and call free on all potentially
14157         allocated pointers. Add space after cast.
14158
14159         * malloc/tst-pvalloc.c: Add comments.
14160         (do_test): Add comments and call free on all potentially
14161         allocated pointers. Remove duplicate check for NULL pointer.
14162         Add space after cast.
14163
14164         * malloc/tst-valloc.c: Add comments.
14165         (do_test): Add comments and call free on all potentially
14166         allocated pointers. Remove duplicate check for NULL pointer.
14167         Add space after cast.
14168
14169 2013-10-04  Alan Modra  <amodra@gmail.com>
14170
14171         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14172         Use stdint types in rather than __attribute__((mode())).
14173         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14174
14175 2013-10-04  Alan Modra  <amodra@gmail.com>
14176
14177         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14178         Correct handling of unaligned relocs for little-endian.
14179         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14180
14181 2013-10-04  Alan Modra  <amodra@gmail.com>
14182
14183         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14184         * configure: Regenerate.
14185         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14186         * shlib-versions: Likewise.
14187
14188 2013-10-04  Alan Modra  <amodra@gmail.com>
14189
14190         * string/tester.c (test_memrchr): Increment reported test cycle.
14191
14192 2013-10-04  Alan Modra  <amodra@gmail.com>
14193
14194         * string/test-memcpy.c (do_one_test): When reporting errors, print
14195         string address and don't overrun end of string.
14196
14197 2013-10-04  Alan Modra  <amodra@gmail.com>
14198
14199         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14200         insrdi.  Make better use of reg selection to speed exit slightly.
14201         Schedule entry path a little better.  Remove useless "are we done"
14202         checks on entry to main loop.  Handle wrapping around zero address.
14203         Correct main loop count.  Handle single left-over word from main
14204         loop inline rather than by using loop_small.  Remove extra word
14205         case in loop_small caused by wrong loop count.  Add little-endian
14206         support.
14207         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14208         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14209         cache hint.
14210         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14211         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14212         support.  Avoid rlwimi.
14213         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14214
14215 2013-10-04  Alan Modra  <amodra@gmail.com>
14216
14217         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14218         insrdi.  Formatting.
14219         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14220         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14221         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14222         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14223         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14224         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14225
14226 2013-10-04  Alan Modra  <amodra@gmail.com>
14227
14228         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14229         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14230         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14231         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14232         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14233         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14234         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14235         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14236         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14237         use of regs.  Use power7 mtocrf.  Tidy function tails.
14238
14239 2013-10-04  Alan Modra  <amodra@gmail.com>
14240
14241         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14242         Formatting.  Consistently use rXXX register defines or rN defines.
14243         Use early exit labels that avoid restoring unused non-volatile regs.
14244         Make cr field use more consistent with rWORDn compares.  Rename
14245         regs used as shift registers for unaligned loop, using rN defines
14246         for short lifetime/multiple use regs.
14247         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14248         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14249         addi 1,1,64 to pop stack frame.  Simplify return value code.
14250         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14251
14252 2013-10-04  Alan Modra  <amodra@gmail.com>
14253
14254         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14255         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14256         rather than rlwimi.
14257         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14258         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14259         little-endian support.  Correct typos.
14260         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14261         rather than rlwimi.
14262         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14263         in loop and entry code to keep "and." results.
14264         (strchr): Add little-endian support.  Comment.  Move cntlzd
14265         earlier in tail.
14266         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14267
14268 2013-10-04  Alan Modra  <amodra@gmail.com>
14269
14270         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14271         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14272         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14273         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14274
14275 2013-10-04  Alan Modra  <amodra@gmail.com>
14276
14277         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14278         (rTMP): Define as r11.
14279         (strcmp): Add little-endian support.  Optimise tail.
14280         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14281         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14282         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14283         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14284         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14287
14288 2013-10-04  Alan Modra  <amodra@gmail.com>
14289
14290         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14291         little-endian support.  Remove unnecessary "are we done" tests.
14292         Handle "s" wrapping around zero and extremely large "size".
14293         Correct main loop count.  Handle single left-over word from main
14294         loop inline rather than by using small_loop.  Correct comments.
14295         Delete "zero" tail, use "end_max" instead.
14296         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14297
14298 2013-10-04  Alan Modra  <amodra@gmail.com>
14299
14300         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14301         support.  Don't branch over align.
14302         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14303         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14304         support.  Rearrange tmp reg use to suit.  Comment.
14305         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14306
14307 2013-10-04  Alan Modra  <amodra@gmail.com>
14308
14309         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14310
14311 2013-10-04  Alan Modra  <amodra@gmail.com>
14312
14313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14314         conditional form of branch and link when obtaining pc.
14315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14316
14317 2013-10-04  Alan Modra  <amodra@gmail.com>
14318
14319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14320         HIWORD/LOWORD.
14321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14323
14324 2013-10-04  Alan Modra  <amodra@gmail.com>
14325
14326         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14327         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14328         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14329         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14330         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14331         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14332         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14333         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14334         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14335         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14336
14337 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14338             Alistair Popple <alistair@ozlabs.au.ibm.com>
14339             Alan Modra <amodra@gmail.com>
14340
14341         [BZ #15723]
14342         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14343         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14344         _dl_hwcap access for little-endian.
14345         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14346         destroy vmx regs when saving unaligned.
14347         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14348         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14349         destroy vmx regs when saving unaligned.
14350
14351 2013-10-04  Alan Modra  <amodra@gmail.com>
14352
14353         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14354         Don't use a union to pack hi/low value.
14355
14356 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14357
14358         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14359         for little-endian.
14360         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14361         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14362         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14363         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14364         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14365
14366 2013-10-04  Alan Modra  <amodra@gmail.com>
14367
14368         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14369         constants to usual value for .cst8 section, and remove redundant
14370         high address load.
14371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14372         constant for 0x1p52.  Load little-endian words of double from
14373         correct stack offsets.
14374
14375 2013-10-04  Alan Modra  <amodra@gmail.com>
14376
14377         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14378         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14379         words of double from correct stack offsets.
14380         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14381         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14382         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14383         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14384         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14385         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14386         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14387         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14388         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14389         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14390         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14391         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14392         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14393         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14394         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14395         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14396         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14397
14398 2013-10-04  Alan Modra  <amodra@gmail.com>
14399
14400         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14401         64-bit int/double union.
14402         (_FPU_SETCW): Likewise.
14403         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14404         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14405
14406 2013-10-04  Alan Modra  <amodra@gmail.com>
14407
14408         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14409         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14410
14411 2013-10-04  Alan Modra  <amodra@gmail.com>
14412
14413         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14414         use vector int constants.
14415         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14416
14417 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14418
14419         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14420         array with long long.
14421         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14422         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14423         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14424         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14425         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14426         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14427         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14428         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14429         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14430         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14431         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14432         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14433         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14434
14435 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14436
14437         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14438         (__signbit): Likewise.  Correct for little-endian.
14439         (__signbitl): Call __signbit.
14440         (lrint): Correct for little-endian.
14441         (lrintf): Call lrint.
14442
14443 2013-10-04  Alan Modra  <amodra@gmail.com>
14444
14445         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14446         union 32-bit int array member with 64-bit int array.
14447         (t515, tm256): Double rather than long double.
14448         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14449
14450 2013-10-04  Alan Modra  <amodra@gmail.com>
14451
14452         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14453         Delete.
14454         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14455         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14456         version of math_ldbl.h.
14457
14458 2013-10-04  Alan Modra  <amodra@gmail.com>
14459
14460         [BZ #15734], [BZ #15735]
14461         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14462         all uses of ieee875 long double macros and unions.  Simplify test
14463         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14464         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14465         normalize after ldbl_extract_mantissa, and don't add hidden bit
14466         already handled.  Don't treat low word of ieee854 mantissa like
14467         low word of IBM long double and mask off bit when testing for
14468         zero.
14469         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14470         all uses of ieee875 long double macros and unions.  Simplify tests
14471         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14472         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14473         two1022, instead use their values.  Recognise that tests for large
14474         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14475         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14476         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14477         test for 0.0L and nan.  Correct negation.
14478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14479         ieee875 long double macros and unions.  Correct output for large
14480         magnitude x.  Correct absolute value calculation.
14481         (__erfcl): Likewise.
14482         * math/libm-test.inc: Add tests for errors discovered in IBM long
14483         double versions of fmodl, remainderl, erfl and erfcl.
14484
14485 2013-10-04  Alan Modra  <amodra@gmail.com>
14486
14487         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14488         all uses of ieee854 long double macros and unions.  Simplify tests
14489         for long doubles that are fully specified by the high double.
14490         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14491         Likewise.
14492         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14493         Remove dead code too.
14494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14495         (__ieee754_ynl): Likewise.
14496         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14497         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14499         Remove dead code too.
14500         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14501         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14502         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14503         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14504         Simplify.
14505         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14506         Simplify.
14507         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14508         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14509         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14510         Comment on variable precision.
14511         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14512         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14513         Likewise.
14514         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14515         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14516         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14517         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14518         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14519
14520 2013-10-04  Alan Modra  <amodra@gmail.com>
14521
14522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14523         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14524         all uses of ieee854 long double macros and unions.
14525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14527         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14528         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14529         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14530         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14531         Likewise.
14532         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14533         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14534         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14535         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14536         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14537         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14538         Simplify sign and nan test too.
14539         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14540         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14541         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14542         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14543         Likewise.
14544         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14545         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14546         Likewise.
14547         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14548         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14549         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14550         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14551         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14553
14554 2013-10-04  Alan Modra  <amodra@gmail.com>
14555
14556         * stdio-common/printf_size.c (__printf_size): Don't use
14557         union ieee854_long_double in fpnum union.
14558         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14559         signbit macro to retrieve sign from long double.
14560         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14561         retrieve sign from long double.
14562         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14563         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14564         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14565         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14566         * math/test-misc.c (main): Don't use union ieee854_long_double.
14567
14568 2013-10-04  Alan Modra  <amodra@gmail.com>
14569
14570         [BZ #15680]
14571         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14572         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14573         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14574         calculation.  Remove unnecessary test for denormal exponent.
14575         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14576         Correct handling of denormals.  Avoid undefined shift behaviour.
14577         Correct normalisation of low mantissa when low double is denormal.
14578         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14579         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14580         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14581         Correct normalisation of low mantissa.  Test for overflow of high
14582         mantissa and normalise.
14583         (ldbl_nearbyint): Use more readable constant for two52.
14584         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14585         (__mpn_construct_long_double): Fix test for overflow of high
14586         mantissa and correct normalisation.  Avoid undefined shift.
14587
14588 2013-10-04  Alan Modra  <amodra@gmail.com>
14589
14590         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14591         (union ibm_extended_long_double): Define as an array of ieee754_double.
14592         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14593         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14594         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14595         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14597         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14598         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14599         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14601         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14602         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14603
14604 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14605
14606         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14607         page size instead of calling getpagesize.
14608
14609         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14610         (LOCFILE_ALIGN_MASK): Likewise.
14611         (LOCFILE_ALIGN_UP): Likewise.
14612         (LOCFILE_ALIGNED_P): Likewise.
14613         * locale/programs/ld-collate.c (collate_output): Use the new
14614         macros instead of __alignof__ (int32_t).
14615         * locale/weight.h (findidx): Likewise.
14616
14617 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14618
14619         [BZ #431]
14620         * manual/string.texi: Fix strncat and wcsncat.
14621
14622 2013-10-03  Brooks Moses  <bmoses@google.com>
14623
14624         [BZ #15915]
14625         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14626         * Makerules: ...here, and adjust associated comments.
14627
14628 2013-10-02  Will Newton  <will.newton@linaro.org>
14629
14630         * malloc/Makefile: Add tst-pvalloc.
14631         * malloc/tst-pvalloc.c: New file.
14632
14633 2013-10-02  Will Newton  <will.newton@linaro.org>
14634
14635         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14636         improve test coverage.
14637
14638 2013-10-02  Will Newton  <will.newton@linaro.org>
14639
14640         * malloc/Makefile: Add tst-posix_memalign.
14641         * malloc/tst-posix_memalign.c: New file.
14642
14643 2013-10-01  Eric Blake  <eblake@redhat.com>
14644
14645         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14646         Use __THROWNL rather than __THROW on static functions.
14647
14648 2013-09-30  Petr Machata  <pmachata@redhat.com>
14649
14650         * elf/elf.h (R_AARCH64_ABS16): New macro.
14651         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14652         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14653         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14654         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14655         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14656         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14657         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14658         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14659         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14660         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14661         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14662         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14663         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14664         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14665         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14666         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14667         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14668         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14669         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14670         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14671         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14672         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14673         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14674         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14675         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14676         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14677         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14678         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14679         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14680         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14681         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14682         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14683         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14684         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14685         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14686         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14687         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14688         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14689         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14690         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14691         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14692         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14693         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14694         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14695         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14696         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14697         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14698         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14699         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14700         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14701         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14702         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14703         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14704         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14705         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14706         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14707         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14708         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14709         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14710         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14711         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14712         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14713         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14714         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14715         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14716         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14717         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14718         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14719         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14720         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14721         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14722         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14723         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14724         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14725         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14726         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14727         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14728         (R_AARCH64_TLSDESC_LDR): Likewise.
14729         (R_AARCH64_TLSDESC_ADD): Likewise.
14730         (R_AARCH64_TLSDESC_CALL): Likewise.
14731
14732 2013-09-30  Andreas Schwab  <schwab@suse.de>
14733
14734         [BZ #15048]
14735         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14736         the nss database lookup.
14737         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14739
14740 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14741
14742         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14743
14744 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14745
14746         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14747         ${Bash-specific parameter/pattern/string} parameter expansion.
14748         * sysdeps/unix/make-syscalls.sh: Likewise.
14749
14750 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14751
14752         * sysdeps/sh/stackguard-macros.h: New file.
14753
14754 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14755
14756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14758         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14759         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14760         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14761         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14762
14763 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14764
14765         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14766         Fix thread ID register.
14767
14768 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14769
14770         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14771         [POSIX || UNIX98]: Require rather than permitting all symbols from
14772         <time.h>.
14773         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14774         element of struct sched_param.
14775         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14776         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14777         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14778         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14779         constant.
14780
14781 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14782
14783         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14784         argument calculation.
14785
14786 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14787
14788         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14789         Expect macro.
14790         [POSIX] (pthread_attr_t): Do not require type.
14791         [POSIX] (pthread_cond_t): Likewise.
14792         [POSIX] (pthread_condattr_t): Likewise.
14793         [POSIX] (pthread_key_t): Likewise.
14794         [POSIX] (pthread_mutex_t): Likewise.
14795         [POSIX] (pthread_mutexattr_t): Likewise.
14796         [POSIX] (pthread_once_t): Likewise.
14797         [POSIX] (pthread_t): Likewise.
14798         [POSIX-based standards] (pthread_atfork): Expect function.
14799
14800 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14801             Richard Sandiford  <richard@codesourcery.com>
14802
14803         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14804         (swap_endianness_p): New extern variable.
14805         (set_big_endian): New inline function.
14806         (maybe_swap_uint32): Likewise.
14807         (maybe_swap_uint32_array): Likewise.
14808         (maybe_swap_uint32_obstack): Likewise.
14809         * locale/programs/locfile.c: Include <stdbool.h>.
14810         (swap_endianness_p): New variable.
14811         (add_locale_uint32): Call maybe_swap_uint32.
14812         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14813         (write_locale_data): Call maybe_swap_uint32_array.
14814         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14815         maybe_swap_uint32.
14816         (obstack_int32_grow_fast): Likewise.
14817         (output_weightwc): Call maybe_swap_uint32_obstack.
14818         (collate_output): Likewise.
14819         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14820         (OPT_LITTLE_ENDIAN): Likewise.
14821         (options): Add --little-endian and --big-endian options.
14822         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14823         * locale/programs/locarchive.c: Include "locfile.h".
14824         (GET): New macro.
14825         (SET): Likewise.
14826         (INC): Likewise.
14827         (create_archive): Use the new macros to access fields of
14828         structures directly mapped from or written to locale archives.
14829         (oldlocrecentcmp): Likewise.
14830         (enlarge_archive): Likewise.
14831         (insert_name): Likewise.
14832         (add_alias): Likewise.
14833         (add_locale): Likewise.
14834         (delete_locales_from_archive): Likewise.
14835         (show_archive_content): Likewise.
14836         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14837         locale data.
14838
14839 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14840
14841         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14842         http://www.gnu.org/doc/freemanuals.texi.
14843         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14844
14845 2013-09-24  Will Newton  <will.newton@linaro.org>
14846
14847         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14848         macro.
14849
14850 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14851
14852         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14853         unsigned char.
14854
14855 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14856
14857         * manual/threads.texi (POSIX Threads): Fix a typo.
14858
14859 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14860
14861         [BZ #14547]
14862         * string/tst-strcoll-overflow.c: New test case.
14863         * string/Makefile (xtests): Add tst-strcoll-overflow.
14864         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14865         cache if string sizes may cause integer overflow.
14866
14867         [BZ #14547]
14868         * string/strcoll_l.c (coll_seq): New members rule, idx,
14869         save_idx and back_us.
14870         (get_next_seq_nocache): New function.
14871         (do_compare_nocache): New function.
14872         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14873         when malloc fails.
14874
14875 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14876
14877         [BZ #15754]
14878         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14879         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14880         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14881
14882         [BZ #15754]
14883         * elf/Makefile (tests): Add tst-ptrguard1.
14884         (tests-static): Add tst-ptrguard1-static.
14885         (tst-ptrguard1-ARGS): Define.
14886         (tst-ptrguard1-static-ARGS): Define.
14887         * elf/tst-ptrguard1.c: New file.
14888         * elf/tst-ptrguard1-static.c: New file.
14889         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14890         * sysdeps/i386/stackguard-macros.h: Likewise.
14891         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14892         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14893         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14894         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14895         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14896         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14897
14898 2013-09-23  Hector Marco  <hecmargi@upv.es>
14899             Ismael Ripoll  <iripoll@disca.upv.es>
14900             Carlos O'Donell  <carlos@redhat.com>
14901
14902         [BZ #15754]
14903         * sysdeps/generic/stackguard-macros.h: Define
14904         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14905         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14906         Define __pointer_chk_guard_local.
14907         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14908         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14909
14910 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14911
14912         [BZ #15859]
14913         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14914
14915 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14916
14917         * include/string.h (__ffs): Declare as hidden.
14918         * string/ffs.c (__ffs): Define as hidden.
14919         * sysdeps/i386/ffs.c (__ffs): Likewise.
14920         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14921         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14922         * sysdeps/s390/ffs.c (__ffs): Likewise.
14923         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14924
14925 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14926
14927         * NEWS: Mention malloc probes.
14928
14929         * malloc/arena.c (new_heap): New memory_heap_new probe.
14930         (grow_heap): New memory_heap_more probe.
14931         (shrink_heap): New memory_heap_less probe.
14932         (heap_trim): New memory_heap_free probe.
14933         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14934         (systrim): New memory_sbrk_less probe.
14935         * manual/probes.texi: Document them.
14936
14937         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14938         * manual/probes.texi: Document it.
14939
14940         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14941         (__libc_realloc): Add memory_realloc_retry probe.
14942         (__libc_memalign): Add memory_memalign_retry probe.
14943         (__libc_valloc): Add memory_valloc_retry probe.
14944         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14945         (__libc_calloc): Add memory_calloc_retry probe.
14946         * manual/probes.texi: Document them.
14947
14948         * malloc/arena.c (get_free_list): Add probe
14949         memory_arena_reuse_free_list.
14950         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14951         and memory_arena_reuse.
14952         (arena_get2) [!PER_THREAD]: Likewise.
14953         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14954         memory_arena_reuse_realloc.
14955         * manual/probes.texi: Document them.
14956
14957         * malloc/malloc.c (__libc_free): Add
14958         memory_mallopt_free_dyn_thresholds probe.
14959         (__libc_mallopt): Add multiple memory_mallopt probes.
14960         * manual/probes.texi: Document them.
14961
14962         * malloc/malloc.c: Include stap-probe.h.
14963         (__libc_mallopt): Add memory_mallopt probe.
14964         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14965         * manual/probes.texi: New.
14966         * manual/Makefile (chapters): Add probes.
14967         * manual/threads.texi: Set next node.
14968
14969 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14970
14971         [BZ #15963, #13985]
14972         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14973         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14974         Add `Chinese' to `nan' entry name.
14975
14976 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14977
14978         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14979         (POLYNOMIAL): Likewise.
14980         (TAYLOR_SINCOS): Likewise.
14981         (TAYLOR_SLOW): Likewise.
14982         (__sin): Use TAYLOR_SINCOS.
14983         (__cos): Likewise.
14984         (slow): Use TAYLOR_SLOW.
14985         (sloww): Likewise.
14986         (bsloww): Likewise.
14987         (csloww): Likewise.
14988
14989 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14990
14991         * stdlib/strtod_l.c: Fix buffer overrun.
14992
14993 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14994
14995         * benchtests/Makefile (bench): Add sincos.
14996         * benchtests/bench-sincos.c: New file.
14997
14998         * math/libm-test.inc (cos_test_data): New test inputs.
14999         (sin_test_data): Likewise.
15000
15001         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15002         macro.
15003         (__sin): Use it.
15004         (__cos): Likewise.
15005         (slow1): Likewise.
15006         (slow2): Likewise.
15007         (sloww1): Likewise.
15008         (sloww2): Likewise.
15009         (bsloww1): Likewise.
15010         (bsloww2): Likewise.
15011         (cslow2): Likewise.
15012         (csloww1): Likewise.
15013         (csloww2): Likewise.
15014
15015         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15016         function.
15017         (__sin): Use it.
15018         (__cos): Likewise.
15019
15020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15021         gotos.
15022         (__cos): Likewise.
15023
15024 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15025
15026         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15027         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15028         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15029         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15030         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15031         * elf/cache.c (print_entry): Handle the new cache flags.
15032
15033 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15034             Aldy Hernandez  <aldyh@redhat.com>
15035
15036         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15037         Change condition to [_SOFT_FLOAT].
15038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15050         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15053         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15054         declaration.
15055
15056 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15057
15058         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15059         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15060         (__longjmp): Use LOAD_GP to load saved GPRs.
15061         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15062         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15063         (__sigsetjmp): Use SAVE_GP to save GPRs.
15064
15065         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15066         Do not append -msoft-float.
15067         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15068
15069 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15070
15071         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15072
15073 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15074
15075         [BZ #15966]
15076         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15077         (_FPU_GETCW): Use initial "__" on variable and field names but not
15078         on macro parameter name.
15079         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15080         parentheses around reference to macro parameter.
15081
15082 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15083
15084         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15085         prototype.
15086         (ctype_startup): Use uint32_t in cast and sizeof for
15087         ctype->charnames.
15088
15089 2013-09-11  Jia Liu  <proljc@gmail.com>
15090
15091         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15092         __daddr_t_defined.
15093         [__FreeBSD__]: Likewise.
15094
15095 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15096
15097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15098         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15099         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15100         (strchr): Remove __strchr_sse42 ifunc selection.
15101         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15102         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15103
15104 2013-09-11  Will Newton  <will.newton@linaro.org>
15105
15106         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15107         parameter to RES. Remove hardcoded 1000 value.
15108         * benchtests/bench-skeleton.c (main): Pass RES parameter
15109         to TIMING_INIT and multiply result by 1000.
15110
15111 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15112
15113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15114
15115 2013-09-11  Andreas Schwab  <schwab@suse.de>
15116
15117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15118         if not defined.
15119         (O_TMPFILE) [__USE_GNU]: Define.
15120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15121         Define.
15122
15123 2013-09-11  Will Newton  <will.newton@linaro.org>
15124
15125         [BZ #15857]
15126         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15127         does not overflow.
15128
15129 2013-09-11  Will Newton  <will.newton@linaro.org>
15130
15131         [BZ #15856]
15132         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15133         does not overflow.
15134
15135 2013-09-11  Will Newton  <will.newton@linaro.org>
15136
15137         [BZ #15855]
15138         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15139         does not overflow.
15140
15141 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15142
15143         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15144         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15145         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15146         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15147         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15148
15149 2013-09-10  Allan McRae  <allan@archlinux.org>
15150
15151         [BZ #15748]
15152         * manual/arith.texi (Parsing of Floats): Clarify
15153         cross-reference.
15154
15155         [BZ #15849]
15156         * manual/install.texi (Running make install): Mention
15157         --enable-pt-chown.
15158         * INSTALL: Regenerated.
15159
15160 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15161
15162         * csu/init-first.c (_init): Remove the !SHARED condition around
15163         FPU control word initialization.
15164         * elf/dl-support.c (_dl_fpu_control): New variable.
15165         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15166         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15167         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15168         * math/test-fpucw-static.c: New file.
15169         * math/test-fpucw-ieee.c: New file.
15170         * math/test-fpucw-ieee-static.c: New file.
15171         * math/Makefile (tests): Add `test-fpucw-ieee' and
15172         `$(tests-static)'.
15173         (tests-static): New variable.
15174         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15175         dependency to...
15176         [($(build-shared),yes)]
15177         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15178         ... this.
15179         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15180         New dependency.
15181
15182 2013-09-09  Allan McRae  <allan@archlinux.org>
15183
15184         [BZ #15939]
15185         * manual/string.texi (Collation Functions): Fix typo in
15186         strcoll example.
15187         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15188
15189         [BZ #15893]
15190         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15191
15192         [BZ #15892]
15193         * libio/memstream.c (open_memstream): Fix memory leak.
15194         * libio/wmemstream.c (open_wmemstream): Likewise.
15195
15196         [BZ #15895]
15197         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15198
15199 2013-09-09  Will Newton  <will.newton@linaro.org>
15200
15201         * malloc/Makefile: Add tst-realloc to tests.
15202         * malloc/tst-realloc.c: New file.
15203
15204 2013-09-09  Allan McRae  <allan@archlinux.org>
15205
15206         [BZ #15844]
15207         * COPYING: Update from GNU website to fix FSF address.
15208         * COPYING.LIB: Likewise.
15209
15210 2013-09-06  David S. Miller  <davem@davemloft.net>
15211
15212         * po/zh_TW.po: Update Chinese (traditional) translation from
15213         translation project.
15214
15215 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15216             Joseph Myers  <joseph@codesourcery.com>
15217
15218         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15219         "localeinfo.h".
15220         (obstack_chunk_alloc): New macro.
15221         (obstack_chunk_free): Likewise.
15222         (record_offset): New function.
15223         (init_locale_data): Likewise.
15224         (align_locale_data): Likewise.
15225         (add_locale_empty): Likewise.
15226         (add_locale_raw_data): Likewise.
15227         (add_locale_raw_obstack): Likewise.
15228         (add_locale_string): Likewise.
15229         (add_locale_wstring): Likewise.
15230         (add_locale_uint32): Likewise.
15231         (add_locale_uint32_array): Likewise.
15232         (add_locale_char): Likewise.
15233         (start_locale_structure): Likewise.
15234         (end_locale_structure): Likewise.
15235         (start_locale_prelude): Likewise.
15236         (end_locale_prelude): Likewise.
15237         (write_locale_data): Take locale_file structure rather than an
15238         iovec.
15239         * locale/programs/locfile.h: Include "obstack.h".
15240         (struct locale_file): Change to store locale file contents instead
15241         of header.
15242         (init_locale_data): New prototype.
15243         (align_locale_data): Likewise.
15244         (add_locale_empty): Likewise.
15245         (add_locale_raw_data): Likewise.
15246         (add_locale_raw_obstack): Likewise.
15247         (add_locale_string): Likewise.
15248         (add_locale_wstring): Likewise.
15249         (add_locale_uint32): Likewise.
15250         (add_locale_uint32_array): Likewise.
15251         (add_locale_char): Likewise.
15252         (start_locale_structure): Likewise.
15253         (end_locale_structure): Likewise.
15254         (start_locale_prelude): Likewise.
15255         (end_locale_prelude): Likewise.
15256         (write_locale_data): Update prototype.
15257         * locale/programs/3level.h (struct TABLE): Remove result field.
15258         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15259         Use new locale_file interface.
15260         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15261         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15262         * locale/programs/ld-address.c (address_output): Use new
15263         locale_file interface.
15264         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15265         NO_ADD_LOCALE.
15266         (collate_finish): Don't call collseq_table_finalize.
15267         (collate_output): Use new locale_file interface.
15268         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15269         in file.
15270         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15271         (TABLE): Move defines earlier in file.
15272         (ELEMENT): Likewise.
15273         (DEFAULT): Likewise.
15274         (wctrans_table_add): Move macro and inline function earlier in
15275         file.
15276         (struct wctype_table): Move type earlier in file.
15277         (add_locale_wctype_table): New static prototype.
15278         (struct locale_ctype_t): Use logical types instead of struct iovec
15279         pointers for members.
15280         (ctype_output): Use new locale_file interface.
15281         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15282         new locale_file interface.
15283         (allocate_arrays): Update for use of new locale_file interface.
15284         * locale/programs/ld-identification.c (identification_output): Use
15285         new locale_file interface.
15286         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15287         * locale/programs/ld-messages.c (messages_output): Likewise.
15288         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15289         * locale/programs/ld-name.c (name_output): Likewise.
15290         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15291         * locale/programs/ld-paper.c (paper_output): Likewise.
15292         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15293         * locale/programs/ld-time.c (time_output): Likewise.
15294
15295 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15296
15297         * benchtests/Makefile: Add memrchr benchmark.
15298         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15299         benchmark as memrchr.
15300         * benchtests/bench-memrchr-ifunc.c: New file.
15301         * benchtests/bench-memrchr.c: New file.
15302
15303 2013-09-06   Will Newton  <will.newton@linaro.org>
15304
15305         * benchtests/Makefile (string-bench): Add memcpy.
15306
15307 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15308             Cong Wang  <amwang@redhat.com>
15309
15310         [BZ #15850]
15311         * sysdeps/unix/sysv/linux/bits/in.h
15312         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15313         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15314         before __USE_KERNEL_IPV6_DEFS uses.
15315         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15316         IPPROTO_BEETPH.
15317         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15318         sockaddr_in6, or ipv6_mreq.
15319
15320 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15321
15322         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15323         memory access for final bytes in some large inputs.
15324         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15325
15326 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15327
15328         * string/test-memrchr.c: New file.
15329         * string/test-memrchr-ifunc.c: New file.
15330         * string/Makefile: Add new memrchr testcase.
15331
15332 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15333
15334         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15335         fanotify_init returns EPERM.
15336
15337 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15338
15339         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15340         errors.
15341         (top level): Treat second token from macro or constant entries for
15342         allowed headers as allowed.
15343         * include/complex.h: Condition internal declarations on
15344         [!_ISOMAC].
15345         * include/fenv.h: Condition include of <stdbool.h> and internal
15346         declarations on [!_ISOMAC].
15347
15348 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15349
15350         [BZ #15923]
15351         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15352
15353 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15354
15355         * configure.in (--enable-versioning): Remove configure option.
15356         (libc_cv_asm_symver_directive): Remove configure test.
15357         (libc_cv_ld_version_script_option): Likewise.
15358         (VERSIONING): Remove variable and AC_SUBST.
15359         (DO_VERSIONING): Remove AC_DEFINE.
15360         * configure: Regenerated.
15361         * config.h.in (DO_VERSIONING): Remove macro.
15362         * Makerules [$(versioning) = yes]: Change conditionals to
15363         [$(build-shared) = yes].
15364         * config.make.in (versioning): Remove variable.
15365         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15366         [$(build-shared) = yes].
15367         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15368         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15369         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15370         [$(build-shared) = yes].
15371         * extra-lib.mk [$(versioning) = yes]: Likewise.
15372         * hurd/Makefile [$(versioning) = yes]: Likewise.
15373         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15374         [SHARED].
15375         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15376         [SHARED].
15377         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15378         [SHARED && !NO_HIDDEN].
15379         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15380         [SHARED].
15381         [SHARED && DO_VERSIONING]: Likewise..
15382         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15383         [$(build-shared) = yes].
15384         * manual/install.texi (--disable-versioning): Remove
15385         documentation.
15386         * INSTALL: Regenerated.
15387         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15388         to [SHARED].
15389         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15390         [$(build-shared) = yes].
15391         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15392         * sysdeps/i386/i686/multiarch/strstr-c.c
15393         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15394         [SHARED && !NO_HIDDEN].
15395         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15396         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15397         * sysdeps/powerpc/powerpc32/dl-machine.c
15398         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15399         * sysdeps/powerpc/powerpc32/sysdep.h
15400         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15401         to [SHARED && PIC && !NO_HIDDEN].
15402         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15403         conditional to [SHARED].
15404
15405 2013-09-04   Will Newton  <will.newton@linaro.org>
15406
15407         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15408         * benchtests/bench-string.h: Include bench-timing.h instead
15409         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15410         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15411         call to HP_TIMING_DIFF_INIT.
15412         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15413         instead of hp-timing.h macros.
15414         * benchtests/bench-memchr.c: Likewise.
15415         * benchtests/bench-memcmp.c: Likewise.
15416         * benchtests/bench-memcpy.c: Likewise.
15417         * benchtests/bench-memmem.c: Likewise.
15418         * benchtests/bench-memmove.c: Likewise.
15419         * benchtests/bench-memset.c: Likewise.
15420         * benchtests/bench-rawmemchr.c: Likewise.
15421         * benchtests/bench-strcasecmp.c: Likewise.
15422         * benchtests/bench-strcasestr.c: Likewise.
15423         * benchtests/bench-strcat.c: Likewise.
15424         * benchtests/bench-strchr.c: Likewise.
15425         * benchtests/bench-strcmp.c: Likewise.
15426         * benchtests/bench-strcpy.c: Likewise.
15427         * benchtests/bench-strcpy_chk.c: Likewise.
15428         * benchtests/bench-strlen.c: Likewise.
15429         * benchtests/bench-strncasecmp.c: Likewise.
15430         * benchtests/bench-strncat.c: Likewise.
15431         * benchtests/bench-strncmp.c: Likewise.
15432         * benchtests/bench-strncpy.c: Likewise.
15433         * benchtests/bench-strnlen.c: Likewise.
15434         * benchtests/bench-strpbrk.c: Likewise.
15435         * benchtests/bench-strrchr.c: Likewise.
15436         * benchtests/bench-strspn.c: Likewise.
15437         * benchtests/bench-strstr.c: Likewise.
15438
15439 2013-09-04  Will Newton  <will.newton@linaro.org>
15440
15441         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15442
15443 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15444
15445         [BZ #15427]
15446         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15447         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15448         * math/libm-test.inc (lgamma_test_data): Add more tests.
15449         * sysdeps/i386/fpu/libm-test-ulps: Update.
15450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15451
15452 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15453
15454         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15456         Add ifunc.
15457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15458         Add strcmp-sse2-unaligned
15459         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15460
15461 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15462
15463         * Versions.def (libc): Add GLIBC_2.19.
15464
15465 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15466
15467         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15468         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15469
15470 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15471
15472         [BZ #14155]
15473         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15474         intermediate calculations in recurrence.
15475         (__ieee754_ynf): Likewise.
15476         * math/libm-test.inc (jn_test_data): Do not allow spurious
15477         underflow exception.  Add more tests.
15478         (yn_test_data): Add more tests.
15479         * sysdeps/i386/fpu/libm-test-ulps: Update.
15480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15481
15482 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15483
15484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15485
15486 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15487
15488         * csu/init-first.c: Fix then/than typos.
15489         * locale/programs/ld-collate.c: Likewise.
15490         * locale/programs/linereader.h: Likewise.
15491         * manual/charset.texi: Likewise.
15492         * manual/filesys.texi: Likewise.
15493         * manual/stdio.texi: Likewise.
15494         * manual/string.texi: Likewise.
15495         * stdlib/fmtmsg.c: Likewise.
15496         * sysdeps/i386/stpncpy.S: Likewise.
15497         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15498         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15499         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15500         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15501
15502 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15503
15504         * elf/dl-open.c: Fix typos.
15505         * iconvdata/gbbig5.c: Likewise.
15506         * iconvdata/iso-2022-jp.c: Likewise.
15507         * iconv/gconv_int.h: Likewise.
15508         * iconv/loop.c: Likewise.
15509         * nis/rpcsvc/nis.h: Likewise.
15510         * resolv/ns_name.c: Likewise.
15511         * stdio-common/vfscanf.c: Likewise.
15512         * streams/stropts.h: Likewise.
15513         * sunrpc/rpc_thread.c: Likewise.
15514         * sysdeps/i386/strpbrk.S: Likewise.
15515         * sysdeps/ieee754/k_standard.c: Likewise.
15516         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15518         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15519         * sysdeps/mach/hurd/profil.c: Likewise.
15520         * sysdeps/s390/dl-procinfo.h: Likewise.
15521         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15522         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15523         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15524         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15525         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15526
15527 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15528
15529         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15531
15532 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15533
15534         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15535         aix specific files.
15536         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15537         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15538         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15539         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15540         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15541         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15542         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15543         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15544
15545 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15546             Roland McGrath  <roland@hack.frob.com>
15547
15548         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15549         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15550
15551 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15552
15553         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15554         __executable_start symbol instead of _start.
15555
15556 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15557
15558         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15559         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15560         Move macros to...
15561         * sysdeps/gnu/ldsodefs.h: ... this new file.
15562
15563         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15564         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15565         instead of ELFOSABI_LINUX.
15566
15567         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15568         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15569         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15570         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15571         Likewise.
15572         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15573         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15574         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15575         Likewise.
15576         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15577         (ibm_extended_long_double): Add ieee_nan member.
15578         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15579         (do_test): New function.
15580
15581         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15582         TEST_TRUNC.
15583         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15584         functions, renamed from truncdfsf_test, trunctfsf_test,
15585         trunctfdf_test.
15586         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15587         functions.
15588         (do_test): Run all these.
15589
15590 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15591
15592         * argp/argp-help.c: Fix typos.
15593         * argp/argp-parse.c: Likewise.
15594         * debug/backtracesyms.c: Likewise.
15595         * elf/elf.h: Likewise.
15596         * malloc/malloc.c: Likewise.
15597         * nis/nis_print.c: Likewise.
15598         * resolv/res_comp.c: Likewise.
15599         * stdlib/stdlib.h: Likewise.
15600         * sunrpc/clnt_tcp.c: Likewise.
15601         * sunrpc/clnt_udp.c: Likewise.
15602         * sunrpc/clnt_unix.c: Likewise.
15603         * sysdeps/unix/bsd/ptsname.c: Likewise.
15604         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15605         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15607         Likewise.
15608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15609         Likewise.
15610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15611         Likewise.
15612         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15613
15614 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15615
15616         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15618
15619 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15620
15621         [BZ #15897]
15622         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15623         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15624         ($(objpfx)bug-dl-leaf): New rule.
15625         ($(objpfx)bug-dl-leaf.so): Likewise.
15626         ($(objpfx)bug-dl-leaf.out): Likewise.
15627         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15628         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15629         * dlfcn/bug-dl-leaf.c: New test.
15630         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15631         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15632         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15633         (dlclose): Likewise.
15634         (dlmopen): Likewise.
15635
15636 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15637
15638         * include/netdb.h [!_ISOMAC]:
15639         Don't include <tls.h>.
15640         (h_errno, __libc_h_errno): Move declaration and macros out of
15641         [_LIBC_REENTRANT].
15642
15643         * include/resolv.h [_RESOLV_H_]:
15644         Don't include <tls.h>.
15645         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15646         * resolv/res_libc.c: Don't include <tls.h>.
15647         (_res): Use __attribute__ ((nocommon)) in place of
15648         __attribute__ ((section (".bss"))).
15649
15650         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15651         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15652
15653         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15654
15655         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15656         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15657
15658         * resolv/res_mkquery.c: Include <sys/time.h>.
15659
15660         * inet/ifreq.c: Moved to ...
15661         * sysdeps/unix/ifreq.c: ... here.
15662         * inet/ifreq.c: New file, true stub version.
15663
15664         * socket/sa_len.c: New file.
15665         * socket/Makefile (aux): Add it.
15666         * sysdeps/unix/sysv/linux/Makefile
15667         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15668         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15669         and #include <socket/sa_len.c>.
15670         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15671         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15672
15673         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15674         * bits/socket.h: ... here.
15675
15676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15677         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15678         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15679
15680 2013-08-27  Andreas Schwab  <schwab@suse.de>
15681
15682         [BZ #15736]
15683         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15684         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15685         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15686         * string/test-strcasecmp.c (test_main): Run tests in several
15687         locales.
15688         * string/test-strncasecmp.c (test_main): Likewise.
15689
15690         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15691         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15692         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15694         (__strncasecmp_ssse3) [PIC]: Likewise.
15695
15696 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15697
15698         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15699
15700         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15701         instead of explicitly declaring xdecrypt.
15702         * nis/nss_nis/nis-publickey.c: Likewise.
15703
15704 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15705
15706         [BZ #15890]
15707         * nscd/aicache.c: Include res_hconf.h.
15708         (addhstaiX): Initialize res_hconf.
15709
15710 2013-08-26  Andreas Schwab  <schwab@suse.de>
15711
15712         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15713         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15714
15715 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15716
15717         * nscd/aicache.c (addhstaiX): Fix indentation.
15718
15719 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15720
15721         * configure.ac: Quote $build_pt_chown test.
15722         * configure: Regenerated.
15723
15724 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15725
15726         [BZ #15532]
15727         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15728         * math/s_cexpf.c (__cexpf): Likewise.
15729         * math/s_cexpl.c (__cexpl): Likewise.
15730         * math/libm-test.inc (cexp_test_data): Correct expected return
15731         value for NaN + i0.  Add another test.
15732
15733 2013-08-22  David S. Miller  <davem@davemloft.net>
15734
15735         * po/ca.po: Update Catalan translation from translation project.
15736         * po/uk.po: Add Ukrainian translations from translation project.
15737
15738 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15739
15740         [BZ #15797]
15741         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15742         is infinite, not alongside NaN test.
15743         * math/s_fdimf.c (__fdimf): Likewise.
15744         * math/s_fdiml.c (__fdiml): Likewise.
15745         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15746         errno is unchanged.
15747
15748 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15749
15750         * argp/argp-help.c: Fix typos.
15751         * crypt/speeds.c: Likewise.
15752         * csu/check_fds.c: Likewise.
15753         * elf/dl-load.c: Likewise.
15754         * elf/dl-open.c: Likewise.
15755         * elf/reldep3.c: Likewise.
15756         * elf/reldep.c: Likewise.
15757         * elf/sprof.c: Likewise.
15758         * iconv/iconv_charmap.c: Likewise.
15759         * iconv/skeleton.c: Likewise.
15760         * iconv/strtab.c: Likewise.
15761         * io/lockf64.c: Likewise.
15762         * libio/libioP.h: Likewise.
15763         * resolv/gai_notify.c: Likewise.
15764         * resolv/ns_name.c: Likewise.
15765         * resolv/ns_samedomain.c: Likewise.
15766         * resolv/res_send.c: Likewise.
15767         * stdlib/random.c: Likewise.
15768         * sunrpc/rpc/xdr.h: Likewise.
15769         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15770         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15771         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15772         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15773         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15774         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15776         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15777         * sysdeps/mach/hurd/check_fds.c: Likewise.
15778         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15779         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15781         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15782         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15783         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15784         * sysdeps/pthread/aio_notify.c: Likewise.
15785         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15786         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15787         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15788         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15789         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15790
15791 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15792
15793         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15794         version if bit_Slow_SSE4_2 is set.
15795         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15796         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15797
15798 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15799
15800         [BZ #15867]
15801         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15802         trampoline stack frame information.
15803         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15804         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15805         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15806         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15807         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15808         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15809         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15810         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15811         sa_flags value.
15812         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15813         interrupting a syscall and set with option SA_SIGINFO.
15814
15815 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15816
15817         [BZ #15531]
15818         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15819         argument is infinite.
15820         * math/s_cprojf.c (__cprojf): Likewise.
15821         * math/s_cprojl.c (__cprojl): Likewise.
15822         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15823         * math/libm-test.inc (cproj_test_data): Add more tests.
15824
15825         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15826
15827         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15828         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15829         size.  Use __ffs to determine corresponding shift.
15830
15831 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15832             Roland McGrath  <roland@hack.frob.com>
15833
15834         * Makefile (INSTALL): Remove trailing blank lines from output of
15835         makeinfo.
15836
15837 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15838
15839         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15840         Align 32 bit compat elf_greg to 8 bytes.
15841
15842 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15843
15844         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15845
15846 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15847
15848         * string/strcoll_l.c (coll_seq): New structure.
15849         (get_next_seq_cached): New function.
15850         (get_next_seq): New function.
15851         (do_compare): New function.
15852         (STRCOLL): Use GNU style definition.  Simplify implementation
15853         by using get_next_seq, get_next_seq_cached and do_compare.
15854
15855 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15856
15857         [BZ #14699]
15858         CVE-2013-4237
15859         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15860         member.
15861         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15862         member.
15863         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15864         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15865         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15866         conditional.
15867         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15868         GETDENTS_64BIT_ALIGNED.
15869         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15870         * manual/filesys.texi (Reading/Closing Directory): Document
15871         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15872         strongly.
15873         * manual/conf.texi (Limits for Files): Add portability note to
15874         NAME_MAX, PATH_MAX.
15875         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15876
15877 2013-08-13  Andreas Schwab  <schwab@suse.de>
15878
15879         [BZ #15749]
15880         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15881         of fabs.
15882         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15883         LDBL_MAX_EXP >= 16384]: Add tests for it.
15884
15885 2013-08-12  David S. Miller  <davem@davemloft.net>
15886
15887         * version.h (RELEASE): Set to "development".
15888         (VERSION): Set to "2.18.90".
15889         * NEWS: Add 2.19 section.
15890
15891 2013-08-03  David S. Miller  <davem@davemloft.net>
15892
15893         * po/ko.po: Update Korean translation from translation project.
15894
15895 2013-08-01  David S. Miller  <davem@davemloft.net>
15896
15897         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15898         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15899         Bilka.
15900
15901 2013-07-30  David S. Miller  <davem@davemloft.net>
15902
15903         * po/fr.po: Update French translation from translation project.
15904
15905 2013-07-28  David S. Miller  <davem@davemloft.net>
15906
15907         * po/cs.po: Update Czech translation from translation project.
15908
15909         * po/sv.po: Update Swedish translation from translation project.
15910
15911 2013-07-27  David S. Miller  <davem@davemloft.net>
15912
15913         * po/eo.po: Update Esperanto translation from translation project.
15914
15915         * po/vi.po: Update Vietnamese translation from translation project.
15916
15917         * po/de.po: Update German translation from translation project.
15918
15919 2013-07-26  David S. Miller  <davem@davemloft.net>
15920
15921         * po/bg.po: Update Bulgarian translation from translation project.
15922
15923         * po/nl.po: Update Dutch translation from translation project.
15924         * po/pl.po: Update Polish translation from translation project.
15925         * po/ru.po: Update Russian translation from translation project.
15926
15927 2013-07-24  David S. Miller  <davem@davemloft.net>
15928
15929         * po/libc.pot: Update.
15930
15931 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15932
15933         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15934         variable page size.
15935         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15936         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15937         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15938
15939 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15940
15941         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15942
15943 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15944             Andreas Schwab  <schwab@suse.de>
15945             Roland McGrath  <roland@hack.frob.com>
15946             Joseph Myers  <joseph@codesourcery.com>
15947             Carlos O'Donell  <carlos@redhat.com>
15948
15949         [BZ #15755]
15950         * config.h.in: Define HAVE_PT_CHOWN.
15951         * config.make.in (build-pt-chown): New variable.
15952         * configure.in (--enable-pt_chown): New configure option.
15953         * configure: Regenerate.
15954         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15955         build-pt-chown is enabled.
15956         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15957         pt_chown to fix pty ownership.
15958         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15959         CLOSE_ALL_FDS.
15960         * manual/install.texi (Configuring and compiling): Mention
15961         --enable-pt_chown. Add @findex for grantpt.
15962         * INSTALL: Regenerate.
15963
15964 2013-07-20  David S. Miller  <davem@davemloft.net>
15965
15966         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15967         difference between 32-bit and 64-bit.
15968
15969 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15970
15971         [BZ #15711]
15972         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15973         Avoid system header dependency with -ffreestanding.
15974         ($(objpfx)bits/syscall%d): Likewise.
15975
15976 2013-07-13  David S. Miller  <davem@davemloft.net>
15977
15978         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15979         underflows from atanl/atan2l due to bug 15319.
15980         (casinh_test_data): Likewise.
15981
15982 2013-07-07  David S. Miller  <davem@davemloft.net>
15983
15984         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15985
15986 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15987
15988         * sysdeps/i386/fpu/libm-test-ulps: Update.
15989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15990
15991 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15992
15993         * configure.in (--enable-lock-elision): Fix message text.
15994         * INSTALL: Regenerate.
15995         * configure: Regenerate.
15996
15997 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15998
15999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16000
16001 2013-07-03  Andreas Jaeger  <aj@suse.de>
16002
16003         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16004         define.
16005         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16006         (ptrace_peeksiginfo_args): Add.
16007         (__ptrace_peeksiginfo_flags): Add.
16008         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16010         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16011
16012 2013-07-03  Allan McRae  <allan@archlinux.org>
16013
16014         * sysdeps/i386/fpu/libm-test-ulps: Update.
16015
16016 2013-07-02  David S. Miller  <davem@davemloft.net>
16017
16018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16019
16020 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16021
16022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16023
16024 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16025
16026         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16028
16029 2013-07-02  Andi Kleen <ak@linux.intel.com>
16030
16031         * config.h.in (ENABLE_LOCK_ELISION): Add.
16032         * configure.in (--enable-lock-elision): Add option.
16033         * manual/install.texi: Document --enable lock elision.
16034         * configure: Regenerate
16035         * INSTALL: Regenerate.
16036
16037 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16038
16039         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16040         SSE4.2 strcasecmp for libc.a.
16041         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16042
16043 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16044
16045         [BZ #13304]
16046         * soft-fp/op-common.h (_FP_FMA): New macro.
16047         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16048         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16049         (_FP_MUL_MEAT_1_imm): ... here.
16050         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16051         (_FP_MUL_MEAT_1_wide): ... here.
16052         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16053         (_FP_MUL_MEAT_1_hard): ... here.
16054         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16055         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16056         (_FP_MUL_MEAT_2_wide): ... here.
16057         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16058         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16059         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16060         (_FP_MUL_MEAT_2_gmp): ... here.
16061         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16062         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16063         (_FP_MUL_MEAT_4_wide): ... here.
16064         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16065         (_FP_MUL_MEAT_4_gmp): ... here.
16066         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16067         (_FP_WFRACBITS_DW_S): Likewise.
16068         (_FP_WFRACXBITS_DW_S): Likewise.
16069         (_FP_HIGHBIT_DW_S): Likewise.
16070         (FP_FMA_S): Likewise.
16071         (_FP_FRAC_HIGH_DW_S): Likewise.
16072         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16073         (_FP_WFRACBITS_DW_D): Likewise.
16074         (_FP_WFRACXBITS_DW_D): Likewise.
16075         (_FP_HIGHBIT_DW_D): Likewise.
16076         (FP_FMA_D): Likewise.
16077         (_FP_FRAC_HIGH_DW_D): Likewise.
16078         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16079         (_FP_WFRACBITS_DW_E): Likewise.
16080         (_FP_WFRACXBITS_DW_E): Likewise.
16081         (_FP_HIGHBIT_DW_E): Likewise.
16082         (FP_FMA_E): Likewise.
16083         (_FP_FRAC_HIGH_DW_E): Likewise.
16084         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16085         (_FP_WFRACBITS_DW_Q): Likewise.
16086         (_FP_WFRACXBITS_DW_Q): Likewise.
16087         (_FP_HIGHBIT_DW_Q): Likewise.
16088         (FP_FMA_Q): Likewise.
16089         (_FP_FRAC_HIGH_DW_Q): Likewise.
16090         * soft-fp/fmasf4.c: New file.
16091         * soft-fp/fmadf4.c: Likewise.
16092         * soft-fp/fmatf4.c: Likewise.
16093
16094 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16095
16096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16097         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16098         Silvermont.
16099         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16100         macro.
16101         (index_Slow_SSE4_2): Likewise.
16102         (index_Prefer_PMINUB_for_stringop): Likewise.
16103         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16104         bit_Slow_SSE4_2 is set.
16105         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16106         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16107
16108 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16109
16110         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16111         rtld_global._dl_hwcap2.
16112         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16113         POWER8.
16114         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16115         POWER8 feature descriptions defined in _dl_hwcap2.
16116         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16117         string handling for POWER8 feature bits.
16118         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16119         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16120         _dl_powerpc_cap_flags.
16121         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16122         * sysdeps/powerpc/rtld-global-offsets.sym
16123         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16124         _dl_hwcap2 in the rtld_global_ro structure.
16125
16126 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16127
16128         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16129         hardware capabilities in support of AT_HWCAP2.
16130         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16131         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16132         GLRO(dl_hwcap2).
16133         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16134         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16135         explicitly the unknown a_type display mechanism is used.
16136         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16137         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16138         struct member.
16139         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16140         to macro prototype for AT_HWCAP2 support.
16141         * sysdeps/i386/dl-procinfo.h: Likewise.
16142         * sysdeps/s390/dl-procinfo.h: Likewise.
16143         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16144         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16145         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16146         return -1 for unknown a_type display fallback.
16147         * sysdeps/sparc/dl-procinfo.h: Likewise.
16148         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16149         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16150
16151 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16152
16153         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16154         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16155
16156 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16157
16158         [BZ #12492]
16159         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16160         mprotect making __stack_prot writable.
16161
16162 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16163             Joseph Myers  <joseph@codesourcery.com>
16164
16165         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16166         as being properly aligned.
16167
16168 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16169
16170         * dlfcn/modstatic5.c: New file.
16171         * dlfcn/tststatic5.c: New file.
16172         * dlfcn/Makefile (tests): Add tststatic5.
16173         (tests-static): Likewise.
16174         (modules-names): Add modstatic5.
16175         (tststatic5-ENV): New variable.
16176         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16177
16178         [BZ #15022]
16179         * elf/dl-support.c (_dl_main_map): New variable.
16180         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16181         (_dl_nns, _dl_load_adds): Set to 1.
16182         (_dl_initial_searchlist): Refer to _dl_main_map.
16183         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16184         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16185         call to _dl_get_origin.
16186         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16187         around call_map.
16188         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16189         * dlfcn/modstatic3.c: New file.
16190         * dlfcn/tststatic3.c: New file.
16191         * dlfcn/tststatic4.c: New file.
16192         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16193         (tests-static): Likewise.
16194         (modules-names): Add modstatic3.
16195         (tststatic3-ENV, tststatic4-ENV): New variables.
16196         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16197         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16198
16199 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16200
16201         * configure.in (CC): Require GCC version 4.4 or later.
16202         * configure: Regenerated.
16203         * manual/install.texi (Tools for Compilation): Update GCC version
16204         requirement.
16205         * INSTALL: Regenerated.
16206
16207 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16208
16209         [BZ #15674]
16210         * string/test-memcmp.c (check2): New.
16211         (main): Call check2.
16212
16213         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16214
16215 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16216
16217         [BZ #15022]
16218         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16219         over to...
16220         (dl_open_worker) [!SHARED]: ... here.
16221
16222 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16223
16224         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16225
16226 2013-06-25  Richard Henderson  <rth@redhat.com>
16227
16228         * locale/programs/locarchive.c: Include <libc-internal.h>
16229
16230 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16231
16232         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16233         trailing whitespace removed.
16234
16235 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16236
16237         [BZ #10283]
16238         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16239         * locale/programs/locarchive.c: Include libc-mmap.h.
16240         (prepare_address_space): Take two new outputs (the mmap base and len).
16241         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16242         values.
16243         (create_archive): Declare new mmap base and len values for
16244         prepare_address_space, and store the result in ah.
16245         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16246         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16247         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16248         Declare new mmap base and len values for
16249         prepare_address_space, and store the result in new_ah.
16250         (open_archive): Declare new mmap base and len values for
16251         prepare_address_space, and store the result in ah.
16252         (close_archive): If ah->mmap_base is not NULL, use that and
16253         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16254         * sysdeps/generic/libc-mmap.h: New file.
16255
16256 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16257
16258         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16259         (ALIGN_UP): Likewise.
16260         (PTR_ALIGN_DOWN): Likewise.
16261         (PTR_ALIGN_UP): Likewise.
16262
16263 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16264
16265         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16266         entry mapped to PPC_PLATFORM_POWER8.
16267         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16268         POWER8.
16269         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16270         (_dl_string_platform): Add case for exporting platform position for
16271         POWER8.
16272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16273         search path to sysdeps/powerpc/powerpc32/power8 directory.
16274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16275         search path to sysdeps/powerpc/powerpc64/power8 directory.
16276         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16277         power7 directories.
16278         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16279         power7 directories.
16280
16281 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16282
16283         * INSTALL: Regenerate.
16284
16285         * nscd/connections.c (nscd_init): Fix comment.
16286
16287 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16288
16289         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16290
16291         [BZ #15667]
16292         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16293         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16294
16295 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16296
16297         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16298         DL_DST_REQ_STATIC.
16299         (DL_DST_REQ_STATIC): Remove macro.
16300
16301 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16302
16303         [BZ #7006]
16304         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16305         with a shift of 0 bits.
16306
16307 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16308
16309         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16310         $(tststatic-ENV).
16311
16312 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16313
16314         [BZ #15655]
16315         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16316
16317 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16318
16319         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16320         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16321         accepts -fno-tree-loop-distribute-patterns.
16322         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16323         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16324         recursive call.
16325         * string/memset.c (memset): Likewise.
16326         * string/test-memmove.c (simple_memmove): Disable loop transformation
16327         to library calls.
16328         * string/test-memset.c (simple_memset): Likewise.
16329         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16330         * benchtests/bench-memset.c (simple_memset): Likewise.
16331         * configure: Regenerated.
16332
16333 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16334
16335         * math/test-misc.c (main): Ignore fesetround failure when failures
16336         of subsequent rounding tests would be ignored.
16337
16338         [BZ #15654]
16339         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16340         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16341         * math/fegetenv.c (__fegetenv): Return 0.
16342         * math/fegetexcept.c (fegetexcept): Return 0.
16343         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16344         FE_TONEAREST.
16345         * math/feholdexcpt.c (feholdexcept): Return 0.
16346         * math/fesetenv.c (__fesetenv): Return 0.
16347         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16348         argument FE_TONEAREST.
16349         * math/feupdateenv.c (__feupdateenv): Return 0.
16350         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16351
16352 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16353
16354         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16355         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16356         ($(objpfx)rtld-%.os rules): Use them.
16357
16358 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16359
16360         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16361         fields.
16362
16363 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16364
16365         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16366         length of target pattern, then descending length of dependency pattern.
16367         * configure.in (AWK): Require gawk 3.1.2 or newer.
16368         * manual/install.texi (Tools for Compilation): Say that we do.
16369         * configure: Regenerated.
16370
16371         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16372         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16373         * scripts/sysd-rules.awk: ... this new script.
16374         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16375         than a glob-style pattern.
16376
16377 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16378
16379         * math/test-misc.c (main): Do not treat incorrectly rounded
16380         conversions as failure unless ROUNDING_TESTS passes.
16381
16382 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16383
16384         [BZ #15631]
16385         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16386         restore exception state around main square root computation, then
16387         check for inexactness explicitly.
16388
16389         * math/libm-test.inc (fma_test_data): Add another test.
16390
16391 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16392
16393         * manual/threads.texi (Non-POSIX Extensions): New document
16394         node.  Document pthread_getattr_default_np and
16395         pthread_setattr_default_np.
16396
16397         * Versions.def (libpthread): Add GLIBC_2.18.
16398         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16400         Likewise.
16401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16402         Likewise.
16403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16404         Likewise.
16405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16406         Likewise.
16407         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16408         Likewise.
16409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16410         Likewise.
16411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16412         Likewise.
16413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16414         Likewise.
16415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16416         Likewise.
16417
16418 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16419
16420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16421         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16422
16423 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16424             H.J. Lu  <hjl.tools@gmail.com>
16425
16426         [BZ #15627]
16427         * sysdeps/x86_64/rtld-memset.c: Remove file.
16428         * sysdeps/x86_64/rtld-memset.S: New file.
16429
16430 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16431
16432         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16433         (test_in_one_mode): Take arguments for whether the rounding mode
16434         is supported for each floating-point type.
16435         (do_test): Pass new arguments to test_in_one_mode using
16436         ROUNDING_TESTS.
16437
16438 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16439
16440         * posix/tst-waitid.c (do_test): Distinguish different instances of
16441         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16442         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16443         before entering the kernel for waitpid.
16444
16445 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16446
16447         * NEWS: Fix note on clock function precision.  Text by Roland
16448         McGrath.
16449
16450 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16451
16452         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16453         it into place only when and if the sanity check passes.
16454
16455 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16456
16457         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16458         output for whether conversion result is exact.  Take argument
16459         indicating whether type is IBM long double.
16460         (round_for_all): Change need_exact field to ibm_ld.
16461         * stdlib/tst-strtod-round.c (struct exactness): New type.
16462         (struct test): Change bool ld_ok field to struct exactness exact.
16463         (TEST): Update all definitions for change to field.
16464         (tests): Regenerate array contents.
16465         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16466         field value.  Check for IBM long double here.
16467         (do_test): Update calls to test_in_one_mode.
16468
16469 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16470
16471         [BZ #12515]
16472         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16473         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16474
16475 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16476
16477         [BZ #15605]
16478         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16479         generated by the compiler on loop optimizations.
16480         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16481         general definitions.
16482
16483 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16484
16485         * math/bug-nextafter.c: Include <math-tests.h>.
16486         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16487         the relevant type.
16488         * math/bug-nexttoward.c: Include <math-tests.h>.
16489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16490         the relevant type.
16491         * math/test-misc.c: Include <math-tests.h>.
16492         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16493         the relevant type.
16494
16495 2013-06-12  Andreas Jaeger  <aj@suse.de>
16496
16497         * po/ia.po: Update Interlingua translation from translation
16498         project.
16499
16500 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16501
16502         * include/fenv.h: Include stdbool.h.
16503         (struct rm_ctx): New structure.
16504         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16505         Define macro.
16506         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16507         (SET_RESTORE_ROUNDF): Likewise.
16508         (SET_RESTORE_ROUNDL): Likewise.
16509         (SET_RESTORE_ROUND_NOEX): Likewise.
16510         (SET_RESTORE_ROUND_NOEXF): Likewise.
16511         (SET_RESTORE_ROUND_NOEXL): Likewise.
16512         (SET_RESTORE_ROUND_53BIT): Likewise.
16513         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16514         (libc_feresetround_noexf_ctx): Likewise.
16515         (libc_feresetround_noexl_ctx): Likewise.
16516         (libc_feholdsetround_53bit_ctx): Likewise.
16517         (libc_feresetround_53bit_ctx): Likewise.
16518         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16519         (libc_feholdexcept_setround_sse_ctx): New function.
16520         (libc_fesetenv_sse_ctx): Likewise.
16521         (libc_feupdateenv_sse_ctx): Likewise.
16522         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16523         (libc_feholdexcept_setround_387_ctx): Likewise.
16524         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16525         (libc_feholdsetround_387_prec_ctx): Likewise.
16526         (libc_feholdsetround_387_ctx): Likewise.
16527         (libc_feholdsetround_387_53bit_ctx): Likewise.
16528         (libc_feholdsetround_sse_ctx): Likewise.
16529         (libc_feresetround_sse_ctx): Likewise.
16530         (libc_feresetround_387_ctx): Likewise.
16531         (libc_feupdateenv_387_ctx): Likewise.
16532         (libc_feholdexcept_setroundf_ctx): Define macro.
16533         (libc_fesetenvf_ctx): Likewise.
16534         (libc_feupdateenvf_ctx): Likewise.
16535         (libc_feholdsetroundf_ctx): Likewise.
16536         (libc_feresetroundf_ctx): Likewise.
16537         (libc_feholdexcept_setround_ctx): Likewise.
16538         (libc_fesetenv_ctx): Likewise.
16539         (libc_feupdateenv_ctx): Likewise.
16540         (libc_feholdsetround_ctx): Likewise.
16541         (libc_feresetround_ctx): Likewise.
16542         (libc_feholdexcept_setroundl_ctx): Likewise.
16543         (libc_feupdateenvl_ctx): Likewise.
16544         (libc_feholdsetroundl_ctx): Likewise.
16545         (libc_feresetroundl_ctx): Likewise.
16546         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16547         (libc_feresetround_53bit_ctx): Likewise.
16548
16549 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16550
16551         * locale/iso-639.def: Convert to UTF-8.
16552
16553 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16554
16555         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16556         (EXCEPTION_TESTS_double): Likewise.
16557         (EXCEPTION_TESTS_long_double): Likewise.
16558         (EXCEPTION_TESTS): Likewise.
16559         * math/libm-test.inc (test_exceptions): Only test exceptions if
16560         EXCEPTION_TESTS (FLOAT).
16561
16562 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16563
16564         * benchtests/Makefile (string-bench): Add strcpy_chk and
16565         stpcpy_chk.
16566         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16567         * benchtests/bench-stpcpy_chk.c: New file.
16568         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16569         * benchtests/bench-strcpy_chk.c: New file.
16570         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16571         code.
16572         (do_test): Likewise.
16573
16574 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16575
16576         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16577         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16578         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16579         with tabs where appropriate.
16580         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16581         dl-procinfo.h.
16582         [PPC_PLATFORM_PPC440]: Likewise.
16583         [PPC_PLATFORM_PPC464]: Likewise.
16584         [PPC_PLATFORM_PPC476]: Likewise.
16585         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16586         ppc464, and ppc476 platform strings merging from ports/
16587         dl-procinfo.h.
16588
16589 2013-06-11  Andreas Schwab  <schwab@suse.de>
16590
16591         [BZ #14991]
16592         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16593         (from_ucs4_idx): Regenerate.
16594         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16595         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16596         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16597         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16598         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16599         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16600         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16601         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16602         from FROM_LOOP and TO_LOOP specific macros.
16603         (BODY): Handle combining characters.
16604         * iconvdata/BIG5HKSCS.irreversible: Update.
16605         * iconvdata/BIG5HKSCS.precomposed: New file.
16606         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16607         characters.
16608         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16609
16610 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16611
16612         * include/sys/time.h: Fix indentation and add copyright header.
16613
16614         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16615         (do_test): Likewise.
16616         * string/test-memchr.c (do_one_test): Likewise.
16617         (do_test): Likewise.
16618         * string/test-memcmp.c (do_one_test): Likewise.
16619         (do_test): Likewise.
16620         * string/test-memcpy.c (do_one_test): Likewise.
16621         (do_test): Likewise.
16622         * string/test-memmem.c (do_one_test): Likewise.
16623         (do_test): Likewise.
16624         (do_random_tests): Likewise.
16625         * string/test-memmove.c (do_one_test): Likewise.
16626         (do_test): Likewise.
16627         * string/test-memset.c (do_one_test): Likewise.
16628         (do_test): Likewise.
16629         * string/test-rawmemchr.c (do_one_test): Likewise.
16630         (do_test): Likewise.
16631         * string/test-strcasecmp.c (do_one_test): Likewise.
16632         (do_test): Likewise.
16633         * string/test-strcasestr.c (do_one_test): Likewise.
16634         (do_test): Likewise.
16635         * string/test-strcat.c (do_one_test): Likewise.
16636         (do_test): Likewise.
16637         * string/test-strchr.c (do_one_test): Likewise.
16638         (do_test): Likewise.
16639         * string/test-strcmp.c (do_one_test): Likewise.
16640         (do_test): Likewise.
16641         * string/test-strcpy.c (do_one_test): Likewise.
16642         (do_test): Likewise.
16643         * string/test-string.h: Likewise.
16644         (test_init): Likewise.
16645         * string/test-strlen.c (do_one_test): Likewise.
16646         (do_test): Likewise.
16647         * string/test-strncasecmp.c (do_one_test): Likewise.
16648         (do_test): Likewise.
16649         * string/test-strncat.c (do_one_test): Likewise.
16650         (do_test): Likewise.
16651         * string/test-strncmp.c (do_one_test): Likewise.
16652         (do_test_limit): Likewise.
16653         (do_test): Likewise.
16654         * string/test-strncpy.c (do_one_test): Likewise.
16655         (do_test): Likewise.
16656         * string/test-strnlen.c (do_one_test): Likewise.
16657         (do_test): Likewise.
16658         * string/test-strpbrk.c (do_one_test): Likewise.
16659         (do_test): Likewise.
16660         * string/test-strrchr.c (do_one_test): Likewise.
16661         (do_test): Likewise.
16662         * string/test-strspn.c (do_one_test): Likewise.
16663         (do_test): Likewise.
16664         * string/test-strstr.c (do_one_test): Likewise.
16665         (do_test): Likewise.
16666
16667         * benchtests/Makefile (string-bench): Add string benchmarks.
16668         * benchtests/bench-bcopy-ifunc.c: New file.
16669         * benchtests/bench-bcopy.c: New file.
16670         * benchtests/bench-bzero-ifunc.c: New file.
16671         * benchtests/bench-bzero.c: New file.
16672         * benchtests/bench-memccpy-ifunc.c: New file.
16673         * benchtests/bench-memccpy.c: New file.
16674         * benchtests/bench-memchr-ifunc.c: New file.
16675         * benchtests/bench-memchr.c: New file.
16676         * benchtests/bench-memcmp-ifunc.c: New file.
16677         * benchtests/bench-memcmp.c: New file.
16678         * benchtests/bench-memmem-ifunc.c: New file.
16679         * benchtests/bench-memmem.c: New file.
16680         * benchtests/bench-memmove-ifunc.c: New file.
16681         * benchtests/bench-memmove.c: New file.
16682         * benchtests/bench-mempcpy-ifunc.c: New file.
16683         * benchtests/bench-mempcpy.c: New file.
16684         * benchtests/bench-memset-ifunc.c: New file.
16685         * benchtests/bench-memset.c: New file.
16686         * benchtests/bench-rawmemchr-ifunc.c: New file.
16687         * benchtests/bench-rawmemchr.c: New file.
16688         * benchtests/bench-stpcpy-ifunc.c: New file.
16689         * benchtests/bench-stpcpy.c: New file.
16690         * benchtests/bench-stpncpy-ifunc.c: New file.
16691         * benchtests/bench-stpncpy.c: New file.
16692         * benchtests/bench-strcasecmp-ifunc.c: New file.
16693         * benchtests/bench-strcasecmp.c: New file.
16694         * benchtests/bench-strcasestr-ifunc.c: New file.
16695         * benchtests/bench-strcasestr.c: New file.
16696         * benchtests/bench-strcat-ifunc.c: New file.
16697         * benchtests/bench-strcat.c: New file.
16698         * benchtests/bench-strchr-ifunc.c: New file.
16699         * benchtests/bench-strchr.c: New file.
16700         * benchtests/bench-strchrnul-ifunc.c: New file.
16701         * benchtests/bench-strchrnul.c: New file.
16702         * benchtests/bench-strcmp-ifunc.c: New file.
16703         * benchtests/bench-strcmp.c: New file.
16704         * benchtests/bench-strcpy-ifunc.c: New file.
16705         * benchtests/bench-strcpy.c: New file.
16706         * benchtests/bench-strcspn-ifunc.c: New file.
16707         * benchtests/bench-strcspn.c: New file.
16708         * benchtests/bench-strlen-ifunc.c: New file.
16709         * benchtests/bench-strlen.c: New file.
16710         * benchtests/bench-strncasecmp-ifunc.c: New file.
16711         * benchtests/bench-strncasecmp.c: New file.
16712         * benchtests/bench-strncat-ifunc.c: New file.
16713         * benchtests/bench-strncat.c: New file.
16714         * benchtests/bench-strncmp-ifunc.c: New file.
16715         * benchtests/bench-strncmp.c: New file.
16716         * benchtests/bench-strncpy-ifunc.c: New file.
16717         * benchtests/bench-strncpy.c: New file.
16718         * benchtests/bench-strnlen-ifunc.c: New file.
16719         * benchtests/bench-strnlen.c: New file.
16720         * benchtests/bench-strpbrk-ifunc.c: New file.
16721         * benchtests/bench-strpbrk.c: New file.
16722         * benchtests/bench-strrchr-ifunc.c: New file.
16723         * benchtests/bench-strrchr.c: New file.
16724         * benchtests/bench-strspn-ifunc.c: New file.
16725         * benchtests/bench-strspn.c: New file.
16726         * benchtests/bench-strstr-ifunc.c: New file.
16727         * benchtests/bench-strstr.c: New file.
16728
16729         * benchtests/Makefile: Disable parallel execution of targets.
16730         (string-bench): Add memcpy.
16731         (benchset): New variable to store a list of benchmark sets.
16732         (bench-func): Renamed from bench.
16733         (bench-set): New target.
16734         (bench): Depend on bench-func and bench-set.
16735         * benchtests/README: Add section on benchmark sets.
16736         * benchtests/bench-memcpy-ifunc.c: New file.
16737         * benchtests/bench-memcpy.c: New file.
16738         * benchtests/bench-string.h: New file.
16739
16740 2013-06-11  Andreas Schwab  <schwab@suse.de>
16741
16742         [BZ #15577]
16743         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16744         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16745         values in the triple.
16746         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16747         terminator in the group key.
16748
16749 2013-06-11  Andreas Jaeger  <aj@suse.de>
16750
16751         * po/zh_TW.po: Update Chinese (traditional) translation from
16752         translation project.
16753
16754 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16755
16756         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16757         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16758         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16759         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16760         (clock_getcpuclockid): Likewise.
16761         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16762         Add weak_alias and libc_hidden_def.
16763         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16764         * rt/clock_gettime.c (clock_gettime): Rename to
16765         __clock_gettime.  Add weak_alias and libc_hidden_def.
16766         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16767         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16768         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16769         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16770         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16771         Likewise.
16772         * rt/clock_settime.c (clock_settime): Rename to
16773         __clock_settime.  Add weak_alias and libc_hidden_def.
16774         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16775
16776 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16777
16778         * mach/err_boot.sub: Remove trailing whitespace.
16779         * mach/err_ipc.sub: Likewise.
16780         * mach/err_mach.sub: Likewise.
16781
16782         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16783         (ROUNDING_TESTS_double): Likewise.
16784         (ROUNDING_TESTS_long_double): Likewise.
16785         (ROUNDING_TESTS): Likewise.
16786         * math/libm-test.inc: Include <math-tests.h>.
16787         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16788         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16789         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16790         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16791
16792 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16793
16794         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16795         of assigning.
16796
16797 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16798
16799         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16800         otherwise empty TRANS lines.
16801         * sysdeps/gnu/errlist.c: Regenerated.
16802
16803         * catgets/gencat.c (error_print): Use (void) in function
16804         definition.
16805         * crypt/crypt_util.c (__init_des): Likewise.
16806         * crypt/speeds.c (Stop): Likewise.
16807         (main): Likewise.
16808         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16809         * inet/ruserpass.c (token): Likewise.
16810         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16811         * intl/localealias.c (extend_alias_table): Likewise.
16812         * intl/plural-exp.c (init_germanic_plural): Likewise.
16813         * libio/fcloseall.c (__fcloseall): Likewise.
16814         * libio/genops.c (_IO_flush_all): Likewise.
16815         (_IO_flush_all_linebuffered): Likewise.
16816         (_IO_cleanup): Likewise.
16817         (_IO_iter_begin): Likewise.
16818         (_IO_iter_end): Likewise.
16819         (_IO_list_lock): Likewise.
16820         (_IO_list_unlock): Likewise.
16821         (_IO_list_resetlock): Likewise.
16822         * libio/getchar.c (getchar): Likewise.
16823         * libio/getchar_u.c (getchar_unlocked): Likewise.
16824         * libio/getwchar.c (getwchar): Likewise.
16825         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16826         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16827         * login/getpt.c (__getpt): Likewise.
16828         * login/tst-utmp.c (main): Likewise.
16829         * malloc/hooks.c (__malloc_check_init): Likewise.
16830         * malloc/malloc.c (__malloc_stats): Likewise.
16831         * malloc/mtrace.c (tr_break): Likewise.
16832         (mtrace): Likewise.
16833         (muntrace): Likewise.
16834         * misc/fstab.c (endfsent): Likewise.
16835         * misc/getclktck.c (__getclktck): Likewise.
16836         * misc/getdtsz.c (__getdtablesize): Likewise.
16837         * misc/gethostid.c (gethostid): Likewise.
16838         * misc/getpagesize.c (__getpagesize): Likewise.
16839         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16840         (__get_nprocs): Likewise.
16841         (__get_phys_pages): Likewise.
16842         (__get_avphys_pages): Likewise.
16843         * misc/getttyent.c (getttyent): Likewise.
16844         (setttyent): Likewise.
16845         (endttyent): Likewise.
16846         * misc/getusershell.c (getusershell): Likewise.
16847         (endusershell): Likewise.
16848         (setusershell): Likewise.
16849         (initshells): Likewise.
16850         * misc/hsearch.c (__hdestroy): Likewise.
16851         * misc/sync.c (sync): Likewise.
16852         * misc/syslog.c (closelog_internal): Likewise.
16853         (closelog): Likewise.
16854         * misc/ttyslot.c (ttyslot): Likewise.
16855         * misc/vhangup.c (vhangup): Likewise.
16856         * posix/fork.c (__fork): Likewise.
16857         * posix/getegid.c (__getegid): Likewise.
16858         * posix/geteuid.c (__geteuid): Likewise.
16859         * posix/getgid.c (__getgid): Likewise.
16860         * posix/getpid.c (__getpid): Likewise.
16861         * posix/getppid.c (__getppid): Likewise.
16862         * posix/getuid.c (__getuid): Likewise.
16863         * posix/pause.c (pause): Likewise.
16864         * posix/setpgrp.c (setpgrp): Likewise.
16865         * posix/setsid.c (__setsid): Likewise.
16866         * posix/test-vfork.c (noop): Likewise.
16867         * resolv/gethnamaddr.c (_endhtent): Likewise.
16868         (_gethtent): Likewise.
16869         (ht_endhostent): Likewise.
16870         (gethostent): Likewise.
16871         (dns_service): Likewise.
16872         * stdlib/drand48.c (drand48): Likewise.
16873         * stdlib/lrand48.c (lrand48): Likewise.
16874         * stdlib/mrand48.c (mrand48): Likewise.
16875         * stdlib/rand.c (rand): Likewise.
16876         * stdlib/random.c (__random): Likewise.
16877         * stdlib/setenv.c (clearenv): Likewise.
16878         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16879         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16880         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16881         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16882         (__get_nprocs): Likewise.
16883         (__get_phys_pages): Likewise.
16884         (__get_avphys_pages): Likewise.
16885         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16886         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16887         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16888         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16889         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16890         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16891         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16892         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16893         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16894         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16895         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16896         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16897         * sysdeps/posix/clock.c (clock): Likewise.
16898         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16899         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16900         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16901         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16902         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16903         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16904         (__get_nprocs_conf): Likewise.
16905         (__get_phys_pages): Likewise.
16906         (__get_avphys_pages): Likewise.
16907         * time/clock.c (clock): Likewise.
16908         * time/tzset.c (__tzname_max): Likewise.
16909
16910 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16911
16912         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16913         (__bswap_32): Do not use "register".
16914         * crypt/crypt.c (_ufc_doit_r): Likewise.
16915         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16916         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16917         * gmon/gmon.c (__monstartup): Likewise.
16918         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16919         * hurd/hurdmalloc.c (more_memory): Likewise.
16920         (malloc): Likewise.
16921         (free): Likewise.
16922         (realloc): Likewise.
16923         (malloc_fork_prepare): Likewise.
16924         (malloc_fork_parent): Likewise.
16925         (malloc_fork_child): Likewise.
16926         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16927         (_svcauth_des): Likewise.
16928         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16929         * inet/inet_net.c (inet_network): Likewise.
16930         * inet/inet_netof.c (inet_netof): Likewise.
16931         * inet/rcmd.c (__validuser2_sa): Likewise.
16932         * io/fts.c (fts_open): Likewise.
16933         (fts_load): Likewise.
16934         (fts_close): Likewise.
16935         (fts_read): Likewise.
16936         (fts_children): Likewise.
16937         (fts_build): Likewise.
16938         (fts_stat): Likewise.
16939         (fts_sort): Likewise.
16940         (fts_alloc): Likewise.
16941         (fts_lfree): Likewise.
16942         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16943         (_IO_file_xsgetn): Likewise.
16944         (_IO_file_xsgetn_mmap): Likewise.
16945         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16946         (_IO_cookie_write): Likewise.
16947         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16948         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16949         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16950         * malloc/obstack.c (_obstack_begin): Likewise.
16951         (_obstack_begin_1): Likewise.
16952         (_obstack_newchunk): Likewise.
16953         (_obstack_allocated_p): Likewise.
16954         (obstack_free): Likewise.
16955         (_obstack_memory_used): Likewise.
16956         * misc/getttyent.c (getttynam): Likewise.
16957         (getttyent): Likewise.
16958         (skip): Likewise.
16959         (value): Likewise.
16960         * misc/getusershell.c (initshells): Likewise.
16961         * misc/syslog.c (__vsyslog_chk): Likewise.
16962         * misc/ttyslot.c (ttyslot): Likewise.
16963         * nis/nis_hash.c (__nis_hash): Likewise.
16964         * posix/fnmatch_loop.c (FCT): Likewise.
16965         * posix/getconf.c (print_all): Likewise.
16966         (main): Likewise.
16967         * posix/getopt.c (exchange): Likewise.
16968         * posix/glob.c (globfree): Likewise.
16969         (prefix_array): Likewise.
16970         (__glob_pattern_type): Likewise.
16971         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16972         (NS_GET32): Likewise.
16973         (NS_PUT16): Likewise.
16974         (NS_PUT32): Likewise.
16975         * resolv/gethnamaddr.c (getanswer): Likewise.
16976         (gethostbyname2): Likewise.
16977         (gethostbyaddr): Likewise.
16978         (_gethtent): Likewise.
16979         (_gethtbyname2): Likewise.
16980         (_gethtbyaddr): Likewise.
16981         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16982         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16983         * resolv/res_init.c (__res_vinit): Likewise.
16984         (net_mask): Likewise.
16985         * resolv/res_mkquery.c (outchar): Likewise.
16986         (PRINT): Likewise.
16987         * stdio-common/printf_fp.c (outchar): Likewise.
16988         (PRINT): Likewise.
16989         * stdio-common/printf_fphex.c (outchar): Likewise.
16990         (PRINT): Likewise.
16991         * stdio-common/printf_size.c (outchar): Likewise.
16992         (PRINT): Likewise.
16993         * stdio-common/test_rdwr.c (main): Likewise.
16994         * stdio-common/tfformat.c (matches): Likewise.
16995         * stdio-common/vfprintf.c (outchar): Likewise.
16996         (printf_unknown): Likewise.
16997         (buffered_vfprintf): Likewise.
16998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16999         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17000         (ReadFile): Likewise.
17001         * stdlib/qsort.c (SWAP): Likewise.
17002         (_quicksort): Likewise.
17003         * stdlib/setenv.c (__add_to_environ): Likewise.
17004         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17005         * stdlib/strtol_l.c (__strtol_l): Likewise.
17006         * stdlib/tst-strtod.c (main): Likewise.
17007         * stdlib/tst-strtol.c (main): Likewise.
17008         * stdlib/tst-strtoll.c (main): Likewise.
17009         * string/bits/string2.h (__strcmp_cc): Likewise.
17010         (__strcmp_cg): Likewise.
17011         (__strcspn_c1): Likewise.
17012         (__strcspn_c2): Likewise.
17013         (__strcspn_c3): Likewise.
17014         (__strspn_c1): Likewise.
17015         (__strspn_c2): Likewise.
17016         (__strspn_c3): Likewise.
17017         (__strsep_1c): Likewise.
17018         (__strsep_2c): Likewise.
17019         (__strsep_3c): Likewise.
17020         * string/memccpy.c (__memccpy): Likewise.
17021         * string/stpcpy.c (__stpcpy): Likewise.
17022         * string/strcmp.c (strcmp): Likewise.
17023         * string/strrchr.c (strrchr): Likewise.
17024         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17025         Likewise.
17026         * sysdeps/mach/hurd/getcwd.c
17027         (_hurd_canonicalize_directory_name_internal): Likewise.
17028         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17029         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17030         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17031         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17032         Likewise, in both definitions.
17033         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17034         definitions.
17035         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17036         64] (__bswap_64): Likewise.
17037         * time/test_time.c (main): Likewise.
17038         * time/tzfile.c (__tzfile_read): Likewise.
17039         (__tzfile_compute): Likewise.
17040         * time/tzset.c (__tzset_parse_tz): Likewise.
17041         (tzset_internal): Likewise.
17042         (compute_change): Likewise.
17043         * wcsmbs/wcscat.c (__wcscat): Likewise.
17044         * wcsmbs/wcschr.c (wcschr): Likewise.
17045         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17046         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17047         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17048         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17049         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17050         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17051         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17052         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17053         * wcsmbs/wmemset.c (wmemset): Likewise.
17054
17055 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17056
17057         * scripts/config.guess: Update to version 2013-05-16.
17058         * scripts/config.sub: Update to version 2013-04-24.
17059         * scripts/install-sh: Update to version 2011-11-20.07.
17060         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17061         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17062
17063 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17064
17065         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17066         * elf/sln.c: Likewise.
17067         * hurd/hurd/ioctl.h: Likewise.
17068         * hurd/hurdmalloc.c: Likewise.
17069         * hurd/xattr.c: Likewise.
17070         * include/shlib-compat.h: Likewise.
17071         * inet/ruserpass.c: Likewise.
17072         * libio/iofgets_u.c: Likewise.
17073         * libio/iofgetws_u.c: Likewise.
17074         * locale/programs/ld-identification.c: Likewise.
17075         * locale/programs/ld-time.c: Likewise.
17076         * mach/msg-destroy.c: Likewise.
17077         * nss/nss_files/files-netgrp.c: Likewise.
17078         * resolv/res_data.c: Likewise.
17079         * soft-fp/op-1.h: Likewise.
17080         * soft-fp/op-2.h: Likewise.
17081         * soft-fp/op-4.h: Likewise.
17082         * soft-fp/op-common.h: Likewise.
17083         * stdio-common/printf_fphex.c: Likewise.
17084         * stdlib/strtod_l.c: Likewise.
17085         * sunrpc/rpc/clnt.h: Likewise.
17086         * sysdeps/generic/framestate.c: Likewise.
17087         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17088         * sysdeps/i386/bsd-setjmp.S: Likewise.
17089         * sysdeps/i386/__longjmp.S: Likewise.
17090         * sysdeps/i386/setjmp.S: Likewise.
17091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17092         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17093         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17094         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17095         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17096         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17098         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17099         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17100         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17101         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17102         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17103         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17104         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17105         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17106         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17107         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17108         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17109         * sysdeps/ieee754/support.c: Likewise.
17110         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17111         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17112         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17113         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17114         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17115         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17116         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17117         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17118         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17119         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17120         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17121         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17122         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17123         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17124         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17125         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17126         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17128
17129 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17130
17131         * posix/transbug.c: Remove executable mode.
17132
17133 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17134
17135         * crypt/speeds.c: Remove trailing whitespace.
17136         * dlfcn/default.c: Likewise.
17137         * elf/ifuncdep2.c: Likewise.
17138         * elf/ifuncmain1.c: Likewise.
17139         * elf/ifuncmain1vis.c: Likewise.
17140         * elf/testobj.h: Likewise.
17141         * elf/tst-stackguard1.c: Likewise.
17142         * gmon/sys/gmon.h: Likewise.
17143         * hurd/hurdmsg.c: Likewise.
17144         * hurd/new-fd.c: Likewise.
17145         * hurd/ports-get.c: Likewise.
17146         * iconvdata/ibm1008_420.c: Likewise.
17147         * inet/tst-getni1.c: Likewise.
17148         * inet/tst-getni2.c: Likewise.
17149         * libio/ioungetc.c: Likewise.
17150         * libio/wfiledoalloc.c: Likewise.
17151         * manual/libm-err-tab.pl: Likewise.
17152         * math/w_dremf.c: Likewise.
17153         * misc/ftruncate.c: Likewise.
17154         * posix/bug-glob2.c: Likewise.
17155         * posix/tst-pcre.c: Likewise.
17156         * posix/wait4.c: Likewise.
17157         * resolv/README: Likewise.
17158         * resolv/res_debug.h: Likewise.
17159         * resolv/tst-inet_ntop.c: Likewise.
17160         * setjmp/bug269-setjmp.c: Likewise.
17161         * soft-fp/extended.h: Likewise.
17162         * soft-fp/op-1.h: Likewise.
17163         * soft-fp/op-2.h: Likewise.
17164         * soft-fp/op-4.h: Likewise.
17165         * soft-fp/op-8.h: Likewise.
17166         * soft-fp/testit.c: Likewise.
17167         * stdio-common/bug16.c: Likewise.
17168         * stdlib/random.c: Likewise.
17169         * sunrpc/rpcsvc/rquota.x: Likewise.
17170         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17171         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17173         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17174         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17175         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17176         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17177         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17178         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17179         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17180         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17181         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17182         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17183         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17184         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17185         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17186         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17187         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17188         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17189         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17190         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17191         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17192         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17193         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17194         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17195         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17196         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17198         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17199         * sysdeps/ieee754/s_lib_version.c: Likewise.
17200         * sysdeps/mach/hurd/check_fds.c: Likewise.
17201         * sysdeps/mach/hurd/getsockname.c: Likewise.
17202         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17203         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17204         * sysdeps/powerpc/bits/link.h: Likewise.
17205         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17206         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17207         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17208         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17209         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17210         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17211         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17212         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17213         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17214         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17215         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17216         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17217         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17218         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17219         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17220         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17221         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17222         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17223         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17224         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17225         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17226         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17228         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17229         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17230         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17231         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17232         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17233         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17234         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17235         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17236         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17237         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17238         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17239         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17240         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17241         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17242         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17243         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17244         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17245         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17246         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17247         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17248         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17249         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17250         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17251         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17252         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17253         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17254         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17255         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17256         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17257         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17258         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17259         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17260         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17261         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17262         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17263         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17264         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17265         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17266         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17267         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17268         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17269         * sysdeps/powerpc/sysdep.h: Likewise.
17270         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17271         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17272         * sysdeps/sh/dl-trampoline.S: Likewise.
17273         * sysdeps/sh/memset.S: Likewise.
17274         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17275         * sysdeps/sh/strlen.S: Likewise.
17276         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17277         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17278         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17279         * sysdeps/sparc/sparc32/rem.S: Likewise.
17280         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17281         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17282         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17283         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17284         * sysdeps/sparc/sparc32/urem.S: Likewise.
17285         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17286         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17287         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17288         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17289         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17290         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17291         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17292         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17293         * sysdeps/unix/bsd/times.c: Likewise.
17294         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17295         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17299         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17300         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17301         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17302         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17303         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17304         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17305         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17306         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17307         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17308         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17309         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17310         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17311         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17312         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17313         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17314         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17315         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17316         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17317         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17318         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17319         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17320         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17321         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17322         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17323         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17324         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17325         * sysdeps/x86_64/strcspn.S: Likewise.
17326
17327 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17328
17329         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17330         generated file.  Regenerate properly from gen-translit.pl.
17331         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17332         locale/C-translit.h.
17333
17334 2013-06-05  Andreas Schwab  <schwab@suse.de>
17335
17336         [BZ #15100]
17337         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17338         week as 6 instead of -1.
17339         * time/tst-strptime.c (day_tests): Add test case.
17340
17341 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17342
17343         * sysdeps/generic/math_private.h
17344         (libc_feholdexcept_setround_53bit): Replace with
17345         libc_feholdsetround_53bit.
17346         (libc_feupdateenv_53bit): Replace with
17347         libc_feresetround_53bit.
17348         (SET_RESTORE_ROUND_53BIT): Adjust.
17349
17350 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17351
17352         * string/test-strchrnul.c: Add copyright header.
17353
17354         * posix/tst-getaddrinfo4.c: Increase test timeout.
17355
17356 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17357
17358         [BZ #15536]
17359         * math/libm-test.inc (MAX_EXP): Remove
17360         (MIN_EXP): Define.
17361         (ulp): Use MIN_EXP - MANT_DIG.
17362         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17363
17364 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17365
17366         * po/be.po: Revert last change.
17367         * po/zh_CN.po: Likewise.
17368         * po/header.pot: Likewise.
17369
17370 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17371
17372         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17373         link-libc-deps to empty as target-specific variable.
17374         * Makerules (link-libc-args): New variable.
17375         (libc-for-link): Likewise.
17376         (link-libc-deps): Likewise.
17377         (lib%.so): Depend on $(link-libc-deps).  Link with
17378         $(link-libc-args).
17379         (build-module): Link with $(link-libc-args).
17380         (build-module-asneeded): Likewise.
17381         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17382         list of objects.
17383         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17384         target-specific variable.
17385         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17386         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17387         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17388         libc.
17389         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17390         libc and ld.so.
17391         ($(objpfx)libpcprofile.so): Likewise.
17392         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17393         libc_nonshared.a.
17394         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17395         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17396         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17397         $(link-libc-deps).
17398         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17399         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17400         * login/Makefile ($(objpfx)libutil.so): Likewise.
17401         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17402         * math/Makefile ($(objpfx)libm.so): Likewise.
17403         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17404         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17405         variable instead of depending directly on libc.
17406         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17407         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17408         $(link-libc-deps).
17409         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17410         libc.
17411         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17412         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17413         ($(objpfx)libanl.so): Likewise.
17414         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17415         ld.so.
17416         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17417         $(link-libc-deps).
17418         * sysdeps/i386/fpu/Makefile: Remove file.
17419         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17420         ($(objpfx)libm.so): Remove dependency on ld.so.
17421
17422 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17423
17424         [BZ # 15553]
17425         * nis/yp_xdr.c (XDRMAXNAME): Define.
17426         (XDRMAXRECORD): Define.
17427         (xdr_domainname): Use XDRMAXNAME.
17428         (xdr_mapname): Likewise.
17429         (xdr_peername): Likewise.
17430         (xdr_keydat): Use XDRMAXRECORD.
17431         (xdr_valdat): Likewise.
17432
17433 2013-05-30  Jeff Law  <law@redhat.com>
17434
17435         [BZ #14256]
17436         * manual/errno.texi (ESTALE): Update to account for more than
17437         just NFS file systems.
17438         * sysdeps/gnu/errlist.c: Regenerated.
17439
17440 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17441
17442         [BZ #15465]
17443         * elf/Makefile (tests): Add tst-null-argv.
17444         (modules-names):  Add tst-null-argv-lib.
17445         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17446         (tst-null-argv-ENV): Set environment for tst-null-argv.
17447         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17448         (RTLD_PROGNAME): New macro.
17449         * elf/tst-null-argv.c: New test case.
17450         * elf/tst-null-argv-lib.c: Library for test case.
17451         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17452         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17453         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17454         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17455         * elf/dl-init.c (call_init): Likewise.
17456         (_dl_init): Likewise.
17457         * elf/dl-load.c (print_search_path): Likewise.
17458         (_dl_map_object): Likewise.
17459         * elf/dl-lookup.c (do_lookup_x): Likewise.
17460         (add_dependency): Likewise.
17461         (_dl_lookup_symbol_x): Likewise.
17462         (_dl_debug_bindings): Likewise.
17463         * elf/dl-open.c (_dl_show_scope): Likewise.
17464         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17465         * elf/dl-version.c (match_symbol): Likewise.
17466         (_dl_check_map_versions): Likewise.
17467         * elf/rtld.c (dl_main): Likewise.
17468         (print_unresolved): Use RTLD_PROGNAME.
17469         (print_missing_version): Likewise.
17470         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17471         (elf_machine_rela): Likewise.
17472         * sysdeps/powerpc/powerpc32/dl-machine.c
17473         (__process_machine_rela): Likewise.
17474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17475         Likewise.
17476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17477         Likewise.
17478         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17479         Likewise.
17480         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17482         Likewise.
17483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17484         Likewise.
17485         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17486
17487 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17488
17489         * po/be.po: Add descriptive title.
17490         * po/zh_CN.po: Likewise.
17491         * po/header.pot: Likewise.
17492
17493 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17494
17495         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17496         error message.
17497         (enlarge_archive): Likewise.
17498
17499 2013-05-28  Ben North  <ben@redfrontdoor.org>
17500
17501         * manual/arith.texi (frexp): It is the magnitude of the return
17502         value which lies in [0.5, 1), not the return value itself.
17503
17504 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17505
17506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17507
17508 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17509
17510         * stdio-common/bug26.c (main): Correct fscanf template.
17511
17512         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17513         declare _dl_skip_args.
17514
17515         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17516         Don't declare.
17517
17518         * manual/platform.texi: Add missing @end deftypefun.
17519
17520 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17521
17522         [BZ #15529]
17523         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17524         bit of mantissa of 2^16382.
17525         * math/libm-test.inc (hypot_test_data): Add more tests.
17526
17527         * math/libm-test.inc: Add drem and pow10 to list of tested
17528         functions.
17529         (pow10_test): New function.
17530         (drem_test): Likewise.
17531         (drem_test_tonearest): Likewise.
17532         (drem_test_towardzero): Likewise.
17533         (drem_test_downward): Likewise.
17534         (drem_test_upward): Likewise.
17535         (main): Call the new functions.
17536
17537         * math/libm-test.inc (finite_test_data): Remove.
17538         (finite_test): Run tests from isfinite_test_data.
17539         (gamma_test_data): Remove.
17540         (gamma_test): Run tests from lgamma_test_data.
17541         * sysdeps/i386/fpu/libm-test-ulps: Update.
17542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17543
17544 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17545
17546         * manual/platform.texi: Add PowerPC PPR function set documentation.
17547         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17548         implementation.
17549
17550 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17551
17552         * math/libm-test.inc (MAX_EXP): Define.
17553         (ULPDIFF): Define.
17554         (ulp): New function.
17555         (check_float_internal): Use ULPDIFF.
17556         (cpow_test): Disable failing test.
17557         (check_ulp): Test ulp() implemetnation.
17558         (main): Call check_ulp before starting tests.
17559
17560 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17561
17562         * math/gen-libm-test.pl (generate_testfile): Do not handle
17563         START_DATA and END_DATA.
17564         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17565         END_DATA.
17566         (acos_tonearest_test_data): Likewise.
17567         (acos_towardzero_test_data): Likewise.
17568         (acos_downward_test_data): Likewise.
17569         (acos_upward_test_data): Likewise.
17570         (acosh_test_data): Likewise.
17571         (asin_test_data): Likewise.
17572         (asin_tonearest_test_data): Likewise.
17573         (asin_towardzero_test_data): Likewise.
17574         (asin_downward_test_data): Likewise.
17575         (asin_upward_test_data): Likewise.
17576         (asinh_test_data): Likewise.
17577         (atan_test_data): Likewise.
17578         (atanh_test_data): Likewise.
17579         (atan2_test_data): Likewise.
17580         (cabs_test_data): Likewise.
17581         (cacos_test_data): Likewise.
17582         (cacosh_test_data): Likewise.
17583         (carg_test_data): Likewise.
17584         (casin_test_data): Likewise.
17585         (casinh_test_data): Likewise.
17586         (catan_test_data): Likewise.
17587         (catanh_test_data): Likewise.
17588         (cbrt_test_data): Likewise.
17589         (ccos_test_data): Likewise.
17590         (ccosh_test_data): Likewise.
17591         (ceil_test_data): Likewise.
17592         (cexp_test_data): Likewise.
17593         (cimag_test_data): Likewise.
17594         (clog_test_data): Likewise.
17595         (clog10_test_data): Likewise.
17596         (conj_test_data): Likewise.
17597         (copysign_test_data): Likewise.
17598         (cos_test_data): Likewise.
17599         (cos_tonearest_test_data): Likewise.
17600         (cos_towardzero_test_data): Likewise.
17601         (cos_downward_test_data): Likewise.
17602         (cos_upward_test_data): Likewise.
17603         (cosh_test_data): Likewise.
17604         (cosh_tonearest_test_data): Likewise.
17605         (cosh_towardzero_test_data): Likewise.
17606         (cosh_downward_test_data): Likewise.
17607         (cosh_upward_test_data): Likewise.
17608         (cpow_test_data): Likewise.
17609         (cproj_test_data): Likewise.
17610         (creal_test_data): Likewise.
17611         (csin_test_data): Likewise.
17612         (csinh_test_data): Likewise.
17613         (csqrt_test_data): Likewise.
17614         (ctan_test_data): Likewise.
17615         (ctan_tonearest_test_data): Likewise.
17616         (ctan_towardzero_test_data): Likewise.
17617         (ctan_downward_test_data): Likewise.
17618         (ctan_upward_test_data): Likewise.
17619         (ctanh_test_data): Likewise.
17620         (ctanh_tonearest_test_data): Likewise.
17621         (ctanh_towardzero_test_data): Likewise.
17622         (ctanh_downward_test_data): Likewise.
17623         (ctanh_upward_test_data): Likewise.
17624         (erf_test_data): Likewise.
17625         (erfc_test_data): Likewise.
17626         (exp_test_data): Likewise.
17627         (exp_tonearest_test_data): Likewise.
17628         (exp_towardzero_test_data): Likewise.
17629         (exp_downward_test_data): Likewise.
17630         (exp_upward_test_data): Likewise.
17631         (exp10_test_data): Likewise.
17632         (exp2_test_data): Likewise.
17633         (expm1_test_data): Likewise.
17634         (fabs_test_data): Likewise.
17635         (fdim_test_data): Likewise.
17636         (finite_test_data): Likewise.
17637         (floor_test_data): Likewise.
17638         (fma_test_data): Likewise.
17639         (fma_towardzero_test_data): Likewise.
17640         (fma_downward_test_data): Likewise.
17641         (fma_upward_test_data): Likewise.
17642         (fmax_test_data): Likewise.
17643         (fmin_test_data): Likewise.
17644         (fmod_test_data): Likewise.
17645         (fpclassify_test_data): Likewise.
17646         (frexp_test_data): Likewise.
17647         (gamma_test_data): Likewise.
17648         (hypot_test_data): Likewise.
17649         (ilogb_test_data): Likewise.
17650         (isfinite_test_data): Likewise.
17651         (isgreater_test_data): Likewise.
17652         (isgreaterequal_test_data): Likewise.
17653         (isinf_test_data): Likewise.
17654         (isless_test_data): Likewise.
17655         (islessequal_test_data): Likewise.
17656         (islessgreater_test_data): Likewise.
17657         (isnan_test_data): Likewise.
17658         (isnormal_test_data): Likewise.
17659         (issignaling_test_data): Likewise.
17660         (isunordered_test_data): Likewise.
17661         (j0_test_data): Likewise.
17662         (j1_test_data): Likewise.
17663         (jn_test_data): Likewise.
17664         (ldexp_test_data): Likewise.
17665         (lgamma_test_data): Likewise.
17666         (lrint_test_data): Likewise.
17667         (lrint_tonearest_test_data): Likewise.
17668         (lrint_towardzero_test_data): Likewise.
17669         (lrint_downward_test_data): Likewise.
17670         (lrint_upward_test_data): Likewise.
17671         (llrint_test_data): Likewise.
17672         (llrint_tonearest_test_data): Likewise.
17673         (llrint_towardzero_test_data): Likewise.
17674         (llrint_downward_test_data): Likewise.
17675         (llrint_upward_test_data): Likewise.
17676         (log_test_data): Likewise.
17677         (log10_test_data): Likewise.
17678         (log1p_test_data): Likewise.
17679         (log2_test_data): Likewise.
17680         (logb_test_data): Likewise.
17681         (logb_downward_test_data): Likewise.
17682         (lround_test_data): Likewise.
17683         (llround_test_data): Likewise.
17684         (modf_test_data): Likewise.
17685         (nearbyint_test_data): Likewise.
17686         (nextafter_test_data): Likewise.
17687         (nexttoward_test_data): Likewise.
17688         (pow_test_data): Likewise.
17689         (pow_tonearest_test_data): Likewise.
17690         (pow_towardzero_test_data): Likewise.
17691         (pow_downward_test_data): Likewise.
17692         (pow_upward_test_data): Likewise.
17693         (remainder_test_data): Likewise.
17694         (remainder_tonearest_test_data): Likewise.
17695         (remainder_towardzero_test_data): Likewise.
17696         (remainder_downward_test_data): Likewise.
17697         (remainder_upward_test_data): Likewise.
17698         (remquo_test_data): Likewise.
17699         (rint_test_data): Likewise.
17700         (rint_tonearest_test_data): Likewise.
17701         (rint_towardzero_test_data): Likewise.
17702         (rint_downward_test_data): Likewise.
17703         (rint_upward_test_data): Likewise.
17704         (round_test_data): Likewise.
17705         (scalb_test_data): Likewise.
17706         (scalbn_test_data): Likewise.
17707         (scalbln_test_data): Likewise.
17708         (signbit_test_data): Likewise.
17709         (sin_test_data): Likewise.
17710         (sin_tonearest_test_data): Likewise.
17711         (sin_towardzero_test_data): Likewise.
17712         (sin_downward_test_data): Likewise.
17713         (sin_upward_test_data): Likewise.
17714         (sincos_test_data): Likewise.
17715         (sinh_test_data): Likewise.
17716         (sinh_tonearest_test_data): Likewise.
17717         (sinh_towardzero_test_data): Likewise.
17718         (sinh_downward_test_data): Likewise.
17719         (sinh_upward_test_data): Likewise.
17720         (sqrt_test_data): Likewise.
17721         (tan_test_data): Likewise.
17722         (tan_tonearest_test_data): Likewise.
17723         (tan_towardzero_test_data): Likewise.
17724         (tan_downward_test_data): Likewise.
17725         (tan_upward_test_data): Likewise.
17726         (tanh_test_data): Likewise.
17727         (tgamma_test_data): Likewise.
17728         (trunc_test_data): Likewise.
17729         (y0_test_data): Likewise.
17730         (y1_test_data): Likewise.
17731         (yn_test_data): Likewise.
17732         (significand_test_data): Likewise.
17733
17734         * math/gen-libm-test.pl (@functions): Remove variable.
17735         (generate_testfile): Don't handle START and END lines.
17736         * math/libm-test.inc (START): New macro.
17737         (END): Likewise.
17738         (END_COMPLEX): Likewise.
17739         (acos_test): Use END macro without arguments.
17740         (acos_test_tonearest): Likewise.
17741         (acos_test_towardzero): Likewise.
17742         (acos_test_downward): Likewise.
17743         (acos_test_upward): Likewise.
17744         (acosh_test): Likewise.
17745         (asin_test): Likewise.
17746         (asin_test_tonearest): Likewise.
17747         (asin_test_towardzero): Likewise.
17748         (asin_test_downward): Likewise.
17749         (asin_test_upward): Likewise.
17750         (asinh_test): Likewise.
17751         (atan_test): Likewise.
17752         (atanh_test): Likewise.
17753         (atan2_test): Likewise.
17754         (cabs_test): Likewise.
17755         (cacos_test): Use END_COMPLEX macro without arguments.
17756         (cacosh_test): Likewise.
17757         (carg_test): Use END macro without arguments.
17758         (casin_test): Use END_COMPLEX macro without arguments.
17759         (casinh_test): Likewise.
17760         (catan_test): Likewise.
17761         (catanh_test): Likewise.
17762         (cbrt_test): Use END macro without arguments.
17763         (ccos_test): Use END_COMPLEX macro without arguments.
17764         (ccosh_test): Likewise.
17765         (ceil_test): Use END macro without arguments.
17766         (cexp_test): Use END_COMPLEX macro without arguments.
17767         (cimag_test): Use END macro without arguments.
17768         (clog_test): Use END_COMPLEX macro without arguments.
17769         (clog10_test): Likewise.
17770         (conj_test): Likewise.
17771         (copysign_test): Use END macro without arguments.
17772         (cos_test): Likewise.
17773         (cos_test_tonearest): Likewise.
17774         (cos_test_towardzero): Likewise.
17775         (cos_test_downward): Likewise.
17776         (cos_test_upward): Likewise.
17777         (cosh_test): Likewise.
17778         (cosh_test_tonearest): Likewise.
17779         (cosh_test_towardzero): Likewise.
17780         (cosh_test_downward): Likewise.
17781         (cosh_test_upward): Likewise.
17782         (cpow_test): Use END_COMPLEX macro without arguments.
17783         (cproj_test): Likewise.
17784         (creal_test): Use END macro without arguments.
17785         (csin_test): Use END_COMPLEX macro without arguments.
17786         (csinh_test): Likewise.
17787         (csqrt_test): Likewise.
17788         (ctan_test): Likewise.
17789         (ctan_test_tonearest): Likewise.
17790         (ctan_test_towardzero): Likewise.
17791         (ctan_test_downward): Likewise.
17792         (ctan_test_upward): Likewise.
17793         (ctanh_test): Likewise.
17794         (ctanh_test_tonearest): Likewise.
17795         (ctanh_test_towardzero): Likewise.
17796         (ctanh_test_downward): Likewise.
17797         (ctanh_test_upward): Likewise.
17798         (erf_test): Use END macro without arguments.
17799         (erfc_test): Likewise.
17800         (exp_test): Likewise.
17801         (exp_test_tonearest): Likewise.
17802         (exp_test_towardzero): Likewise.
17803         (exp_test_downward): Likewise.
17804         (exp_test_upward): Likewise.
17805         (exp10_test): Likewise.
17806         (exp2_test): Likewise.
17807         (expm1_test): Likewise.
17808         (fabs_test): Likewise.
17809         (fdim_test): Likewise.
17810         (finite_test): Likewise.
17811         (floor_test): Likewise.
17812         (fma_test): Likewise.
17813         (fma_test_towardzero): Likewise.
17814         (fma_test_downward): Likewise.
17815         (fma_test_upward): Likewise.
17816         (fmax_test): Likewise.
17817         (fmin_test): Likewise.
17818         (fmod_test): Likewise.
17819         (fpclassify_test): Likewise.
17820         (frexp_test): Likewise.
17821         (gamma_test): Likewise.
17822         (hypot_test): Likewise.
17823         (ilogb_test): Likewise.
17824         (isfinite_test): Likewise.
17825         (isgreater_test): Likewise.
17826         (isgreaterequal_test): Likewise.
17827         (isinf_test): Likewise.
17828         (isless_test): Likewise.
17829         (islessequal_test): Likewise.
17830         (islessgreater_test): Likewise.
17831         (isnan_test): Likewise.
17832         (isnormal_test): Likewise.
17833         (issignaling_test): Likewise.
17834         (isunordered_test): Likewise.
17835         (j0_test): Likewise.
17836         (j1_test): Likewise.
17837         (jn_test): Likewise.
17838         (ldexp_test): Likewise.
17839         (lgamma_test): Likewise.
17840         (lrint_test): Likewise.
17841         (lrint_test_tonearest): Likewise.
17842         (lrint_test_towardzero): Likewise.
17843         (lrint_test_downward): Likewise.
17844         (lrint_test_upward): Likewise.
17845         (llrint_test): Likewise.
17846         (llrint_test_tonearest): Likewise.
17847         (llrint_test_towardzero): Likewise.
17848         (llrint_test_downward): Likewise.
17849         (llrint_test_upward): Likewise.
17850         (log_test): Likewise.
17851         (log10_test): Likewise.
17852         (log1p_test): Likewise.
17853         (log2_test): Likewise.
17854         (logb_test): Likewise.
17855         (logb_test_downward): Likewise.
17856         (lround_test): Likewise.
17857         (llround_test): Likewise.
17858         (modf_test): Likewise.
17859         (nearbyint_test): Likewise.
17860         (nextafter_test): Likewise.
17861         (nexttoward_test): Likewise.
17862         (pow_test): Likewise.
17863         (pow_test_tonearest): Likewise.
17864         (pow_test_towardzero): Likewise.
17865         (pow_test_downward): Likewise.
17866         (pow_test_upward): Likewise.
17867         (remainder_test): Likewise.
17868         (remainder_test_tonearest): Likewise.
17869         (remainder_test_towardzero): Likewise.
17870         (remainder_test_downward): Likewise.
17871         (remainder_test_upward): Likewise.
17872         (remquo_test): Likewise.
17873         (rint_test): Likewise.
17874         (rint_test_tonearest): Likewise.
17875         (rint_test_towardzero): Likewise.
17876         (rint_test_downward): Likewise.
17877         (rint_test_upward): Likewise.
17878         (round_test): Likewise.
17879         (scalb_test): Likewise.
17880         (scalbn_test): Likewise.
17881         (scalbln_test): Likewise.
17882         (signbit_test): Likewise.
17883         (sin_test): Likewise.
17884         (sin_test_tonearest): Likewise.
17885         (sin_test_towardzero): Likewise.
17886         (sin_test_downward): Likewise.
17887         (sin_test_upward): Likewise.
17888         (sincos_test): Likewise.
17889         (sinh_test): Likewise.
17890         (sinh_test_tonearest): Likewise.
17891         (sinh_test_towardzero): Likewise.
17892         (sinh_test_downward): Likewise.
17893         (sinh_test_upward): Likewise.
17894         (sqrt_test): Likewise.
17895         (tan_test): Likewise.
17896         (tan_test_tonearest): Likewise.
17897         (tan_test_towardzero): Likewise.
17898         (tan_test_downward): Likewise.
17899         (tan_test_upward): Likewise.
17900         (tanh_test): Likewise.
17901         (tgamma_test): Likewise.
17902         (trunc_test): Likewise.
17903         (y0_test): Likewise.
17904         (y1_test): Likewise.
17905         (yn_test): Likewise.
17906         (significand_test): Likewise.
17907
17908 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17909
17910         [BZ #15381]
17911         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17912
17913 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17914
17915         [BZ #14894]
17916         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17917         __ppc_mdoio and __ppc_mdoom.
17918         * manual/platform.texi: Document new functions __ppc_yield,
17919         __ppc_mdoio and __ppc_mdoom.
17920
17921 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17922
17923         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17924         (main): Mention "tls" pseudo-hwcap is legacy.
17925         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17926
17927 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17928
17929         * math/gen-libm-test.pl (parse_args): Output only string of
17930         arguments as text for test name, not full call or descriptions of
17931         tests for extra outputs.
17932         (generate_testfile): Do not pass function name to parse_args.
17933         Generate this_func variable from START.
17934         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17935         field to arg_str.
17936         (struct test_ff_f_data): Likewise.
17937         (test_ff_f_data_nexttoward): Likewise.
17938         (struct test_fi_f_data): Likewise.
17939         (struct test_fl_f_data): Likewise.
17940         (struct test_if_f_data): Likewise.
17941         (struct test_fff_f_data): Likewise.
17942         (struct test_c_f_data): Likewise.
17943         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17944         (struct test_fF_f1_data): Likewise.
17945         (struct test_ffI_f1_data): Likewise.
17946         (struct test_c_c_data): Rename test_name field to arg_str.
17947         (struct test_cc_c_data): Likewise.
17948         (struct test_f_i_data): Likewise.
17949         (struct test_ff_i_data): Likewise.
17950         (struct test_f_l_data): Likewise.
17951         (struct test_f_L_data): Likewise.
17952         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17953         and extra2_name.
17954         (COMMON_TEST_SETUP): New macro.
17955         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17956         (COMMON_TEST_CLEANUP): Likewise.
17957         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17958         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17959         macros.
17960         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17961         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17962         macros.
17963         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17964         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17965         cleanup macros.
17966         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17967         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17968         macros.
17969         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17970         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17971         macros.
17972         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17973         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17974         cleanup macros.
17975         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17976         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17977         cleanup macros.
17978         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17979         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17980         cleanup macros.
17981         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17982         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17983         macros.
17984         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17985         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17986         macros.
17987         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17988         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17989         macros.
17990         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17991         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17992         cleanup macros.
17993         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17994         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17995         cleanup macros.
17996         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17997         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17998         macros.
17999         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18000         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18001         cleanup macros.
18002         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18003         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18004         macros.
18005         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
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_fFF_11): Take argument string.  Call new setup and
18010         cleanup macros.
18011         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18012
18013 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18014
18015         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18016         to _sifields.sigfault.
18017         (si_addr_lsb): Define new macro.
18018         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18019         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18020         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18021
18022 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18023
18024         [BZ #15441]
18025         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18026         returns -1.
18027         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18028         null return -1.
18029         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18030         loading the domain.
18031
18032 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18033
18034         * math/gen-libm-test.pl (parse_args): Do not include expected
18035         result in test name.
18036         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18037         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18038         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18039         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18040         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18042
18043 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18044
18045         * benchtests/Makefile: Sort function entries.
18046
18047         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18048         tanh, asinh, acosh, atanh.
18049         * benchtests/acos-inputs: New file.
18050         * benchtests/acosh-inputs: New file.
18051         * benchtests/asin-inputs: New file.
18052         * benchtests/asinh-inputs: New file.
18053         * benchtests/atanh-inputs: New file.
18054         * benchtests/cosh-inputs: New file.
18055         * benchtests/log-inputs: New file.
18056         * benchtests/sinh-inputs: New file.
18057         * benchtests/tanh-inputs: New file.
18058
18059 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18060
18061         [BZ #15339]
18062         * posix/tst-getaddrinfo4.c: New test.
18063         * posix/Makefile (tests): Add it.
18064
18065 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18066
18067         [BZ #15339]
18068         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18069         when no services were used.
18070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18071         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18072
18073 2013-05-21  Andreas Schwab  <schwab@suse.de>
18074
18075         [BZ #15014]
18076         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18077         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18078         successful.
18079         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18080         redundant variable declarations and reallocation of buffer when
18081         parsing as IPv6 address.  Always set NSS status when called from
18082         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18083         buffer too small.  Correct computation of needed size.
18084         * nss/Makefile (tests): Add test-digits-dots.
18085         * nss/test-digits-dots.c: New test.
18086
18087 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18088
18089         * benchtests/Makefile: Remove instructions for adding
18090         benchmark tests.
18091         * benchtests/README: New file to explain how to execute and
18092         enhance the benchmark tests.
18093
18094 2013-05-21  Andreas Schwab  <schwab@suse.de>
18095
18096         [BZ #15493]
18097         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18098         * setjmp/tst-sigsetjmp.c: New test.
18099
18100 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18101
18102         * sysdeps/x86_64/memset.S (memset): New implementation.
18103         (__bzero): Likewise.
18104         (__memset_tail): New function.
18105
18106 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18107
18108         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18109         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18110         __memcpy_sse2_unaligned ifunc selection.
18111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18112         Add memcpy-sse2-unaligned.S.
18113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18114         Add: __memcpy_sse2_unaligned.
18115
18116 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18117
18118         [BZ #15490]
18119         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18120         math_force_eval before restoring floating-point envrionment.
18121         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18122         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18123         Likewise.
18124         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18125         <math_private.h>.
18126         (__nearbyintl): Use math_force_eval before restoring
18127         floating-point environment.
18128         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18129
18130         * math/gen-libm-test.pl (special_functions): Remove.
18131         (parse_args): Don't handle TEST_extra.  Handle functions with no
18132         return value.
18133         * math/libm-test.inc (struct test_sincos_data): Replace with
18134         struct test_fFF_11_data.
18135         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18136         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18137         (sincos_test_data): Change element type to struct
18138         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18139         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18140         RUN_TEST_LOOP_sincos.
18141         * math/README.libm-test: Don't mention special handling of
18142         individual functions.
18143         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18144         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18145         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18146         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18147         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18149
18150         * math/gen-libm-test.pl (get_variable): Remove function.
18151         (parse_args): Don't show pointer parameters to call in test
18152         names.  Use "extra output N" in test names for extra outputs
18153         rather than naming variables.
18154
18155 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18156
18157         [BZ #15488]
18158         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18159         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18160         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18161         double tests.
18162         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18163         disable.
18164         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18165         check_long_double.
18166
18167         * math/gen-libm-test.pl (@tests): Remove variable.
18168         ($count): Likewise.
18169         (new_test): Remove function.
18170         (show_exceptions): New function.
18171         (special_functions): Use show_exceptions instead of new_test.
18172         (parse_args): Likewise.
18173         (generate_testfile): Pass only function name in generated call to
18174         print_max_error or print_complex_max_error.
18175         (get_ulps): Do not handle complex tests specially.
18176         (output_test): Rename to ...
18177         (get_all_ulps_for_test): ... this.  Return a string rather than
18178         printing to a file.  Require ulps to be present.
18179         (output_ulps): Generate arrays rather than #defines.
18180         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18181         (struct ulp_data): New type.
18182         (BUILD_COMPLEX_ULP): Remove macro.
18183         (compare_ulp_data): New function.
18184         (find_ulps): Likewise.
18185         (find_test_ulps): Likewise.
18186         (find_function_ulps): Likewise.
18187         (find_complex_function_ulps): Likewise.
18188         (print_max_error): Determine allowed ulps using
18189         find_function_ulps.
18190         (print_complex_max_error): Determine allowed ulps using
18191         find_complex_function_ulps.
18192         (check_float_internal): Determine max ulps using find_test_ulps.
18193         (check_float): Do not take max_ulp parameter.  Update call to
18194         check_float_internal.
18195         (check_complex): Likewise.
18196         (check_int): Do not take max_ulp parameter.
18197         (check_long): Likewise.
18198         (check_bool): Likewise.
18199         (check_longlong): Likewise.
18200         (struct test_f_f_data): Remove max_ulp field.
18201         (struct test_ff_f_data): Likewise.
18202         (struct test_ff_f_data_nexttoward): Likewise.
18203         (struct test_fi_f_data): Likewise.
18204         (struct test_fl_f_data): Likewise.
18205         (struct test_if_f_data): Likewise.
18206         (struct test_fff_f_data): Likewise.
18207         (struct test_c_f_data): Likewise.
18208         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18209         (struct test_fF_f1_data): Likewise.
18210         (struct test_ffI_f1_data): Likewise.
18211         (struct test_c_c_data): Remove max_ulp field.
18212         (struct test_cc_c_data): Likewise.
18213         (struct test_f_i_data): Likewise.
18214         (struct test_ff_i_data): Likewise.
18215         (struct test_f_l_data): Likewise.
18216         (struct test_f_L_data): Likewise.
18217         (struct test_sincos_data): Likewise.
18218         (RUN_TEST_f_f): Do not handle ulps.
18219         (RUN_TEST_LOOP_f_f): Likewise.
18220         (RUN_TEST_2_f): Likewise.
18221         (RUN_TEST_LOOP_2_f): Likewise.
18222         (RUN_TEST_fff_f): Likewise.
18223         (RUN_TEST_LOOP_fff_f): Likewise.
18224         (RUN_TEST_c_f): Likewise.
18225         (RUN_TEST_LOOP_c_f): Likewise.
18226         (RUN_TEST_f_f1): Likewise.
18227         (RUN_TEST_LOOP_f_f1): Likewise.
18228         (RUN_TEST_fF_f1): Likewise.
18229         (RUN_TEST_LOOP_fF_f1): Likewise.
18230         (RUN_TEST_fI_f1): Likewise.
18231         (RUN_TEST_LOOP_fI_f1): Likewise.
18232         (RUN_TEST_ffI_f1): Likewise.
18233         (RUN_TEST_LOOP_ffI_f1): Likewise.
18234         (RUN_TEST_c_c): Likewise.
18235         (RUN_TEST_LOOP_c_c): Likewise.
18236         (RUN_TEST_cc_c): Likewise.
18237         (RUN_TEST_LOOP_cc_c): Likewise.
18238         (RUN_TEST_f_i): Likewise.
18239         (RUN_TEST_LOOP_f_i): Likewise.
18240         (RUN_TEST_f_i_tg): Likewise.
18241         (RUN_TEST_LOOP_f_i_tg): Likewise.
18242         (RUN_TEST_ff_i_tg): Likewise.
18243         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18244         (RUN_TEST_f_b): Likewise.
18245         (RUN_TEST_LOOP_f_b): Likewise.
18246         (RUN_TEST_f_b_tg): Likewise.
18247         (RUN_TEST_LOOP_f_b_tg): Likewise.
18248         (RUN_TEST_f_l): Likewise.
18249         (RUN_TEST_LOOP_f_l): Likewise.
18250         (RUN_TEST_f_L): Likewise.
18251         (RUN_TEST_LOOP_f_L): Likewise.
18252         (RUN_TEST_sincos): Likewise.
18253         (RUN_TEST_LOOP_sincos): Likewise.
18254
18255 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18256
18257         [BZ #15480]
18258         [BZ #15485]
18259         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18260         main case of finite arguments, set rounding mode to FE_TONEAREST
18261         and discard exceptions.
18262         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18263         exceptions.
18264         (remainder_tonearest_test_data): New variable.
18265         (remainder_test_tonearest): New function.
18266         (remainder_towardzero_test_data): New variable.
18267         (remainder_test_towardzero): New function.
18268         (remainder_downward_test_data): New variable.
18269         (remainder_test_downward): New function.
18270         (remainder_upward_test_data): New variable.
18271         (remainder_test_upward): New function.
18272         (main): Call the new test functions.
18273
18274         * math/libm-test.inc (struct test_f_f1_data): Remove field
18275         extra_init.
18276         (struct test_fF_f1_data): Likewise.
18277         (struct test_ffI_f1_data): Likewise.
18278         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18279         based on value of EXTRA_EXPECTED.
18280         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18281         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18282         EXTRA_VAR based on value of EXTRA_EXPECTED.
18283         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18284         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18285         EXTRA_VAR based on value of EXTRA_EXPECTED.
18286         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18287         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18288         EXTRA_VAR based on value of EXTRA_EXPECTED.
18289         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18290         * math/gen-libm-test.pl (parse_args): Don't output initializers
18291         for extra output values.
18292
18293         * math/libm-test.inc (check_int): Expect result to be exactly
18294         equal to expected value and do not handle ulps.
18295         (check_long): Likewise.
18296         (check_longlong): Likewise.
18297
18298         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18299         exceptions.
18300         (cimag_test_data): Likewise.
18301         (conj_test_data): Likewise.
18302         (copysign_test_data): Likewise.
18303         (cproj_test_data): Likewise.
18304         (creal_test_data): Likewise.
18305         (fabs_test_data): Likewise.
18306         (fdim_test_data): Likewise.
18307         (finite_test_data): Likewise.
18308         (floor_test_data): Likewise.
18309         (fmax_test_data): Likewise.
18310         (fmin_test_data): Likewise.
18311         (fmod_test_data): Likewise.
18312         (fpclassify_test_data): Likewise.
18313         (frexp_test_data): Likewise.
18314         (ilogb_test_data): Likewise.
18315         (isfinite_test_data): Likewise.
18316         (isgreater_test_data): Likewise.
18317         (isgreaterequal_test_data): Likewise.
18318         (isinf_test_data): Likewise.
18319         (isless_test_data): Likewise.
18320         (islessequal_test_data): Likewise.
18321         (islessgreater_test_data): Likewise.
18322         (isnan_test_data): Likewise.
18323         (isnormal_test_data): Likewise.
18324         (issignaling_test_data): Likewise.
18325         (isunordered_test_data): Likewise.
18326         (ldexp_test_data): Likewise.
18327         (lrint_test_data): Likewise.
18328         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18329         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18330         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18331         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18332         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18333         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18334         test input.
18335         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18336         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18337         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18338         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18339         that test input.
18340         (lrint_downward_test_data): Test for "inexact" exceptions.
18341         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18342         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18343         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18344         test input.
18345         (lrint_upward_test_data): Test for "inexact" exceptions.
18346         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18347         test input.
18348         (llrint_test_data): Test for "inexact" exceptions.
18349         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18350         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18351         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18352         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18353         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18354         (llrint_downward_test_data): Test for "inexact" exceptions.
18355         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18356         (llrint_upward_test_data): Test for "inexact" exceptions.
18357         (logb_test_data): Likewise.
18358         (logb_downward_test_data): Likewise.
18359         (nextafter_test_data): Likewise.
18360         (nexttoward_test_data): Likewise.
18361         (remainder_test_data): Likewise.
18362         (remquo_test_data): Likewise.
18363         (scalbn_test_data): Likewise.
18364         (scalbln_test_data): Likewise.
18365         (signbit_test_data): Likewise.
18366         (sqrt_test_data): Likewise.
18367         (significand_test_data): Likewise.
18368
18369 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18370
18371         [BZ #15424]
18372         * benchtests/bench-modf.c (struct args): Mark arg0 as
18373         volatile.
18374         * scripts/bench.pl: Mark members of struct args as volatile.
18375
18376 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18377
18378         [BZ # 15497]
18379         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18380         negative infinity on POWER6 or lower.
18381         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18382
18383 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18384
18385         [BZ #15442]
18386         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18387         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18388         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18389         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18390         (_FP_SETQNAN): New macro.
18391         (_FP_SETQNAN_SEMIRAW): Likewise.
18392         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18393         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18394         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18395         (FP_EXTEND): Use _FP_FRAC_SNANP.
18396         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18397         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18398         into account.
18399         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18400         New macro.
18401         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18402         Likewise.
18403
18404 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18405
18406         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18407         with DIVIDE_BY_ZERO_EXCEPTION.
18408         (gamma_test_data): Likewise.
18409         (lgamma_test_data): Likewise.
18410         (log_test_data): Likewise.
18411         (log10_test_data): Likewise.
18412         (log2_test_data): Likewise.
18413         (tgamma_test_data): Likewise.
18414
18415         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18416         (acos_test_tonearest): Likewise.
18417         (acos_test_towardzero): Likewise.
18418         (acos_test_downward): Likewise.
18419         (acos_test_upward): Likewise.
18420         (acosh_test): Likewise.
18421         (asin_test): Likewise.
18422         (asin_test_tonearest): Likewise.
18423         (asin_test_towardzero): Likewise.
18424         (asin_test_downward): Likewise.
18425         (asin_test_upward): Likewise.
18426         (asinh_test): Likewise.
18427         (atan_test): Likewise.
18428         (atanh_test): Likewise.
18429         (atan2_test): Likewise.
18430         (cabs_test): Likewise.
18431         (cacos_test): Likewise.
18432         (cacosh_test): Likewise.
18433         (casin_test): Likewise.
18434         (casinh_test): Likewise.
18435         (catan_test): Likewise.
18436         (catanh_test): Likewise.
18437         (cbrt_test): Likewise.
18438         (ccos_test): Likewise.
18439         (ccosh_test): Likewise.
18440         (cexp_test): Likewise.
18441         (clog_test): Likewise.
18442         (clog10_test): Likewise.
18443         (cos_test): Likewise.
18444         (cos_test_tonearest): Likewise.
18445         (cos_test_towardzero): Likewise.
18446         (cos_test_downward): Likewise.
18447         (cos_test_upward): Likewise.
18448         (cosh_test): Likewise.
18449         (cosh_test_tonearest): Likewise.
18450         (cosh_test_towardzero): Likewise.
18451         (cosh_test_downward): Likewise.
18452         (cosh_test_upward): Likewise.
18453         (cpow_test): Likewise.
18454         (csin_test): Likewise.
18455         (csinh_test): Likewise.
18456         (csqrt_test): Likewise.
18457         (ctan_test): Likewise.
18458         (ctan_test_tonearest): Likewise.
18459         (ctan_test_towardzero): Likewise.
18460         (ctan_test_downward): Likewise.
18461         (ctan_test_upward): Likewise.
18462         (ctanh_test): Likewise.
18463         (ctanh_test_tonearest): Likewise.
18464         (ctanh_test_towardzero): Likewise.
18465         (ctanh_test_downward): Likewise.
18466         (ctanh_test_upward): Likewise.
18467         (erf_test): Likewise.
18468         (erfc_test): Likewise.
18469         (exp_test): Likewise.
18470         (exp_test_tonearest): Likewise.
18471         (exp_test_towardzero): Likewise.
18472         (exp_test_downward): Likewise.
18473         (exp_test_upward): Likewise.
18474         (exp10_test): Likewise.
18475         (exp2_test): Likewise.
18476         (expm1_test): Likewise.
18477         (fmod_test): Likewise.
18478         (gamma_test): Likewise.
18479         (hypot_test): Likewise.
18480         (j0_test): Likewise.
18481         (j1_test): Likewise.
18482         (jn_test): Likewise.
18483         (lgamma_test): Likewise.
18484         (log_test): Likewise.
18485         (log10_test): Likewise.
18486         (log1p_test): Likewise.
18487         (log2_test): Likewise.
18488         (logb_test_downward): Likewise.
18489         (pow_test): Likewise.
18490         (pow_test_tonearest): Likewise.
18491         (pow_test_towardzero): Likewise.
18492         (pow_test_downward): Likewise.
18493         (pow_test_upward): Likewise.
18494         (remainder_test): Likewise.
18495         (remquo_test): Likewise.
18496         (sin_test): Likewise.
18497         (sin_test_tonearest): Likewise.
18498         (sin_test_towardzero): Likewise.
18499         (sin_test_downward): Likewise.
18500         (sin_test_upward): Likewise.
18501         (sincos_test): Likewise.
18502         (sinh_test): Likewise.
18503         (sinh_test_tonearest): Likewise.
18504         (sinh_test_towardzero): Likewise.
18505         (sinh_test_downward): Likewise.
18506         (sinh_test_upward): Likewise.
18507         (sqrt_test): Likewise.
18508         (tan_test): Likewise.
18509         (tan_test_tonearest): Likewise.
18510         (tan_test_towardzero): Likewise.
18511         (tan_test_downward): Likewise.
18512         (tan_test_upward): Likewise.
18513         (tanh_test): Likewise.
18514         (tgamma_test): Likewise.
18515         (y0_test): Likewise.
18516         (y1_test): Likewise.
18517         (yn_test): Likewise.
18518
18519         * math/gen-libm-test.pl (adjust_arg): Remove function.
18520         (special_function): Remove argument $in_func.  Only handle
18521         generating output for tables of tests, not inside functions.
18522         (parse_args): Likewise.
18523         (generate_testfile): Remove variable $in_func.  Update call to
18524         parse_args.
18525         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18526         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18527         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18528         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18529         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18530         (MAX_VALUE_INIT): Rename macro to max_value.
18531         (MIN_VALUE_INIT): Rename macro to min_value.
18532         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18533         (plus_zero): Remove variable.
18534         (minus_zero): Likewise.
18535         (plus_infty): Likewise.
18536         (minus_infty): Likewise.
18537         (qnan_value): Likewise.
18538         (max_value): Likewise.
18539         (min_value): Likewise.
18540         (min_subnorm_value): Likewise.
18541
18542 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18543
18544         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18545         uint64_t or uint32_t usage.
18546         * crypt/sha256-block.c: Likewise.
18547         * crypt/sha256-crypt.c: Likewise.
18548         * crypt/sha256.c: Likewise.
18549         * crypt/sha512-block.c: Likewise.
18550         * crypt/sha512-crypt.c: Likewise.
18551         * crypt/sha512.c: Likewise.
18552         * debug/backtrace-tst.c: Likewise.
18553         * debug/pcprofiledump.c: Likewise.
18554         * elf/cache.c: Likewise.
18555         * elf/dl-cache.c: Likewise.
18556         * elf/dl-misc.c: Likewise.
18557         * elf/dl-profile.c: Likewise.
18558         * elf/dl-support.c: Likewise.
18559         * elf/ldconfig.c: Likewise.
18560         * elf/sprof.c: Likewise.
18561         * iconv/dummy-repertoire.c: Likewise.
18562         * iconv/iconv_charmap.c: Likewise.
18563         * iconv/skeleton.c: Likewise.
18564         * iconvdata/8bit-generic.c: Likewise.
18565         * iconvdata/cp737.h: Likewise.
18566         * iconvdata/cp775.h: Likewise.
18567         * iconvdata/ibm1008.h: Likewise.
18568         * iconvdata/ibm1025.h: Likewise.
18569         * iconvdata/ibm1046.h: Likewise.
18570         * iconvdata/ibm1097.h: Likewise.
18571         * iconvdata/ibm1112.h: Likewise.
18572         * iconvdata/ibm1122.h: Likewise.
18573         * iconvdata/ibm1123.h: Likewise.
18574         * iconvdata/ibm1124.h: Likewise.
18575         * iconvdata/ibm1129.h: Likewise.
18576         * iconvdata/ibm1130.h: Likewise.
18577         * iconvdata/ibm1132.h: Likewise.
18578         * iconvdata/ibm1133.h: Likewise.
18579         * iconvdata/ibm1137.h: Likewise.
18580         * iconvdata/ibm1140.h: Likewise.
18581         * iconvdata/ibm1141.h: Likewise.
18582         * iconvdata/ibm1142.h: Likewise.
18583         * iconvdata/ibm1143.h: Likewise.
18584         * iconvdata/ibm1144.h: Likewise.
18585         * iconvdata/ibm1145.h: Likewise.
18586         * iconvdata/ibm1146.h: Likewise.
18587         * iconvdata/ibm1147.h: Likewise.
18588         * iconvdata/ibm1148.h: Likewise.
18589         * iconvdata/ibm1149.h: Likewise.
18590         * iconvdata/ibm1153.h: Likewise.
18591         * iconvdata/ibm1154.h: Likewise.
18592         * iconvdata/ibm1155.h: Likewise.
18593         * iconvdata/ibm1156.h: Likewise.
18594         * iconvdata/ibm1157.h: Likewise.
18595         * iconvdata/ibm1158.h: Likewise.
18596         * iconvdata/ibm1160.h: Likewise.
18597         * iconvdata/ibm1161.h: Likewise.
18598         * iconvdata/ibm1162.h: Likewise.
18599         * iconvdata/ibm1163.h: Likewise.
18600         * iconvdata/ibm1164.h: Likewise.
18601         * iconvdata/ibm1166.h: Likewise.
18602         * iconvdata/ibm1167.h: Likewise.
18603         * iconvdata/ibm12712.h: Likewise.
18604         * iconvdata/ibm1390.h: Likewise.
18605         * iconvdata/ibm1399.h: Likewise.
18606         * iconvdata/ibm16804.h: Likewise.
18607         * iconvdata/ibm4517.h: Likewise.
18608         * iconvdata/ibm4899.h: Likewise.
18609         * iconvdata/ibm4909.h: Likewise.
18610         * iconvdata/ibm4971.h: Likewise.
18611         * iconvdata/ibm5347.h: Likewise.
18612         * iconvdata/ibm803.h: Likewise.
18613         * iconvdata/ibm856.h: Likewise.
18614         * iconvdata/ibm901.h: Likewise.
18615         * iconvdata/ibm902.h: Likewise.
18616         * iconvdata/ibm9030.h: Likewise.
18617         * iconvdata/ibm9066.h: Likewise.
18618         * iconvdata/ibm921.h: Likewise.
18619         * iconvdata/ibm922.h: Likewise.
18620         * iconvdata/ibm9448.h: Likewise.
18621         * iconvdata/isiri-3342.h: Likewise.
18622         * iconvdata/jis0201.h: Likewise.
18623         * include/link.h: Likewise.
18624         * include/netdb.h: Likewise.
18625         * inet/check_native.c: Likewise.
18626         * inet/check_pf.c: Likewise.
18627         * inet/getipv4sourcefilter.c: Likewise.
18628         * inet/getnameinfo.c: Likewise.
18629         * inet/getsourcefilter.c: Likewise.
18630         * inet/htonl.c: Likewise.
18631         * inet/setipv4sourcefilter.c: Likewise.
18632         * inet/setsourcefilter.c: Likewise.
18633         * inet/test-inet6_opt.c: Likewise.
18634         * inet/tst-network.c: Likewise.
18635         * locale/C-collate.c: Likewise.
18636         * locale/C-ctype.c: Likewise.
18637         * locale/C-time.c: Likewise.
18638         * locale/C-translit.h: Likewise.
18639         * locale/loadarchive.c: Likewise.
18640         * locale/programs/3level.h: Likewise.
18641         * locale/programs/charmap.c: Likewise.
18642         * locale/programs/charmap.h: Likewise.
18643         * locale/programs/ld-address.c: Likewise.
18644         * locale/programs/ld-collate.c: Likewise.
18645         * locale/programs/ld-ctype.c: Likewise.
18646         * locale/programs/ld-identification.c: Likewise.
18647         * locale/programs/ld-measurement.c: Likewise.
18648         * locale/programs/ld-messages.c: Likewise.
18649         * locale/programs/ld-monetary.c: Likewise.
18650         * locale/programs/ld-name.c: Likewise.
18651         * locale/programs/ld-numeric.c: Likewise.
18652         * locale/programs/ld-paper.c: Likewise.
18653         * locale/programs/ld-telephone.c: Likewise.
18654         * locale/programs/ld-time.c: Likewise.
18655         * locale/programs/linereader.c: Likewise.
18656         * locale/programs/locale.c: Likewise.
18657         * locale/programs/locarchive.c: Likewise.
18658         * locale/programs/locfile.h: Likewise.
18659         * locale/programs/repertoire.c: Likewise.
18660         * locale/programs/simple-hash.c: Likewise.
18661         * locale/programs/simple-hash.h: Likewise.
18662         * malloc/memusage.c: Likewise.
18663         * malloc/memusagestat.c: Likewise.
18664         * nis/nis_defaults.c: Likewise.
18665         * nis/nis_hash.c: Likewise.
18666         * nis/nis_print.c: Likewise.
18667         * nis/nis_xdr.c: Likewise.
18668         * nscd/connections.c: Likewise.
18669         * nscd/hstcache.c: Likewise.
18670         * nscd/nscd_gethst_r.c: Likewise.
18671         * nscd/nscd_getserv_r.c: Likewise.
18672         * nscd/nscd_helper.c: Likewise.
18673         * nscd/servicescache.c: Likewise.
18674         * nss/makedb.c: Likewise.
18675         * nss/nss_db/db-XXX.c: Likewise.
18676         * nss/nss_db/db-initgroups.c: Likewise.
18677         * nss/nss_db/db-netgrp.c: Likewise.
18678         * nss/nss_files/files-network.c: Likewise.
18679         * nss/nss_files/files-parse.c: Likewise.
18680         * posix/bug-regex5.c: Likewise.
18681         * posix/fnmatch_loop.c: Likewise.
18682         * posix/regcomp.c: Likewise.
18683         * posix/regexec.c: Likewise.
18684         * posix/tst-rfc3484-2.c: Likewise.
18685         * posix/tst-rfc3484-3.c: Likewise.
18686         * posix/tst-rfc3484.c: Likewise.
18687         * resolv/nss_dns/dns-canon.c: Likewise.
18688         * resolv/nss_dns/dns-network.c: Likewise.
18689         * resolv/res_init.c: Likewise.
18690         * resolv/res_mkquery.c: Likewise.
18691         * resolv/tst-aton.c: Likewise.
18692         * stdlib/cxa_atexit.c: Likewise.
18693         * stdlib/cxa_finalize.c: Likewise.
18694         * stdlib/gen-fpioconst.c: Likewise.
18695         * stdlib/strtol_l.c: Likewise.
18696         * string/tst-endian.c: Likewise.
18697         * sunrpc/auth_des.c: Likewise.
18698         * sunrpc/clnt_udp.c: Likewise.
18699         * sunrpc/rtime.c: Likewise.
18700         * sunrpc/svcauth_des.c: Likewise.
18701         * sunrpc/xdr.c: Likewise.
18702         * sunrpc/xdr_intXX_t.c: Likewise.
18703         * sunrpc/xdr_rec.c: Likewise.
18704         * sysdeps/generic/ldconfig.h: Likewise.
18705         * sysdeps/generic/ldsodefs.h: Likewise.
18706         * sysdeps/generic/memusage.h: Likewise.
18707         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18708         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18709         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18710         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18711         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18713         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18715         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18717         * sysdeps/posix/getaddrinfo.c: Likewise.
18718         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18719         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18720         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18721         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18722         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18723         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18724         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18725         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18726         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18727         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18728         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18729         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18730         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18731         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18732         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18733         * sysdeps/x86_64/dl-tls.h: Likewise.
18734         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18735         * time/alt_digit.c: Likewise.
18736         * time/era.c: Likewise.
18737         * wcsmbs/tst-c16c32-1.c: Likewise.
18738
18739 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18740
18741         * math/libm-test.inc (struct test_sincos_data): New type.
18742         (RUN_TEST_LOOP_sincos): New macro.
18743         (sincos_test_data): New variable.
18744         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18745
18746 2013-05-16  Richard Henderson  <rth@redhat.com>
18747
18748         * math/atest-exp2.c (LIMB64): New macro.
18749         (CONSTSZ): New macro.
18750         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18751         (hexdig): Move ...
18752         (print_mpn_fp): ... to function scope.
18753         (read_mpn_hex): Remove.
18754         (get_log2): Remove.
18755         (exp2_mpn): Use mp_log2.
18756         (main): Use mp_exp1.
18757
18758 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18759
18760         * math/libm-test.inc: Remove comment about not testing "inexact"
18761         exceptions.
18762         (INEXACT_EXCEPTION): New macro.
18763         (NO_INEXACT_EXCEPTION): Likewise.
18764         (INVALID_EXCEPTION_OK): Update value.
18765         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18766         (OVERFLOW_EXCEPTION_OK): Likewise.
18767         (UNDERFLOW_EXCEPTION_OK): Likewise.
18768         (IGNORE_ZERO_INF_SIGN): Likewise.
18769         (ERRNO_UNCHANGED): Likewise.
18770         (ERRNO_EDOM): Likewise.
18771         (ERRNO_ERANGE): Likewise.
18772         (test_exceptions): Handle testing "inexact" exceptions.
18773         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18774         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18775         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18776         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18777         INEXACT_EXCEPTION.
18778         (rint_towardzero_test_data): Likewise.
18779         (rint_downward_test_data): Likewise.
18780         (rint_upward_test_data): Likewise.
18781
18782         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18783         with OVERFLOW_EXCEPTION.
18784         (exp10_test_data): Likewise.
18785         (exp2_test_data): Likewise.
18786         (expm1_test_data): Likewise.
18787         (lgamma_test_data): Likewise.
18788         (pow_test_data): Likewise.
18789         (tgamma_test_data): Likewise.
18790         (yn_test_data): Remove duplicate test of overflow.
18791
18792         * math/libm-test.inc (struct test_cc_c_data): New type.
18793         (RUN_TEST_LOOP_cc_c): New macro.
18794         (cpow_test_data): New variable.
18795         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18796
18797         * math/libm-test.inc (struct test_f_L_data): New type.
18798         (RUN_TEST_LOOP_f_L): New macro.
18799         (llrint_test_data): New variable.
18800         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18801         (llrint_tonearest_test_data): New variable.
18802         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18803         (llrint_towardzero_test_data): New variable.
18804         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18805         (llrint_downward_test_data): New variable.
18806         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18807         (llrint_upward_test_data): New variable.
18808         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18809         (llround_test_data): New variable.
18810         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18811
18812 2013-05-13  Peter Collingbourne  <pcc@google.com>
18813
18814         * math/atest-exp2.c (get_log2): Remove const attribute.
18815
18816 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18817
18818         * math/libm-test.inc (struct test_f_l_data): New type.
18819         (RUN_TEST_LOOP_f_l): New macro.
18820         (lrint_test_data): New variable.
18821         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18822         (lrint_tonearest_test_data): New variable.
18823         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18824         (lrint_towardzero_test_data): New variable.
18825         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18826         (lrint_downward_test_data): New variable.
18827         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18828         (lrint_upward_test_data): New variable.
18829         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18830         (lround_test_data): New variable.
18831         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18832
18833 2013-05-15  Peter Collingbourne  <pcc@google.com>
18834
18835         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18836         (EXTRACT_WORDS64) Use where appropriate.
18837         (INSERT_WORDS64) Likewise.
18838
18839         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18840         constraints with x constraints.
18841         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18842
18843         * malloc/obstack.c (_obstack_compat): Add initializer.
18844
18845 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18846
18847         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18848         si_trapno and add si_addr_lsb to _sifields.sigfault.
18849         (si_trapno): Remove macro.
18850         (si_addr_lsb): Define new macro.
18851         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18852
18853 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18854
18855         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18856         instead of TEST_f_l.
18857         (llrint_test_tonearest): Likewise.
18858         (llrint_test_towardzero): Likewise.
18859         (llrint_test_downward): Likewise.
18860         (llrint_test_upward): Likewise.
18861         (llround_test): Likewise.
18862
18863         * math/libm-test.inc (struct test_f_i_data): Add comment.
18864         (RUN_TEST_LOOP_f_b): New macro.
18865         (RUN_TEST_LOOP_f_b_tg): Likewise.
18866         (finite_test_data): New variable.
18867         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18868         (isfinite_test_data): New variable.
18869         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18870         (isinf_test_data): New variable.
18871         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18872         (isnan_test_data): New variable.
18873         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18874         (isnormal_test_data): New variable.
18875         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18876         (issignaling_test_data): New variable.
18877         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18878         (signbit_test_data): New variable.
18879         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18880
18881         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18882         with INVALID_EXCEPTION.
18883         (acosh_test_data): Likewise.
18884         (asin_test_data): Likewise.
18885         (atanh_test_data): Likewise.
18886         (fmod_test_data): Likewise.
18887         (log_test_data): Likewise.
18888         (log10_test_data): Likewise.
18889         (log2_test_data): Likewise.
18890         (pow_test_data): Likewise.
18891         (sqrt_test_data): Likewise.
18892         (y0_test_data): Likewise.
18893         (y1_test_data): Likewise.
18894         (yn_test_data): Likewise.
18895
18896         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18897         function contents.
18898
18899         * math/libm-test.inc (struct test_ff_i_data): New type.
18900         (RUN_TEST_LOOP_ff_i_tg): New macro.
18901         (isgreater_test_data): New variable.
18902         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18903         (isgreaterequal_test_data): New variable.
18904         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18905         (isless_test_data): New variable.
18906         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18907         (islessequal_test_data): New variable.
18908         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18909         (islessgreater_test_data): New variable.
18910         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18911         (isunordered_test_data): New variable.
18912         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18913
18914 2013-05-14  David S. Miller  <davem@davemloft.net>
18915
18916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18917
18918 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18919
18920         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18921
18922         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18923         extra_test to int.
18924         (struct test_f_i_data): Change type of max_ulp to int.
18925
18926         * math/libm-test.inc (test_ffI_f1_data): New type.
18927         (RUN_TEST_LOOP_ffI_f1): New macro.
18928         (remquo_test_data): New variable.
18929         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18930
18931         * setjmp/tst-setjmp-fp.c: New file.
18932         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18933         (link-libm): New variable.
18934         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18935
18936         * math/libm-test.inc (struct test_f_i_data): New type.
18937         (RUN_TEST_LOOP_f_i): New macro.
18938         (RUN_TEST_LOOP_f_i_tg): Likewise.
18939         (fpclassify_test_data): New variable.
18940         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18941         (ilogb_test_data): New variable.
18942         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18943
18944         * math/libm-test.inc (scalbln_test): Correct function name in END
18945         call.
18946
18947         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18948         (RUN_TEST_LOOP_fI_f1): New macro.
18949         (frexp_test_data): New variable.
18950         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18951
18952         * math/libm-test.inc (struct test_fF_f1_data): New type.
18953         (RUN_TEST_LOOP_fF_f1): New macro.
18954         (modf_test_data): New variable.
18955         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18956
18957         * math/libm-test.inc (struct test_f_f1_data): New type.
18958         (RUN_TEST_LOOP_f_f1): New macro.
18959         (gamma_test_data): New variable.
18960         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18961         (lgamma_test_data): New variable.
18962         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18963
18964 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18965
18966         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18967         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18968         (main): Comment "tls" pseudo-hwcap.
18969
18970 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18971
18972         * math/libm-test.inc (struct test_fl_f_data): New type.
18973         (RUN_TEST_LOOP_fl_f): New variable.
18974         (scalbln_test_data): New variable.
18975         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18976
18977         * math/libm-test.inc (struct test_fi_f_data): New type.
18978         (RUN_TEST_LOOP_fi_f): New macro.
18979         (ldexp_test_data): New variable.
18980         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18981         (scalbn_test_data): New variable.
18982         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18983
18984         * math/libm-test.inc (struct test_c_f_data): New type.
18985         (RUN_TEST_LOOP_c_f): New macro.
18986         (cabs_test_data): New variable.
18987         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18988         (carg_test_data): New variable.
18989         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18990         (cimag_test_data): New variable.
18991         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18992         (creal_test_data): New variable.
18993         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18994
18995         * math/libm-test.inc (struct test_if_f_data): New type.
18996         (RUN_TEST_LOOP_if_f): New macro.
18997         (jn_test_data): New variable.
18998         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18999         (yn_test_data): New variable.
19000         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19001
19002         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19003
19004 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19005
19006         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19007         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19008
19009 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19010
19011         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19012         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19013         (bench-deps): Add bench-timing.h.
19014         * benchtests-bench-skeleton.c: Include bench-timing.h.
19015         (main): Use TIMING_* macros instead of clock_gettime.
19016         * benchtests/bench-timing.h: New file.
19017
19018         [BZ #14582]
19019         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19020         Renamed from _LIB_VERSION.
19021         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19022
19023 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19024
19025         * math/libm-test.inc (struct test_fff_f_data): New type.
19026         (RUN_TEST_LOOP_fff_f): New macro.
19027         (fma_test_data): New variable.
19028         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19029         (fma_towardzero_test_data): New variable.
19030         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19031         (fma_downward_test_data): New variable.
19032         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19033         (fma_upward_test_data): New variable.
19034         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19035
19036         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19037         (struct test_c_c_data): New type.
19038         (RUN_TEST_LOOP_c_c): New macro.
19039         (cacos_test_data): New variable.
19040         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19041         (cacosh_test_data): New variable.
19042         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19043         (casin_test_data): New variable.
19044         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19045         (casinh_test_data): New variable.
19046         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19047         (catan_test_data): New variable.
19048         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19049         (catanh_test_data): New variable.
19050         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19051         (ccos_test_data): New variable.
19052         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19053         (ccosh_test_data): New variable.
19054         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19055         (cexp_test_data): New variable.
19056         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19057         (clog_test_data): New variable.
19058         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19059         (clog10_test_data): New variable.
19060         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19061         (conj_test_data): New variable.
19062         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19063         (cproj_test_data): New variable.
19064         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19065         (csin_test_data): New variable.
19066         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19067         (csinh_test_data): New variable.
19068         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19069         (csqrt_test_data): New variable.
19070         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19071         (ctan_test_data): New variable.
19072         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19073         (ctan_tonearest_test_data): New variable.
19074         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19075         (ctan_towardzero_test_data): New variable.
19076         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19077         (ctan_downward_test_data): New variable.
19078         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19079         (ctan_upward_test_data): New variable.
19080         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19081         (ctanh_test_data): New variable.
19082         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19083         (ctanh_tonearest_test_data): New variable.
19084         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19085         (ctanh_towardzero_test_data): New variable.
19086         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19087         (ctanh_downward_test_data): New variable.
19088         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19089         (ctanh_upward_test_data): New variable.
19090         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19091         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19092         of BUILD_COMPLEX.
19093
19094         * math/libm-test.inc (struct test_ff_f_data): New type.
19095         (struct test_ff_f_data_nexttoward): Likewise.
19096         (RUN_TEST_LOOP_2_f): New macro.
19097         (RUN_TEST_LOOP_ff_f): Likewise.
19098         (atan2_test_data): New variable.
19099         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19100         (copysign_test_data): New variable.
19101         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19102         (fdim_test_data): New variable.
19103         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19104         (fmax_test_data): New variable.
19105         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19106         (fmin_test_data): New variable.
19107         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19108         (fmod_test_data): New variable.
19109         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19110         (hypot_test_data): New variable.
19111         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19112         (nextafter_test_data): New variable.
19113         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19114         (nexttoward_test_data): New variable.
19115         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19116         (pow_test_data): New variable.
19117         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19118         (pow_tonearest_test_data): New variable.
19119         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19120         (pow_towardzero_test_data): New variable.
19121         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19122         (pow_downward_test_data): New variable.
19123         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19124         (pow_upward_test_data): New variable.
19125         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19126         (remainder_test_data): New variable.
19127         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19128         (scalb_test_data): New variable.
19129         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19130         * sysdeps/i386/fpu/libm-test-ulps: Update.
19131
19132 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19133
19134         * math/libm-test.inc (fma_test): Use max_value instead of local
19135         variable fltmax.
19136         (nextafter_test): Likewise.
19137
19138         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19139         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19140         (acos_downward_test_data): New variable.
19141         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19142         (acos_upward_test_data): New variable.
19143         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19144         (acosh_test_data): New variable.
19145         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19146         (asin_test_data): New variable.
19147         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19148         (asin_tonearest_test_data): New variable.
19149         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19150         (asin_towardzero_test_data): New variable.
19151         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19152         (asin_downward_test_data): New variable.
19153         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19154         (asin_upward_test_data): New variable.
19155         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19156         (asinh_test_data): New variable.
19157         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19158         (atan_test_data): New variable.
19159         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19160         (atanh_test_data): New variable.
19161         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19162         (cbrt_test_data): New variable.
19163         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19164         (ceil_test_data): New variable.
19165         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19166         (cos_test_data): New variable.
19167         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19168         (cos_tonearest_test_data): New variable.
19169         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19170         (cos_towardzero_test_data): New variable.
19171         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19172         (cos_downward_test_data): New variable.
19173         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19174         (cos_upward_test_data): New variable.
19175         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19176         (cosh_test_data): New variable.
19177         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19178         (cosh_tonearest_test_data): New variable.
19179         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19180         (cosh_towardzero_test_data): New variable.
19181         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19182         (cosh_downward_test_data): New variable.
19183         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19184         (cosh_upward_test_data): New variable.
19185         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19186         (erf_test_data): New variable.
19187         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19188         (erfc_test_data): New variable.
19189         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19190         (exp_test_data): New variable.
19191         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19192         (exp_tonearest_test_data): New variable.
19193         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19194         (exp_towardzero_test_data): New variable.
19195         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19196         (exp_downward_test_data): New variable.
19197         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19198         (exp_upward_test_data): New variable.
19199         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19200         (exp10_test_data): New variable.
19201         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19202         (exp2_test_data): New variable.
19203         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19204         (expm1_test_data): New variable.
19205         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19206         (fabs_test_data): New variable.
19207         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19208         (floor_test_data): New variable.
19209         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19210         (j0_test_data): New variable.
19211         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19212         (j1_test_data): New variable.
19213         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19214         (log_test_data): New variable.
19215         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19216         (log10_test_data): New variable.
19217         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19218         (log1p_test_data): New variable.
19219         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19220         (log2_test_data): New variable.
19221         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19222         (logb_test_data): New variable.
19223         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19224         (logb_downward_test_data): New variable.
19225         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19226         (nearbyint_test_data): New variable.
19227         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19228         (rint_test_data): New variable.
19229         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19230         (rint_tonearest_test_data): New variable.
19231         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19232         (rint_towardzero_test_data): New variable.
19233         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19234         (rint_downward_test_data): New variable.
19235         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19236         (rint_upward_test_data): New variable.
19237         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19238         (round_test_data): New variable.
19239         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19240         (sin_test_data): New variable.
19241         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19242         (sin_tonearest_test_data): New variable.
19243         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19244         (sin_towardzero_test_data): New variable.
19245         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19246         (sin_downward_test_data): New variable.
19247         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19248         (sin_upward_test_data): New variable.
19249         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19250         (sinh_test_data): New variable.
19251         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19252         (sinh_tonearest_test_data): New variable.
19253         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19254         (sinh_towardzero_test_data): New variable.
19255         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19256         (sinh_downward_test_data): New variable.
19257         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19258         (sinh_upward_test_data): New variable.
19259         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19260         (sqrt_test_data): New variable.
19261         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19262         (tan_test_data): New variable.
19263         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19264         (tan_tonearest_test_data): New variable.
19265         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19266         (tan_towardzero_test_data): New variable.
19267         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19268         (tan_downward_test_data): New variable.
19269         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19270         (tan_upward_test_data): New variable.
19271         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19272         (tanh_test_data): New variable.
19273         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19274         (tgamma_test_data): New variable.
19275         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19276         (trunc_test_data): New variable.
19277         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19278         (y0_test_data): New variable.
19279         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19280         (y1_test_data): New variable.
19281         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19282         (significand_test_data): New variable.
19283         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19284
19285 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19286
19287         [BZ #12387]
19288         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19289
19290 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19291
19292         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19293
19294 2013-05-10  Andreas Jaeger  <aj@suse.de>
19295
19296         [BZ #15448]
19297         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19298         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19299
19300 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19301
19302         * math/gen-libm-test.pl (adjust_arg): New function.
19303         (special_functions): Handle generating output in both functions
19304         and arrays.
19305         (parse_args): Likewise.
19306         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19307         $in_func argument to parse_args.
19308         * math/libm-test.inc (struct test_f_f_data): New type.
19309         (IF_ROUND_INIT_): New macro.
19310         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19311         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19312         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19313         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19314         (ROUND_RESTORE_): Likewise.
19315         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19316         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19317         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19318         (ROUND_RESTORE_FE_UPWARD): Likewise.
19319         (RUN_TEST_LOOP_f_f): New macro.
19320         (acos_test_data): New variable.
19321         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19322         (acos_tonearest_test_data): New variable.
19323         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19324
19325 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19326
19327         * benchtests/bench-skeleton.c (startup): Fix coding style.
19328
19329 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19330
19331         [BZ #6809]
19332         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19333         negative infinity argument.
19334         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19335         negative infinity argument.
19336         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19337         negative infinity argument.
19338         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19339         domain errors.
19340
19341 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19342
19343         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19344         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19345         * iconv/iconv_prog.c (main): Likewise.
19346         * locale/programs/charmap-dir.c (charmap_readdir)
19347         (fopen_uncompressed): Likewise.
19348         * locale/programs/locfile.c (siblings_uncached)
19349         (write_locale_data): Use lstat64 instead of lstat.
19350         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19351         stat.
19352
19353 2013-05-10  Andreas Jaeger  <aj@suse.de>
19354
19355         [BZ #15395]
19356         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19357         localization.
19358         Include <locale.h>.
19359
19360 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19361
19362         * elf/dl-close.c (_dl_close_worker): Add comments.
19363
19364 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19365
19366         [BZ #15359]
19367         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19368         high part of pi/2.
19369         (__ieee754_rem_pio2l): Update comments.
19370
19371         [BZ #15429]
19372         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19373         high part of pi/2.
19374         (__ieee754_rem_pio2l): Update comments.
19375
19376         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19377         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19378
19379         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19380         M_PI_4l.
19381
19382         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19383         (M_PI_34_LOG10El): Likewise.
19384         (M_PI2_LOG10El): Likewise.
19385         (M_PI4_LOG10El): Likewise.
19386         (M_PI_LOG10El): Likewise.
19387
19388 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19389
19390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19391
19392 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19393
19394         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19395         (MINUS_ZERO_INIT): Likewise.
19396         (PLUS_INFTY_INIT): Likewise.
19397         (MINUS_INFTY_INIT): Likewise.
19398         (QNAN_VALUE_INIT): Likewise.
19399         (MAX_VALUE_INIT): Likewise.
19400         (MIN_VALUE_INIT): Likewise.
19401         (MIN_SUBNORM_VALUE_INIT): Likewise.
19402         (plus_zero): Initialize with PLUS_ZERO_INIT.
19403         (minus_zero): Initialize with MINUS_ZERO_INIT.
19404         (plus_infty): Initialize with PLUS_INFTY_INIT.
19405         (minus_infty): Initialize with MINUS_INFTY_INIT.
19406         (qnan_value): Initialize with QNAN_VALUE_INIT.
19407         (max_value): Initialize with MAX_VALUE_INIT.
19408         (min_value): Initialize with MIN_VALUE_INIT.
19409         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19410
19411         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19412         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19413         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19414         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19415
19416         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19417         (RUN_TEST_2_f): Likewise.
19418         (RUN_TEST_ff_f): Likewise.
19419         (RUN_TEST_fi_f): Likewise.
19420         (RUN_TEST_fl_f): Likewise.
19421         (RUN_TEST_fff_f): Likewise.
19422         (RUN_TEST_c_f): Likewise.
19423         (RUN_TEST_f_f1): Likewise.
19424         (RUN_TEST_fF_f1): Likewise.
19425         (RUN_TEST_fI_f1): Likewise.
19426         (RUN_TEST_ffI_f1): Likewise.
19427         (RUN_TEST_c_c): Likewise.
19428         (RUN_TEST_cc_c): Likewise.
19429         (RUN_TEST_f_i): Likewise.
19430         (RUN_TEST_f_i_tg): Likewise.
19431         (RUN_TEST_ff_i_tg): Likewise.
19432         (RUN_TEST_f_b): Likewise.
19433         (RUN_TEST_f_b_tg): Likewise.
19434         (RUN_TEST_f_l): Likewise.
19435         (RUN_TEST_f_L): Likewise.
19436         (RUN_TEST_sincos): Likewise.
19437         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19438         whether to show exceptions.  Do not include ");\n" in return
19439         value.
19440         (special_functions): Output call to RUN_TEST_sincos instead of
19441         check_float calls.  Update calls to new_test.
19442         (parse_args): Output call to single RUN_TEST_* macro instead of
19443         check_* calls and other assignments.  Update calls to new_test.
19444
19445         [BZ #2546]
19446         [BZ #2560]
19447         [BZ #5159]
19448         [BZ #15426]
19449         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19450         input to result for tgamma overflow.
19451         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19452         (gamma_coeff): New variable.
19453         (NCOEFF): New macro.
19454         (gamma_positive): New function.
19455         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19456         underflow here.  Use gamma_positive instead of exp (lgamma) for
19457         other arguments.
19458         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19459         (gamma_coeff): New variable.
19460         (NCOEFF): New macro.
19461         (gammaf_positive): New function.
19462         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19463         underflow here.  Use gamma_positive instead of exp (lgamma) for
19464         other arguments.
19465         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19466         (gamma_coeff): New variable.
19467         (NCOEFF): New macro.
19468         (gammal_positive): New function.
19469         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19470         underflow here.  Use gamma_positive instead of exp (lgamma) for
19471         other arguments.
19472         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19473         (gamma_coeff): New variable.
19474         (NCOEFF): New macro.
19475         (gammal_positive): New function.
19476         (__ieee754_gammal_r): Handle positive infinity, overflow and
19477         underflow here.  Handle NaN the same as positive infinity.  Remove
19478         check x < 0xffffffff for negative integers.  Use gamma_positive
19479         instead of exp (lgamma) for other arguments.
19480         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19481         (gamma_coeff): New variable.
19482         (NCOEFF): New macro.
19483         (gammal_positive): New function.
19484         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19485         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19486         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19487         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19488         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19489         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19490         * sysdeps/generic/math_private.h (__gamma_productf): New
19491         prototype.
19492         (__gamma_product): Likewise.
19493         (__gamma_productl): Likewise.
19494         * math/Makefile (libm-calls): Add gamma_product.
19495         * math/libm-test.inc (tgamma_test): Add more tests.
19496         * sysdeps/i386/fpu/libm-test-ulps: Update.
19497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19498
19499 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19500
19501         * benchtests/bench-skeleton.c (main): Preheat CPU.
19502
19503 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19504
19505         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19506
19507 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19508
19509         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19510         and _dl_skip_args_internal.
19511
19512 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19513
19514         * manual/message.texi (Message Translation): Talk about users.
19515         Message to key mapping impacts design.
19516
19517 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19518
19519         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19520
19521         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19522
19523         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19524         * sysdeps/wordsize-64/glob64.c: ... here.
19525
19526         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19527         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19528         New macros.
19529
19530         * debug/getlogin_r_chk.c: Moved to ...
19531         * login/getlogin_r_chk.c: ... here.
19532         * debug/Makefile (routines): Move getlogin_r_chk to ...
19533         * login/Makefile (routines): ... here.
19534         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19535         * login/Versions (libc: GLIBC_2.4): ... here.
19536
19537         * io/poll.c (__poll): Renamed from poll.
19538         Add libc_hidden_def.
19539         (poll): Define as weak alias.
19540
19541         * debug/ptsname_r_chk.c: Moved to ...
19542         * login/ptsname_r_chk.c: ... here.
19543         * debug/Makefile (routines): Move ptsname_r_chk to ...
19544         * login/Makefile (routines): ... here.
19545         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19546         * login/Versions (libc: GLIBC_2.4): ... here.
19547
19548         * posix/getlogin.c: Moved to ...
19549         * login/getlogin.c: ... here.
19550         * posix/getlogin_r.c: Moved to ...
19551         * login/getlogin_r.c: ... here.
19552         * posix/getlogin_r.c: Moved to ...
19553         * login/getlogin_r.c: ... here.
19554         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19555         * login/Makefile (routines): ... here.
19556         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19557         * login/Versions (libc: GLIBC_2.0): ... here.
19558
19559         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19560         (setrlimit): Define as weak alias.
19561
19562         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19563         Call __ names for open, ftruncate, and close.
19564         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19565         (truncate): Define as weak alias.
19566
19567 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19568
19569         * math/gen-libm-test.pl (parse_args): Initialize x before each
19570         test of frexp, modf and remquo.
19571
19572         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19573         test signgam value.
19574
19575 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19576
19577         [BZ #15418]
19578         [BZ #15419]
19579         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19580         internal tests.
19581         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19582
19583 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19584
19585         * elf/dl-writev.h: New file.
19586         * elf/dl-misc.c: Include it.
19587         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19588         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19589
19590 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19591
19592         * math/libm-test.inc (noXFails): Remove variable.
19593         (noXPasses): Likewise.
19594         (BUILD_COMPLEX_INT): Remove macro.
19595         (print_screen): Remove xfail argument.
19596         (print_screen_max_error): Likewise.
19597         (update_stats): Likewise.
19598         (print_max_error): Likewise.  Update calls to other affected
19599         functions.
19600         (print_complex_max_error): Likewise.
19601         (test_single_exception): Update calls to print_screen.
19602         (test_single_errno): Likewise.
19603         (check_float_internal): Remove xfail argument.  Update calls to
19604         other affected functions.
19605         (check_float): Likewise.
19606         (check_complex): Likewise.
19607         (check_int): Likewise.
19608         (check_long): Likewise.
19609         (check_bool): Likewise.
19610         (check_longlong): Likewise.
19611         (main): Don't print noXFails and noXPasses.
19612         * math/gen-libm-test.pl (top level): Don't mention expected
19613         failure handling in comment.
19614         (new_test): Don't handle expected failures.
19615         (parse_args): Don't mention expected failure handling in comment.
19616         (generate_testfile): Don't handle expected failures.
19617         (parse_ulps): Likewise.
19618         (print_ulps_file): Likewise.
19619         (get_failure): Remove function.
19620         (output_test): Don't handle expected failures.
19621         * make/README.libm-test: Don't mention expected failure handling.
19622
19623         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19624         (minus_zero): Likewise.
19625         (plus_infty): Likewise.
19626         (minus_infty): Likewise.
19627         (qnan_value): Likewise.
19628         (max_value): Likewise.
19629         (min_value): Likewise.
19630         (min_subnorm_value): Likewise.
19631         (initialize): Do not initialize those variables dynamically.
19632
19633 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19634
19635         * io/open.c (__open_2): Moved to ...
19636         * io/open_2.c: ... this new file.
19637         * io/open64.c (__open64_2): Moved to ...
19638         * io/open64_2.c: ... this new file.
19639         * io/openat.c (__openat_2): Moved to ...
19640         * io/openat_2.c: ... this new file.
19641         * io/openat64.c (__openat64_2): Moved to ...
19642         * io/openat64_2.c: ... this new file.
19643         * io/Makefile (routines): Add them.
19644         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19645         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19646         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19647         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19648         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19649         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19650         (__openat64): Add hidden_ver.
19651         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19652         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19653
19654         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19655         Separately conditionalize setting of GLRO(dl_sysinfo) so
19656         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19657         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19658
19659 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19660
19661         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19662         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19663         definition.
19664         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19665         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19666         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19667         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19668         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19669
19670 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19671
19672         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19673         test signgam value.
19674
19675         * math/libm-test.inc (hypot_test): Do not use
19676         IGNORE_ZERO_INF_SIGN.
19677
19678 2013-05-03  Andreas Jaeger  <aj@suse.de>
19679
19680         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19681         Linux 3.9.
19682         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19683         (PF_MAX): Adjust for VSOCK change.
19684
19685 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19686
19687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19688
19689 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19690
19691         [BZ #15264]
19692         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19693         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19694         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19695
19696 2013-05-02  David S. Miller  <davem@davemloft.net>
19697
19698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19699
19700 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19701
19702         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19703
19704 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19705
19706         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19707
19708 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19709
19710         [BZ #14952]
19711         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19712         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19713         Use __attribute__ ((__gnu_inline__)).
19714         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19715         Don't use __attribute__ ((__gnu_inline__)).
19716
19717 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19718
19719         [BZ #15423]
19720         * math/s_catan.c (__catan): Handle small real or imaginary part of
19721         input specially to avoid spurious underflow.
19722         * math/s_catanf.c (__catanf): Likewise.
19723         * math/s_catanh.c (__catanh): Likewise.
19724         * math/s_catanhf.c (__catanhf): Likewise.
19725         * math/s_catanhl.c (__catanhl): Likewise.
19726         * math/s_catanl.c (__catanl): Likewise.
19727         * math/libm-test.inc (catan_test): Add more tests.
19728         (catanh_test): Likewise.
19729         * sysdeps/i386/fpu/libm-test-ulps: Update.
19730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19731
19732 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19733
19734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19735
19736 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19737
19738         [BZ #15416]
19739         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19740         accurately for denominator in atan2.
19741         * math/s_catanf.c (__catanf): Likewise.
19742         * math/s_catanh.c (__catanh): Likewise.
19743         * math/s_catanhf.c (__catanhf): Likewise.
19744         * math/s_catanhl.c (__catanhl): Likewise.
19745         * math/s_catanl.c (__catanl): Likewise.
19746         * math/libm-test.inc (catan_test): Add more tests.
19747         (catanh_test): Likewise.
19748         * sysdeps/i386/fpu/libm-test-ulps: Update.
19749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19750
19751 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19752
19753         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19754
19755         * benchtests/Makefile (bench): Remove slow benchmarks.
19756         * benchtests/atan-inputs: Add slow benchmark inputs.
19757         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19758         (BENCH_FUNC): Accept variant offset.
19759         (VARIANT): Define.
19760         * benchtests/bench-skeleton.c (main): Run benchmark for each
19761         variant.
19762         * benchtests/cos-inputs: Add slow benchmark inputs.
19763         * benchtests/exp-inputs: Likewise.
19764         * benchtests/pow-inputs: Likewise.
19765         * benchtests/sin-inputs: Likewise.
19766         * benchtests/slowatan-inputs: Remove.
19767         * benchtests/slowatan.c: Remove.
19768         * benchtests/slowcos-inputs: Remove.
19769         * benchtests/slowcos.c: Remove.
19770         * benchtests/slowexp-inputs: Remove.
19771         * benchtests/slowexp.c: Remove.
19772         * benchtests/slowpow-inputs: Remove.
19773         * benchtests/slowpow.c: Remove.
19774         * benchtests/slowsin-inputs: Remove.
19775         * benchtests/slowsin.c: Remove.
19776         * benchtests/slowtan-inputs: Remove.
19777         * benchtests/slowtan.c: Remove.
19778         * benchtests/tan-inputs: Add slow benchmark inputs.
19779         * scripts/bench.pl: Parse comments and directives.
19780
19781         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19782         in CPPFLAGS.
19783         ($(objpfx)bench-%.c): Remove *-ITER.
19784         * benchtests/bench-modf.c: Remove definition of ITER.
19785         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19786         (main): Loop for DURATION seconds instead of fixed number of
19787         iterations.
19788         * scripts/bench.pl: Don't expect iterations in parameters.
19789
19790 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19791
19792         * io/fchdir.c (__fchdir): Renamed from fchdir.
19793         (fchdir): Define as weak alias.
19794
19795 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19796
19797         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19798         (ERRNO_EDOM): Likewise.
19799         (ERRNO_ERANGE): Likewise.
19800         (noErrnoTests): New variable.
19801         (init_max_error): Set errno to 0.
19802         (test_single_errno): New function.
19803         (test_errno): Likewise.
19804         (check_float_internal): Call test_errno.  Set errno to 0.
19805         (check_complex): Refer to errno tests in comment.
19806         (check_int): Call test_errno.  Set errno to 0.
19807         (check_long): Likewise.
19808         (check_bool): Likewise.
19809         (check_longlong): Likewise.
19810         (cos_test): Use ERRNO_* flags for errno tests instead of
19811         check_int.
19812         (expm1_test): Likewise.
19813         (fmod_test): Likewise.
19814         (ilogb_test): Likewise.
19815         (lgamma_test): Likewise.
19816         (pow_test): Likewise.
19817         (remainder_test): Likewise.
19818         (sin_test): Likewise.
19819         (tan_test): Likewise.
19820         (yn_test): Likewise.
19821         (initialize): Set errno to 0.
19822         (main): Print number of errno tests.
19823         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19824
19825 2013-04-29  Andreas Jaeger  <aj@suse.de>
19826
19827         [BZ #15084]
19828         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19829         and RES_USEVC.
19830
19831         [BZ #15085]
19832         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19833         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19834         unimplemented.
19835
19836         [BZ #15380]
19837         * stdlib/random.c (__initstate): Return NULL if
19838         __initstate fails.
19839
19840         [BZ #15086]
19841         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19842         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19843         RES_SNGLKUPREOP.
19844
19845 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19846
19847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19848
19849 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19850
19851         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19852         of individual tests.
19853         (casin_test): Likewise.
19854         (casinh_test): Likewise.
19855
19856 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19857
19858         [BZ #15409]
19859         * math/s_catan.c (__catan): Handle arguments with large real or
19860         imaginary part separately without squaring.
19861         * math/s_catanf.c (__catanf): Likewise.
19862         * math/s_catanh.c (__catanh): Likewise.
19863         * math/s_catanhf.c (__catanhf): Likewise.
19864         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19865         and redefine.
19866         (__catanhl): Handle arguments with large real or imaginary part
19867         separately without squaring.
19868         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19869         and redefine.
19870         (__catanl): Handle arguments with large real or imaginary part
19871         separately without squaring.
19872         * math/libm-test.inc (catan_test): Add more tests.
19873         (catanh_test): Likewise.
19874         * sysdeps/i386/fpu/libm-test-ulps: Update.
19875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19876
19877 2013-04-27  Andreas Jaeger  <aj@suse.de>
19878
19879         [BZ #15007]
19880         * stdlib/stdlib.h: Update guards for qecvt.
19881         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19882         <stdlib.h>.
19883
19884 2013-04-27  Allan McRae  <allan@archlinux.org>
19885
19886         * sysdeps/i386/fpu/libm-test-ulps: Update.
19887
19888 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19889
19890         [BZ #15406]
19891         * math/s_catan.c: Include <float.h>.
19892         (__catan): Ensure underflow exception occurs for underflowed
19893         result.
19894         * math/s_catanf.c: Include <float.h>.
19895         (__catanf): Ensure underflow exception occurs for underflowed
19896         result.
19897         * math/s_catanh.c: Include <float.h>.
19898         (__catanh): Ensure underflow exception occurs for underflowed
19899         result.
19900         * math/s_catanhf.c: Include <float.h>.
19901         (__catanhf): Ensure underflow exception occurs for underflowed
19902         result.
19903         * math/s_catanhl.c: Include <float.h>.
19904         (__catanhl): Ensure underflow exception occurs for underflowed
19905         result.
19906         * math/s_catanl.c: Include <float.h>.
19907         (__catanl): Ensure underflow exception occurs for underflowed
19908         result.
19909         * math/libm-test.inc (catan_test): Add more tests.
19910         (catanh_test): Likewise.
19911
19912         [BZ #15405]
19913         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19914         underflowed result.
19915         * math/s_ccoshf.c (__ccoshf): Likewise.
19916         * math/s_ccoshl.c (__ccoshl): Likewise.
19917         * math/s_csin.c (__csin): Likewise.
19918         * math/s_csinf.c (__csinf): Likewise.
19919         * math/s_csinh.c (__csinh): Likewise.
19920         * math/s_csinhf.c (__csinhf): Likewise.
19921         * math/s_csinhl.c (__csinhl): Likewise.
19922         * math/s_csinl.c (__csinl): Likewise.
19923         * math/libm-test.inc (ccos_test): Add more tests.
19924         (ccosh_test): Likewise.
19925         (csin_test): Likewise.
19926         (csinh_test): Likewise.
19927
19928 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19929
19930         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19931         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19932         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19933         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19934         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19935         powerpc/power5+/fpu folders.
19936         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19937
19938
19939 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19940
19941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19942
19943 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19944
19945         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19946         additions to variable.
19947         [$(config-machine) = x86_64] (modules-names): Likewise.
19948         ($(objpfx)tst-audit3): Remove dependency.
19949         ($(objpfx)tst-audit3.out): Likewise.
19950         ($(objpfx)tst-audit4): Likewise.
19951         ($(objpfx)tst-audit4.out): Likewise.
19952         ($(objpfx)tst-audit5): Likewise.
19953         ($(objpfx)tst-audit5.out): Likewise.
19954         ($(objpfx)tst-audit6): Likewise.
19955         ($(objpfx)tst-audit6.out): Likewise.
19956         ($(objpfx)tst-audit7): Likewise.
19957         ($(objpfx)tst-audit7.out): Likewise.
19958         (tst-audit3-ENV): Remove variable.
19959         (tst-audit4-ENV): Likewise.
19960         (tst-audit5-ENV): Likewise.
19961         (tst-audit6-ENV): Likewise.
19962         (tst-audit7-ENV): Likewise.
19963         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19964         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19965         addition to variable.
19966         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19967         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19968         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19971         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19972         tst-audit3, tst-audit4 and tst-audit5.
19973         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19974         tst-audit6 and tst-audit7.
19975         [$(subdir) = elf] (modules-names): Add audit modules for those
19976         tests.
19977         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19978         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19979         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19980         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19981         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19982         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19983         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19984         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19985         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19986         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19987         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19988         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19989         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19990         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19991         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19992         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19993         Likewise.
19994         [$(subdir) = elf && $(config-cflags-avx) = yes]
19995         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19996         [$(subdir) = elf && $(config-cflags-avx) = yes]
19997         (CFLAGS-tst-auditmod4a.c): Likewise.
19998         [$(subdir) = elf && $(config-cflags-avx) = yes]
19999         (CFLAGS-tst-auditmod4b.c): Likewise.
20000         [$(subdir) = elf && $(config-cflags-avx) = yes]
20001         (CFLAGS-tst-auditmod6b.c): Likewise.
20002         [$(subdir) = elf && $(config-cflags-avx) = yes]
20003         (CFLAGS-tst-auditmod6c.c): Likewise.
20004         [$(subdir) = elf && $(config-cflags-avx) = yes]
20005         (CFLAGS-tst-auditmod7b.c): Likewise.
20006         * elf/tst-audit3.c: Move to ...
20007         * sysdeps/x86_64/tst-audit3.c: ... here.
20008         * elf/tst-audit4.c: Move to ...
20009         * sysdeps/x86_64/tst-audit4.c: ... here.
20010         * elf/tst-audit5.c: Move to ...
20011         * sysdeps/x86_64/tst-audit5.c: ... here.
20012         * elf/tst-audit6.c: Move to ...
20013         * sysdeps/x86_64/tst-audit6.c: ... here.
20014         * elf/tst-audit7.c: Move to ...
20015         * sysdeps/x86_64/tst-audit7.c: ... here.
20016         * elf/tst-auditmod3a.c: Move to ...
20017         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20018         * elf/tst-auditmod3b.c: Move to ...
20019         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20020         * elf/tst-auditmod4a.c: Move to ...
20021         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20022         * elf/tst-auditmod4b.c: Move to ...
20023         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20024         * elf/tst-auditmod5a.c: Move to ...
20025         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20026         * elf/tst-auditmod5b.c: Move to ...
20027         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20028         * elf/tst-auditmod6a.c: Move to ...
20029         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20030         * elf/tst-auditmod6b.c: Move to ...
20031         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20032         * elf/tst-auditmod6c.c: Move to ...
20033         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20034         * elf/tst-auditmod7a.c: Move to ...
20035         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20036         * elf/tst-auditmod7b.c: Move to ...
20037         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20038
20039 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20040
20041         [BZ #15366]
20042         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20043         define unconditionally.
20044         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20045         define unconditionally.
20046         (INT8_C, INT16_C, etc.): Likewise.
20047
20048 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20049
20050         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20051         __ehdr_start with hidden visibility.
20052
20053         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20054
20055 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20056
20057         * math/libm-test.inc (cos_test): Use accurate hex constants.
20058         (sincost_test): Likewise.
20059
20060 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20061
20062         * math/libm-test.inc (catan_test): Add more tests.
20063         (catanh_test): Likewise.
20064
20065         * math/s_catanf.c (__catanf): Use suffixed floating-point
20066         constants.
20067         * math/s_catanhf.c (__catanhf): Likewise.
20068         * math/s_catanhl.c (__catanhl): Likewise.
20069         * math/s_catanl.c (__catanl): Likewise.
20070
20071         [BZ #15394]
20072         * math/s_catan.c (__catan): Calculate imaginary part of result
20073         with log1p not log unless computing log of number close to 0.
20074         * math/s_catanf.c (__catanf): Likewise.
20075         * math/s_catanl.c (__catanl): Likewise.
20076         * math/s_catanh.c (__catanh): Calculate real part of result with
20077         log1p not log unless computing log of number close to 0.
20078         * math/s_catanhf.c (__catanhf): Likewise.
20079         * math/s_catanhl.c (__catanhl): Likewise.
20080         * math/libm-test.inc (catan_test): Add more tests.
20081         (catanh_test): Likewise.
20082         * sysdeps/i386/fpu/libm-test-ulps: Update.
20083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20084
20085 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20086
20087         * benchtests/Makefile: Mention files in which fast and slow
20088         paths of math functions are implemented.
20089
20090 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20091
20092         * sysdeps/posix/timespec_get.c: New file.
20093
20094 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20095
20096         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20097         POWER.
20098         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20099         for POWER.
20100         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20101         powerpc/power5/fpu folders.
20102         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20103         * benchtests/Makefile: Add modf testcase.
20104         * benchtests/bench-modf.c: New file: Benchmark test for mo
20105
20106 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20107
20108         [BZ #14888]
20109         * time/Makefile (tests): Add tst-strptime-whitespace.
20110         * time/strptime_l.c (get_number): Use ISSPACE.
20111         (__strptime_internal): Likewise.
20112         * time/tst-strptime-whitespace.c: New test case.
20113
20114 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20115
20116         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20117         member.
20118         (_nss_files_init): Set it here.
20119
20120 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20121
20122         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20123         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20124         unsigned.
20125
20126 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20127
20128         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20129
20130 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20131
20132         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20133         size just once.
20134
20135 2013-04-21  David S. Miller  <davem@davemloft.net>
20136
20137         * po/ru.po: Update Russion translation from translation project.
20138
20139 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20140
20141         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20142         and setfsgid.
20143
20144 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20145
20146         * configure.in: Remove i386 configure warning. Remove i386 case.
20147         * configure: Regenerate.
20148         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20149         Add example to error message.
20150         * sysdeps/i386/configure: Regenerate.
20151
20152 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20153
20154         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20155         slowtan.
20156         * benchtests/cos-inputs: New file.
20157         * benchtests/slowcos-inputs: New file.
20158         * benchtests/slowcos.c: New file.
20159         * benchtests/slowtan-inputs: New file.
20160         * benchtests/slowtan.c: New file.
20161         * benchtests/tan-inputs: New file.
20162
20163 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20164
20165         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20166         considered kosher.
20167
20168 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20169
20170         * benchtests/Makefile: Include cppflags-iterator.mk to add
20171         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20172
20173         * Makefile.in (bench-clean): New target.
20174         * benchtests/Makefile (bench-clean): Likewise.
20175
20176 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20177
20178         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20179
20180 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20181
20182         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20183
20184 2013-04-15  Andreas Schwab  <schwab@suse.de>
20185
20186         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20187         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20188         * nscd/pwdcache.c (cache_addpw): Likewise.
20189         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20190         more than recsize.
20191
20192 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20193
20194         * benchtests/Makefile (bench): Write all output to
20195         bench-out.tmp together.
20196
20197 2013-04-15  Andreas Schwab  <schwab@suse.de>
20198
20199         * nscd/nscd.c (main): Don't fork again after closing files.
20200
20201 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20202
20203         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20204
20205         * benchtests/Rules (bench-deps): Collect dependencies into a
20206         single variable.  Add Makefile to dependencies.
20207         ($(objpfx)bench-%.c): Depend on bench-deps.
20208
20209 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20210             Xavier Roche  <roche+kml2@exalead.com>
20211
20212         [BZ #15361]
20213         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20214         just that it's a file descriptor.
20215         * manual/llio.texi (Synchronizing AIO Operations): Update description
20216         for EBADF error from aio_fsync.
20217
20218 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20219
20220         * Rules (bench): Move target definition...
20221         * benchtests/Makefile: ... here.
20222
20223 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20224
20225         * math/libm-test.inc (cos_test): Fix PI/2 test.
20226         (sincos_test): Likewise.
20227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20228         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20229
20230 2013-04-11  Andreas Schwab  <schwab@suse.de>
20231
20232         [BZ #13988]
20233         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20234         accept exponent character only when digits were seen.
20235         * stdio-common/Makefile (tests): Add bug26.
20236         * stdio-common/bug26.c: New file.
20237
20238         [BZ #14293]
20239         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20240         non-freeable.
20241
20242 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20243
20244         * Makeconfig (rtld-prefix): Define built linker prefix.
20245         * Rules (run-bench): Use it.
20246         * math/Makefile (run-regen-ulps): Likewise.
20247
20248         * Rules (bench): Remove eval.
20249
20250 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20251             Roland McGrath  <roland@hack.frob.com>
20252             Ondrej Bilka  <neleai@seznam.cz>
20253
20254         [BZ #15346]
20255         * time/getdate.c: Include ctype.h and alloca.h.
20256         (__getdate_r): Trim leading and trailing spaces of input.
20257         * time/tst-getdate.c (tests): Add tests with leading and
20258         trailing spaces.
20259
20260 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20261
20262         [BZ #14280]
20263         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20264         when computing value.
20265
20266 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20267
20268         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20269         Use testrun.sh to run libm tests.
20270
20271         [BZ #15309]
20272         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20273
20274 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20275
20276         [BZ #15264]
20277         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20278
20279 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20280
20281         * Makefile.in (regen-ulps): New target.
20282         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20283         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20284         [ifneq (no,$(PERL)] (regen-ulps): New target.
20285         [ifeq (no,$(PERL)] (regen-ulps): New target.
20286         * math/libm-test.inc (ulps_file_name): Define.
20287         (output_dir): New variable.
20288         (options): Add "output-dir" option.
20289         (parse_opt): Handle 'o' case.
20290         (main): If output_dir is non-NULL use it as a prefix
20291         otherwise use "".
20292         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20293
20294 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20295
20296         [BZ #10060, #10062]
20297         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20298         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20299         fail configure if __sync_val_compare_and_swap is not inlined.
20300         * sysdeps/i386/configure: Regenerate.
20301         * configure.in: Build for i686 when configured for i386.
20302         * configure: Regenerate.
20303         * README: Remove i386 reference.
20304
20305 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20306
20307         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20308         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20309
20310 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20311
20312         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20313         (lmsnanval): New variables.
20314         (F): Add conversion tests.
20315         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20316         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20317
20318         * stdio-common/tstdiomisc.c (F): Properly collect individual
20319         tests' results.
20320
20321         [BZ #14686, #15336]
20322         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20323         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20324         Instead, use input NaN values or generate a qNaN by arithmetic
20325         operation.  Also fix bugs to comply with the standard.
20326         * math/libm-test.inc (remainder_test): Add more tests.
20327
20328         [BZ #15335, #15342]
20329         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20330         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20331         input NaN values or generate a qNaN by arithmetic operation.
20332
20333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20334         unreachable code.
20335
20336         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20337         definitions.
20338
20339 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20340
20341         [BZ #14478]
20342         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20343         underflowed result.
20344         * math/s_cexpf.c (__cexpf): Likewise.
20345         * math/s_cexpl.c (__cexpl): Likewise.
20346         * math/libm-test.inc (cexp_test): Add more tests.
20347
20348 2013-04-03  Andreas Schwab  <schwab@suse.de>
20349
20350         [BZ #15330]
20351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20352         order arrays from heap if bigger than alloca cutoff.
20353
20354 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20355
20356         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20357         (SNAN_TESTS_double): Refer to GCC PR56831.
20358         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20359         GCC PR56828.
20360
20361 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20362
20363         * Rules (bench): Move bench.out after the run is complete.
20364
20365         * Rules (bench): Echo currently running benchmark.
20366
20367         * benchtests/Makefile (bench): Add atan and slowatan.
20368         * benchtests/atan-inputs: New file.
20369         * benchtests/slowatan-inputs: New file.
20370         * benchtests/slowatan.c: New file.
20371
20372         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20373         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20374         its value.
20375
20376         [BZ #15305]
20377         * sysdeps/unix/sysv/linux/kernel-features.h
20378         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20379         __ASSUME_XFS_RESTRICTED_CHOWN.
20380         * sysdeps/unix/sysv/linux/pathconf.c
20381         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20382         Save and restore errno.
20383
20384 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20385
20386         [BZ #15327]
20387         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20388         arguments using __kernel_casinh.
20389         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20390         arguments using __kernel_casinhf.
20391         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20392         arguments using __kernel_casinhl.
20393         * math/libm-test.inc (cacosh_test): Add more tests.
20394         * sysdeps/i386/fpu/libm-test-ulps: Update.
20395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20396
20397 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20398
20399         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20401
20402         * bench/Makefile (bench): Add sin and slowsin.
20403         * benchtests/sin-inputs: New file.
20404         * benchtests/slowsin-inputs: New file.
20405         * benchtests/slowsin.c: New file.
20406
20407         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20408         (bench): Add slowexp and slowpow.
20409         (exp-ITER): Increase iterations.
20410         (pow-ITER): Likewise.
20411         * benchtests/exp-inputs: Change input.
20412         * benchtests/pow-inputs: Likewise.
20413         * benchtests/slowexp-inputs: New file.
20414         * benchtests/slowexp.c: New file.
20415         * benchtests/slowpow-inputs: New file.
20416         * benchtests/slowpow.c: New file.
20417
20418 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20419
20420         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20421         instructions.
20422         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20423         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20424         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20425         * benchtests/Makefile: Add rint benchtest.
20426         * benchtests/rint-inputs: Input for rint benchtest.
20427
20428 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20429
20430         * Versions.def (libm): Add GLIBC_2.18.
20431         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20432         hidden libm prototypes.
20433         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20434         * math/Makefile (libm-calls): Add s_issignaling.
20435         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20436         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20437         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20438         declaration.
20439         * math/math.h [__USE_GNU] (issignaling): New macro.
20440         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20441         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20442         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20443         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20444         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20445         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20446         * manual/arith.texi (issignaling): New section.
20447         * manual/libm-err-tab.pl (@all_functions): Update comment.
20448         * math/gen-libm-test.pl (parse_args): Apply special handling for
20449         issignaling.
20450         * math/libm-test.inc (print_float, issignaling_test): New
20451         functions.
20452         (check_float_internal): Add issignaling checks.
20453         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20454         default definition.
20455         * sysdeps/powerpc/math-tests.h: New file.
20456         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20457         tests.
20458         * math/test-snan.c (TEST_FUNC): Likewise.
20459
20460 2013-03-30  David S. Miller  <davem@davemloft.net>
20461
20462         * po/de.po: Update from translation team.
20463
20464 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20465
20466         [BZ #10357]
20467         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20468         imaginary part less than 1.0 and real part less than 0.5
20469         specially.
20470         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20471         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20472         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20473         (cacos_test): Add more tests.
20474         (casin_test): Likewise.
20475         (casinh_test): Likewise.
20476         * sysdeps/i386/fpu/libm-test-ulps: Update.
20477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20478
20479 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20480
20481         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20482         ONE with its value.
20483
20484         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20485         (__pow_mp): Replace ONE and MONE with their values.
20486         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20488         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20489         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20490         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20491         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20492
20493         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20494
20495         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20496         (__pow_mp): Replace ZERO and MZERO with their values.
20497         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20498         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20499         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20501         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20502         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20503         (__sqr): Likewise.
20504
20505         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20506
20507         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20508
20509 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20510
20511         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20512         Declare with __attribute__ ((weak)).
20513         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20514         Call __call_tls_dtors only if it's not NULL.
20515
20516 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20517
20518         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20519         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20520         magic __ehdr_start linker symbol if it's defined.
20521         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20522         them up here if it was already done.
20523
20524         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20525         (_dl_aux_init): Use const in cast when setting it.
20526         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20527         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20528         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20529
20530         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20531         Declare them here.
20532         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20533         * csu/libc-tls.c: Nor here.
20534         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20535
20536         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20537         (__libc_message): Never call vsyslog.
20538
20539 2013-03-28  Alan Modra  <amodra@gmail.com>
20540
20541         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20542         Define as empty.
20543         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20544         Likewise.
20545
20546 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20547
20548         [BZ #15214]
20549         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20550         underflow.
20551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20552
20553 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20554
20555         [BZ #15304]
20556         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20557         Don't add gid passed as argument.
20558
20559         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20560
20561 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20562
20563         [BZ #15307]
20564         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20565         imaginary part between 1.0 and 1.5 and real part less than 0.5
20566         specially.
20567         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20568         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20569         * math/libm-test.inc (cacos_test): Add more tests.
20570         (casin_test): Likewise.
20571         (casinh_test): Likewise.
20572         * sysdeps/i386/fpu/libm-test-ulps: Update.
20573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20574
20575 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20576
20577         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20578         constants.
20579         (norm): Likewise.
20580         (denorm): Likewise.
20581         (__dbl_mp): Likewise.
20582         (add_magnitudes): Likewise.
20583         (sub_magnitudes): Likewise.
20584         (__add): Likewise.
20585         (__sub): Likewise.
20586         (__mul): Likewise.
20587         (__sqr): Likewise.
20588         (__inv): Likewise.
20589         (__dvd): Likewise.
20590
20591         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20592         commented code.
20593         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20594         (__dubcos): Likewise.
20595         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20596         (__ieee754_acos): Likewise.
20597         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20598         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20599         (__exp1): Likewise.
20600         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20602         (log1): Likewise.
20603         (my_log2): Likewise.
20604         (checkint): Likewise.
20605         * sysdeps/ieee754/dbl-64/e_remainder.c
20606         (__ieee754_remainder): Likewise.
20607         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20609         (bsloww): Likewise.
20610         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20611
20612         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20613         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20614         MANTISSA_STORE_T to store computations on mantissa.  Use
20615         macros for rounding and division.
20616         (denorm): Likewise.
20617         (__dbl_mp): Likewise.
20618         (add_magnitudes): Likewise.
20619         (sub_magnitudes): Likewise.
20620         (__mul): Likewise.
20621         (__sqr): Likewise.
20622         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20623         powers of two in terms of TWOPOW macro.
20624         (mp_no): Make type of mantissa as MANTISSA_T.
20625         [!RADIXI]: Define RADIXI.
20626         [!TWO52]: Define TWO52.
20627         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20628
20629 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20630
20631         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20632         llroundl symbol when building for PPC32.
20633
20634 2013-03-24  Mark H Weaver  <mhw@netris.org>
20635
20636         * manual/arith.texi (Normalization Functions): Fix prototypes for
20637         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20638
20639 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20640
20641         [BZ #13889]
20642         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20643         high value to check if expl overflow.
20644         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20645         to check for underflow and overflow.
20646         * math/libm-test.inc: Add exp test.
20647
20648 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20649
20650         [BZ #11120]
20651         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20652         with NOT_IN_libc.
20653
20654 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20655
20656         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20657         symbol.
20658
20659 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20660
20661         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20662         wrap blocks consisting of several statements.
20663
20664         * sysdeps/generic/math-tests.h: New file.
20665         * sysdeps/i386/fpu/math-tests.h: Likewise.
20666         * math/test-snan.c: Include it.
20667         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20668
20669 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20670
20671         [BZ #15285]
20672         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20673         (__ieee754_j0l): Do not improve calculations using cos of twice
20674         input for inputs above LDBL_MAX / 2.0L.
20675         (__ieee754_y0l): Likewise.
20676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20677         (__ieee754_j1l): Do not improve calculations using cos of twice
20678         input for inputs above LDBL_MAX / 2.0L.
20679         (__ieee754_y1l): Likewise.
20680         * math/libm-test.inc (j0_test): Add another test.
20681         (j1_test): Likewise.
20682         (y0_test): Likewise.
20683         (y1_test): Likewise.
20684         * sysdeps/i386/fpu/libm-test-ulps: Update.
20685
20686 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20687
20688         * Rules ($(objpfx)bench-%.c): Include code from a C source
20689         file.
20690
20691 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20692
20693         [BZ #15287]
20694         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20695         imaginary part 1.0 and real part less than 0.5 specially.
20696         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20697         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20698         * math/libm-test.inc (cacos_test): Add more tests.
20699         (casin_test): Likewise.
20700         (casinh_test): Likewise.
20701         * sysdeps/i386/fpu/libm-test-ulps: Update.
20702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20703
20704 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20705
20706         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20707         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20708
20709 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20710
20711         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20712         * config.make.in (config-cflags-sse4): Remove variable.
20713         (config-cflags-avx): Likewise.
20714         (config-cflags-sse2avx): Likewise.
20715         (config-cflags-novzeroupper): Likewise.
20716         (config-asflags-i686): Likewise.
20717         (have-mfma4): Likewise.
20718         (have-as-vis3): Likewise.
20719         (MIG): Likewise.
20720         * configure.in (MIG): Do not AC_SUBST.
20721         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20722         (libc_cv_cc_sse4): Do not AC_SUBST.
20723         (libc_cv_cc_avx): Likewise.
20724         (libc_cv_cc_sse2avx): Likewise.
20725         (libc_cv_cc_novzeroupper): Likewise.
20726         (libc_cv_cc_fma4): Likewise.
20727         (libc_cv_as_i686): Likewise.
20728         (libc_cv_sparc_as_vis3): Likewise.
20729         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20730         LIBC_CONFIG_VAR.
20731         (config-asflags-i686): Likewise.
20732         (config-cflags-avx): Likewise.
20733         (config-cflags-sse2avx): Likewise.
20734         (have-mfma4): Likewise.
20735         (config-cflags-novzeroupper): Likewise.
20736         * sysdeps/mach/configure.in (MIG): Likewise.
20737         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20738         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20739         LIBC_CONFIG_VAR.
20740         (config-cflags-avx): Likewise.
20741         (config-cflags-sse2avx): Likewise.
20742         (have-mfma4): Likewise.
20743         (config-cflags-novzeroupper): Likewise.
20744         * configure: Regenerated.
20745         * sysdeps/i386/configure: Likewise.
20746         * sysdeps/mach/configure: Likewise.
20747         * sysdeps/sparc/configure: Likewise.
20748         * sysdeps/x86_64/configure: Likewise.
20749
20750 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20751
20752         [BZ #14812]
20753         * locale/programs/localedef.c (options): Put N_ translation marker
20754         on argument names, not just descriptions.
20755
20756 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20757
20758         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20759
20760 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20761
20762         [BZ #14176]
20763         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20764
20765 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20766
20767         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20768         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20769         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20770         [!BEFORE_ABORT] (before_abort): New function.
20771         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20772         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20773         (writev_for_fatal): New function.
20774         (WRITEV_FOR_FATAL): New macro; call that.
20775         (backtrace_and_maps): New function.
20776         (BEFORE_ABORT): New macro; call that.
20777         (struct str_list): Type removed.
20778         (__libc_message, __libc_fatal): Functions removed.
20779         Include <sysdeps/posix/libc_fatal.c> instead.
20780
20781 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20782
20783         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20784         constants.
20785         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20786         double constants.
20787
20788 2013-03-19  Andreas Schwab  <schwab@suse.de>
20789
20790         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20791         * sysdeps/gnu/configure: Regenerate.
20792
20793         * configure.in: Substitute libc_cv_rtlddir.
20794         * configure: Regenerate.
20795         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20796         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20797         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20798         * elf/Makefile (install-others, CFLAGS-interp.c)
20799         (ldso_install, common-ldd-rewrite): Likewise.
20800         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20801         $(inst_slibdir)/$(rtld-installed-name).
20802         * scripts/rellns-sh: Add -p option.
20803         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20804         for source.
20805
20806 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20807
20808         * manual/nptl.texi: Renamed to ...
20809         * manual/threads.texi: ... this.
20810         * manual/Makefile (chapters): Update.
20811
20812 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20813
20814         [BZ #14812]
20815         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20816         on argument names, not just descriptions.
20817         * malloc/memusagestat.c (options): Likewise.
20818         * nss/getent.c (options): Likewise.
20819
20820 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20821
20822         [BZ #14812]
20823         * iconv/iconv_prog.c (options): Put N_ translation marker
20824         on argument names, not just descriptions.
20825         * iconv/iconvconfig.c (options): Likewise.
20826
20827 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20828
20829         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20830         implementation which is faster on all x86_64 architectures.
20831         Tested on AMD, Intel Nehalem, SNB, IVB.
20832         * sysdeps/x86_64/strnlen.S: Likewise.
20833
20834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20835         Remove all multiarch strlen and strnlen versions.
20836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20837         Remove strlen and strnlen related parts.
20838
20839         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20840         Inline strlen part.
20841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20842
20843         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20844         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20845         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20846         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20847         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20848         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20849
20850 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20851
20852         * manual/memory.texi (Malloc Tunable Parameters):
20853         Sort parameters alphabetically. Add comments for missing entries.
20854
20855 2013-03-17  David S. Miller  <davem@davemloft.net>
20856
20857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20858
20859 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20860
20861         [BZ #15283]
20862         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20863         for arguments at most half maximum finite value.
20864         * math/libm-test.inc (j0_test): Add more tests.
20865         (j1_test): Likewise.
20866         (y0_test): Likewise.
20867         (y1_test): Likewise.
20868         * sysdeps/i386/fpu/libm-test-ulps: Update.
20869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20870
20871         [BZ #14155]
20872         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20873         1 / x and functions P and Q for arguments above 0x1p256L.
20874         (__ieee754_y0l): Likewise.
20875         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20876         (__ieee754_y1l): Likewise.
20877         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20878         (j1_test): Likewise.
20879         (y0_test): Likewise.
20880         (y1_test): Likewise.
20881
20882 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20883
20884         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20885         variable.
20886
20887 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20888
20889         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20890         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20891         zero since it's initialized to EXEC_PAGESIZE.
20892
20893         * sysdeps/unix/sysv/linux/ldsodefs.h
20894         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20895         * sysdeps/generic/ldsodefs.h: ... here.
20896
20897 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20898
20899         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20900
20901         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20902         math/test-snan.c.
20903         * math/test-snan.c: Renamed from
20904         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20905         * math/Makefile (tests): Add test-snan.
20906         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20907         test-powerpc-snan.
20908
20909         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20910         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20911         functions.
20912         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20913         __builtin_nan family of functions.
20914         * math/libm-test.inc (initialize): Initialize qnan_value with
20915         __builtin_nan family of functions.
20916         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20917         Remove variables.
20918         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20919         Remove functions.
20920         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20921         storage class.  Initialize qNaN_var and sNaN_var with
20922         __builtin_nan and __builtin_nans families of functions,
20923         respectively.
20924
20925         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20926         (sqrt_test): Remove duplicate test with qNaN input.
20927         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20928         (round_test, signbit_test, significand_test): Note missing +/-Inf
20929         as well as qNaN tests.
20930
20931         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20932         qNaN_var.  Fix a few strings, too.
20933         * math/libm-test.inc (nan_value): Rename to qnan_value.
20934         * math/gen-libm-test.pl (%beautify): Adjust to that.
20935         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20936         * math/test-misc.c (main): Likewise.
20937         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20938         to __qnan_bytes, and __qnan_union, respectively.
20939         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20940         Likewise.
20941         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20942         and lqnanval, respectively.
20943         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20944         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20945         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20946         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20947
20948         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20949         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20950         doubles.
20951
20952         * math/test-misc.c (main): Fix copy'n'pastos.
20953         * misc/tst-efgcvt.c (special): Likewise.
20954
20955         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20956         Remove declarations.
20957
20958 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20959
20960         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20961         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20962         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20963         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20964
20965 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20966
20967         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20968         macro to return vdso values correctly in IFUNC implementations.
20969         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20970         Optimization by using IFUNC.
20971
20972 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20973             Richard Henderson  <rth@redhat.com>
20974             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20975
20976         * Makefile.in (bench): New target.
20977         * NEWS: Mention the benchmark framework.
20978         * Rules (bench): Likewise.
20979         (binaries-bench): Generate binaries for functions to
20980         benchmark.
20981         * benchtests/Makefile: New makefile for benchmark tests.
20982         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20983         programs.
20984         * benchtests/exp-inputs: New input file for EXP function.
20985         * benchtests/pow-inputs: New input file for POW function.
20986         * scripts/bench.pl: New script to generate source files for
20987         benchmark programs.
20988
20989 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20990
20991         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20992         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20993         computations on mantissa.  Use macros for rounding and
20994         division.
20995         (denorm): Likewise.
20996         (__dbl_mp): Likewise.
20997         (add_magnitudes): Likewise.
20998         (sub_magnitudes): Likewise.
20999         (__mul): Likewise.
21000         (__sqr): Likewise.
21001         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21002         powers of two in terms of TWOPOW macro.
21003         (mp_no): Make type of mantissa as MANTISSA_T.
21004         [!RADIXI]: Define RADIXI.
21005         [!TWO52]: Define TWO52.
21006         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21007
21008         * manual/nptl.texi (cindex): Modify threads to pthreads.
21009
21010 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21011
21012         * sysdeps/x86_64/preconfigure: Regenerated.
21013
21014 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21015
21016         [BZ #14155]
21017         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21018         0x1p28 and above.
21019         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21020         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21021         0x1p28 and above.
21022         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21023         * math/libm-test.inc (j0_test): Do not allow one spurious
21024         underflow exception.
21025         (y1_test): Likewise.
21026
21027 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21028
21029         * manual/Makefile (chapters): Add nptl.
21030         * manual/debug.texi (Debugging Support): Add link to Threads
21031         chapter.
21032         * manual/nptl.texi: New file.
21033
21034         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21035
21036 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21037
21038         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21039         for non-NULL pointer before the memory validity test. Pointed
21040         out by Holger Brunck <holger.brunck@keymile.com>.
21041
21042 2013-03-13  Andreas Schwab  <schwab@suse.de>
21043
21044         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21045         instead of .os.
21046
21047 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21048
21049         * timezone/zic.c: Update from tzcode 2013b.
21050
21051 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21052
21053         * manual/install.texi (Configuring and compiling):
21054         Mention i686 and i586.
21055         * INSTALL: Regenerate.
21056
21057 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21058
21059         * sysdeps/init_array/elf-init.c: New file.
21060         * csu/elf-init.c
21061         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21062         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21063
21064         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21065         __gmon_start__ as global, but as static with a .preinit_array pointer.
21066         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21067         * sysdeps/init_array/crti.S: New file, empty except for comments.
21068         * sysdeps/init_array/crtn.S: Likewise.
21069
21070 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21071
21072         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21073         definining bcopy.
21074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21075         Remove Prefer_SSE_for_memop.
21076         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21077         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21078         HAS_PREFER_SSE_FOR_MEMOP.
21079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21080         memset-x86-64.
21081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21082         Remove bzero, memset ifunc support.
21083         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21084         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21085         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21086         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21087
21088 2013-03-11  Andreas Schwab  <schwab@suse.de>
21089
21090         [BZ #15234]
21091         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21092         by SHLIB_COMPAT.
21093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21094         (GLIBC_2.16): Remove pthread_atfork.
21095
21096 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21097
21098         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21099         (ptestcases.h): Likewise.
21100
21101 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21102
21103         * Makeconfig ($(common-objpfx)config.status): Depend on
21104         sysdeps/*/preconfigure{,.in} too.
21105
21106 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21107
21108         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21109         (__free_hook): Use void * instead of __malloc_ptr_t.
21110         (__malloc_hook): Likewise.
21111         (__realloc_hook): Likewise.
21112         (__memalign_hook): Likewise.
21113         (__after_morecore_hook): Likewise.
21114         * malloc/arena.c (save_malloc_hook): Likewise.
21115         (save_free_hook): Likewise.
21116         * malloc/hooks.c (malloc_hook_ini): Likewise.
21117         (realloc_hook_ini): Likewise.
21118         (memalign_hook_ini): Likewise.
21119         * malloc/malloc.c (malloc_hook_ini): Likewise.
21120         (realloc_hook_ini): Likewise.
21121         (memalign_hook_ini): Likewise.
21122         (__free_hook): Likewise.
21123         (__malloc_hook): Likewise.
21124         (__realloc_hook): Likewise.
21125         (__memalign_hook): Likewise.
21126         (__libc_malloc): Likewise.
21127         (__libc_free): Likewise.
21128         (__libc_realloc): Likewise.
21129         (__libc_memalign): Likewise.
21130         (__libc_valloc): Likewise.
21131         (__libc_pvalloc): Likewise.
21132         (__libc_calloc): Likewise.
21133         (__posix_memalign): Likewise.
21134         * malloc/morecore.c (__sbrk): Likewise.
21135         (__default_morecore): Likewise.
21136
21137         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21138
21139         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21140         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21141         __malloc_ptrdiff_t.
21142
21143         * malloc/malloc.h (__malloc_size_t): Remove macro.
21144         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21145         __malloc_size_t.
21146         (old_memalign_hook): Likewise.
21147         (old_realloc_hook): Likewise.
21148         (struct hdr): Likewise.
21149         (flood): Likewise.
21150         (mallochook): Likewise.
21151         (memalignhook): Likewise.
21152         (reallochook): Likewise.
21153         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21154         (tr_old_realloc_hook): Likewise.
21155         (tr_old_memalign_hook): Likewise.
21156         (tr_mallochook): Likewise.
21157         (tr_reallochook): Likewise.
21158         (tr_memalignhook): Likewise.
21159
21160 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21161
21162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21163         default_ldbl_pack and using as default implementation.
21164         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21165         implementation.
21166         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21167         redundant definition.
21168         (ldbl_insert_mantissa): Likewise.
21169         (ldbl_canonicalize): Likewise.
21170         (ldbl_nearbyint): Likewise.
21171         (ldbl_pack): Rename to ldbl_pack_ppc.
21172         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21173         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21174         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21175
21176 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21177
21178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21179         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21180         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21181         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21183         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21184         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21185         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21186
21187 2013-03-07  Andreas Jaeger  <aj@suse.de>
21188
21189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21190         bits/mman-linux.h.
21191
21192 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21193
21194         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21195         Include mpa.h and declare __MPEXP.
21196         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21197         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21198         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21199         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21200         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21201         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21202         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21203
21204         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21205         (__slowpow): Use long double EXPL and LOGL functions to
21206         compute POW.
21207         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21208         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21209         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21210         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21211         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21212         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21213
21214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21215         intermediate variable to calculate exponent.
21216         (__sqr): Likewise.
21217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21218         Likewise.
21219         (__sqr): Likewise.
21220
21221         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21222         [!NO__SQR]: Define __sqr.
21223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21224         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21225         sysdeps/ieee754/dbl-64/mpa.c.
21226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21227
21228         [BZ #12723]
21229         * posix/Makefile (tests): Add tst-pathconf.
21230         * posix/tst-pathconf.c: New test case.
21231         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21232         _PC_PIPE_BUF.
21233         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21234
21235 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21236
21237         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21238
21239 2013-03-06  Andreas Jaeger  <aj@suse.de>
21240
21241         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21242         definition via __MAP_ANONYMOUS.
21243
21244         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21245         it's not part of Linux headers.
21246
21247         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21248         (MAP_HUGE_MASK): Define.
21249
21250         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21251         Define.
21252         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21253         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21254         Define.
21255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21256         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21257         Define.
21258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21259         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21260         Define.
21261         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21262
21263         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21264         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21265         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21266         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21267         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21268         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21269
21270         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21271         Handle f2fs.
21272
21273         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21274         Handle f2fs and efivarfs.
21275
21276         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21277         f2fs.
21278
21279         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21280         (EFIVARFS_MAGIC): Add.
21281         (F2FS_LINK_MAX): Add.
21282
21283 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21284
21285         * stdio-common/vfprintf.c: Replace __builtin_expect with
21286         __glibc_unlikely.
21287
21288 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21289
21290         [BZ #13550]
21291         * sysdeps/generic/bp-sym.h: Remove file.
21292         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21293         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21294         <bp-sym.h> and <bp-asm.h>.
21295         (__longjmp): Don't use BP_SYM.
21296         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21297         and <bp-asm.h>.
21298         (memcpy): Don't use BP_SYM.
21299         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21300         <bp-sym.h> and <bp-asm.h>.
21301         (memcpy): Don't use BP_SYM.
21302         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21303         <bp-asm.h>.
21304         (memcpy): Don't use BP_SYM.
21305         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21306         <bp-asm.h>.
21307         (memset): Don't use BP_SYM.
21308         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21309         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21310         (__bzero): Don't use BP_SYM.
21311         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21312         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21313         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21314         <bp-sym.h> and <bp-asm.h>.
21315         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21316         pointers.
21317         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21318         <bp-sym.h> and <bp-asm.h>.
21319         (memcpy): Don't use BP_SYM.
21320         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21321         <bp-sym.h> and <bp-asm.h>.
21322         (memset): Don't use BP_SYM.
21323         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21324         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21325         (__bzero): Don't use BP_SYM.
21326         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21327         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21328         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21329         <bp-sym.h> and <bp-asm.h>.
21330         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21331         pointers.
21332         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21333         <bp-sym.h> and <bp-asm.h>.
21334         (memcpy): Don't use BP_SYM.
21335         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21336         <bp-sym.h> and <bp-asm.h>.
21337         (memset): Don't use BP_SYM.
21338         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21339         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21340         (__bzero): Don't use BP_SYM.
21341         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21342         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21343         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21344         <bp-sym.h> and <bp-asm.h>.
21345         (__memchr): Don't use BP_SYM.
21346         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21347         <bp-sym.h> and <bp-asm.h>.
21348         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21349         pointers.
21350         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21351         <bp-sym.h> and <bp-asm.h>.
21352         (memcpy): Don't use BP_SYM.
21353         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21354         <bp-sym.h> and <bp-asm.h>.
21355         (__mempcpy): Don't use BP_SYM.
21356         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21357         <bp-sym.h> and <bp-asm.h>.
21358         (__memrchr): Don't use BP_SYM.
21359         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21360         <bp-sym.h> and <bp-asm.h>.
21361         (memset): Don't use BP_SYM.
21362         (__bzero): Likewise.
21363         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21364         <bp-sym.h> and <bp-asm.h>.
21365         (__rawmemchr): Don't use BP_SYM.
21366         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21367         <bp-sym.h> and <bp-asm.h>.
21368         (__STRCMP): Don't use BP_SYM.
21369         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21370         <bp-sym.h> and <bp-asm.h>.
21371         (strchr): Don't use BP_SYM.
21372         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21373         <bp-sym.h> and <bp-asm.h>.
21374         (__strchrnul): Don't use BP_SYM.
21375         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21376         <bp-sym.h> and <bp-asm.h>.
21377         (strlen): Don't use BP_SYM.
21378         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21379         <bp-sym.h> and <bp-asm.h>.
21380         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21381         pointers.
21382         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21383         <bp-sym.h> and <bp-asm.h>.
21384         (__strnlen): Don't use BP_SYM.
21385         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21386         <bp-sym.h> and <bp-asm.h>.
21387         (__GI__setjmp): Don't use BP_SYM.
21388         (_setjmp): Likewise.
21389         (__sigsetjmp): Likewise.
21390         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21391         (L(start_addresses)): Don't use BP_SYM.
21392         (_start): Likewise.
21393         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21394         <bp-asm.h>.
21395         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21396         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21397         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21398         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21399         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21400         <bp-asm.h>.
21401         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21402         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21403         about bounded pointers.
21404         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21405         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21406         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21407         <bp-asm.h>.
21408         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21409         about bounded pointers.  Remove GKM FIXME comments.
21410         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21411         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21412         <bp-asm.h>.
21413         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21414         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21415         Remove GKM FIXME comments.
21416         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21417         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21418         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21419         <bp-asm.h>.
21420         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21421         about bounded pointers.  Remove GKM FIXME comment.
21422         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21423         and <bp-asm.h>.
21424         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21425         pointers.
21426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21427         <bp-sym.h> and <bp-asm.h>.
21428         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21430         <bp-sym.h> and <bp-asm.h>.
21431         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21432         comment.
21433
21434 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21435
21436         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21437         call free(NULL).
21438
21439 2013-03-05  David S. Miller  <davem@davemloft.net>
21440
21441         * po/es.po: Update from translation team.
21442
21443 2013-03-05  Andreas Jaeger  <aj@suse.de>
21444
21445         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21446         <bits/mman-linux.h>.
21447         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21448         is fine.
21449         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21450         <bits/mman-linux.h> to end of file.
21451         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21452         is fine.
21453         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21454         <bits/mman-linux.h> to end of file.
21455         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21456         is fine.
21457         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21458         <bits/mman-linux.h> to end of file.
21459
21460         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21461         (MCL_CURRENT, MCL_FUTURE): Define here.
21462
21463 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21464
21465         [BZ #15232]
21466         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21467         attribute_hidden.
21468         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21469
21470 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21471
21472         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21473         fourth parameter needed for rt_sigprocmask syscall.
21474         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21475         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21476         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21477         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21478         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21479         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21480
21481 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21482
21483         [BZ #13550]
21484         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21485         comment about bounded pointers.
21486         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21487         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21488
21489 2013-03-04  Andreas Jaeger  <aj@suse.de>
21490
21491         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21492         common definitions.
21493
21494         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21495         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21496         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21498         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21500
21501 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21502
21503         [BZ #15055]
21504         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21505         __ieee754_sqrl instead of __sqrl.
21506
21507 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21508
21509         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21510         * sysdeps/powerpc/fpu_control.h: ... here.
21511         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21512         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21513         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21514         * sysdeps/powerpc/bits/mathinline.h: ... here.
21515
21516 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21517
21518         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21519         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21520         to just [NEED_DL_SYSINFO_DSO].
21521         * elf/dl-support.c: Likewise.
21522         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21523         * elf/rtld.c (dl_main): Likewise.
21524         * elf/setup-vdso.h (setup_vdso): Likewise.
21525         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21526         * sysdeps/unix/sysv/linux/dl-sysdep.c
21527         (_dl_discover_osversion): Likewise.
21528
21529 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21530
21531         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21532         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21533
21534 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21535
21536         * NEWS: Mention libm performance improvements and non-x86 PI
21537         futex support.
21538
21539         * csu/libc-start.c (__pthread_initialize_minimal): Change
21540         function arguments.
21541         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21542
21543 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21544
21545         [BZ #13550]
21546         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21547         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21548         <bp-sym.h> and <bp-asm.h>.
21549         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21550         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21551         and <bp-asm.h>.
21552         (memcpy): Don't use BP_SYM.
21553         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21554         <bp-asm.h>.
21555         (__mpn_add_n): Don't use BP_SYM.
21556         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21557         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21558         and <bp-asm.h>.
21559         (__mpn_addmul_1): Don't use BP_SYM.
21560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21561         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21562         <bp-sym.h>.
21563         (_setjmp): Don't use BP_SYM.
21564         (__novmx_setjmp): Likewise.
21565         (__GI__setjmp): Likewise.
21566         (__vmx_setjmp): Likewise.
21567         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21568         <bp-sym.h>.
21569         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21570         (__bzero): Don't use BP_SYM.
21571         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21572         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21573         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21574         <bp-sym.h> and <bp-asm.h>.
21575         (memcpy): Don't use BP_SYM.
21576         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21577         <bp-sym.h> and <bp-asm.h>.
21578         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21579         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21580         <bp-sym.h> and <bp-asm.h>.
21581         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21582         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21583         <bp-asm.h>.
21584         (__mpn_lshift): Don't use BP_SYM.
21585         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21586         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21587         <bp-asm.h>.
21588         (memset): Don't use BP_SYM.
21589         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21590         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21591         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21592         <bp-asm.h>.
21593         (__mpn_mul_1): Don't use BP_SYM.
21594         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21595         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21596         <bp-sym.h> and <bp-asm.h>.
21597         (memcmp): Don't use BP_SYM.
21598         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21599         <bp-sym.h> and <bp-asm.h>.
21600         (memcpy): Don't use BP_SYM.
21601         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21602         <bp-sym.h> and <bp-asm.h>.
21603         (memset): Don't use BP_SYM.
21604         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21605         <bp-sym.h> and <bp-asm.h>.
21606         (strncmp): Don't use BP_SYM.
21607         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21608         <bp-sym.h> and <bp-asm.h>.
21609         (memcpy): Don't use BP_SYM.
21610         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21611         <bp-sym.h> and <bp-asm.h>.
21612         (memset): Don't use BP_SYM.
21613         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21614         <bp-sym.h> and <bp-asm.h>.
21615         (__memchr): Don't use BP_SYM.
21616         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21617         <bp-sym.h> and <bp-asm.h>.
21618         (memcmp): Don't use BP_SYM.
21619         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21620         <bp-sym.h> and <bp-asm.h>.
21621         (memcpy): Don't use BP_SYM.
21622         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21623         <bp-sym.h> and <bp-asm.h>.
21624         (__mempcpy): Don't use BP_SYM.
21625         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21626         <bp-sym.h> and <bp-asm.h>.
21627         (__memrchr): Don't use BP_SYM.
21628         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21629         <bp-sym.h> and <bp-asm.h>.
21630         (memset): Don't use BP_SYM.
21631         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21632         <bp-sym.h> and <bp-asm.h>.
21633         (__rawmemchr): Don't use BP_SYM.
21634         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21635         <bp-sym.h> and <bp-asm.h>.
21636         (__STRCMP): Don't use BP_SYM.
21637         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21638         <bp-sym.h> and <bp-asm.h>.
21639         (strchr): Don't use BP_SYM.
21640         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21641         <bp-sym.h> and <bp-asm.h>.
21642         (__strchrnul): Don't use BP_SYM.
21643         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21644         <bp-sym.h> and <bp-asm.h>.
21645         (strlen): Don't use BP_SYM.
21646         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21647         <bp-sym.h> and <bp-asm.h>.
21648         (strncmp): Don't use BP_SYM.
21649         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21650         <bp-sym.h> and <bp-asm.h>.
21651         (__strnlen): Don't use BP_SYM.
21652         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21653         <bp-asm.h>.
21654         (__mpn_rshift): Don't use BP_SYM.
21655         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21656         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21657         <bp-sym.h> and <bp-asm.h>.
21658         (__sigsetjmp): Don't use BP_SYM.
21659         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21660         (L(start_addresses)): Don't use BP_SYM.
21661         (_start): Likewise.
21662         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21663         <bp-asm.h>.
21664         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21665         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21666         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21667         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21668         <bp-asm.h>.
21669         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21670         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21671         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21672         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21673         <bp-asm.h>.
21674         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21675         comments.
21676         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21677         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21678         <bp-asm.h>.
21679         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21680         FIXME comments.
21681         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21682         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21683         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21684         <bp-asm.h>.
21685         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21686         comment.
21687         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21688         and <bp-asm.h>.
21689         (strncmp): Don't use BP_SYM,
21690         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21691         <bp-asm.h>.
21692         (__mpn_sub_n): Don't use BP_SYM.
21693         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21694         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21695         and <bp-asm.h>.
21696         (__mpn_submul_1): Don't use BP_SYM.
21697         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21699         <bp-sym.h> and <bp-asm.h>.
21700         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21702         <bp-sym.h> and <bp-asm.h>.
21703         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21704         comment.
21705
21706 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21707
21708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21709         Use ZK to minimize writes to Z.
21710         (sub_magnitudes): Simplify code a bit.
21711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21712         Use ZK to minimize writes to Z.
21713         (sub_magnitudes): Simplify code a bit.
21714
21715 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21716
21717         * csu/gmon-start.c: Add special exception to license text.
21718
21719 2013-02-27  Richard Henderson  <rth@redhat.com>
21720
21721         * scripts/config.guess: Update from config.git.
21722         * scripts/config.sub: Likewise.
21723
21724 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21725
21726         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21727
21728         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21729
21730         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21731
21732         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21733
21734         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21735
21736 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21737
21738         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21739         [$(build-shared = yes].
21740
21741 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21742
21743         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21744         (__mul): Reduce iterations for calculating mantissa.
21745
21746         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21747         MPTWO.
21748         (__mpranred): Likewise.
21749
21750         [BZ #15160]
21751         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21752         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21753
21754 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21755
21756         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21757         Define __attribute__.
21758
21759 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21760
21761         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21762         unused.
21763         * posix/regex_internal.h (__attribute): Remove.
21764         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21765         (re_string_context_at): Likewise.
21766         (bitset_not): Use __attribute__ and mark function as possibly
21767         unused.
21768         (bitset_merge): Likewise.
21769         (bitset_mask): Likewise.
21770         (re_string_char_size_at): Likewise.
21771         (re_string_wchar_at): Likewise.
21772         (re_string_elem_size_at): Likewise.
21773
21774 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21775
21776         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21777         code.
21778         (cc32): Likewise.
21779
21780         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21781         (__acr): Likewise.
21782         (__cpy): Likewise.
21783         (norm): Likewise.
21784         (denorm): Likewise.
21785         (__dbl_mp): Likewise.
21786         (add_magnitudes): Likewise.
21787         (sub_magnitudes): Likewise.
21788         (__mul): Likewise.
21789         (__inv): Likewise.
21790
21791         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21792         style.
21793
21794         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21795         style.
21796
21797         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21798         code.
21799
21800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21801         up changes with default code.
21802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21803         Likewise.
21804
21805 2013-02-24  Allan McRae  <allan@archlinux.org>
21806
21807         * manual/socket.texi (The Internet Namespace): Order menu items
21808         to match that in the file.
21809
21810         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21811         node listing of the info page menu.
21812
21813 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21814
21815         [BZ #13550]
21816         * sysdeps/i386/bp-asm.h: Remove file.
21817         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21818         (PARMS): Do not use macros from bp-asm.h.
21819         (S1): Likewise.
21820         (S2): Likewise.
21821         (SIZE): Likewise.
21822         (__mpn_add_n): Do not use BP_SYM
21823         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21824         "bp-asm.h".
21825         (PARMS): Do not use macros from bp-asm.h.
21826         (S1): Likewise.
21827         (SIZE): Likewise.
21828         (__mpn_addmul_1): Do not use BP_SYM
21829         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21830         "bp-asm.h".
21831         (PARMS): Do not use macros from bp-asm.h.
21832         (SIGMSK): Likewise.
21833         (_setjmp): Likewise.  Do not use BP_SYM.
21834         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21835         "bp-asm.h".
21836         (PARMS): Do not use macros from bp-asm.h.
21837         (SIGMSK): Likewise.
21838         (setjmp): Likewise.  Do not use BP_SYM.
21839         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21840         "bp-asm.h".
21841         (PARMS): Do not use macros from bp-asm.h.
21842         (__frexp): Do not use BP_SYM.
21843         (frexp): Likewise.
21844         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21845         "bp-asm.h".
21846         (PARMS): Do not use macros from bp-asm.h.
21847         (__frexpf): Do not use BP_SYM.
21848         (frexpf): Likewise.
21849         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21850         "bp-asm.h".
21851         (PARMS): Do not use macros from bp-asm.h.
21852         (__frexpl): Do not use BP_SYM.
21853         (frexpl): Likewise.
21854         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21855         "bp-asm.h".
21856         (PARMS): Do not use macros from bp-asm.h.
21857         (__remquo): Do not use BP_SYM.
21858         (remquo): Likewise.
21859         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21860         "bp-asm.h".
21861         (PARMS): Do not use macros from bp-asm.h.
21862         (__remquof): Do not use BP_SYM.
21863         (remquof): Likewise.
21864         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21865         "bp-asm.h".
21866         (PARMS): Do not use macros from bp-asm.h.
21867         (__remquol): Do not use BP_SYM.
21868         (remquol): Likewise.
21869         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21870         "bp-asm.h".
21871         (PARMS): Do not use macros from bp-asm.h.
21872         (DEST): Likewise.
21873         (SRC): Likewise.
21874         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21875         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21876         "bp-asm.h".
21877         (PARMS): Do not use macros from bp-asm.h.
21878         (strlen): Do not use BP_SYM.
21879         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21880         "bp-asm.h".
21881         (PARMS): Do not use macros from bp-asm.h.
21882         (S1): Likewise.
21883         (S2): Likewise.
21884         (SIZE): Likewise.
21885         (__mpn_add_n): Do not use BP_SYM.
21886         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21887         "bp-asm.h".
21888         (PARMS): Do not use macros from bp-asm.h.
21889         (S1): Likewise.
21890         (SIZE): Likewise.
21891         (__mpn_addmul_1): Do not use BP_SYM.
21892         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21893         weak_alias.
21894         (bzero): Likewise.
21895         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21896         "bp-asm.h".
21897         (PARMS): Do not use macros from bp-asm.h.
21898         (S): Likewise.
21899         (SIZE): Likewise.
21900         (__mpn_lshift): Do not use BP_SYM.
21901         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21902         "bp-asm.h".
21903         (PARMS): Do not use macros from bp-asm.h.
21904         (DEST): Likewise.
21905         (SRC): Likewise.
21906         (LEN): Likewise.
21907         (memcpy): Likewise.  Do not use BP_SYM.
21908         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21909         libc_hidden_def and weak_alias.
21910         (mempcpy): Do not use BP_SYM in weak_alias.
21911         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21912         "bp-asm.h".
21913         (PARMS): Do not use macros from bp-asm.h.
21914         (DEST): Likewise.
21915         (LEN): Likewise.
21916         [!BZERO_P] (CHR): Likewise.
21917         (memset): Likewise.  Do not use BP_SYM.
21918         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21919         "bp-asm.h".
21920         (PARMS): Do not use macros from bp-asm.h.
21921         (S1): Likewise.
21922         (SIZE): Likewise.
21923         (__mpn_mul_1): Do not use BP_SYM.
21924         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21925         "bp-asm.h".
21926         (PARMS): Do not use macros from bp-asm.h.
21927         (S): Likewise.
21928         (SIZE): Likewise.
21929         (__mpn_rshift): Do not use BP_SYM.
21930         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21931         "bp-asm.h".
21932         (PARMS): Do not use macros from bp-asm.h.
21933         (STR): Likewise.
21934         (CHR): Likewise.
21935         (strchr): Likewise.  Do not use BP_SYM.
21936         (index): Do not use BP_SYM in weak_alias.
21937         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21938         "bp-asm.h".
21939         (PARMS): Do not use macros from bp-asm.h.
21940         (DEST): Likewise.
21941         (SRC): Likewise.
21942         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21943         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21944         "bp-asm.h".
21945         (PARMS): Do not use macros from bp-asm.h.
21946         (strlen): Do not use BP_SYM.
21947         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21948         "bp-asm.h".
21949         (PARMS): Do not use macros from bp-asm.h.
21950         (S1): Likewise.
21951         (S2): Likewise.
21952         (SIZE): Likewise.
21953         (__mpn_sub_n): Do not use BP_SYM.
21954         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21955         "bp-asm.h".
21956         (PARMS): Do not use macros from bp-asm.h.
21957         (S1): Likewise.
21958         (SIZE): Likewise.
21959         (__mpn_submul_1): Do not use BP_SYM.
21960         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
21961         "bp-asm.h".
21962         (PARMS): Do not use macros from bp-asm.h.
21963         (S1): Likewise.
21964         (S2): Likewise.
21965         (SIZE): Likewise.
21966         (__mpn_add_n): Do not use BP_SYM.
21967         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21968         weak_alias.
21969         (bzero): Likewise.
21970         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21971         "bp-asm.h".
21972         (PARMS): Do not use macros from bp-asm.h.
21973         (BLK2): Likewise.
21974         (LEN): Likewise.
21975         (memcmp): Do not use BP_SYM.
21976         (bcmp): Do not use BP_SYM in weak_alias.
21977         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21978         "bp-asm.h".
21979         (PARMS): Do not use macros from bp-asm.h.
21980         (DEST): Likewise.
21981         (SRC): Likewise.
21982         (LEN): Likewise.
21983         (memcpy): Likewise.  Do not use BP_SYM.
21984         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21985         "bp-asm.h".
21986         (PARMS): Do not use macros from bp-asm.h.
21987         (DEST): Likewise.
21988         (SRC): Likewise.
21989         (LEN): Likewise.
21990         (memmove): Likewise.  Do not use BP_SYM.
21991         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21992         "bp-asm.h".
21993         (PARMS): Do not use macros from bp-asm.h.
21994         (DEST): Likewise.
21995         (SRC): Likewise.
21996         (LEN): Likewise.
21997         (__mempcpy): Likewise.  Do not use BP_SYM.
21998         (mempcpy): Do not use BP_SYM in weak_alias.
21999         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22000         "bp-asm.h".
22001         (PARMS): Do not use macros from bp-asm.h.
22002         (DEST): Likewise.
22003         (LEN): Likewise.
22004         [!BZERO_P] (CHR): Likewise.
22005         (memset): Likewise.  Do not use BP_SYM.
22006         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22007         "bp-asm.h".
22008         (PARMS): Do not use macros from bp-asm.h.
22009         (STR2): Likewise.
22010         (strcmp): Do not use BP_SYM.
22011         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22012         "bp-asm.h".
22013         (PARMS): Do not use macros from bp-asm.h.
22014         (STR): Likewise.
22015         (DELIM): Likewise.
22016         [USE_AS_STRTOK_R] (SAVE): Likewise.
22017         (FUNCTION): Likewise.  Do not use BP_SYM.
22018         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22019         aliases.
22020         (strtok_r): Likewise.
22021         (__GI___strtok_r): Likewise.
22022         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22023         (PARMS): Do not use macros from bp-asm.h.
22024         (S): Likewise.
22025         (SIZE): Likewise.
22026         (__mpn_lshift): Do not use BP_SYM.
22027         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22028         (PARMS): Do not use macros from bp-asm.h.
22029         (STR): Likewise.
22030         (CHR): Likewise.
22031         (__memchr): Do not use BP_SYM.
22032         (memchr): Do not use BP_SYM in weak_alias.
22033         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22034         (PARMS): Do not use macros from bp-asm.h.
22035         (BLK2): Likewise.
22036         (LEN): Likewise.
22037         (memcmp): Do not use BP_SYM.
22038         (bcmp): Do not use BP_SYM in weak_alias.
22039         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22040         (PARMS): Do not use macros from bp-asm.h.
22041         (S1): Likewise.
22042         (SIZE): Likewise.
22043         (__mpn_mul_1): Do not use BP_SYM.
22044         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22045         "bp-asm.h".
22046         (PARMS): Do not use macros from bp-asm.h.
22047         (STR): Likewise.
22048         (CHR): Likewise.
22049         (__rawmemchr): Do not use BP_SYM.
22050         (rawmemchr): Do not use BP_SYM in weak_alias.
22051         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22052         (PARMS): Do not use macros from bp-asm.h.
22053         (S): Likewise.
22054         (SIZE): Likewise.
22055         (__mpn_rshift): Do not use BP_SYM.
22056         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22057         (PARMS): Do not use macros from bp-asm.h.
22058         (SIGMSK): Likewise.
22059         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22060         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22061         (_start): Do not use BP_SYM.
22062         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22063         (PARMS): Do not use macros from bp-asm.h.
22064         (DEST): Likewise.
22065         (SRC): Likewise.
22066         (__stpcpy): Likewise.  Do not use BP_SYM.
22067         (stpcpy): Do not use BP_SYM in weak_alias.
22068         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22069         "bp-asm.h".
22070         (PARMS): Do not use macros from bp-asm.h.
22071         (DEST): Likewise.
22072         (SRC): Likewise.
22073         (LEN): Likewise.
22074         (__stpncpy): Likewise.  Do not use BP_SYM.
22075         (stpncpy): Do not use BP_SYM in weak_alias.
22076         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22077         (PARMS): Do not use macros from bp-asm.h.
22078         (STR): Likewise.
22079         (CHR): Likewise.
22080         (strchr): Likewise.  Do not use BP_SYM.
22081         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22082         "bp-asm.h".
22083         (PARMS): Do not use macros from bp-asm.h.
22084         (STR): Likewise.
22085         (CHR): Likewise.
22086         (__strchrnul): Likewise.  Do not use BP_SYM.
22087         (strchrnul): Do not use BP_SYM in weak_alias.
22088         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22089         "bp-asm.h".
22090         (PARMS): Do not use macros from bp-asm.h.
22091         (STOP): Likewise.
22092         (strcspn): Do not use BP_SYM.
22093         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22094         "bp-asm.h".
22095         (PARMS): Do not use macros from bp-asm.h.
22096         (STR): Likewise.
22097         (STOP): Likewise.
22098         (strpbrk): Likewise.  Do not use BP_SYM.
22099         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22100         "bp-asm.h".
22101         (PARMS): Do not use macros from bp-asm.h.
22102         (STR): Likewise.
22103         (CHR): Likewise.
22104         (strrchr): Likewise.  Do not use BP_SYM.
22105         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22106         (PARMS): Do not use macros from bp-asm.h.
22107         (SKIP): Likewise.
22108         (strspn): Do not use BP_SYM.
22109         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22110         (PARMS): Do not use macros from bp-asm.h.
22111         (STR): Likewise.
22112         (DELIM): Likewise.
22113         (SAVE): Likewise.
22114         (FUNCTION): Likewise.  Do not use BP_SYM.
22115         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22116         aliases.
22117         (strtok_r): Likewise.
22118         (__GI___strtok_r): Likewise.
22119         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22120         (PARMS): Do not use macros from bp-asm.h.
22121         (S1): Likewise.
22122         (S2): Likewise.
22123         (SIZE): Likewise.
22124         (__mpn_sub_n): Do not use BP_SYM.
22125         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22126         "bp-asm.h".
22127         (PARMS): Do not use macros from bp-asm.h.
22128         (S1): Likewise.
22129         (SIZE): Likewise.
22130         (__mpn_submul_1): Do not use BP_SYM.
22131         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22132         <bp-sym.h>.
22133         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22134         and <bp-asm.h>.
22135         (PARMS): Do not use macros from bp-asm.h.
22136         (FLAGS): Likewise.
22137         (PTID): Likewise.
22138         (TLS): Likewise.
22139         (CTID): Likewise.
22140         (__clone): Do not use BP_SYM.
22141         (clone): Do not use BP_SYM in weak_alias.
22142         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22143         and <bp-asm.h>.
22144         (PARMS): Do not use macros from bp-asm.h.
22145         (LEN): Likewise.
22146         (__mmap64): Do not use BP_SYM.
22147         (mmap64): Do not use BP_SYM in weak_alias.
22148         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22149         <bp-sym.h> and <bp-asm.h>.
22150         (PARMS): Do not use macros from bp-asm.h.
22151         (__posix_fadvise64_l64): Do not use BP_SYM.
22152         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22153         (PARMS): Do not use macros from bp-asm.h.
22154         (NSOPS): Likewise.
22155         (semtimedop): Do not use BP_SYM.
22156         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22157         and <bp-asm.h>.
22158
22159 2013-02-21  Allan McRae  <allan@archlinux.org>
22160
22161         * manual/message.texi (Charset conversion in gettext):
22162         Move @end statement to beginning of line.
22163
22164 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22165
22166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22167         static.
22168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22169         Likewise.
22170
22171         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22172         (denorm): Likewise.
22173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22175
22176 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22177
22178         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22179         tail-call to the resolved function if pltexit isn't needed.
22180
22181 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22182
22183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22184         or Y being zero as being unlikely.
22185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22186         Likewise.
22187
22188 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22189
22190         * manual/nss.texi (System Databases and Name Service Switch):
22191         Remove frobnicate @pxref.
22192
22193 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22194
22195         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22196         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22197
22198 2013-02-20  Petr Machata  <pmachata@redhat.com>
22199
22200         * elf/elf.h (R_ARM_TARGET1): New macro.
22201         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22202         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22203         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22204         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22205         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22206         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22207         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22208         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22209         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22210         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22211         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22212         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22213         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22214         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22215         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22216         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22217         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22218         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22219         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22220         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22221         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22222         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22223         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22224         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22225         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22226         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22227         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22228         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22229         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22230         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22231         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22232         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22233         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22234         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22235         (R_ARM_THM_GOT_BREL12): Likewise.
22236         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22237         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22238         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22239         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22240         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22241         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22242         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22243         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22244         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22245
22246 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22247
22248         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22249         __attribute_used__ to __attribute__ ((unused)).
22250
22251 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22252
22253         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22254         powerpc mpa.c.
22255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22256         comment formatting.
22257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22258
22259 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22260
22261         [BZ #13550]
22262         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22263         Remove macro.
22264         (ENTER): Remove both macro definitions.
22265         (LEAVE): Likewise.
22266         (CHECK_BOUNDS_LOW): Likewise.
22267         (CHECK_BOUNDS_HIGH): Likewise.
22268         (CHECK_BOUNDS_BOTH): Likewise.
22269         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22270         (RETURN_BOUNDED_POINTER): Likewise.
22271         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22272         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22273         (POP_ERRNO_LOCATION_RETURN): Likewise.
22274         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22275         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22276         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22277         macros.
22278         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22279         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22280         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22281         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22282         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22283         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22284         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22285         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22286         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22287         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22288         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22289         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22290         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22291         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22292         removed macros.
22293         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22294         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22295         macros.
22296         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22297         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22298         * sysdeps/i386/i586/memset.S (memset): Likewise.
22299         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22300         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22301         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22302         macros.
22303         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22304         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22305         Change uses of L(2) to L(out).
22306         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22307         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22308         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22309         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22310         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22311         removed macros.
22312         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22313         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22314         macros.
22315         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22316         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22317         (RETURN): Do not use macro LEAVE.
22318         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22319         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22320         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22321         * sysdeps/i386/i686/memset.S (memset): Likewise.
22322         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22323         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22324         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22325         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22326         Likewise.
22327         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22328         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22329         L(1_2) and L(1_3) into L(1).
22330         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22331         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22332         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22333         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22334         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22335         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22336         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22337         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22338         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22339         macros.
22340         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22341         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22342         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22343         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22344         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22345         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22346         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22347         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22348         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22349         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22350         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22351         * sysdeps/i386/strspn.S (strspn): Likewise.
22352         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22353         conditional code.
22354         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22355         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22356         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22357         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22358         L(1_3) into L(1_1).
22359         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22360         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22361         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22362         macros.
22363         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22364
22365 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22366
22367         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22368         macro.
22369
22370 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22371
22372         * math/atest-exp.c (exp_mpn): Remove ROUND.
22373         * math/atest-exp2.c (exp_mpn): Likewise.
22374         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22375
22376         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22377         * stdlib/tst-tls-atexit-lib.c: Likewise.
22378         * stdlib/tst-tls-atexit.c: Likewise.
22379
22380 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22381
22382         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22383         and __attribute_alloc_size__.
22384
22385 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22386
22387         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22388         __attribute_alloc_size__.
22389         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22390         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22391
22392 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22393
22394         * include/programs/xmalloc.h: New file.
22395         * catgets/gencat.c: Include it.
22396         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22397         * elf/pldd.c: Likewise.
22398         * iconv/iconv_charmap.c: Likewise.
22399         * iconv/iconvconfig.c: Likewise.
22400         * iconv/strtab.c: Likewise.
22401         * locale/programs/locale.c: Likewise.
22402         * locale/programs/localedef.h: Likewise.
22403         * locale/programs/simple-hash.c: Likewise.
22404         * nscd/nscd.h: Likewise.
22405         * nss/makedb.c: Likewise.
22406         * sysdeps/generic/ldconfig.h: Likewise.
22407
22408 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22409
22410         * Versions.def: Add GLIBC_2.18.
22411         * include/link.h (struct link_map): New member l_tls_dtor_count.
22412         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22413         (__call_tls_dtors): Likewise.
22414         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22415         __cxa_thread_atexit_impl.
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22417         Likewise.
22418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22419         Likewise.
22420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22421         Likewise.
22422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22423         Likewise.
22424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22426         Likewise.
22427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22428         Likewise.
22429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22431         Likewise.
22432         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22433         (tests): Add test case tst-tls-atexit.
22434         (modules-names): Add shared library for tst-tls-atexit.
22435         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22436         (GLIBC_PRIVATE): Add __call_tls_dtors.
22437         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22438         for libstdc++.
22439         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22440         * stdlib/tst-tls-atexit.c: New test case.
22441         * stdlib/tst-tls-atexit-lib.c: New test case.
22442
22443         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22444
22445         * elf/Versions (ld): Add _dl_find_dso_for_object.
22446         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22447         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22448         (dl_open_worker): Use _dl_find_dso_for_object.
22449         * elf/dl-sym.c (do_sym): Likewise.
22450         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22451
22452 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22453
22454         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22455         Syntactic changes only.
22456         (_dl_runtime_profile): Do a tail-call to the resolved function.
22457
22458 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22459
22460         [BZ #13550]
22461         * sysdeps/x86_64/bp-asm.h: Remove file.
22462         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22463         <bp-sym.h> and <bp-asm.h>.
22464         (__clone): Do not use BP_SYM.
22465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22466         <bp-sym.h> and <bp-asm.h>.
22467         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22468         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22469         "bp-asm.h".
22470         (_setjmp): Do not use BP_SYM.
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/mempcpy.S (__mempcpy): Do not use BP_SYM in
22475         libc_hidden_def.
22476         (mempcpy): Do not use BP_SYM in weak_alias.
22477         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22478         "bp-asm.h".
22479         (strchr): Do not use BP_SYM.
22480         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22481         "bp-asm.h".
22482         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22483         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22484         (_start): Do not use BP_SYM.
22485         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22486         "bp-asm.h".
22487         (strcat): Do not use BP_SYM.
22488         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22489         "bp-asm.h".
22490         (STRCMP): Do not use BP_SYM.
22491         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22492         "bp-asm.h".
22493         (STRCPY): Do not use BP_SYM.
22494         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22495         "bp-asm.h".
22496         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22497         "bp-asm.h".
22498         (FUNCTION): Do not use BP_SYM.
22499         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22500         weak_alias.
22501         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22502
22503 2013-02-17  Andreas Jaeger  <aj@suse.de>
22504
22505         * time/Versions: Sort entries.
22506         * string/Versions: Likewise.
22507         * resolv/Versions: Likewise.
22508         * posix/Versions: Likewise.
22509         * iconv/Versions: Likewise.
22510         * elf/Versions: Likewise.
22511         * wcsmbs/Versions: Likewise.
22512
22513 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22514
22515         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22516         loop termination condition.
22517
22518         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22519         variable to calculate EZ.
22520         (__sqr): Likewise.
22521
22522         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22523         the lower precision input.
22524
22525 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22526
22527         [BZ #13550]
22528         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22529         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22530         (run-via-rtld-prefix): Do not handle %-bp tests.
22531         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22532         (all-object-suffixes): Remove .ob.
22533         (bppfx): Remove variable.
22534         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22535         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22536         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22537         [$(build-bounded) = yes] (libtype.ob): Likewise.
22538         * Makerules (elide-routines.ob): Remove variable.
22539         (do-tests-clean): Do not handle *-bp.out.
22540         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22541         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22542         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22543         (tests): Do not include $(tests-bp.out).
22544         (xtests): Do not include $(xtests-bp.out).
22545         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22546         [$(build-bounded) = yes] ($(addprefix
22547         $(objpfx),$(binaries-bounded))): Remove rule.
22548         ($(objpfx)%-bp.out): Remove rule.
22549         * config.make.in (build-bounded): Remove variable.
22550         * crypt/Makefile [$(build-bounded) = yes]
22551         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22552         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22553         append to variable.
22554         [$(build-bounded) = yes] (install-lib): Likewise.
22555         [$(build-bounded) = yes] (generated): Likewise.
22556         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22557         Remove rule.
22558         * intl/Makefile [$(build-bounded) = yes]
22559         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22560         * math/Makefile [$(build-bounded) = yes]
22561         ($(tests:%=$(objpfx)%-bp): Likewise.
22562         * misc/Makefile [$(build-bounded) = yes]
22563         ($(objpfx)tst-tsearch-bp): Likewise.
22564         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22565         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22566         Remove dependency.
22567         * string/Makefile (o-objects.ob): Remove variable.
22568         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22569         (CFLAGS-.ob): Remove variable.
22570         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22571         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22572         both definitions of variable.
22573         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22574         (ASFLAGS-.ob): Remove variable.
22575
22576 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22577
22578         [BZ #13550]
22579         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22580         Remove __BOUNDED_POINTERS__ from condition.
22581         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22582         * string/bits/string2.h [!__NO_STRING_INLINES &&
22583         !__BOUNDED_POINTERS__]: Likewise.
22584         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22585         Likewise.
22586         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22587         Remove conditional code.
22588         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22589         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22590         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22591         condition.
22592
22593         [BZ #13550]
22594         * csu/libc-start.c: Do not include <bp-sym.h>.
22595         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22596         * elf/dl-open.c: Do not include <bp-sym.h>.
22597         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22598         * math/fegetenv.c: Do not include <bp-sym.h>.
22599         (fegetenv): Do not use BP_SYM in versioned symbols.
22600         * nptl/sysdeps/pthread/bits/libc-lockP.h
22601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22602         <bp-sym.h>.
22603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22604         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22606         (__pthread_mutex_destroy): Likewise.
22607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22608         (__pthread_mutex_lock): Likewise.
22609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22610         (__pthread_mutex_trylock): Likewise.
22611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22612         (__pthread_mutex_unlock): Likewise.
22613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22614         (__pthread_mutexattr_init): Likewise.
22615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22616         (__pthread_mutexattr_destroy): Likewise.
22617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22618         (__pthread_mutexattr_settype): Likewise.
22619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22620         (__pthread_rwlock_init): Likewise.
22621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22622         (__pthread_rwlock_destroy): Likewise.
22623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22624         (__pthread_rwlock_rdlock): Likewise.
22625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22626         (__pthread_rwlock_tryrdlock): Likewise.
22627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22628         (__pthread_rwlock_wrlock): Likewise.
22629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22630         (__pthread_rwlock_trywrlock): Likewise.
22631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22632         (__pthread_rwlock_unlock): Likewise.
22633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22634         (__pthread_key_create): Likewise.
22635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22636         (__pthread_setspecific): Likewise.
22637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22638         (__pthread_getspecific): Likewise.
22639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22640         Likewise.
22641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22642         (_pthread_cleanup_push_defer): Likewise.
22643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22644         (_pthread_cleanup_pop_restore): Likewise.
22645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22646         (pthread_setcancelstate): Likewise.
22647         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22648         <bp-sym.h>.
22649         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22650         (memchr): Do not use BP_SYM in weak_alias.
22651         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22652         (fegetenv): Do not use BP_SYM in versioned symbols.
22653         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22654         (fesetenv): Do not use BP_SYM in versioned symbols.
22655         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22656         (feupdateenv): Do not use BP_SYM in versioned symbols.
22657         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22658         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22659         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22660         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22661         (open64): Do not use BP_SYM in weak_alias.
22662         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22663         (fegetenv): Do not use BP_SYM in versioned symbols.
22664         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22665         (fesetenv): Do not use BP_SYM in versioned symbols.
22666         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22667         (feupdateenv): Do not use BP_SYM in versioned symbols.
22668         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22669         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22670         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22671         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22672         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22673         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22674         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22675         <bp-sym.h>.
22676         (__libc_start_main): Do not use BP_SYM.
22677
22678 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22679
22680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22681         redundant return line.
22682         (norm): Likewise.
22683         (denorm): Likewise.
22684         (dbl_mp): Likewise.
22685         (sub_magnitudes): Likewise.
22686         (__add): Likewise.
22687         (__sub): Likewise.
22688         (__mul): Likewise.
22689         (__inv): Likewise.
22690         (__dvd): Likewise.
22691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22692         (norm): Likewise.
22693         (denorm): Likewise.
22694         (dbl_mp): Likewise.
22695         (sub_magnitudes): Likewise.
22696         (__add): Likewise.
22697         (__sub): Likewise.
22698         (__mul): Likewise.
22699         (__inv): Likewise.
22700         (__dvd): Likewise.
22701
22702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22703         instead of __mul.
22704         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22705         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22706         (cc32): Likewise.
22707
22708         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22709         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22710         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22711         of __mul for squares.
22712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22713         function
22714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22715         Likewise.
22716         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22717         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22718
22719 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22720
22721         [BZ #13550]
22722         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22723         code.
22724         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22725         prototype or function definition.  Rename ubp_* variables and
22726         parameters.  Remove argv definitions conditional on
22727         [__BOUNDED_POINTERS__].
22728         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22729         * elf/dl-runtime.c (_dl_fixup): Likewise.
22730         * include/set-hooks.h (RUN_HOOK): Likewise.
22731         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22732         definition.
22733         * string/strcpy.c (strcpy): Do not use __unbounded.
22734         * sysdeps/generic/frame.h (struct layout): Likewise.
22735         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22736         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22737         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22738         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22739         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22740         (__backtrace): Likewise.
22741         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22742         use __ptrvalue.
22743         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22744         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22745         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22746         Likewise.
22747         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22748         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22749         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22750         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22751         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22752         Do not use __unbounded.
22753         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22754         Rename __unboundedrlimits parameter to rlimits in prototype.
22755         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22756         Do not use __unbounded.
22757         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22758         not use __ptrvalue.
22759         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22760         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22761         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22762         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22763         __ptrvalue or __unbounded.
22764         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22765         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22766         use __unbounded.
22767         (__new_msgctl): Do not use __ptrvalue.
22768         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22769         __unbounded.
22770         (__libc_msgrcv): Do not use __ptrvalue.
22771         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22772         startup_info): Do not use __unbounded.
22773         (__libc_start_main): Likewise.  Rename ubp_* variables and
22774         parameters.  Remove argv definitions conditional on
22775         [__BOUNDED_POINTERS__].
22776         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22777         __ptrvalue.
22778         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22779         use __unbounded.
22780         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22781         or __ptrvalue.
22782         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22783         use __unbounded.
22784         (__new_shmctl): Do not use __ptrvalue.
22785         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22786         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22787         Likewise.
22788         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22789         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22790         (__libc_sigaction): Likewise.
22791         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22792         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22793         Likewise.
22794         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22795
22796 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22797
22798         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22799
22800         * string/mempcpy.c: Implement by calling memcpy.
22801
22802 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22803
22804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22805
22806         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22807         evaluation.
22808
22809         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22810         values in the mantissa.
22811
22812         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22813         minimize writes to Z.
22814         (sub_magnitudes): Simplify code a bit.
22815
22816 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22817
22818         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22819         from the message.  The linker prefixes all warnings with that already.
22820
22821 2013-02-12  Andreas Schwab  <schwab@suse.de>
22822
22823         [BZ #15078]
22824         * posix/regexec.c (extend_buffers): Add parameter min_len.
22825         (check_matching): Pass minimum needed length.
22826         (clean_state_log_if_needed): Likewise.
22827         (get_subexp): Likewise.
22828         * posix/Makefile (tests): Add bug-regex34.
22829         (bug-regex34-ENV): Define.
22830         * posix/bug-regex34.c: New file.
22831
22832         [BZ #11561]
22833         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22834         elements compare against the byte sequence of it, not its name.
22835         * posix/Makefile (tests): Add bug-regex35.
22836         (bug-regex35-ENV): Define.
22837         * posix/bug-regex35.c: New file.
22838
22839 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22840
22841         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22842         comment.
22843         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22844         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22845         (CHECK_EOL): Add undef.
22846
22847 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22848
22849         * bits/stdlib-bsearch.h: New file.
22850         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22851         * stdlib/stdlib.h: Likewise.
22852
22853 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22854
22855         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22856         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22857         declaration.
22858         * manual/search.texi (Array Search Function): Add missing const in
22859         lfind prototype.
22860         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22861         declaration to use rlim_t.
22862         (Basic Scheduling Functions): Remove erroneous const from
22863         sched_getparam prototype.  Remove erroneous * from
22864         sched_get_priority_max and sched_get_priority_min prototypes.
22865         (Resource Usage): Fix summary @comment on vtimes to refer to
22866         sys/vtimes.h rather than vtimes.h.
22867         Add missing *s in vtimes prototype.
22868         (Limits on Resources): Fix ulimit prototype to return long int.
22869         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22870         prototypes to use long int rather than double.
22871         (BSD Random): Fix initstate and setstate to use char *, not void *.
22872         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22873         prototype to make second argument 'struct aiocb64 *const[]'.
22874         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22875         (Status of AIO Operations): Remove erroneous const in aio_return and
22876         aio_return64 prototypes.
22877         (Synchronizing I/O): Fix sync prototype to return void.
22878         * manual/startup.texi (Suboptions): Remove an erroneous const in
22879         getsubopt prototype.
22880         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22881         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22882         use size_t rather than int.
22883         (Scanning All Users): Likewise for getpwent_r.
22884         (Setting Groups): Add missing const to setgroups prototype.
22885         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22886         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22887         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22888         'const void *' rather than 'const char *'.
22889         (Host Address Functions): Likewise for inet_ntop.
22890         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22891         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22892         ssize_t for return value.
22893         (Sending Data): Likewise for send, sendto, sendmsg.
22894         (Socket Option Functions): Add a missing const in setsockopt prototype.
22895         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22896         use wchar_t for the argument.
22897         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22898         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22899         take no arguments.
22900         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22901         double/float/long double for second argument.
22902         Fix return types of significand, significandf, significandl.
22903         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22904         argument in fchmod prototype.
22905         (File Owner): Use uid_t and gid_t in fchown prototype.
22906         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22907         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22908         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22909         use 'const struct dirent **' as argument types to CMP function pointer
22910         argument.
22911         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22912         (File Times): Fix summary magic @comment for struct utimbuf and utime
22913         to refer to utime.h, not time.h.
22914         * manual/string.texi (Argz Functions): Add missing const in
22915         argz_extract and argz_next prototypes.
22916         (Finding Tokens in a String): Likewise for basename.
22917         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22918         (Copying and Concatenation): Fix typo in wmemmove prototype.
22919         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22920         (Signal Stack): Remove erroneous const in sigstack prototype.
22921         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22922         prototype.
22923         (Simple Calendar Time): Likewise for stime.
22924         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22925         prototype.
22926         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22927         say sys/sysctl.h instead.
22928         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22929         and vsyslog prototypes.
22930
22931 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22932
22933         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22934         Remove.
22935
22936 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22937
22938         * misc/sys/mman.h: Fix typo in mremap comment.
22939
22940 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22941
22942         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22943         the '\0' terminator.
22944
22945 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22946
22947         [BZ #13550]
22948         * debug/segfault.c: Don't include <bp-checks.h>.
22949         * sysdeps/generic/bp-checks.h: Remove file.
22950         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22951         (__GETDENTS): Don't use CHECK_N.
22952         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22953         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22954         (__getgroups): Don't use CHECK_N.
22955         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22956         (setgroups): Don't use CHECK_N.
22957         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22958         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22959         (__libc_msgrcv): Don't use CHECK_N.
22960         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22961         (__libc_msgsnd): Don't use CHECK_N.
22962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22963         <bp-checks.h>.
22964         (__libc_pread): Don't use CHECK_N.
22965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22966         include <bp-checks.h>.
22967         (__libc_pread64): Don't use CHECK_N.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22969         include <bp-checks.h>.
22970         (__libc_pwrite): Don't use CHECK_N.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22972         include <bp-checks.h>.
22973         (__libc_pwrite64): Don't use CHECK_N.
22974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22975         <bp-checks.h>.
22976         (__libc_pread): Don't use CHECK_N.
22977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22978         include <bp-checks.h>.
22979         (__libc_pread64): Don't use CHECK_N.
22980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22981         include <bp-checks.h>.
22982         (__libc_pwrite): Don't use CHECK_N.
22983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22984         include <bp-checks.h>.
22985         (__libc_pwrite64): Don't use CHECK_N.
22986         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22987         (do_pread): Don't use CHECK_N.
22988         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22989         (do_pread64): Don't use CHECK_N.
22990         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22991         (do_pwrite): Don't use CHECK_N.
22992         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22993         (do_pwrite64): Don't use CHECK_N.
22994         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22995         (__libc_readv): Don't use CHECK_N.
22996         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22997         (semop): Don't use CHECK_N.
22998         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22999         <bp-checks.h>.
23000         (semtimedop): Don't use CHECK_N.
23001         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23002         (__libc_pread): Don't use CHECK_N.
23003         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23004         <bp-checks.h>.
23005         (__libc_pread64): Don't use CHECK_N.
23006         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23007         <bp-checks.h>.
23008         (__libc_pwrite): Don't use CHECK_N.
23009         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23010         <bp-checks.h>.
23011         (__libc_pwrite64): Don't use CHECK_N.
23012         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23013         <bp-checks.h>.
23014         (__libc_msgrcv): Don't use CHECK_N.
23015         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23016         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23017         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23018         (__libc_writev): Don't use CHECK_N.
23019
23020 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23021
23022         * string/strcpy.c: Removed unused variable.
23023
23024         * Makeconfig (+sysdep-includes): Define with := rather than =.
23025         Use an existing include/ subdir of each sysdeps dir before it.
23026
23027 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23028
23029         * nscd/connection.c (register_traced_file): Comment function.
23030         [HAVE_INOTIFY] (union __inev): Define.
23031         [HAVE_INOTIFY] (inotify_check_files): New function.
23032         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23033         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23034         clear_db_cache.
23035         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23036
23037 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23038
23039         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23040         loaded if not already and that a failure is permanent.
23041
23042 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23043
23044         [BZ #15006]
23045         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23046         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23047
23048 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23049
23050         [BZ #13550]
23051         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23052         (CHECK_1_NULL_OK): Likewise.
23053         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23054         (__fxstat): Do not use CHECK_1.
23055         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23056         <bp-checks.h>.
23057         (___fxstat64): Do not use CHECK_1.
23058         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23059         <bp-checks.h>.
23060         (__fxstatat): Do not use CHECK_1.
23061         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23062         <bp-checks.h>.
23063         (__fxstatat64): Do not use CHECK_1.
23064         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23065         <bp-checks.h>.
23066         (__fxstat): Do not use CHECK_1.
23067         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23068         <bp-checks.h>.
23069         (__fxstatat): Do not use CHECK_1.
23070         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23071         <bp-checks.h>.
23072         (__getresgid): Do not use CHECK_1.
23073         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23074         <bp-checks.h>.
23075         (__getresuid): Do not use CHECK_1.
23076         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23077         <bp-checks.h>.
23078         (__lxstat): Do not use CHECK_1.
23079         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23080         <bp-checks.h>.
23081         (__old_msgctl): Do not use CHECK_1.
23082         (__new_msgctl): Likewise.
23083         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23084         <bp-checks.h>.
23085         (__new_setrlimit): Do not use CHECK_1.
23086         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23087         <bp-checks.h>.
23088         (__old_shmctl): Do not use CHECK_1.
23089         (__new_shmctl): Likewise.
23090         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23091         <bp-checks.h>.
23092         (__xstat): Do not use CHECK_1.
23093         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23094         (__lxstat): Do not use CHECK_1.
23095         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23096         <bp-checks.h>.
23097         (___lxstat64): Do not use CHECK_1.
23098         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23099         (__old_msgctl): Do not use CHECK_1.
23100         (__new_msgctl): Likewise.
23101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23102         <bp-checks.h>.
23103         (__gettimeofday): Do not use CHECK_1.
23104         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23105         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23106         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23107         <bp-checks.h>.
23108         (__gettimeofday): Do not use CHECK_1.
23109         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23110         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23111         (__new_shmctl): Do not use CHECK_1.
23112         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23113         <bp-checks.h>.
23114         (do_sigtimedwait): Do not use CHECK_1.
23115         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23116         <bp-checks.h>.
23117         (do_sigwaitinfo): Do not use CHECK_1.
23118         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23119         <bp-checks.h>.
23120         (msgctl): Do not use CHECK_1.
23121         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23122         <bp-checks.h>.
23123         (shmctl): Do not use CHECK_1.
23124         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23125         (ustat): Do not use CHECK_1.
23126         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23127         <bp-checks.h>.
23128         (__fxstat): Do not use CHECK_1.
23129         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23130         <bp-checks.h>.
23131         (__fxstatat): Do not use CHECK_1.
23132         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23133         <bp-checks.h>.
23134         (__lxstat): Do not use CHECK_1.
23135         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23136         <bp-checks.h>.
23137         (__xstat): Do not use CHECK_1.
23138         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23139         (__xstat): Do not use CHECK_1.
23140         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23141         (___xstat64): Do not use CHECK_1.
23142
23143         [BZ #13550]
23144         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23145         definitions.
23146         (CHECK_BOUNDS_HIGH): Likewise.
23147         * string/strcpy.c: Do not include <bp-checks.h>.
23148         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23149
23150 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23151
23152         * nscd/nscd-client.h (__nscd_drop_map_ref):
23153         Add __attribute__ ((unused)).
23154         * nis/nss-nisplus.h (niserr2nss): Likewise.
23155
23156         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23157         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23158
23159         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23160         Remove inline keyword.
23161         * include/rounding-mode.h (round_away): Likewise.
23162         * libio/wfileops.c (adjust_wide_data): Likewise.
23163         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23164         (__m128i_strloadu_tolower): Likewise.
23165         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23166         (__m128i_strloadu_tolower): Likewise.
23167         * time/mktime.c (ydhms_diff): Likewise.
23168         * locale/elem-hash.h (elem_hash): Likewise.
23169         * locale/setlocale.c (setdata): Likewise.
23170         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23171         (re_string_wchar_at): Likewise.
23172         (bitset_not, bitset_merge, bitset_mask): Likewise.
23173         [!(__GNUC__ > 3)] (inline): Remove macro.
23174         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23175         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23176         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23177         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23178         * string/memcmp.c (memcmp_bytes): Likewise.
23179         * locale/programs/locarchive.c (compute_hashval): Likewise.
23180         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23181         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23182         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23183         * nss/getent.c (print_rpc, print_protocols): Likewise.
23184         (print_passwd, print_group, print_aliases): Likewise.
23185         * nis/nss-nisplus.h (niserr2nss): Likewise.
23186         * nscd/connections.c (restart_p): Likewise.
23187         Change return type to bool.
23188
23189 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23190
23191         * Makeconfig (all-Depend-files): Add existing
23192         $(sorted-subdirs:=/Depend) files.
23193         (all-subdirs): Remove nss.
23194         * sysdeps/unix/inet/Subdirs: Add it here instead.
23195         * hesiod/Depend: New file.
23196
23197         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23198         instead of calling alloca.
23199
23200         * io/lseek.c (__lseek): Rename to __libc_lseek.
23201         Define __lseek as an alias.
23202
23203         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23204
23205 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23206
23207         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23208         else clause and remove check for non-standard endianness.
23209
23210 2013-02-04  David S. Miller  <davem@davemloft.net>
23211
23212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23213
23214 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23215
23216         [BZ #13550]
23217         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23218         (__ubp_memchr): Remove prototype.
23219         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23220         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23221         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23222         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23223         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23224         Remove alias.
23225         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23226         (__ubp_memchr): Likewise.
23227         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23228         (__ubp_memchr): Likewise.
23229         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23230         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23231         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23232         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23233         CHECK_STRING.
23234         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23235         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23236         (__getcwd): Do not use CHECK_STRING.
23237         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23238         <bp-checks.h>.
23239         (__real_chown): Do not use CHECK_STRING.
23240         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23241         <bp-checks.h>.
23242         (fchownat): Do not use CHECK_STRING.
23243         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23244         CHECK_STRING.
23245         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23246         <bp-checks.h>.
23247         (__lchown): Do not use CHECK_STRING.
23248         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23249         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23250         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23251         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23253         include <bp-checks.h>.
23254         (truncate64): Do not use CHECK_STRING.
23255         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23256         <bp-checks.h>.
23257         (__real_chown): Do not use CHECK_STRING.
23258         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23259         <bp-checks.h>.
23260         (__lchown): Do not use CHECK_STRING.
23261         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23262         <bp-checks.h>.
23263         (__chown): Do not use CHECK_STRING.
23264         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23265         <bp-checks.h>.
23266         (truncate64): Do not use CHECK_STRING.
23267         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23268         Likewise.
23269         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23270         (__xmknod): Do not use CHECK_STRING.
23271         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23272         <bp-checks.h>.
23273         (__xmknodat): Do not use CHECK_STRING.
23274         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23275         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23276
23277 2013-02-04  Andreas Schwab  <schwab@suse.de>
23278
23279         [BZ #14142]
23280         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23281         * include/netdb.h: Likewise for h_errno.
23282         * elf/tst-stackguard1.c: Include <tls.h>.
23283
23284 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23285
23286         * elf/link.h (struct link_map): Extend the l_addr comment.
23287         * include/link.h (struct link_map): Likewise.
23288
23289 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23290
23291         [BZ #13550]
23292         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23293         (BOUNDED_1): Remove macro.
23294         * debug/backtrace.c: Don't include <bp-checks.h>.
23295         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23296         (__backtrace): Likewise.
23297         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23298         <bp-checks.h>.
23299         (__backtrace): Don't use BOUNDED_1.
23300         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23301         <bp-checks.h>.
23302         (__backtrace): Don't use BOUNDED_1.
23303         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23304         (__backtrace): Don't use BOUNDED_1.
23305         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23306         (shmat): Don't use BOUNDED_N.
23307
23308 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23309
23310         [BZ #13550]
23311         * sysdeps/generic/bp-start.h: Remove file.
23312         * csu/libc-start.c: Don't include <bp-start.h>.
23313         (LIBC_START_MAIN): Set up __environ directly instead of using
23314         INIT_ARGV_and_ENVIRON.
23315         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23316         <bp-start.h>.
23317
23318         [BZ #13550]
23319         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23320         definitions.
23321         (CHECK_FCNTL): Likewise.
23322         (CHECK_N_PAGES): Likewise.
23323
23324         [BZ #13550]
23325         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23326         definitions.
23327         (CHECK_SIGSET_NULL_OK): Likewise.
23328         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23329         <bp-checks.h>.
23330         (sigpending): Don't use CHECK_SIGSET.
23331         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23332         <bp-checks.h>.
23333         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23334         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23335         <bp-checks.h>.
23336         (do_sigsuspend): Don't use CHECK_SIGSET.
23337         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23338         use CHECK_SIGSET.
23339         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23340         (do_sigwait): Don't use CHECK_SIGSET.
23341         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23342         use CHECK_SIGSET.
23343         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23344         include <bp-checks.h>.
23345         (sigpending): Don't use CHECK_SIGSET.
23346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23347         include <bp-checks.h>.
23348         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23349         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23350         <bp-checks.h>.
23351         (sigpending): Don't use CHECK_SIGSET.
23352         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23353         <bp-checks.h>.
23354         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23355
23356         [BZ #13550]
23357         * sysdeps/generic/bp-semctl.h: Remove file.
23358         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23359         <bp-checks.h> and <bp-semctl.h>.
23360         (__old_semctl): Don't use CHECK_SEMCTL.
23361         (__new_semctl): Likewise.
23362         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23363         and <bp-semctl.h>.
23364         (__old_semctl): Don't use CHECK_SEMCTL.
23365         (__new_semctl): Likewise.
23366         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23367         <bp-checks.h> and <bp-semctl.h>.
23368         (__old_semctl): Don't use CHECK_SEMCTL.
23369         (__new_semctl): Likewise.
23370         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23371         <bp-checks.h> and <bp-semctl.h>.
23372         (semctl): Don't use CHECK_SEMCTL.
23373
23374         [BZ #13550]
23375         * Makerules (elide-bp-thunks): Remove variable.
23376         (elide-routines.oS): Don't use $(elide-bp-thunks).
23377         (elide-routines.os): Likewise.
23378         (elide-routines.o): Likewise.
23379         (elide-routines.op): Likewise.
23380         (elide-routines.og): Likewise.
23381         (objects): Don't use $(bp-thunks).
23382         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23383         include.
23384         (common-generated): Do not add s-proto-bp.d.
23385         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23386         (int): Likewise.
23387         (typ): Likewise.
23388         Do not generate makefile rules for bounded-pointer thunks.
23389         * sysdeps/generic/bp-thunks.h: Remove file.
23390         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23391         * sysdeps/unix/s-proto-bp.S: Likewise.
23392
23393         [BZ #15062]
23394         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23395         parts of result separately when argument is not close to line from
23396         -i to i and one part of argument is small.
23397         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23398         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23399         * math/libm-test.inc (cacos_test): Add more tests.
23400         (casin_test): Likewise.
23401         (casinh_test): Likewise.
23402         * sysdeps/i386/fpu/libm-test-ulps: Update.
23403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23404
23405 2013-01-31  David S. Miller  <davem@davemloft.net>
23406
23407         * po/de.po: Update from translation team.
23408
23409 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23410
23411         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23412
23413 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23414
23415         * configure.in (_AC_PROG_CC_C89): New definition.
23416         * configure: Regenerate.
23417
23418         * configure.in (AC_PROG_CPP): New definition.
23419         * configure: Regenerate.
23420
23421 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23422
23423         * debug/tst-backtrace.h: New file.
23424         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23425         (ret): Remove variable.
23426         (x): Likewise.
23427         (FAIL): Remove macro.
23428         (NO_INLINE): Likewise.
23429         (fn1): Use match function instead of strstr.
23430         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23431         (ret): Remove variable.
23432         (x): Likewise.
23433         (FAIL): Remove macro.
23434         (NO_INLINE): Likewise.
23435         (fn): Use match function instead of strstr.
23436         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23437         (ret): Remove variable.
23438         (x): Likewise.
23439         (FAIL): Remove macro.
23440         (NO_INLINE): Likewise.
23441         (handle_signal): Use match function instead of strstr.
23442         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23443         (ret): Remove variable.
23444         (x): Likewise.
23445         (FAIL): Remove macro.
23446         (NO_INLINE): Likewise.
23447         (handle_signal): Use match function instead of strstr.
23448
23449 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23450
23451         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23452
23453 2013-01-23  David S. Miller  <davem@davemloft.net>
23454
23455         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23456         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23457         argument of CAS if possible.
23458         * sysdeps/sparc/sparc64/bits/atomic.h
23459         (__arch_compare_and_exchange_val_32_acq): Likewise.
23460         (__arch_compare_and_exchange_val_64_acq): Likewise.
23461
23462 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23463
23464         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23465         * sysdeps/posix/ulimit.c: ... this.
23466         Include <limits.h>.
23467         * sysdeps/unix/bsd/ulimit.c: Remove file.
23468
23469 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23470
23471         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23472         (LDFLAGS-tst-array5): Likewise.
23473
23474 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23475
23476         [BZ #15036]
23477         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23478         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23479         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23480         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23481
23482 2013-01-21  David S. Miller  <davem@davemloft.net>
23483
23484         * sysdeps/sparc/backtrace.c: New file.
23485         * sysdeps/sparc/sparc32/backtrace.h: New file.
23486         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23487         * sysdeps/sparc/sparc64/backtrace.h: New file.
23488         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23489         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23490         -funwind-tables.
23491
23492 2013-01-21  Andreas Schwab  <schwab@suse.de>
23493
23494         [BZ #15020]
23495         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23496         closed its stdout.
23497
23498 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23499
23500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23501         "mpa2.h".
23502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23503
23504 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23505             Mark Mitchell  <mark@codesourcery.com>
23506             Tom de Vries  <tom@codesourcery.com>
23507             Paul Pluzhnikov  <ppluzhnikov@google.com>
23508
23509         * debug/tst-backtrace2.c: New file.
23510         * debug/tst-backtrace3.c: Likewise.
23511         * debug/tst-backtrace4.c: Likewise.
23512         * debug/tst-backtrace5.c: Likewise.
23513         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23514         (CFLAGS-tst-backtrace3.c): Likewise.
23515         (CFLAGS-tst-backtrace4.c): Likewise.
23516         (CFLAGS-tst-backtrace5.c): Likewise.
23517         (LDFLAGS-tst-backtrace2): Likewise.
23518         (LDFLAGS-tst-backtrace3): Likewise.
23519         (LDFLAGS-tst-backtrace4): Likewise.
23520         (LDFLAGS-tst-backtrace5): Likewise.
23521         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23522         tst-backtrace4 and tst-backtrace5.
23523
23524 2013-01-18  Anton Blanchard  <anton@samba.org>
23525             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23526
23527         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23528         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23529         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23530         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23532         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23533         "+r" and remove output regs list as redundant.  Add explicit inline
23534         asm to specify register of return val to work around compiler codegen
23535         bug.  Remove (int) cast on return value.  Add return type parameter to
23536         use in macro so that this macro does not truncate return value for
23537         64-bit values.
23538         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23539         pass to INTERNAL_VSYSCALL_NCS.
23540         (INLINE_VSYSCALL): Add 'long int' as return type to
23541         INTERNAL_VSYSCALL_NCS macro invocation.
23542         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23543         INTERNAL_VSYSCALL_NCS macro invocation.
23544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23545
23546 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23547
23548         [BZ #14496]
23549         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23550         Fix application of SIMD FP exception mask.
23551
23552         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23553         mp_no from a power of two.
23554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23555         __mpexp_twomm1.  Use __pow_mp.
23556
23557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23558         multiplication.
23559
23560 2013-01-17  David S. Miller  <davem@davemloft.net>
23561
23562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23563
23564 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23565
23566         [BZ #15023]
23567         * include/complex.h: Condition contents on [!_COMPLEX_H].
23568         (__kernel_casinhf): New prototype.
23569         (__kernel_casinh): Likewise.
23570         (__kernel_casinhl): Likewise.
23571         * math/Makefile (libm_calls): Add k_casinh.
23572         * math/k_casinh.c: New file.
23573         * math/k_casinhf.c: Likewise.
23574         * math/k_casinhl.c: Likewise.
23575         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23576         finite nonzero arguments.
23577         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23578         finite nonzero arguments.
23579         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23580         finite nonzero arguments.
23581         * math/s_casinh.c: Do not include <float.h>.
23582         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23583         * math/s_casinhf.c: Do not include <float.h>.
23584         (__casinhf): Move code for finite nonzero arguments to
23585         k_casinhf.c.
23586         * math/s_casinhl.c: Do not include <float.h>.
23587         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23588         redefine.
23589         (__casinhl): Move code for finite nonzero arguments to
23590         k_casinhl.c.
23591         * math/libm-test.inc (cacos_test): Add more tests.
23592         * sysdeps/i386/fpu/libm-test-ulps: Update.
23593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23594
23595 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23596
23597         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23598         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23599         [!HAVE_MREMAP]: Remove [defined linux] case.
23600         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23601
23602 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23603
23604         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23605
23606 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23607
23608         * elf/elf.h (R_386_SIZE32): New relocation.
23609         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23610         R_386_SIZE32.
23611         (elf_machine_rela): Likewise.
23612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23613         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23614
23615 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23616
23617         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23618         (FP_FAST_FMA): Do not define.
23619         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23620         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23621         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23622         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23623         !_SOFT_FLOAT]: Likewise.
23624         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23625         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23626         value.
23627         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23628         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23629         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23630         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23631         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23632         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23633         file.
23634
23635 2013-01-16  Andreas Schwab  <schwab@suse.de>
23636
23637         [BZ #14327]
23638         * include/stdlib.h (__mktemp): Add declaration.
23639         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23640         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23641
23642 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23643
23644         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23645         definitions.
23646         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23647         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23648         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23649         definitions here.
23650         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23651         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23652         definitions.
23653         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23654         and ONE.
23655         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23656         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23657         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23658         definitions.
23659         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23660         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23661         definitions.
23662         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23663
23664         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23665
23666 2013-01-15  David S. Miller  <davem@davemloft.net>
23667
23668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23669         trunc{,f} to libm-sysdep_routes.
23670         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23672         file.
23673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23675         file.
23676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23677         file.
23678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23680         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23681         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23682         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23683         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23684         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23685         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23686
23687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23688         nearbyint{,f} to libm-sysdep_routes.
23689         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23691         New file.
23692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23693         file.
23694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23695         New file.
23696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23697         file.
23698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23700         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23701         file.
23702         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23703         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23704         file.
23705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23706         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23707         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23708
23709         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23710         libc_feholdexcept and libc_fesetenv.
23711
23712 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23713
23714         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23715
23716 2013-01-14  David S. Miller  <davem@davemloft.net>
23717
23718         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23719         (SPARC_ASM_VIS2_IFUNC): Likewise.
23720         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23722         use of 'siam' instruction.
23723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23724         Likewise.
23725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23726         Likewise.
23727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23728         Likewise.
23729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23732         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23734         file.
23735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23736         file.
23737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23738         file.
23739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23740         file.
23741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23746         new VIS2 routines.
23747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23750         Likewise.
23751         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23752         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23756         routines to libm-sysdep_routines.
23757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23758
23759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23760         fdim/fdimf to libm-sysdep_routines.
23761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23762         file.
23763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23765         file.
23766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23769         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23770         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23771         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23772         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23773
23774 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23775
23776         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23777         to optimize copies.
23778
23779         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23782
23783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23784         local variable MPTWO.
23785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23786         Likewise.
23787
23788 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23789
23790         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23791         GLOB_NOESCAPE.
23792
23793 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23794
23795         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23796
23797 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23798
23799         * manual/pattern.texi (glob_t): Document gl_flags.
23800         (glob64_t): Likewise.
23801
23802 2013-01-11  David S. Miller  <davem@davemloft.net>
23803
23804         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23805         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23806         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23807         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23808         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23809         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23810         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23811         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23812         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23813         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23814         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23815         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23816         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23817
23818         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23819         sparc V9 rather than using V8 code.
23820         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23821         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23822
23823         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23824         Move to...
23825         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23826         Here.
23827
23828 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23829
23830         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23831         not in the main loop.
23832         * configure: Regenerated.
23833
23834 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23835
23836         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23837         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23838         to just #else.
23839         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23840         [!__GLIBC_HAVE_LONG_LONG] case.
23841         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23842         condition to just #else.
23843         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23844         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23845         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23846         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23847         unconditional.
23848         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23849         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23850         #elif condition to just #else.
23851         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23852         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23853         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23854         #elif condition to just #else.
23855
23856 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23857
23858         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23859         (EF_MIPS_ARCH_64): Fix value.
23860         (EF_MIPS_ARCH_32R2): New.
23861         (EF_MIPS_ARCH_64R2): New.
23862
23863 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23864
23865         * Makeconfig (+link-pie-before-libc): New.
23866         (+link-pie-after-libc): Likewise.
23867         (+link-pie-tests): Likewise.
23868         (+link-pie): Rewritten.
23869         (link-before-libc): Remove $(config-LDFLAGS).
23870         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23871         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23872         (config-LDFLAGS): Renamed to ...
23873         (rtld-LDFLAGS): This.
23874         (rtld-tests-LDFLAGS): New macro.
23875         (link-libc-rpath-link): Likewise.
23876         (link-libc-tests-rpath-link): Likewise.
23877         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23878         (link-libc): Prepand $(link-libc-rpath-link).
23879         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23880         (test-program-prefix): New macro.
23881         (test-via-rtld-prefix): Likewise.
23882         (test-program-cmd): Likewise.
23883         (host-test-program-cmd): Likewise.
23884         * Makefile ($(common-objpfx)testrun.sh): Replace
23885         $(run-program-prefix) with $(test-program-prefix).
23886         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23887         $(rtld-LDFLAGS).
23888         ($(common-objpfx)shlib.lds): Likewise.
23889         (build-module-helper): Likewise.
23890         ($(common-objpfx)format.lds): Likewise.
23891         * Rules (binaries-pie-tests): New.
23892         (binaries-pie-notests): Likewise.
23893         (binaries-pie): Rewritten.
23894         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23895         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23896         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23897         (make-test-out): Replace $(host-built-program-cmd) with
23898         $(host-test-program-cmd).
23899         * config.make.in (build-hardcoded-path-in-tests): New variable.
23900         * configure.in (--enable-hardcoded-path-in-tests): New configure
23901         option.
23902         (hardcoded_path_in_tests): New AC_SUBST.
23903         * configure: Regenerated.
23904         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23905         $(built-program-cmd) with $(test-program-cmd).
23906         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23907         (test_program_cmd): This.
23908         * elf/Makefile ($(objpfx)order.out): Run test with
23909         $(test-program-prefix).
23910         ($(objpfx)order2.out): Likewise.
23911         ($(objpfx)tst-initorder.out): Likewise.
23912         ($(objpfx)tst-initorder2.out): Likewise.
23913         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23914         $(test-program-cmd).
23915         ($(objpfx)tst-array1-static.out): Likewise.
23916         ($(objpfx)tst-array2.out): Likewise.
23917         ($(objpfx)tst-array3.out): Likewise.
23918         ($(objpfx)tst-array4.out): Likewise.
23919         ($(objpfx)tst-array5.out): Likewise.
23920         ($(objpfx)tst-array5-static.out): Likewise.
23921         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23922         $(test-program-cmd).
23923         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23924         $(run-program-prefix) with $(test-program-prefix).
23925         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23926         (test_program_prefix): This.
23927         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23928         $(run-program-prefix) with $(test-program-prefix).
23929         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23930         (test_program_prefix): This.
23931         * iconvdata/tst-tables.sh: Likewise.
23932         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23933         $(run-program-prefix) with $(test-program-prefix).
23934         ($(objpfx)tst-translit.out): Likewise.
23935         ($(objpfx)tst-gettext2.out): Likewise.
23936         ($(objpfx)tst-gettext4.out): Likewise.
23937         ($(objpfx)tst-gettext6.out): Likewise.
23938         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23939         (test_program_prefix): This.
23940         * intl/tst-gettext2.sh: Likewise.
23941         * intl/tst-gettext4.sh  Likewise.
23942         * intl/tst-gettext6.sh: Likewise.
23943         * intl/tst-translit.sh: Likewise.
23944         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23945         with $(test-program-cmd).
23946         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23947         $(run-program-prefix) with $(test-program-prefix).
23948         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23949         (test_program_prefix): This.
23950         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23951         $(run-program-prefix) with $(test-program-prefix).
23952         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23953         (test_program_prefix): This.
23954         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23955         * posix/Makefile ($(objpfx)globtest.out): Replace
23956         $(run-via-rtld-prefix) and $(test-wrapper) with
23957         $(test-program-prefix) and $(test-via-rtld-prefix).
23958         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23959         $(test-program-prefix).
23960         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23961         $(host-test-program-cmd).
23962         (tst-spawn-ARGS): Likewise.
23963         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23964         $(test-program-prefix).
23965         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23966         (test_via_rtld_prefix): This.
23967         (test_wrapper): Renamed to ...
23968         (test_program_prefix): This.
23969         (run_program_prefix): Replaced by test_program_prefix.
23970         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23971         (test_program_prefix): This.
23972         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23973         with $(host-test-program-cmd).
23974         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23975         $(run-program-prefix) with $(test-program-prefix).
23976         ($(objpfx)tst-printf.out): Likewise.
23977         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23978         $(test-program-cmd).
23979         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23980         (test_program_prefix): This.
23981         * stdio-common/tst-unbputc.sh: Likewise.
23982         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23983         $(run-program-prefix) with $(test-program-prefix).
23984         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23985         (test_program_prefix): This.
23986         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23987         $(built-program-cmd) with $(test-program-cmd).
23988
23989 2013-01-11  Andreas Jaeger  <aj@suse.de>
23990
23991         [BZ #15003]
23992         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23993         value. Sync with Linux 3.7.
23994
23995 2013-01-10  David S. Miller  <davem@davemloft.net>
23996
23997         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23998         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23999         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24000
24001 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24002
24003         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24004         never set.
24005         * configure: Regenerated.
24006
24007 2013-01-10  David S. Miller  <davem@davemloft.net>
24008
24009         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24010         sparc V9 rather than using V8 code.
24011         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24012         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24013
24014 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24015
24016         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24017         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24018         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24019         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24020         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24021         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24022         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24023         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24024         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24025         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24026         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24027         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24028         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24029         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24030         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24031         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24032         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24033         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24034         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24035         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24036         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24037         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24038         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24039         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24040         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24041         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24042         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24043
24044 2013-01-10  David S. Miller  <davem@davemloft.net>
24045
24046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24047
24048 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24049
24050         * posix/Makefile (tests-static): New variable.
24051         (tests): Add $(tests-static).
24052         (tst-exec-static-ARGS): New variable.
24053         (tst-spawn-static-ARGS): Likewise.
24054         * posix/tst-exec-static.c: New file.
24055         * posix/tst-spawn-static.c: Likewise.
24056         * posix/tst-exec.c: Support run directly.
24057         * posix/tst-spawn.c: Likewise.
24058
24059 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24060
24061         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24062         long.
24063         * math/bits/mathcalls.h (llrint): Likewise.
24064         (llround): Likewise.
24065         * stdlib/stdlib.h (struct drand48_data): Likewise.
24066         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24067         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24068         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24069         Likewise.
24070         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24071         Likewise.
24072         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24073         (elf_greg_t): Likewise.
24074         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24075         (__jmp_buf): Likewise.
24076         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24077         definitions.
24078         (llrint): Likewise, for all definitions.
24079         (llrintl): Likewise.
24080
24081         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24082         Remove [__GNUC__] condition.
24083         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24084         condition to just [__USE_ISOC99].
24085         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24086
24087 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24088
24089         [BZ #14200]
24090         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24091         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24092         defined.
24093         (_POSIX_V6_ILP32_OFF32): Likewise.
24094         (_XBS5_ILP32_OFF32): Likewise.
24095         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24096         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24097
24098 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24099
24100         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24101
24102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24103         doubles __mpexp_twomm1.  Adjust usage.
24104         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24105         Remove.
24106
24107 2013-01-10  Andreas Schwab  <schwab@suse.de>
24108
24109         [BZ #14964]
24110         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24111         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24112
24113 2013-01-09  David S. Miller  <davem@davemloft.net>
24114
24115         [BZ #15003]
24116         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24117         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24118         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24119         (TCP_FASTOPEN): Define.
24120         (tcp_repair_opt): New structure.
24121         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24122         enum values.
24123         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24124         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24125         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24126         (tcp_cookie_transactions): New structure.
24127
24128 2013-01-09  Anton Blanchard  <anton@samba.org>
24129
24130         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24131         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24132         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24133         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24134
24135 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24136
24137         * include/features.h (__USE_ANSI): Remove.
24138
24139 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24140
24141         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24142
24143         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24144
24145 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24146
24147         * sysdeps/s390/fpu/libm-test-ulps: Update.
24148
24149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24150
24151         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24152         (__acr): Likewise.
24153         (__cpy): Likewise.
24154         (norm): Likewise.
24155         (denorm): Likewise.
24156         (__mp_dbl): Likewise.
24157         (__dbl_mp): Likewise.
24158         (add_magnitudes): Likewise.
24159         (sub_magnitudes): Likewise.
24160         (__add): Likewise.
24161         (__sub): Likewise.
24162         (__mul): Likewise.
24163         (__inv): Likewise.
24164         (__dvd): Likewise.
24165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24166         (__acr): Likewise.
24167         (__cpy): Likewise.
24168         (norm): Likewise.
24169         (denorm): Likewise.
24170         (__mp_dbl): Likewise.
24171         (__dbl_mp): Likewise.
24172         (add_magnitudes): Likewise.
24173         (sub_magnitudes): Likewise.
24174         (__add): Likewise.
24175         (__sub): Likewise.
24176         (__mul): Likewise.
24177         (__inv): Likewise.
24178         (__dvd): Likewise.
24179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24180         (__acr): Likewise.
24181         (__cpy): Likewise.
24182         (norm): Likewise.
24183         (denorm): Likewise.
24184         (__mp_dbl): Likewise.
24185         (__dbl_mp): Likewise.
24186         (add_magnitudes): Likewise.
24187         (sub_magnitudes): Likewise.
24188         (__add): Likewise.
24189         (__sub): Likewise.
24190         (__mul): Likewise.
24191         (__inv): Likewise.
24192         (__dvd): Likewise.
24193
24194 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24195
24196         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24197         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24198         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24199         2 && __USE_EXTERN_INLINES]: Likewise.
24200
24201 2013-01-08  Andreas Jaeger  <aj@suse.de>
24202
24203         [BZ# 14985]
24204         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24205         Remove.
24206         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24207         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24208
24209 2013-01-07  Anton Blanchard  <anton@samba.org>
24210
24211         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24212         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24213         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24214         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24215         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24216         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24217         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24218         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24220         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24221         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24222         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24223         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24224         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24225         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24226         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24227         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24228         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24229         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24230         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24231         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24232         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24233         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24234         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24235         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24236         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24237         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24238         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24239         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24240         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24241         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24243         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24244         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24245         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24246         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24247         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24248         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24249         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24250         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24251         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24252         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24253         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24254
24255 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24256
24257         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24258         (__MALLOC_PMT): Likewise.
24259         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24260         [__GNUC__], only on [_LIBC].
24261         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24262         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24263         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24264         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24265         forward declaration.
24266         (realloc_hook_ini): Likewise.
24267         (memalign_hook_ini): Likewise.
24268         (__libc_memalign): Do not use __MALLOC_PMT in variable
24269         declaration.
24270         (__libc_valloc): Likewise.
24271         (__libc_pvalloc): Likewise.
24272         (__libc_calloc): Likewise.
24273         (__posix_memalign): Likewise.
24274
24275         [BZ #14996]
24276         * math/s_casinh.c: Include <float.h>.
24277         (__casinh): Do not do computation with squaring and square root
24278         for large arguments.
24279         * math/s_casinhf.c: Include <float.h>.
24280         (__casinhf): Do not do computation with squaring and square root
24281         for large arguments.
24282         * math/s_casinhl.c: Include <float.h>.
24283         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24284         (__casinhl): Do not do computation with squaring and square root
24285         for large arguments.
24286         * math/libm-test.inc (casin_test): Add more tests.
24287         (casinh_test): Likewise.
24288         * sysdeps/i386/fpu/libm-test-ulps: Update.
24289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24290
24291 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24292
24293         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24294         (__x86_64_raw_data_cache_size): Likewise.
24295         (__x86_64_data_cache_size_half): Likewise.
24296         (__x86_64_raw_data_cache_size_half): Likewise.
24297         (__x86_64_shared_cache_size): Likewise.
24298         (__x86_64_raw_shared_cache_size): Likewise.
24299         (__x86_64_shared_cache_size_half): Likewise.
24300         (__x86_64_raw_shared_cache_size_half): Likewise.
24301         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24302         to ...
24303         (__x86_data_cache_size): This.
24304         (__x86_64_raw_data_cache_size): Renamed to ...
24305         (__x86_raw_data_cache_size): This.
24306         (__x86_64_data_cache_size_half): Renamed to ...
24307         (__x86_data_cache_size_half): This.
24308         (__x86_64_raw_data_cache_size_half): Renamed to ...
24309         (__x86_raw_data_cache_size_half): This.
24310         (__x86_64_shared_cache_size): Renamed to ...
24311         (__x86_shared_cache_size): This.
24312         (__x86_64_raw_shared_cache_size): Renamed to ...
24313         (__x86_raw_shared_cache_size): This.
24314         (__x86_64_shared_cache_size_half): Renamed to ...
24315         (__x86_shared_cache_size_half): This.
24316         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24317         (__x86_raw_shared_cache_size_half): This.
24318         * sysdeps/x86_64/memcpy.S: Updated.
24319         * sysdeps/x86_64/memset.S: Likewise.
24320         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24321         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24322         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24323
24324 2013-01-04  David S. Miller  <davem@davemloft.net>
24325
24326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24327
24328 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24329
24330         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24331         1 to avoid redefinition warning.
24332         (__USE_GNU): Don't define.
24333         (init_signaling_nan): Protoize.
24334
24335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24336
24337 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24338
24339         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24341         (__cpymn): Likewise.
24342         (norm): Remove commented code.
24343         (denorm): Likewise.
24344         (__mp_dbl): Likewise.
24345         (__inv): Likewise.
24346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24347         (__cpymn): Likewise.
24348         (norm): Remove commented code.
24349         (denorm): Likewise.
24350         (__mp_dbl): Likewise.
24351         (__inv): Likewise.
24352
24353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24354         mp_no value for 1.0 and 2.0.
24355         (norm): Use RADIXI instead of radixi.d.
24356         (denorm): Likewise.
24357         (__mul): Use 0.0 instead of zero.d.
24358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24359         mp_no value for 1.0 and 2.0.
24360         (norm): Use RADIXI instead of radixi.d.
24361         (denorm): Likewise.
24362         (__mul): Use 0.0 instead of zero.d.
24363
24364 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24365
24366         [BZ #14994]
24367         * math/s_casinh.c (__casinh): Reduce finite argument to first
24368         quadrant then set signs of results at the end.
24369         * math/s_casinhf.c (__casinhf): Likewise.
24370         * math/s_casinhl.c (__casinhl): Likewise.
24371         * math/libm-test.inc (casin_test): Add more tests.
24372         (casinh_test): Likewise.
24373         * sysdeps/i386/fpu/libm-test-ulps: Update.
24374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24375
24376 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24377
24378         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24379
24380         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24381
24382         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24383         declarations.
24384         (denorm): Likewise.
24385         (__mp_dbl): Likewise.
24386         (__inv): Likewise.
24387
24388         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24389         and adjust the header comment.
24390
24391         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24392         variable name from declaration.
24393
24394 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24395
24396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24397         Initialize COMMON_CPUID_INDEX_7 element.
24398         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24399         (CPUID_RTM): Likewise.
24400         (HAS_RTM): Likewise.
24401         (COMMON_CPUID_INDEX_7): New enum.
24402
24403 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24404
24405         [BZ #14981]
24406         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24407         size is zero, record memory as freed.
24408
24409 2013-01-03  Andreas Jaeger  <aj@suse.de>
24410
24411         * po/ia.po: Add new Interlingua translation.
24412
24413 2012-01-03  Allan McRae  <allan@archlinux.org>
24414
24415         * locale/programs/localedef.c: Fix description of '--posix' flag.
24416
24417 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24418
24419         * NEWS: Update dates in second copyright notice.
24420         * README: Update copyright dates in example.
24421         * manual/libc.texinfo: Update copyright dates.
24422         * scripts/test-installation.pl: Update copyright date in --version
24423         output.
24424
24425         * hurd/ctty-input.c: Fix copyright notice formatting.
24426         * hurd/ctty-output.c: Likewise.
24427         * hurd/dtable.c: Likewise.
24428         * hurd/hurd-raise.c: Likewise.
24429         * hurd/hurdprio.c: Likewise.
24430         * hurd/msgportdemux.c: Likewise.
24431         * misc/sys/file.h: Likewise.
24432         * misc/sys/ioctl.h: Likewise.
24433         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24434         * sysdeps/mach/hurd/chdir.c: Likewise.
24435         * sysdeps/mach/hurd/fchdir.c: Likewise.
24436         * sysdeps/mach/hurd/rename.c: Likewise.
24437         * sysdeps/mach/hurd/rmdir.c: Likewise.
24438         * sysdeps/mach/hurd/seekdir.c: Likewise.
24439         * sysdeps/mach/hurd/setsid.c: Likewise.
24440         * sysdeps/posix/wait3.c: Likewise.
24441
24442         * All files with FSF copyright notices: Update copyright dates
24443         using scripts/update-copyrights.
24444         * intl/plural.c: Regenerated.
24445         * locale/programs/charmap-kw.h: Likewise.
24446         * locale/programs/locfile-kw.h: Likewise.
24447
24448 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24449
24450         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24451         four values.
24452
24453         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24454         calculation loop and add branch prediction.
24455
24456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24457         check access beyond bounds of m1np.
24458
24459         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24460         MPTWO.
24461         (__inv): Remove local variable MPTWO to use the global
24462         constant.
24463         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24464         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24465         variable MPTWO.
24466         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24467         MP3HALFS static const.
24468
24469 2013-01-01  David S. Miller  <davem@davemloft.net>
24470
24471         * po/ca.po: Update from translation team.
24472
24473 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24474
24475         * scripts/update-copyrights: New file.
24476         * Makeconfig: Reformat copyright notice.
24477         * ctype/ctype.h: Likewise.
24478         * debug/swprintf_chk.c: Likewise.
24479         * elf/dl-cache.c: Likewise.
24480         * elf/dl-debug.c: Likewise.
24481         * elf/dl-object.c: Likewise.
24482         * grp/initgroups.c: Likewise.
24483         * hurd/Makefile: Likewise.
24484         * hurd/hurd/signal.h: Likewise.
24485         * hurd/hurdfault.c: Likewise.
24486         * hurd/hurdioctl.c: Likewise.
24487         * hurd/hurdlookup.c: Likewise.
24488         * hurd/intr-msg.c: Likewise.
24489         * iconv/gconv_open.c: Likewise.
24490         * libio/swprintf.c: Likewise.
24491         * locale/lc-ctype.c: Likewise.
24492         * locale/nl_langinfo.c: Likewise.
24493         * mach/Machrules: Likewise.
24494         * mach/Makefile: Likewise.
24495         * malloc/obstack.h: Likewise.
24496         * manual/Makefile: Likewise.
24497         * manual/tsort.awk: Likewise.
24498         * misc/bits/stab.def: Likewise.
24499         * nis/nis_print_group_entry.c: Likewise.
24500         * nis/nis_table.c: Likewise.
24501         * nis/nss_compat/compat-pwd.c: Likewise.
24502         * nis/nss_compat/compat-spwd.c: Likewise.
24503         * po/Makefile: Likewise.
24504         * posix/fnmatch.c: Likewise.
24505         * posix/regex.h: Likewise.
24506         * resolv/Makefile: Likewise.
24507         * resolv/nss_dns/dns-network.c: Likewise.
24508         * resolv/res_hconf.c: Likewise.
24509         * scripts/gen-sorted.awk: Likewise.
24510         * soft-fp/soft-fp.h: Likewise.
24511         * stdio-common/printf.h: Likewise.
24512         * stdlib/monetary.h: Likewise.
24513         * stdlib/random.c: Likewise.
24514         * stdlib/random_r.c: Likewise.
24515         * sysdeps/generic/Makefile: Likewise.
24516         * sysdeps/gnu/Makefile: Likewise.
24517         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24518         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24519         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24520         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24521         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24522         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24523         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24524         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24525         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24527         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24528         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24529         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24530         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24531         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24532         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24533         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24534         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24535         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24536         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24537         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24538         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24539         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24540         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24541         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24543         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24544         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24545         * sysdeps/mach/hurd/errnos.awk: Likewise.
24546         * sysdeps/mach/hurd/fork.c: Likewise.
24547         * sysdeps/mach/hurd/getcwd.c: Likewise.
24548         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24549         * sysdeps/mach/hurd/mmap.c: Likewise.
24550         * sysdeps/mach/hurd/utimes.c: Likewise.
24551         * sysdeps/mach/hurd/xmknod.c: Likewise.
24552         * sysdeps/posix/profil.c: Likewise.
24553         * sysdeps/posix/readdir_r.c: Likewise.
24554         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24555         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24556         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24557         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24559         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24560         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24561         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24563         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24564         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24565         * sysdeps/pthread/lio_listio.c: Likewise.
24566         * sysdeps/sparc/dl-procinfo.h: Likewise.
24567         * sysdeps/unix/i386/sysdep.S: Likewise.
24568         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24569         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24570         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24571         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24573         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24574         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24575         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24576         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24577         * sysdeps/wordsize-32/divdi3.c: Likewise.
24578         * time/sys/time.h: Likewise.
24579         * wcsmbs/Makefile: Likewise.
24580
24581 2013-01-01  David S. Miller  <davem@davemloft.net>
24582
24583         * po/fr.po: Update from translation team.
24584
24585         * catgets/gencat.c: Update copyright year.
24586         * csu/version.c: Likewise.
24587         * debug/catchsegv.sh: Likewise.
24588         * debug/pcprofiledump.c: Likewise.
24589         * debug/xtrace.sh: Likewise.
24590         * elf/ldconfig.c: Likewise.
24591         * elf/ldd.bash.in: Likewise.
24592         * elf/pldd.c: Likewise.
24593         * elf/sotruss.ksh: Likewise.
24594         * elf/sprof.c: Likewise.
24595         * iconv/iconv_prog.c: Likewise.
24596         * iconv/iconvconfig.c: Likewise.
24597         * locale/programs/locale.c: Likewise.
24598         * locale/programs/localedef.c: Likewise.
24599         * login/programs/pt_chown.c: Likewise.
24600         * malloc/memusage.sh: Likewise.
24601         * malloc/memusagestat.c: Likewise.
24602         * malloc/mtrace.pl: Likewise.
24603         * nscd/nscd.c: Likewise.
24604         * nss/getent.c: Likewise.
24605         * nss/makedb.c: Likewise.
24606         * posix/getconf.c: Likewise.
24607
24608 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24609
24610         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24611         numbers.
24612
24613 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24614
24615         * math/bits/mathcalls.h (modf): Use __nonnull.
24616
24617 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24618
24619         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24620         (split): Use macro CN instead of the bare value.
24621         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24622         could be used.
24623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24624         instead of the bare value.
24625         (power1): Likewise.
24626
24627 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24628
24629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24630         __ATAN_TWOM.
24631         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24632
24633         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24634         their values.
24635         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24636         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24637         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24638         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24639
24640 2012-12-28  Andreas Jaeger  <aj@suse.de>
24641
24642         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24643         values are from Linux 3.7.
24644
24645         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24646         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24647
24648 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24649
24650         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24651         TRUE case.
24652
24653         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24654         (norm): Likewise.
24655         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24656         variables with preprocessor constants.
24657         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24658         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24659         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24660
24661 2012-12-27  Bruno Haible  <bruno@clisp.org>
24662
24663         [BZ #14317]
24664         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24665         only if needed.
24666
24667 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24668
24669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24670         and use variable directly.
24671         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24672
24673         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24674         MPONE.
24675         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24676         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24677         variable MPONE.
24678         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24680         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24681         include directive.  Remove local variable MPONE.
24682         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24683         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24684         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24685
24686 2012-12-25  David S. Miller  <davem@davemloft.net>
24687
24688         * version.h (RELEASE): Set to "development".
24689         (VERSION): Set to "2.17.90".
24690         * NEWS: Add 2.18 section.
24691
24692 2012-12-21  David S. Miller  <davem@davemloft.net>
24693
24694         * po/hr.po: Update from translation team.
24695
24696 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24697
24698         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24699
24700 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24701
24702         * NEWS:  Mention new memcpy for MIPS.
24703
24704 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24705
24706         * manual/contrib.texi (Contributors): Spelling correction.
24707
24708 2012-12-15  David S. Miller  <davem@davemloft.net>
24709
24710         * po/ru.po: Update from translation team.
24711
24712 2012-12-13  David S. Miller  <davem@davemloft.net>
24713
24714         * NEWS: Mention IFUNC testsuite enhancements.
24715
24716         * po/pl.po: Update from translation team.
24717         * po/bg.po: Likewise.
24718
24719         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24720         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24721
24722 2012-12-11  David S. Miller  <davem@davemloft.net>
24723
24724         * po/sv.po: Update from translation team.
24725
24726         * po/vi.po: Update from translation team.
24727
24728         * po/cs.po: Update from translation team.
24729
24730         * po/de.po: Update from translation team.
24731         * po/eo.po: Likewise.
24732         * po/nl.po: Likewise.
24733
24734 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24735
24736         [BZ #14246]
24737         * manual/argp.texi (Argp Helper Functions): Move node to follow
24738         Argp Parsing State.
24739
24740         [BZ #14872]
24741         * manual/conf.texi (Limits on File System Capacity): Mention if
24742         terminating null is included in the max size.
24743
24744 2012-12-10  Andreas Jaeger  <aj@suse.de>
24745
24746         * po/cs.po: Update from translation team.
24747
24748 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24749
24750         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24751         void pointer and cast to uintptr_t.
24752         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24753         path.
24754         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24755         * sysdeps/s390/s390-64/memset.S: Likewise.
24756
24757 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24758
24759         [BZ #14833]
24760         * menual/message.texi (Message Translation): Fix typos.
24761         (Helper programs for gettext): Likewise.
24762
24763 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24764
24765         [BZ #14898]
24766         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24767         Change to -1.
24768
24769 2012-12-07  David S. Miller  <davem@davemloft.net>
24770
24771         * po/libc.pot: Update.
24772
24773 2012-12-07  Richard Henderson  <rth@redhat.com>
24774
24775         [BZ #10114]
24776         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24777         normal/normal case to before the switch.
24778         (_FP_DIV): Likewise.
24779
24780 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24781             Mike Frysinger  <vapier@gentoo.org>
24782
24783         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24784         check for __NR_fadvise64_64.
24785
24786 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24787
24788         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24789         0, not just to plain "0" as a statement.
24790         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24791         with cw.
24792
24793 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24794
24795         * NEWS: Use sourceware.org in Bugzilla URL.
24796
24797 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24798
24799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24800         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24801
24802         * stdio-common/tst-put-error.c (do_test): Add newline to the
24803         padded test to ensure flush.
24804
24805 2012-12-05  Jeff Law  <law@redhat.com>
24806
24807         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24808
24809 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24810
24811         * README: Don't refer to ports add-on as distributed separately.
24812         Mention AArch64 in list of systems supported in the ports add-on.
24813
24814         * LICENSES: Add more non-FSF copyright and license notices.
24815
24816         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24817         ((unused)).
24818
24819         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24820
24821         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24822         10000 as width of padded output.
24823
24824 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24825
24826         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24827
24828         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24829         variable LX with __attribute__ ((unused)).
24830         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24831         Likewise.
24832         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24833         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24834         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24835         with __attribute__ ((unused)).
24836
24837 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24838
24839         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24840
24841 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24842
24843         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24844         (CFLAGS-nldbl-acos.c): New variable.
24845         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24846         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24847         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24848         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24849         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24850         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24851         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24852         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24853         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24854         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24855         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24856         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24857         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24858         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24859         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24860         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24861         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24862         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24863         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24864         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24865         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24866         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24867         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24868         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24869         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24870         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24871         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24872         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24873         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24874         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24875         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24876         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24877         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24878         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24879         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24880         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24881         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24882         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24883         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24884         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24885         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24886         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24887         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24888         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24889         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24890         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24891         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24892         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24893         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24894         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24895         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24896         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24897         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24898         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24899         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24900         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24901         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24902         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24903         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24904         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24905         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24906         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24907         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24908         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24909         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24910         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24911         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24912         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24913         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24914         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24915         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24916         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24917         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24918         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24919         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24920         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24921         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24922         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24923         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24924         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24925         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24926         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24927         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24928         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24929         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24930         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24931         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24932         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24933         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24934         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24935         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24936         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24937         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24938         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24939         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24940         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24941         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24942
24943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24944         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24945
24946         [BZ #14914]
24947         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24948         whole low double instead of just low 47 bits when splitting values
24949         into two parts.
24950
24951 2012-12-03  Allan McRae  <allan@archlinux.org>
24952
24953         * manual/stdio.texi (Predefined Printf Handlers): Remove
24954         @hsep and @vsep usage.
24955
24956 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24957
24958         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24959         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24960
24961 2012-12-03  Jeff Law  <law@redhat.com>
24962
24963         * time/sys/time.h (settimeofday): Do not mark TV argument
24964         as __nonnull.
24965
24966 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24967
24968         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24969         when currently writing and seek to current position when not.
24970         * libio/Makefile (tests): Remove bug-fclose1.
24971         * libio/bug-fclose1.c: Delete.
24972
24973 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24974
24975         * manual/arith.texi (feenableexcept): Fix typo.
24976         (fedisableexcept): Likewise.
24977
24978 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24979
24980         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24981         second, differently-typed declaration, rather than a cast.
24982
24983 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24984
24985         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24986         * include/rpc/svc.h: ... here.
24987
24988 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24989
24990         [BZ #13013]
24991         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24992         depending n and resplen2 to catch cases where answer
24993         equals answerp2.
24994
24995 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24996
24997         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24998         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24999
25000 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25001
25002         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25003
25004 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25005
25006         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25007
25008 2012-11-28  Jeff Law  <law@redhat.com>
25009
25010         [BZ #13761]
25011         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25012         dataset_temporary.  Track alloca usage into alloca_used.
25013         If dataset is large allocate and release it via malloc/free.
25014
25015 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25016
25017         [BZ #14197]
25018         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25019
25020 2012-11-28  David S. Miller  <davem@davemloft.net>
25021
25022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25023
25024 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25025
25026         [BZ #14803]
25027         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25028         of pi/2 rounded to nearest to 64 bits.
25029         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25030         nearest to 64 bits.
25031         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25032         bits.
25033
25034 2012-11-28  Jeff Law <law@redhat.com>
25035             Martin Osvald <mosvald@redhat.com>
25036
25037         [BZ #14889]
25038         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25039         * sunrpc/svc.c: Include time.h.
25040         (__svc_accept_failed): New function.
25041         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25042         any reason other than EINTR, call __svc_accept_failed.
25043         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25044         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25045
25046 2012-11-28  Andreas Schwab  <schwab@suse.de>
25047
25048         * scripts/abilist.awk: Also handle indirect functions in .opd
25049         section.
25050
25051 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25052
25053         [BZ #13881]
25054         * sysdeps/x86/fpu/powl_helper.c: New file.
25055         * sysdeps/x86/fpu/Makefile: Likewise.
25056         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25057         (p3): New object.
25058         (__ieee754_powl): Use __powl_helper for finite arguments except
25059         integer exponents below 8.
25060         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25061         (p3): New object.
25062         (__ieee754_powl): Use __powl_helper for finite arguments except
25063         integer exponents below 8.
25064         * math/libm-test.inc (pow_test): Add more tests and enable some
25065         previously disabled tests.
25066         * sysdeps/i386/fpu/libm-test-ulps: Update.
25067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25068
25069 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25070             Carlos O'Donell  <carlos_odonell@mentor.com>
25071
25072         * nss/makedb.c (is_prime): Assert that input is odd and greater
25073         than 4.  Note that fact in a comment too.
25074         (next_prime): Add 4 to input.
25075
25076 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25077
25078         [BZ #11741]
25079         * libio/Makefile (tests): Add test case tst-fwrite-error.
25080         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25081         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25082         * libio/tst-fwrite-error.c: New test case.
25083
25084 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25085
25086         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25087         before casting to void *.
25088         * include/libc-internal.h (__pointer_type): New macro.
25089         (__integer_if_pointer_type_sub): Likewise.
25090         (__integer_if_pointer_type): Likewise.
25091         (cast_to_integer): Likewise.
25092         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25093         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25094         before casting to atomic64_t.
25095         (atomic_exchange_acq): Likewise.
25096         (__arch_exchange_and_add_body): Likewise.
25097         (__arch_add_body): Likewise.
25098         (atomic_add_negative): Likewise.
25099         (atomic_add_zero): Likewise.
25100
25101 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25102
25103         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25104         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25105         (add_fdes): Likewise.
25106         (linear_search_fdes): Likewise.
25107         (binary_search_unencoded_fdes): Likewise.
25108
25109 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25110
25111         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25112
25113 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25114
25115         * configure.in: Autodetect C++ header directories.
25116         * configure: Regenerated.
25117
25118 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25119
25120         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25121
25122 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25123
25124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25125
25126 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25127
25128         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25129         LDBL_MANT_DIG == 106]: Disable some tests.
25130         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25131         Likewise.
25132         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25133         Likewise.
25134
25135         [BZ #14871]
25136         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25137         input for small inputs.  Return +/- pi/2 for large inputs.
25138         * math/libm-test.inc (atan_test): Add more tests.
25139
25140         * sysdeps/generic/unwind-dw2-fde-glibc.c
25141         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25142         __attribute__ ((unused)).
25143
25144         [BZ #14645]
25145         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25146         x * y if x and y are nonzero and z is zero.
25147
25148         [BZ #14811]
25149         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25150         nonzero exponents with absolute value below 0x1p-117 to +/-
25151         0x1p-117.
25152
25153         [BZ #14869]
25154         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25155         up arguments below 2**-450, not just those below 2**-500.
25156         * math/libm-test.inc (hypot_test): Add another test.
25157
25158         [BZ #14868]
25159         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25160         Return a+b for ratio over 2**120, not 2**60.
25161         * math/libm-test.inc (hypot_test): Add another test.
25162
25163         * math/libm-test.inc (clog_test): Use
25164         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25165         (clog10_test): Likewise.
25166
25167         [BZ #6778]
25168         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25169
25170 2012-11-22  Andreas Schwab  <schwab@suse.de>
25171
25172         * sysdeps/i386/fpu/libm-test-ulps: Update.
25173
25174 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25175
25176         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25177         printf output with newline.
25178
25179 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25180
25181         [BZ #14865]
25182         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25183         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25184         -z nodlopen, -z initfirst and -z execstack support.
25185         * configure: Regenerated.
25186
25187         * elf/elf.h (DF_1_NODIRECT): New macro.
25188         (DF_1_IGNMULDEF): Likewise.
25189         (DF_1_NOKSYMS): Likewise.
25190         (DF_1_NOHDR): Likewise.
25191         (DF_1_EDITED): Likewise.
25192         (DF_1_NORELOC): Likewise.
25193         (DF_1_SYMINTPOSE): Likewise.
25194         (DF_1_GLOBAUDIT): Likewise.
25195         (DF_1_SINGLETON): Likewise.
25196         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25197         DT_1_SUPPORTED_MASK bits.
25198         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25199
25200 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25201
25202         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25203
25204 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25205
25206         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25207         macro.
25208
25209         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25210         (sendmmsg): Move declarations...
25211         * socket/sys/socket.h: ... here.
25212         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25213         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25214         include it from...
25215         * socket/recvmmsg.c: ... this new file.
25216         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25217         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25218         definition of __sendmmsg hidden.
25219         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25220         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25221         Move ENOSYS stub into and include it from...
25222         * socket/sendmmsg.c: ... this new file.
25223         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25224         (sysdep_routines): Move recvmmsg and sendmmsg...
25225         * socket/Makefile (routines): ... here.
25226         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25227         (GLIBC_PRIVATE): Add __sendmmsg.
25228         * include/sys/socket.h (__sendmmsg): Add declarations.
25229         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25230         sendmmsg.
25231
25232 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25233
25234         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25235         variable I1 with __attribute__ ((unused)).
25236         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25237
25238 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25239
25240         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25241         DUMMY variables with __attribute__ ((unused)).
25242
25243         * bits/byteswap.h: Include <bits/types.h>.
25244         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25245
25246 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25247
25248         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25249         string_t.  Do not manually set errno.
25250         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25251         length with __strnlen.  Make sure to both set errno and return it on
25252         failure.
25253
25254 2012-11-19  David S. Miller  <davem@davemloft.net>
25255
25256         With help from Joseph Myers.
25257         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25258         very large arguments properly.
25259         * math/libm-test.inc (atan_test): New tests.
25260         (atan2_test): New tests.
25261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25263
25264 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25265
25266         [BZ #14856]
25267         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25268         Define to 3.
25269
25270         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25271         [POSIX] (EADDRNOTAVAIL): Likewise.
25272         [POSIX] (EAFNOSUPPORT): Likewise.
25273         [POSIX] (EALREADY): Likewise.
25274         [POSIX] (ECONNABORTED): Likewise.
25275         [POSIX] (ECONNREFUSED): Likewise.
25276         [POSIX] (ECONNRESET): Likewise.
25277         [POSIX] (EDESTADDRREQ): Likewise.
25278         [POSIX] (EDQUOT): Likewise.
25279         [POSIX] (EHOSTUNREACH): Likewise.
25280         [POSIX] (EIDRM): Likewise.
25281         [POSIX] (EISCONN): Likewise.
25282         [POSIX] (ELOOP): Likewise.
25283         [POSIX] (EMULTIHOP): Likewise.
25284         [POSIX] (ENETDOWN): Likewise.
25285         [POSIX] (ENETUNREACH): Likewise.
25286         [POSIX] (ENOBUFS): Likewise.
25287         [POSIX] (ENODATA): Likewise.
25288         [POSIX] (ENOLINK): Likewise.
25289         [POSIX] (ENOMSG): Likewise.
25290         [POSIX] (ENOPROTOOPT): Likewise.
25291         [POSIX] (ENOSR): Likewise.
25292         [POSIX] (ENOSTR): Likewise.
25293         [POSIX] (ENOTCONN): Likewise.
25294         [POSIX] (ENOTSOCK): Likewise.
25295         [POSIX] (EOPNOTSUPP): Likewise.
25296         [POSIX] (EOVERFLOW): Likewise.
25297         [POSIX] (EPROTO): Likewise.
25298         [POSIX] (EPROTONOSUPPORT): Likewise.
25299         [POSIX] (EPROTOTYPE): Likewise.
25300         [POSIX] (ESTALE): Likewise.
25301         [POSIX] (ETIME): Likewise.
25302         [POSIX] (ETXTBSY): Likewise.
25303         [POSIX] (EWOULDBLOCK): Likewise.
25304         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25305         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25306         [POSIX] (SEEK_CUR): Likewise.
25307         [POSIX] (SEEK_END): Likewise.
25308         [POSIX || UNIX98] (mode_t): Do not require.
25309         [POSIX] (off_t): Likewise.
25310         [POSIX] (pid_t): Likewise.
25311         [POSIX] (sys/stat.h): Do not allow header.
25312         [POSIX] (unistd.h): Likewise.
25313         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25314         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25315         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25316         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25317         require.
25318         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25319         sigevent): Specify elements.
25320         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25321         entry.
25322         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25323         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25324
25325         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25326         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25327         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25328         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25329         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25330         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25331         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25332         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25333         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25334         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25335         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25336         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25337         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25338         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25339         Likewise.
25340         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25341         Likewise.
25342         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25343         Likewise.
25344         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25345         Likewise.
25346         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25347         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25348         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25349         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25350         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25351         Specify lower bound on value.
25352         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25353         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25354         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25355         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25356         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25357         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25358         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25359         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25360         value.
25361         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25362         as optional.
25363         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25364         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25365         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25366         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25367         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25368         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25369         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25370         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25371         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25372         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25373         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25374         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25375         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25376         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25377         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25378         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25379         entry.
25380         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25381         optional.
25382         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25383         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25384         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25385         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25386         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25387         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25388         Likewise.
25389         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25390         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25391         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25392         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25393         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25394         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25395         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25396         as optional.
25397         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25398         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25399         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25400         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25401         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25402         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25403         specify as optional.
25404         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25405         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25406         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25407         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25408         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25409         [XPG3] (NL_LANGMAX): Likewise.
25410         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25411         [POSIX || XPG3] (NL_NMAX): Likewise.
25412         [POSIX || XPG3] (NL_SETMAX): Likewise.
25413         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25414         [XPG3] (NZERO): Likewise.
25415         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25416         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25417         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25418         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25419         (REG_ERANGE): Expect.
25420         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25421         optional-constant.
25422         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25423         Use (void) in prototype.
25424         [POSIX] (*_t): Allow.
25425         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25426         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25427         (WRDE_BADVAL): Expect.
25428
25429         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25430         expect.
25431         [XPG3 || XPG4] (O_RSYNC): Likewise.
25432         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25433         Likewise.
25434         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25435         [XPG3 || XPG4] (sigqueue): Likewise.
25436         [XPG3 || XPG4] (sigtimedwait): Likewise.
25437         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25438         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25439         [XPG3 || XPG4] (vsnprintf): Likewise.
25440         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25441         Likewise.
25442         [XPG3 || XPG4] (blksize_t): Likewise.
25443         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25444         Likewise.
25445         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25446         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25447         [XPG3 || XPG4] (struct itimerspec): Likewise.
25448         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25449         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25450         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25451         [XPG3 || XPG4] (clockid_t): Likewise.
25452         [XPG3 || XPG4] (timer_t): Likewise.
25453         [XPG3 || XPG4] (clock_getres): Likewise.
25454         [XPG3 || XPG4] (clock_gettime): Likewise.
25455         [XPG3 || XPG4] (clock_settime): Likewise.
25456         [XPG3 || XPG4] (nanosleep): Likewise.
25457         [XPG3 || XPG4] (timer_create): Likewise.
25458         [XPG3 || XPG4] (timer_delete): Likewise.
25459         [XPG3 || XPG4] (timer_gettime): Likewise.
25460         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25461         [XPG3 || XPG4] (timer_settime): Likewise.
25462         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25463         [XPG3 || XPG4] (getlogin_r): Likewise.
25464         [XPG3 || XPG4] (pread): Likewise.
25465         [XPG3 || XPG4] (pthread_atfork): Likewise.
25466         [XPG3 || XPG4] (pwrite): Likewise.
25467
25468         [BZ #14835]
25469         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25470         <bits/siginfo.h>.
25471
25472 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25473
25474         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25475         finalizing MALLSTREAM.
25476
25477         * sysdeps/mach/hurd/syncfs.c: New file.
25478
25479 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480
25481         [BZ #14719]
25482         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25483         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25484         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25485         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25486         (_nss_dns_gethostbyname4_r): Likewise.
25487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25488         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25489
25490 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25491
25492         [BZ #13763]
25493         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25494
25495 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25496
25497         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25498         * elf/cache.c (print_entry): Print ",AArch64" for
25499         FLAG_AARCH64_LIB64
25500
25501         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25502         * elf/cache.c (print_entry): Print ",hard-float" for
25503         FLAG_ARM_LIBHF.
25504
25505 2012-11-18  David S. Miller  <davem@davemloft.net>
25506
25507         With help from Joseph Myers.
25508         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25509         cutoff to 2**-13.
25510         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25511         cutoff to 2**-25.
25512         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25513         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25514         small.
25515         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25516         * math/libm-test.inc (y0_test): New tests.
25517         (y1_test): New tests.
25518         * sysdeps/i386/fpu/libm-test-ulps: Update.
25519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25521
25522 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25523
25524         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25525         64-bit targets.
25526         * configure: Regenerated.
25527
25528 2012-11-17  David S. Miller  <davem@davemloft.net>
25529
25530         [BZ #14811]
25531         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25532         nonzero exponents with absolute value below 0x1p-128 to +/-
25533         0x1p-128.
25534
25535 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25536
25537         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25538
25539         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25540
25541         * posix/getconf-speclist.c: New file.
25542         * posix/posix-envs.def: Likewise.
25543         * posix/confstr.c (START_ENV_GROUP): New macro.
25544         (END_ENV_GROUP): Likewise.
25545         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25546         (KNOWN_PRESENT_ENV_STRING): Likewise.
25547         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25548         (UNKNOWN_ENVIRONMENT): Likewise.
25549         (confstr): Include posix-envs.def instead of handling
25550         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25551         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25552         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25553         (END_ENV_GROUP): Likewise.
25554         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25555         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25556         (UNKNOWN_ENVIRONMENT): Likewise.
25557         (__sysconf): Include posix-envs.def instead of handling associated
25558         cases directly here.
25559         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25560         preprocessing getconf-speclist.c rather than running getconf or
25561         generating empty file.
25562
25563 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25564
25565         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25566
25567 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25568
25569         [BZ #14672]
25570         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25571
25572 2012-11-16  David S. Miller  <davem@davemloft.net>
25573
25574         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25575         smaller than LDBL_EPSILON/2.0L, just return xm1.
25576
25577 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25578
25579         * elf/tst-array1.c (init): Set constructor priority to 1000.
25580         (fini): Set destructor priority to 1000.
25581         * elf/tst-array2dep.c: Likewise.
25582
25583 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25584
25585         [BZ #11741]
25586         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25587         (_IO_new_file_xsputn): Also return EOF if none of the input
25588         data was written when overflow failed.
25589         * libio/iopadn.c (_IO_padn): Likewise.
25590         * libio/iowpadn.c (_IO_wpadn): Likewise.
25591         * stdio-common/tst-put-error.c: Add copyright notice.
25592         (do_test): Add case for printing padded string.
25593         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25594         _IO_padn returned error.
25595         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25596         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25597         return EOF.
25598
25599 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25600
25601         * libio/libioP.h: Add comment note that the references to C++
25602         bits are now obsolete.
25603
25604 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25605
25606         * math/libm-test.inc (check_complex): Use asprintf.
25607
25608 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25609
25610         * debug/pcprofiledump.c (print_version): Update copyright year.
25611         * malloc/memusagestat.c (print_version): Likewise.
25612
25613 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25614
25615         [BZ #14831]
25616         * elf/Makefile (tests): Add tst-audit8.
25617         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25618         ($(objpfx)tst-audit8.out): New target.
25619         (tst-audit8-ENV): New variable.
25620         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25621         audit if l_reloc_result is NULL.
25622         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25623         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25624         * elf/tst-audit8.c: New file.
25625
25626 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25627
25628         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25629         * misc/Makefile (CFLAGS-select.c): Define.
25630         * posix/Makefile (CFLAGS-pause.c): Define.
25631
25632 2012-11-13  David S. Miller  <davem@davemloft.net>
25633
25634         * crypt/Makefile: Move test targets after toplevel Rules
25635         inclusion.  Grab any necessary sysdep routines when linking.
25636         * crypt/md5.c (md5_process_block): Remove define, we will always
25637         name it __md5_process_block.
25638         (md5_finish_ctx): Update md5_process_block call.
25639         (md5_stream): Likewise.
25640         (md5_process_bytes): Likewise.
25641         (md5_process_block): Rename to __md5_process_block and move to ...
25642         * crypt/md5-block.c: ... here.
25643         * crypt/sha256.c (sha256_process_block): Move to ...
25644         * crypt/sha256-block.c: ... here.
25645         * crypt/sha512.c (sha512_process_block): Move to ...
25646         * crypt/sha512-block.c: ... here.
25647         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25648         path.
25649         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25650         * sysdeps/sparc/sparc64/multiarch/Makefile
25651         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25652         crypt subdir.
25653         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25654         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25655         multiarch changes.
25656         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25657         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25658         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25659         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25660         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25661         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25662         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25663         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25664         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25665         file.
25666         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25667         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25668         file.
25669         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25670
25671 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25672
25673         * timezone/tzselect.ksh: Update from tzcode git revision
25674         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25675         * timezone/zdump.c: Likewise.
25676         * timezone/zic.c: Likewise.
25677         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25678         in TZVERSION setting, not $(PKGVERSION).
25679         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25680         REPORT_BUGS_TO settings.
25681
25682         [BZ #14838]
25683         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25684         macro.
25685
25686 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25687
25688         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25689         detection to immediately after _FP_ROUND().
25690         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25691         bits are 0.
25692
25693 2012-11-11  David S. Miller  <davem@davemloft.net>
25694
25695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25696         inttypes.h
25697         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25698         __close rather than their public counterparts.
25699
25700 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25701
25702         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25703         file.
25704         [UNIX98] (sem_timedwait): Do not expect.
25705         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25706         [XPG4 || UNIX98] (sockatmark): Do not expect.
25707         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25708         (clock_getcpuclockid): Do not expect.
25709         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25710         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25711         Do not expect.
25712         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25713         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25714         [UNIX98] (vwscanf): Likewise.
25715         [UNIX98] (vswscanf): Likewise.
25716
25717 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25718
25719         * timezone/version.h: Remove file.
25720         * timezone/README: Do not refer to version.h.
25721         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25722         $(objpfx)version.h.
25723         ($(objpfx)zdump.o): Likewise.
25724         ($(objpfx)version.h): New target.
25725
25726         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25727         2012i.
25728         * timezone/README: Don't mention modification to tzselect.ksh.
25729         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25730         work on unmodified tzselect.ksh.  Substitute version numbers in
25731         tzselect.ksh.
25732
25733         * Makefile (format-me): Remove.
25734         (INSTALL): Adjust indentation.  Use commands directly instead of
25735         using $(format-me).
25736
25737         * aclocal.m4 (ACX_PKGVERSION): New macro.
25738         (ACX_BUGURL): Likewise.
25739         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25740         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25741         (REPORT_BUGS_TO): Likewise.
25742         * configure: Regenerated.
25743         * config.h.in (PKGVERSION): New macro.
25744         (REPORT_BUGS_TO): Likewise.
25745         * config.make.in (PKGVERSION): New variable.
25746         (PKGVERSION_TEXI): Likewise.
25747         (REPORT_BUGS_TO): Likewise.
25748         (REPORT_BUGS_TEXI): Likewise.
25749         * Makefile (format-me): Use -I$(common-objpfx)manual.
25750         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25751         ($(common-objpfx)manual/%): New target.
25752         (manual/%): Remove target.
25753         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25754         (print_version): Use PKGVERSION.
25755         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25756         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25757         and REPORT_BUGS_TO.
25758         ($(objpfx)xtrace): Likewise.
25759         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25760         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25761         (print_version): Use PKGVERSION.
25762         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25763         (do_version): Use PKGVERSION.
25764         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25765         REPORT_BUGS_TO.
25766         (common-ldd-rewrite): Likewise.
25767         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25768         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25769         (print_version): Use PKGVERSION.
25770         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25771         * elf/pldd.c (argp_program_bug_address): Remove variable.
25772         (more_help): New function.
25773         (argp): Use more_help.
25774         (print_version): Use PKGVERSION.
25775         * elf/sln.c (main): Use PKGVERSION.
25776         (usage): Use REPORT_BUGS_TO.
25777         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25778         (top level): Use PKGVERSION.
25779         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25780         (print_version): Use PKGVERSION.
25781         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25782         (print_version): Use PKGVERSION.
25783         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25784         (print_version): Use PKGVERSION.
25785         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25786         (print_version): Use PKGVERSION.
25787         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25788         (print_version): Use PKGVERSION.
25789         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25790         (print_version): Use PKGVERSION.
25791         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25792         and BUGURL.
25793         ($(objpfx)memusage): Likewise.
25794         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25795         (do_version): Use PKGVERSION.
25796         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25797         (print_version): Use PKGVERSION.
25798         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25799         ($PKGVERSION): New variable.
25800         ($REPORT_BUGS_TO): Likewise.
25801         (usage): Use $REPORT_BUGS_TO.
25802         (top level): Use $PKGVERSION.
25803         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25804         ($(objpfx)pkgvers.texi): New rule.
25805         ($(objpfx)stamp-pkgvers): Likewise.
25806         * manual/install.texi: Include pkgvers.texi.
25807         (--with-pkgversion): Document new configure option.
25808         (--with-bugurl): Likewise.
25809         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25810         than necessarily for this particular distribution.  Use
25811         REPORT_BUGS_TO for where to report bugs.
25812         * INSTALL: Regenerated.
25813         * manual/libc.texinfo: Include pkgvers.texi.
25814         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25815         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25816         (print_version): Use PKGVERSION.
25817         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25818         (print_version): Use PKGVERSION.
25819         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25820         (print_version): Use PKGVERSION.
25821         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25822         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25823         macro.
25824         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25825         (print_version): Use PKGVERSION.
25826         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25827         (print_version): Use PKGVERSION.
25828         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25829         and PKGVERSION.
25830
25831         * timezone/checktab.awk: Update from tzcode 2012i.
25832         * timezone/ialloc.c: Likewise.
25833         * timezone/private.h: Likewise.
25834         * timezone/scheck.c: Likewise.
25835         * timezone/tzfile.h: Likewise.
25836         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25837         (TZVERSION): Hardcode tzcode version number.
25838         * timezone/zdump.c: Update from tzcode 2012i.
25839         * timezone/zic.c: Likewise.
25840         * timezone/version.h: New file.
25841         * timezone/README: Describe version.h.  Update upstream location.
25842
25843         [BZ #14824]
25844         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25845         (mktemp): Enable declaration.
25846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25848         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25850         Likewise.
25851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25852         Likewise.
25853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25854         Likewise.
25855         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25856         Likewise.
25857         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25858         Likewise.
25859         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25860         Likewise.
25861
25862         [BZ #14821]
25863         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25864         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25865         for copies of such integer values.
25866         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25867         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25868
25869 2012-11-09  Andreas Jaeger  <aj@suse.de>
25870
25871         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25872         definitions and declarations that are provided by
25873         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25874
25875 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25876
25877         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25878         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25879         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25880         definition.
25881
25882 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25883
25884         * elf/elf.h: Update comment before AArch64 relocations.
25885
25886 2012-11-07  David S. Miller  <davem@davemloft.net>
25887
25888         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25889         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25890         (__start_context): Declare.
25891         (__makecontext_ret): Delete.
25892         (__makecontext): Hook up __start_context instead of
25893         __makecontext_ret.
25894         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25895         (sysdep_routines): Add __start_context when in stdlib.
25896
25897 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25898
25899         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25900         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25901         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25902         hardcoded "nm".
25903         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25904         (READELF): New variable.  Use it instead of hardcoded "readelf".
25905
25906 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25907
25908         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25909         * sysdeps/x86/Makefile: Here.
25910         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25911         * sysdeps/x86/tst-xmmymm.sh: This.
25912
25913 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25914
25915         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25916         expectations.
25917         [UNIX98] (pthread_barrier_t): Do not expect.
25918         [UNIX98] (pthread_barrierattr_t): Likewise.
25919         [UNIX98] (pthread_spinlock_t): Likewise.
25920         [UNIX98] (pthread_barrier_destroy): Likewise.
25921         [UNIX98] (pthread_barrier_init): Likewise.
25922         [UNIX98] (pthread_barrier_wait): Likewise.
25923         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25924         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25925         [UNIX98] (pthread_barrierattr_init): Likewise.
25926         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25927         [UNIX98] (pthread_getcpuclockid): Likewise.
25928         [UNIX98] (pthread_mutex_timedlock): Likewise.
25929         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25930         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25931         [UNIX98] (pthread_sigmask): Likewise.
25932         [UNIX98] (pthread_spin_destroy): Likewise.
25933         [UNIX98] (pthread_spin_init): Likewise.
25934         [UNIX98] (pthread_spin_lock): Likewise.
25935         [UNIX98] (pthread_spin_trylock): Likewise.
25936         [UNIX98] (pthread_spin_unlock): Likewise.
25937         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25938         Do not expect.
25939         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25940         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25941         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25942         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25943         [XPG3 || XPG4] (pthread_key_t): Likewise.
25944         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25945         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25946         [XPG3 || XPG4] (pthread_once_t): Likewise.
25947         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25948         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25949         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25950         [XPG3 || XPG4] (pthread_t): Likewise.
25951
25952         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25953         not expect.
25954         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25955
25956         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25957         Change function return type to int.
25958
25959         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25960         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25961         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25962         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25963         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25964         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25965         [!POSIX] (posix_madvise): Likewise.
25966         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25967         && !UNIX98].
25968         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25969         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25970         (mode_t): Likewise.
25971         (posix_mem_offset): Likewise.
25972         (posix_typed_mem_get_info): Likewise.
25973         (posix_typed_mem_open): Likewise.
25974
25975         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25976         Change condition to [XOPEN2K8].
25977
25978         * conform/conformtest.pl: Preprocess allow-header data with -x c
25979         instead of from stdin.
25980         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25981         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25982         [C99-based standards] (cerfc): Likewise.
25983         [C99-based standards] (cexp2): Likewise.
25984         [C99-based standards] (cexpm1): Likewise.
25985         [C99-based standards] (clog10): Likewise.
25986         [C99-based standards] (clog1p): Likewise.
25987         [C99-based standards] (clog2): Likewise.
25988         [C99-based standards] (clgamma): Likewise.
25989         [C99-based standards] (ctgamma): Likewise.
25990         [C99-based standards] (cerff): Likewise.
25991         [C99-based standards] (cerfcf): Likewise.
25992         [C99-based standards] (cexp2f): Likewise.
25993         [C99-based standards] (cexpm1f): Likewise.
25994         [C99-based standards] (clog10f): Likewise.
25995         [C99-based standards] (clog1pf): Likewise.
25996         [C99-based standards] (clog2f): Likewise.
25997         [C99-based standards] (clgammaf): Likewise.
25998         [C99-based standards] (ctgammaf): Likewise.
25999         [C99-based standards] (cerfl): Likewise.
26000         [C99-based standards] (cerfcl): Likewise.
26001         [C99-based standards] (cexp2l): Likewise.
26002         [C99-based standards] (cexpm1l): Likewise.
26003         [C99-based standards] (clog10l): Likewise.
26004         [C99-based standards] (clog1pl): Likewise.
26005         [C99-based standards] (clog2l): Likewise.
26006         [C99-based standards] (clgammal): Likewise.
26007         [C99-based standards] (ctgammal): Likewise.
26008         * conform/data/inttypes.h-data [C99-based standards]: Include
26009         stdint.h-data.  Remove all expectations for stdint.h contents.
26010         [C99-based standards] (PRI*): Do not allow.
26011         [C99-based standards] (SCN*): Likewise.
26012         [C99-based standards] (*_t): Likewise.
26013         [C99-based-standards] (PRId8): Expect macro.
26014         [C99-based-standards] (PRIi8): Likewise.
26015         [C99-based-standards] (PRIo8): Likewise.
26016         [C99-based-standards] (PRIu8): Likewise.
26017         [C99-based-standards] (PRIx8): Likewise.
26018         [C99-based-standards] (PRIX8): Likewise.
26019         [C99-based-standards] (SCNd8): Likewise.
26020         [C99-based-standards] (SCNi8): Likewise.
26021         [C99-based-standards] (SCNo8): Likewise.
26022         [C99-based-standards] (SCNu8): Likewise.
26023         [C99-based-standards] (SCNx8): Likewise.
26024         [C99-based-standards] (PRIdLEAST8): Likewise.
26025         [C99-based-standards] (PRIiLEAST8): Likewise.
26026         [C99-based-standards] (PRIoLEAST8): Likewise.
26027         [C99-based-standards] (PRIuLEAST8): Likewise.
26028         [C99-based-standards] (PRIxLEAST8): Likewise.
26029         [C99-based-standards] (PRIXLEAST8): Likewise.
26030         [C99-based-standards] (SCNdLEAST8): Likewise.
26031         [C99-based-standards] (SCNiLEAST8): Likewise.
26032         [C99-based-standards] (SCNoLEAST8): Likewise.
26033         [C99-based-standards] (SCNuLEAST8): Likewise.
26034         [C99-based-standards] (SCNxLEAST8): Likewise.
26035         [C99-based-standards] (PRIdFAST8): Likewise.
26036         [C99-based-standards] (PRIiFAST8): Likewise.
26037         [C99-based-standards] (PRIoFAST8): Likewise.
26038         [C99-based-standards] (PRIuFAST8): Likewise.
26039         [C99-based-standards] (PRIxFAST8): Likewise.
26040         [C99-based-standards] (PRIXFAST8): Likewise.
26041         [C99-based-standards] (SCNdFAST8): Likewise.
26042         [C99-based-standards] (SCNiFAST8): Likewise.
26043         [C99-based-standards] (SCNoFAST8): Likewise.
26044         [C99-based-standards] (SCNuFAST8): Likewise.
26045         [C99-based-standards] (SCNxFAST8): Likewise.
26046         [C99-based-standards] (PRId16): Likewise.
26047         [C99-based-standards] (PRIi16): Likewise.
26048         [C99-based-standards] (PRIo16): Likewise.
26049         [C99-based-standards] (PRIu16): Likewise.
26050         [C99-based-standards] (PRIx16): Likewise.
26051         [C99-based-standards] (PRIX16): Likewise.
26052         [C99-based-standards] (SCNd16): Likewise.
26053         [C99-based-standards] (SCNi16): Likewise.
26054         [C99-based-standards] (SCNo16): Likewise.
26055         [C99-based-standards] (SCNu16): Likewise.
26056         [C99-based-standards] (SCNx16): Likewise.
26057         [C99-based-standards] (PRIdLEAST16): Likewise.
26058         [C99-based-standards] (PRIiLEAST16): Likewise.
26059         [C99-based-standards] (PRIoLEAST16): Likewise.
26060         [C99-based-standards] (PRIuLEAST16): Likewise.
26061         [C99-based-standards] (PRIxLEAST16): Likewise.
26062         [C99-based-standards] (PRIXLEAST16): Likewise.
26063         [C99-based-standards] (SCNdLEAST16): Likewise.
26064         [C99-based-standards] (SCNiLEAST16): Likewise.
26065         [C99-based-standards] (SCNoLEAST16): Likewise.
26066         [C99-based-standards] (SCNuLEAST16): Likewise.
26067         [C99-based-standards] (SCNxLEAST16): Likewise.
26068         [C99-based-standards] (PRIdFAST16): Likewise.
26069         [C99-based-standards] (PRIiFAST16): Likewise.
26070         [C99-based-standards] (PRIoFAST16): Likewise.
26071         [C99-based-standards] (PRIuFAST16): Likewise.
26072         [C99-based-standards] (PRIxFAST16): Likewise.
26073         [C99-based-standards] (PRIXFAST16): Likewise.
26074         [C99-based-standards] (SCNdFAST16): Likewise.
26075         [C99-based-standards] (SCNiFAST16): Likewise.
26076         [C99-based-standards] (SCNoFAST16): Likewise.
26077         [C99-based-standards] (SCNuFAST16): Likewise.
26078         [C99-based-standards] (SCNxFAST16): Likewise.
26079         [C99-based-standards] (PRId32): Likewise.
26080         [C99-based-standards] (PRIi32): Likewise.
26081         [C99-based-standards] (PRIo32): Likewise.
26082         [C99-based-standards] (PRIu32): Likewise.
26083         [C99-based-standards] (PRIx32): Likewise.
26084         [C99-based-standards] (PRIX32): Likewise.
26085         [C99-based-standards] (SCNd32): Likewise.
26086         [C99-based-standards] (SCNi32): Likewise.
26087         [C99-based-standards] (SCNo32): Likewise.
26088         [C99-based-standards] (SCNu32): Likewise.
26089         [C99-based-standards] (SCNx32): Likewise.
26090         [C99-based-standards] (PRIdLEAST32): Likewise.
26091         [C99-based-standards] (PRIiLEAST32): Likewise.
26092         [C99-based-standards] (PRIoLEAST32): Likewise.
26093         [C99-based-standards] (PRIuLEAST32): Likewise.
26094         [C99-based-standards] (PRIxLEAST32): Likewise.
26095         [C99-based-standards] (PRIXLEAST32): Likewise.
26096         [C99-based-standards] (SCNdLEAST32): Likewise.
26097         [C99-based-standards] (SCNiLEAST32): Likewise.
26098         [C99-based-standards] (SCNoLEAST32): Likewise.
26099         [C99-based-standards] (SCNuLEAST32): Likewise.
26100         [C99-based-standards] (SCNxLEAST32): Likewise.
26101         [C99-based-standards] (PRIdFAST32): Likewise.
26102         [C99-based-standards] (PRIiFAST32): Likewise.
26103         [C99-based-standards] (PRIoFAST32): Likewise.
26104         [C99-based-standards] (PRIuFAST32): Likewise.
26105         [C99-based-standards] (PRIxFAST32): Likewise.
26106         [C99-based-standards] (PRIXFAST32): Likewise.
26107         [C99-based-standards] (SCNdFAST32): Likewise.
26108         [C99-based-standards] (SCNiFAST32): Likewise.
26109         [C99-based-standards] (SCNoFAST32): Likewise.
26110         [C99-based-standards] (SCNuFAST32): Likewise.
26111         [C99-based-standards] (SCNxFAST32): Likewise.
26112         [C99-based-standards] (PRId64): Likewise.
26113         [C99-based-standards] (PRIi64): Likewise.
26114         [C99-based-standards] (PRIo64): Likewise.
26115         [C99-based-standards] (PRIu64): Likewise.
26116         [C99-based-standards] (PRIx64): Likewise.
26117         [C99-based-standards] (PRIX64): Likewise.
26118         [C99-based-standards] (SCNd64): Likewise.
26119         [C99-based-standards] (SCNi64): Likewise.
26120         [C99-based-standards] (SCNo64): Likewise.
26121         [C99-based-standards] (SCNu64): Likewise.
26122         [C99-based-standards] (SCNx64): Likewise.
26123         [C99-based-standards] (PRIdLEAST64): Likewise.
26124         [C99-based-standards] (PRIiLEAST64): Likewise.
26125         [C99-based-standards] (PRIoLEAST64): Likewise.
26126         [C99-based-standards] (PRIuLEAST64): Likewise.
26127         [C99-based-standards] (PRIxLEAST64): Likewise.
26128         [C99-based-standards] (PRIXLEAST64): Likewise.
26129         [C99-based-standards] (SCNdLEAST64): Likewise.
26130         [C99-based-standards] (SCNiLEAST64): Likewise.
26131         [C99-based-standards] (SCNoLEAST64): Likewise.
26132         [C99-based-standards] (SCNuLEAST64): Likewise.
26133         [C99-based-standards] (SCNxLEAST64): Likewise.
26134         [C99-based-standards] (PRIdFAST64): Likewise.
26135         [C99-based-standards] (PRIiFAST64): Likewise.
26136         [C99-based-standards] (PRIoFAST64): Likewise.
26137         [C99-based-standards] (PRIuFAST64): Likewise.
26138         [C99-based-standards] (PRIxFAST64): Likewise.
26139         [C99-based-standards] (PRIXFAST64): Likewise.
26140         [C99-based-standards] (SCNdFAST64): Likewise.
26141         [C99-based-standards] (SCNiFAST64): Likewise.
26142         [C99-based-standards] (SCNoFAST64): Likewise.
26143         [C99-based-standards] (SCNuFAST64): Likewise.
26144         [C99-based-standards] (SCNxFAST64): Likewise.
26145         [C99-based-standards] (PRIdMAX): Likewise.
26146         [C99-based-standards] (PRIiMAX): Likewise.
26147         [C99-based-standards] (PRIoMAX): Likewise.
26148         [C99-based-standards] (PRIuMAX): Likewise.
26149         [C99-based-standards] (PRIxMAX): Likewise.
26150         [C99-based-standards] (PRIXMAX): Likewise.
26151         [C99-based-standards] (SCNdMAX): Likewise.
26152         [C99-based-standards] (SCNiMAX): Likewise.
26153         [C99-based-standards] (SCNoMAX): Likewise.
26154         [C99-based-standards] (SCNuMAX): Likewise.
26155         [C99-based-standards] (SCNxMAX): Likewise.
26156         [C99-based-standards] (PRIdPTR): Likewise.
26157         [C99-based-standards] (PRIiPTR): Likewise.
26158         [C99-based-standards] (PRIoPTR): Likewise.
26159         [C99-based-standards] (PRIuPTR): Likewise.
26160         [C99-based-standards] (PRIxPTR): Likewise.
26161         [C99-based-standards] (PRIXPTR): Likewise.
26162         [C99-based-standards] (SCNdPTR): Likewise.
26163         [C99-based-standards] (SCNiPTR): Likewise.
26164         [C99-based-standards] (SCNoPTR): Likewise.
26165         [C99-based-standards] (SCNuPTR): Likewise.
26166         [C99-based-standards] (SCNxPTR): Likewise.
26167         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26168         allow.
26169         * conform/data/stdint.h-data: Update comments to clarify
26170         requirements.
26171         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26172         type.
26173         [C99-based standards] (INT8_MAX): Likewise.
26174         [C99-based standards] (INT16_MIN): Likewise.
26175         [C99-based standards] (INT16_MAX): Likewise.
26176         [C99-based standards] (INT32_MIN): Likewise.
26177         [C99-based standards] (INT32_MAX): Likewise.
26178         [C99-based standards] (INT64_MIN): Likewise.
26179         [C99-based standards] (INT64_MAX): Likewise.
26180         [C99-based standards] (UINT8_MAX): Likewise.
26181         [C99-based standards] (UINT16_MAX): Likewise.
26182         [C99-based standards] (UINT32_MAX): Likewise.
26183         [C99-based standards] (UINT64_MAX): Likewise.
26184         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26185         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26186         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26187         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26188         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26189         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26190         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26191         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26192         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26193         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26194         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26195         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26196         [C99-based standards] (INT_FAST8_MIN): Likewise.
26197         [C99-based standards] (INT_FAST8_MAX): Likewise.
26198         [C99-based standards] (INT_FAST16_MIN): Likewise.
26199         [C99-based standards] (INT_FAST16_MAX): Likewise.
26200         [C99-based standards] (INT_FAST32_MIN): Likewise.
26201         [C99-based standards] (INT_FAST32_MAX): Likewise.
26202         [C99-based standards] (INT_FAST64_MIN): Likewise.
26203         [C99-based standards] (INT_FAST64_MAX): Likewise.
26204         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26205         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26206         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26207         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26208         [C99-based standards] (INTPTR_MIN): Likewise.
26209         [C99-based standards] (INTPTR_MAX): Likewise.
26210         [C99-based standards] (UINTPTR_MAX): Likewise.
26211         [C99-based standards] (INTMAX_MIN): Likewise.
26212         [C99-based standards] (INTMAX_MAX): Likewise.
26213         [C99-based standards] (UINTMAX_MAX): Likewise.
26214         [C99-based standards] (PTRDIFF_MIN): Likewise.
26215         [C99-based standards] (PTRDIFF_MAX): Likewise.
26216         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26217         [C99-based standards] (SIZE_MAX): Likewise.
26218         [C99-based standards] (WCHAR_MAX): Likewise.
26219         [C99-based standards] (WINT_MAX): Likewise.
26220         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26221         constraint on value.
26222         [C99-based standards] (WCHAR_MIN): Likewise.
26223         [C99-based standards] (WINT_MIN): Likewise.
26224         [C99-based standards] (*_t): Allow.
26225         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26226         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26227         Include math.h-data and complex.h-data.  Remove all expectations
26228         of math.h and complex.h contents.
26229         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26230         at end of line.
26231         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26232         (struct tm): Expect tag.
26233         [C99-based-standards] (wcstof): Expect function.
26234         [C99-based-standards] (wcstold): Likewise.
26235         [C99-based-standards] (wcstoll): Likewise.
26236         [C99-based-standards] (wcstoull): Likewise.
26237         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26238         macro-int-constant.  Specify type.
26239         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26240         constraint on value.
26241         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26242         Specify type.
26243         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26244         Specify value.
26245         [ISO C standards]: Do not allow headers.
26246         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26247         wcs[abcdefghijklmnopqrstuvwxyz]*.
26248         [ISO C standards] (*_t): Do not allow.
26249         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26250         Expect function.
26251         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26252         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26253         Specify type.
26254         [ISO C standards]: Do not allow headers.
26255         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26256         is[abcdefghijklmnopqrstuvwxyz]*.
26257         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26258         to[abcdefghijklmnopqrstuvwxyz]*.
26259         [ISO C standards] (*_t): Do not allow.
26260         * conform/data/stdalign.h-data: New file.
26261         * conform/data/stdbool.h-data: Likewise.
26262         * conform/data/stdnoreturn.h-data: Likewise.
26263
26264 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26265
26266         [BZ #14815]
26267         * manual/filesys.texi (Directory Entries): Typo fix.
26268         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26269
26270 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26271
26272         * elf/elf.h (EM_AARCH64): New macro.
26273         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26274         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26275         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26276         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26277         (R_AARCH64_TLSDESC): Likewise.
26278         (NT_ARM_TLS): Likewise.
26279         (NT_ARM_HW_BREAK): Likewise.
26280         (NT_ARM_HW_WATCH): Likewise.
26281
26282 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26283
26284         [BZ #14811]
26285         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26286         (__ieee754_powl): Saturate nonzero exponents with absolute value
26287         below 0x1p-79 to +/- 0x1p-79.
26288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26289         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26290         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26291         nonzero exponents with absolute value below 0x1p-32 to +/-
26292         0x1p-32.
26293         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26294         (__ieee754_powl): Saturate nonzero exponents with absolute value
26295         below 0x1p-79 to +/- 0x1p-79.
26296         * math/libm-test.inc (pow_test): Add more tests.
26297
26298 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26299
26300         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26301         _dl_s390_cap_flags with kernel. Increase string length.
26302         (_dl_s390_platforms): Add z196 and zEC12.
26303
26304 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26305
26306         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26307         Change XOPEN21K to XOPEN2K.
26308
26309 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26310
26311         * string/memmove.c: Use memcpy when possible.
26312
26313 2012-11-06  Andreas Jaeger  <aj@suse.de>
26314
26315         * po/eo.po: Update from translation team.
26316
26317 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26318
26319         [BZ #14793]
26320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26321         exponent and small x and y exponents, scale x or y up.  Increase
26322         by 2 the exponent used in scaling up.
26323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26325         * math/libm-test.inc (fma_test): Add more tests.
26326         (fma_test_towardzero): Likewise.
26327         (fma_test_downward): Likewise.
26328         (fma_test_upward): Likewise.
26329
26330 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26331
26332         [BZ #14805]
26333         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26334         fenv_t *.
26335
26336         [BZ #14801]
26337         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26338         namespace for names of struct fields.
26339         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26340         fenv_t fields.
26341         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26342         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26343
26344 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26345
26346         [BZ #3665]
26347         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26348
26349 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26350
26351         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26352         PTR_DEMANGLE.
26353
26354         [BZ #5246]
26355         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26356         PTR_DEMANGLE.
26357
26358 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26359
26360         [BZ #14797]
26361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26362         definitely overflow as x * y not x * y + z.
26363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26365         * math/libm-test.inc (fma_test): Add more tests.
26366         (fma_test_towardzero): Likewise.
26367         (fma_test_downward): Likewise.
26368         (fma_test_upward): Likewise.
26369
26370 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26371
26372         [BZ #157]
26373
26374         * include/stub-tag.h: Remove file.
26375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26376         '#include' of it.
26377         * manual/maint.texi (Porting): Don't reference it.
26378         * Makerules ($(objpfx)stubs): Likewise.
26379         * dirent/closedir.c: Don't include <stub-tag.h>.
26380         * dirent/dirfd.c: Likewise.
26381         * dirent/fdopendir.c: Likewise.
26382         * dirent/getdents.c: Likewise.
26383         * dirent/getdents64.c: Likewise.
26384         * dirent/opendir.c: Likewise.
26385         * dirent/readdir.c: Likewise.
26386         * dirent/readdir64.c: Likewise.
26387         * dirent/readdir64_r.c: Likewise.
26388         * dirent/readdir_r.c: Likewise.
26389         * dirent/rewinddir.c: Likewise.
26390         * dirent/seekdir.c: Likewise.
26391         * dirent/telldir.c: Likewise.
26392         * gmon/profil.c: Likewise.
26393         * grp/setgroups.c: Likewise.
26394         * inet/if_index.c: Likewise.
26395         * io/access.c: Likewise.
26396         * io/chdir.c: Likewise.
26397         * io/chmod.c: Likewise.
26398         * io/chown.c: Likewise.
26399         * io/close.c: Likewise.
26400         * io/dup.c: Likewise.
26401         * io/dup2.c: Likewise.
26402         * io/dup3.c: Likewise.
26403         * io/euidaccess.c: Likewise.
26404         * io/faccessat.c: Likewise.
26405         * io/fchdir.c: Likewise.
26406         * io/fchmod.c: Likewise.
26407         * io/fchmodat.c: Likewise.
26408         * io/fchown.c: Likewise.
26409         * io/fchownat.c: Likewise.
26410         * io/fcntl.c: Likewise.
26411         * io/flock.c: Likewise.
26412         * io/fstatfs.c: Likewise.
26413         * io/fstatfs64.c: Likewise.
26414         * io/fstatvfs.c: Likewise.
26415         * io/fstatvfs64.c: Likewise.
26416         * io/futimens.c: Likewise.
26417         * io/fxstat.c: Likewise.
26418         * io/fxstat64.c: Likewise.
26419         * io/fxstatat.c: Likewise.
26420         * io/fxstatat64.c: Likewise.
26421         * io/getcwd.c: Likewise.
26422         * io/isatty.c: Likewise.
26423         * io/lchmod.c: Likewise.
26424         * io/lchown.c: Likewise.
26425         * io/link.c: Likewise.
26426         * io/linkat.c: Likewise.
26427         * io/lseek.c: Likewise.
26428         * io/lseek64.c: Likewise.
26429         * io/lxstat64.c: Likewise.
26430         * io/mkdir.c: Likewise.
26431         * io/mkdirat.c: Likewise.
26432         * io/mkfifo.c: Likewise.
26433         * io/mkfifoat.c: Likewise.
26434         * io/open.c: Likewise.
26435         * io/open64.c: Likewise.
26436         * io/openat.c: Likewise.
26437         * io/openat64.c: Likewise.
26438         * io/pipe.c: Likewise.
26439         * io/pipe2.c: Likewise.
26440         * io/poll.c: Likewise.
26441         * io/posix_fadvise.c: Likewise.
26442         * io/posix_fadvise64.c: Likewise.
26443         * io/posix_fallocate.c: Likewise.
26444         * io/posix_fallocate64.c: Likewise.
26445         * io/read.c: Likewise.
26446         * io/readlink.c: Likewise.
26447         * io/readlinkat.c: Likewise.
26448         * io/rmdir.c: Likewise.
26449         * io/sendfile.c: Likewise.
26450         * io/sendfile64.c: Likewise.
26451         * io/statfs.c: Likewise.
26452         * io/statfs64.c: Likewise.
26453         * io/statvfs.c: Likewise.
26454         * io/statvfs64.c: Likewise.
26455         * io/symlink.c: Likewise.
26456         * io/symlinkat.c: Likewise.
26457         * io/ttyname.c: Likewise.
26458         * io/ttyname_r.c: Likewise.
26459         * io/umask.c: Likewise.
26460         * io/unlink.c: Likewise.
26461         * io/unlinkat.c: Likewise.
26462         * io/utime.c: Likewise.
26463         * io/utimensat.c: Likewise.
26464         * io/write.c: Likewise.
26465         * io/xmknod.c: Likewise.
26466         * io/xmknodat.c: Likewise.
26467         * io/xstat.c: Likewise.
26468         * io/xstat64.c: Likewise.
26469         * login/getpt.c: Likewise.
26470         * login/grantpt.c: Likewise.
26471         * login/unlockpt.c: Likewise.
26472         * math/e_acoshl.c: Likewise.
26473         * math/e_acosl.c: Likewise.
26474         * math/e_asinl.c: Likewise.
26475         * math/e_atan2l.c: Likewise.
26476         * math/e_atanhl.c: Likewise.
26477         * math/e_coshl.c: Likewise.
26478         * math/e_expl.c: Likewise.
26479         * math/e_fmodl.c: Likewise.
26480         * math/e_gammal_r.c: Likewise.
26481         * math/e_hypotl.c: Likewise.
26482         * math/e_j0l.c: Likewise.
26483         * math/e_j1l.c: Likewise.
26484         * math/e_jnl.c: Likewise.
26485         * math/e_lgammal_r.c: Likewise.
26486         * math/e_log10l.c: Likewise.
26487         * math/e_log2l.c: Likewise.
26488         * math/e_logl.c: Likewise.
26489         * math/e_powl.c: Likewise.
26490         * math/e_rem_pio2l.c: Likewise.
26491         * math/e_sinhl.c: Likewise.
26492         * math/e_sqrtl.c: Likewise.
26493         * math/fclrexcpt.c: Likewise.
26494         * math/fedisblxcpt.c: Likewise.
26495         * math/feenablxcpt.c: Likewise.
26496         * math/fegetenv.c: Likewise.
26497         * math/fegetexcept.c: Likewise.
26498         * math/fegetround.c: Likewise.
26499         * math/feholdexcpt.c: Likewise.
26500         * math/fesetenv.c: Likewise.
26501         * math/fesetround.c: Likewise.
26502         * math/feupdateenv.c: Likewise.
26503         * math/fgetexcptflg.c: Likewise.
26504         * math/fraiseexcpt.c: Likewise.
26505         * math/fsetexcptflg.c: Likewise.
26506         * math/ftestexcept.c: Likewise.
26507         * math/k_cosl.c: Likewise.
26508         * math/k_rem_pio2l.c: Likewise.
26509         * math/k_sinl.c: Likewise.
26510         * math/k_tanl.c: Likewise.
26511         * math/s_asinhl.c: Likewise.
26512         * math/s_atanl.c: Likewise.
26513         * math/s_cbrtl.c: Likewise.
26514         * math/s_erfl.c: Likewise.
26515         * math/s_expm1l.c: Likewise.
26516         * math/s_log1pl.c: Likewise.
26517         * math/s_tanhl.c: Likewise.
26518         * misc/acct.c: Likewise.
26519         * misc/brk.c: Likewise.
26520         * misc/chflags.c: Likewise.
26521         * misc/chroot.c: Likewise.
26522         * misc/fchflags.c: Likewise.
26523         * misc/fgetxattr.c: Likewise.
26524         * misc/flistxattr.c: Likewise.
26525         * misc/fremovexattr.c: Likewise.
26526         * misc/fsetxattr.c: Likewise.
26527         * misc/fsync.c: Likewise.
26528         * misc/ftruncate.c: Likewise.
26529         * misc/futimes.c: Likewise.
26530         * misc/futimesat.c: Likewise.
26531         * misc/getdomain.c: Likewise.
26532         * misc/getdtsz.c: Likewise.
26533         * misc/gethostid.c: Likewise.
26534         * misc/gethostname.c: Likewise.
26535         * misc/getloadavg.c: Likewise.
26536         * misc/getpagesize.c: Likewise.
26537         * misc/getsysstats.c: Likewise.
26538         * misc/getxattr.c: Likewise.
26539         * misc/gtty.c: Likewise.
26540         * misc/ioctl.c: Likewise.
26541         * misc/lgetxattr.c: Likewise.
26542         * misc/listxattr.c: Likewise.
26543         * misc/llistxattr.c: Likewise.
26544         * misc/lremovexattr.c: Likewise.
26545         * misc/lsetxattr.c: Likewise.
26546         * misc/lutimes.c: Likewise.
26547         * misc/madvise.c: Likewise.
26548         * misc/mincore.c: Likewise.
26549         * misc/mlock.c: Likewise.
26550         * misc/mlockall.c: Likewise.
26551         * misc/mmap.c: Likewise.
26552         * misc/mprotect.c: Likewise.
26553         * misc/msync.c: Likewise.
26554         * misc/munlock.c: Likewise.
26555         * misc/munlockall.c: Likewise.
26556         * misc/munmap.c: Likewise.
26557         * misc/preadv.c: Likewise.
26558         * misc/preadv64.c: Likewise.
26559         * misc/ptrace.c: Likewise.
26560         * misc/pwritev.c: Likewise.
26561         * misc/pwritev64.c: Likewise.
26562         * misc/readv.c: Likewise.
26563         * misc/reboot.c: Likewise.
26564         * misc/remap_file_pages.c: Likewise.
26565         * misc/removexattr.c: Likewise.
26566         * misc/revoke.c: Likewise.
26567         * misc/select.c: Likewise.
26568         * misc/setdomain.c: Likewise.
26569         * misc/setegid.c: Likewise.
26570         * misc/seteuid.c: Likewise.
26571         * misc/sethostid.c: Likewise.
26572         * misc/sethostname.c: Likewise.
26573         * misc/setregid.c: Likewise.
26574         * misc/setreuid.c: Likewise.
26575         * misc/setxattr.c: Likewise.
26576         * misc/sstk.c: Likewise.
26577         * misc/stty.c: Likewise.
26578         * misc/swapoff.c: Likewise.
26579         * misc/swapon.c: Likewise.
26580         * misc/sync.c: Likewise.
26581         * misc/syncfs.c: Likewise.
26582         * misc/syscall.c: Likewise.
26583         * misc/truncate.c: Likewise.
26584         * misc/ualarm.c: Likewise.
26585         * misc/usleep.c: Likewise.
26586         * misc/ustat.c: Likewise.
26587         * misc/utimes.c: Likewise.
26588         * misc/vhangup.c: Likewise.
26589         * misc/writev.c: Likewise.
26590         * posix/_exit.c: Likewise.
26591         * posix/alarm.c: Likewise.
26592         * posix/execve.c: Likewise.
26593         * posix/fexecve.c: Likewise.
26594         * posix/fork.c: Likewise.
26595         * posix/fpathconf.c: Likewise.
26596         * posix/getaddrinfo.c: Likewise.
26597         * posix/getegid.c: Likewise.
26598         * posix/geteuid.c: Likewise.
26599         * posix/getgid.c: Likewise.
26600         * posix/getgroups.c: Likewise.
26601         * posix/getlogin.c: Likewise.
26602         * posix/getlogin_r.c: Likewise.
26603         * posix/getpgid.c: Likewise.
26604         * posix/getpid.c: Likewise.
26605         * posix/getppid.c: Likewise.
26606         * posix/getresgid.c: Likewise.
26607         * posix/getresuid.c: Likewise.
26608         * posix/getsid.c: Likewise.
26609         * posix/getuid.c: Likewise.
26610         * posix/glob64.c: Likewise.
26611         * posix/nanosleep.c: Likewise.
26612         * posix/pathconf.c: Likewise.
26613         * posix/pause.c: Likewise.
26614         * posix/posix_madvise.c: Likewise.
26615         * posix/pread.c: Likewise.
26616         * posix/pread64.c: Likewise.
26617         * posix/pwrite.c: Likewise.
26618         * posix/pwrite64.c: Likewise.
26619         * posix/sched_getaffinity.c: Likewise.
26620         * posix/sched_getp.c: Likewise.
26621         * posix/sched_gets.c: Likewise.
26622         * posix/sched_primax.c: Likewise.
26623         * posix/sched_primin.c: Likewise.
26624         * posix/sched_rr_gi.c: Likewise.
26625         * posix/sched_setaffinity.c: Likewise.
26626         * posix/sched_setp.c: Likewise.
26627         * posix/sched_sets.c: Likewise.
26628         * posix/sched_yield.c: Likewise.
26629         * posix/setgid.c: Likewise.
26630         * posix/setlogin.c: Likewise.
26631         * posix/setpgid.c: Likewise.
26632         * posix/setresgid.c: Likewise.
26633         * posix/setresuid.c: Likewise.
26634         * posix/setsid.c: Likewise.
26635         * posix/setuid.c: Likewise.
26636         * posix/sleep.c: Likewise.
26637         * posix/spawni.c: Likewise.
26638         * posix/sysconf.c: Likewise.
26639         * posix/times.c: Likewise.
26640         * posix/wait.c: Likewise.
26641         * posix/wait3.c: Likewise.
26642         * posix/wait4.c: Likewise.
26643         * posix/waitpid.c: Likewise.
26644         * resolv/gai_sigqueue.c: Likewise.
26645         * resource/getpriority.c: Likewise.
26646         * resource/getrlimit.c: Likewise.
26647         * resource/getrusage.c: Likewise.
26648         * resource/nice.c: Likewise.
26649         * resource/setpriority.c: Likewise.
26650         * resource/setrlimit.c: Likewise.
26651         * resource/ulimit.c: Likewise.
26652         * rt/aio_cancel.c: Likewise.
26653         * rt/aio_fsync.c: Likewise.
26654         * rt/aio_read.c: Likewise.
26655         * rt/aio_sigqueue.c: Likewise.
26656         * rt/aio_suspend.c: Likewise.
26657         * rt/aio_write.c: Likewise.
26658         * rt/clock_getres.c: Likewise.
26659         * rt/clock_gettime.c: Likewise.
26660         * rt/clock_nanosleep.c: Likewise.
26661         * rt/clock_settime.c: Likewise.
26662         * rt/lio_listio.c: Likewise.
26663         * rt/mq_close.c: Likewise.
26664         * rt/mq_getattr.c: Likewise.
26665         * rt/mq_notify.c: Likewise.
26666         * rt/mq_open.c: Likewise.
26667         * rt/mq_receive.c: Likewise.
26668         * rt/mq_send.c: Likewise.
26669         * rt/mq_setattr.c: Likewise.
26670         * rt/mq_timedreceive.c: Likewise.
26671         * rt/mq_timedsend.c: Likewise.
26672         * rt/mq_unlink.c: Likewise.
26673         * rt/shm_open.c: Likewise.
26674         * rt/shm_unlink.c: Likewise.
26675         * rt/timer_create.c: Likewise.
26676         * rt/timer_delete.c: Likewise.
26677         * rt/timer_getoverr.c: Likewise.
26678         * rt/timer_gettime.c: Likewise.
26679         * rt/timer_settime.c: Likewise.
26680         * setjmp/__longjmp.c: Likewise.
26681         * setjmp/setjmp.c: Likewise.
26682         * signal/kill.c: Likewise.
26683         * signal/killpg.c: Likewise.
26684         * signal/raise.c: Likewise.
26685         * signal/sigaction.c: Likewise.
26686         * signal/sigaltstack.c: Likewise.
26687         * signal/sigblock.c: Likewise.
26688         * signal/sigignore.c: Likewise.
26689         * signal/sigintr.c: Likewise.
26690         * signal/signal.c: Likewise.
26691         * signal/sigpause.c: Likewise.
26692         * signal/sigpending.c: Likewise.
26693         * signal/sigqueue.c: Likewise.
26694         * signal/sigreturn.c: Likewise.
26695         * signal/sigset.c: Likewise.
26696         * signal/sigsetmask.c: Likewise.
26697         * signal/sigstack.c: Likewise.
26698         * signal/sigsuspend.c: Likewise.
26699         * signal/sigtimedwait.c: Likewise.
26700         * signal/sigvec.c: Likewise.
26701         * signal/sigwait.c: Likewise.
26702         * signal/sigwaitinfo.c: Likewise.
26703         * signal/sysv_signal.c: Likewise.
26704         * socket/accept.c: Likewise.
26705         * socket/accept4.c: Likewise.
26706         * socket/bind.c: Likewise.
26707         * socket/connect.c: Likewise.
26708         * socket/getpeername.c: Likewise.
26709         * socket/getsockname.c: Likewise.
26710         * socket/getsockopt.c: Likewise.
26711         * socket/isfdtype.c: Likewise.
26712         * socket/listen.c: Likewise.
26713         * socket/recv.c: Likewise.
26714         * socket/recvfrom.c: Likewise.
26715         * socket/recvmsg.c: Likewise.
26716         * socket/send.c: Likewise.
26717         * socket/sendmsg.c: Likewise.
26718         * socket/sendto.c: Likewise.
26719         * socket/setsockopt.c: Likewise.
26720         * socket/shutdown.c: Likewise.
26721         * socket/sockatmark.c: Likewise.
26722         * socket/socket.c: Likewise.
26723         * socket/socketpair.c: Likewise.
26724         * stdio-common/ctermid.c: Likewise.
26725         * stdio-common/cuserid.c: Likewise.
26726         * stdio-common/remove.c: Likewise.
26727         * stdio-common/rename.c: Likewise.
26728         * stdio-common/renameat.c: Likewise.
26729         * stdio-common/tempname.c: Likewise.
26730         * stdlib/getcontext.c: Likewise.
26731         * stdlib/makecontext.c: Likewise.
26732         * stdlib/setcontext.c: Likewise.
26733         * stdlib/swapcontext.c: Likewise.
26734         * stdlib/system.c: Likewise.
26735         * streams/fattach.c: Likewise.
26736         * streams/fdetach.c: Likewise.
26737         * streams/getmsg.c: Likewise.
26738         * streams/getpmsg.c: Likewise.
26739         * streams/putmsg.c: Likewise.
26740         * streams/putpmsg.c: Likewise.
26741         * sysdeps/unix/bsd/getpt.c: Likewise.
26742         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26743         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26744         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26746         Likewise.
26747         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26748         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26749         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26750         * sysvipc/msgctl.c: Likewise.
26751         * sysvipc/msgget.c: Likewise.
26752         * sysvipc/msgrcv.c: Likewise.
26753         * sysvipc/msgsnd.c: Likewise.
26754         * sysvipc/semctl.c: Likewise.
26755         * sysvipc/semget.c: Likewise.
26756         * sysvipc/semop.c: Likewise.
26757         * sysvipc/semtimedop.c: Likewise.
26758         * sysvipc/shmat.c: Likewise.
26759         * sysvipc/shmctl.c: Likewise.
26760         * sysvipc/shmdt.c: Likewise.
26761         * sysvipc/shmget.c: Likewise.
26762         * termios/tcdrain.c: Likewise.
26763         * termios/tcflow.c: Likewise.
26764         * termios/tcflush.c: Likewise.
26765         * termios/tcgetattr.c: Likewise.
26766         * termios/tcgetpgrp.c: Likewise.
26767         * termios/tcsendbrk.c: Likewise.
26768         * termios/tcsetattr.c: Likewise.
26769         * termios/tcsetpgrp.c: Likewise.
26770         * time/adjtime.c: Likewise.
26771         * time/clock.c: Likewise.
26772         * time/getitimer.c: Likewise.
26773         * time/gettimeofday.c: Likewise.
26774         * time/setitimer.c: Likewise.
26775         * time/settimeofday.c: Likewise.
26776         * time/stime.c: Likewise.
26777         * time/time.c: Likewise.
26778
26779 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26780
26781         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26782         /usr/old/bin.
26783
26784         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26785         instead of spaces.
26786         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26787
26788 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26789
26790         [BZ #14796]
26791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26792         FE_TONEAREST before applying Dekker multiplication and Knuth
26793         addition.  Clear inexact exceptions and check for exact zero
26794         results afterwards.
26795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26796         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26798         * math/libm-test.inc (fma_test): Add more tests.
26799         (fma_test_towardzero): Likewise.
26800         (fma_test_downward): Likewise.
26801         (fma_test_upward): Likewise.
26802         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26803         function.
26804         (libc_fesetround): New macro.
26805         (libc_fesetroundf): Likewise.
26806         (libc_fesetroundl): Likewise.
26807         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26808         function.
26809         (libc_fesetround_387): Likewise.
26810         (libc_fesetroundf): New macro.
26811         (libc_fesetround): Likewise.
26812         (libc_fesetroundl): Likewise.
26813         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26814         function.
26815         (libc_fesetroundf): New macro.
26816         (libc_fesetround): Likewise.
26817         (libc_fesetroundl): Likewise.
26818         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26819         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26820         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26821         libm_hidden_ver.
26822         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26823         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26824         libm_hidden_def.
26825         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26826         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26827         libm_hidden_ver.
26828         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26829         libm_hidden_def.
26830
26831         [BZ #3439]
26832         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26833         integer constant usable in #if and use that to give value to enum
26834         constant.
26835         (FE_DIVBYZERO): Likewise.
26836         (FE_UNDERFLOW): Likewise.
26837         (FE_OVERFLOW): Likewise.
26838         (FE_INVALID): Likewise.
26839         (FE_INVALID_SNAN): Likewise.
26840         (FE_INVALID_ISI): Likewise.
26841         (FE_INVALID_IDI): Likewise.
26842         (FE_INVALID_ZDZ): Likewise.
26843         (FE_INVALID_IMZ): Likewise.
26844         (FE_INVALID_COMPARE): Likewise.
26845         (FE_INVALID_SOFTWARE): Likewise.
26846         (FE_INVALID_SQRT): Likewise.
26847         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26848         (FE_TONEAREST): Likewise.
26849         (FE_TOWARDZERO): Likewise.
26850         (FE_UPWARD): Likewise.
26851         (FE_DOWNWARD): Likewise.
26852         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26853         (FE_DIVBYZERO): Likewise.
26854         (FE_OVERFLOW): Likewise.
26855         (FE_UNDERFLOW): Likewise.
26856         (FE_INEXACT): Likewise.
26857         (FE_TONEAREST): Likewise.
26858         (FE_DOWNWARD): Likewise.
26859         (FE_UPWARD): Likewise.
26860         (FE_TOWARDZERO): Likewise.
26861         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26862         (FE_UNDERFLOW): Likewise.
26863         (FE_OVERFLOW): Likewise.
26864         (FE_DIVBYZERO): Likewise.
26865         (FE_INVALID): Likewise.
26866         (FE_TONEAREST): Likewise.
26867         (FE_TOWARDZERO): Likewise.
26868         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26869         (FE_OVERFLOW): Likewise.
26870         (FE_UNDERFLOW): Likewise.
26871         (FE_DIVBYZERO): Likewise.
26872         (FE_INEXACT): Likewise.
26873         (FE_TONEAREST): Likewise.
26874         (FE_TOWARDZERO): Likewise.
26875         (FE_UPWARD): Likewise.
26876         (FE_DOWNWARD): Likewise.
26877         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26878         (FE_DIVBYZERO): Likewise.
26879         (FE_OVERFLOW): Likewise.
26880         (FE_UNDERFLOW): Likewise.
26881         (FE_INEXACT): Likewise.
26882         (FE_TONEAREST): Likewise.
26883         (FE_DOWNWARD): Likewise.
26884         (FE_UPWARD): Likewise.
26885         (FE_TOWARDZERO): Likewise.
26886
26887 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26888
26889         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26890
26891 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26892
26893         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26894         commands.  Quote $PWD.
26895         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26896         -x" by "export".
26897         (remove_newlines): Remove.
26898
26899 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26900
26901         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26902         * stdlib/stdlib.h (atof): Moved to ...
26903         * include/bits/stdlib-float.h: Here.  New file.
26904         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26905         * stdlib/bits/stdlib-float.h: New file.
26906         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26907         -mno-sse -mno-mmx.
26908         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26909         <xmmintrin.h>.
26910
26911 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26912
26913         * conform/conformtest.pl (@headers): Add fenv.h.
26914         * conform/data/fenv.h-data: New file.
26915         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26916         include of <math/fenv.h>.
26917
26918         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26919         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26920         && !UNIX98].  Enables tests for XOPEN2K8.
26921         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26922         POSIX2008]: Likewise.
26923
26924         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26925         (struct rusage): Do not expect type or its members.
26926
26927         [BZ #3439]
26928         * math/math.h (FP_NAN): Define macro to integer constant usable in
26929         #if and use that to give value to enum constant.
26930         (FP_INFINITE): Likewise.
26931         (FP_ZERO): Likewise.
26932         (FP_SUBNORMAL): Likewise.
26933         (FP_NORMAL): Likewise.
26934
26935 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26936
26937         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26938         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26939         arguments.
26940
26941 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26942
26943         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26944         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26945         autoconf-time if not.
26946         * configure.in: Remove AC_PREREQ.
26947
26948 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26949
26950         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26951         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26952         of the internal implementation.
26953
26954 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26955
26956         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26957         except include of <misc/sys/syslog.h>.
26958
26959 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26960
26961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26962         function returns with a NULL context exit with zero.
26963
26964 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26965
26966         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26967
26968 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26969
26970         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26971         (run_program_cmd): This.
26972         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26973         (tst_langinfo): New variable.  Use it.
26974
26975 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26976
26977         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26978         floating point opcodes.
26979
26980 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26981
26982         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26983         variable.
26984
26985         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26986
26987         * sysdeps/mach/hurd/powerpc: Remove directory.
26988         * sysdeps/mach/powerpc: Likewise.
26989
26990 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26991
26992         * scripts/check-local-headers.sh: Ignore c++ headers.
26993
26994 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26995
26996         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26997         __libc_cleanup_region_start argument.
26998
26999 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27000
27001         [BZ #14784]
27002         [BZ #14785]
27003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27004         x * y using scaling, not as x * y + z.
27005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27007         * math/libm-test.inc (fma_test): Add more tests.
27008         (fma_test_towardzero): Likewise.
27009         (fma_test_downward): Likewise.
27010         (fma_test_upward): Likewise.
27011
27012 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27013
27014         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27015
27016 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27017
27018         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27019         New variable.
27020
27021 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27022
27023         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27024
27025 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27026
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27028         Fix sort order.
27029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27030         Likewise.
27031
27032 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27033
27034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27035         Fix the order of the list for glibc 2.17.
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27037         Likewise.
27038
27039 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27040
27041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27042
27043 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27044
27045         [BZ #14610]
27046         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27047         for low part of x being zero before using __atanl (y).
27048         * math/libm-test.inc (atan2_test): Add another test.
27049
27050         * manual/install.texi (Configuring and compiling): Document
27051         general use of test-wrapper and test-wrapper-env.
27052         * INSTALL: Regenerated.
27053
27054         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27055         (__fma): Do not extract and scale down low bits on after-rounding
27056         systems when result rounded to normal precision would have normal
27057         exponent.
27058         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27059         (__fmal): Do not extract and scale down low bits on after-rounding
27060         systems when result rounded to normal precision would have normal
27061         exponent.
27062         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27063         (__fmal): Do not extract and scale down low bits on after-rounding
27064         systems when result rounded to normal precision would have normal
27065         exponent.
27066         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27067         macro.
27068         (fma_test): Add more tests.
27069         (fma_test_towardzero): Likewise.
27070         (fma_test_downward): Likewise.
27071         (fma_test_upward): Likewise.
27072
27073 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27074
27075         * sysdeps/i386/tininess.h: Renamed to ...
27076         * sysdeps/x86/tininess.h: This.
27077         * sysdeps/x86_64/tininess.h: Removed.
27078
27079 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27080
27081         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27082         input.  Use $(build-program-cmd).
27083         ($(objpfx)tst-array1-static.out): Likewise.
27084         ($(objpfx)tst-array2.out): Likewise.
27085         ($(objpfx)tst-array3.out): Likewise.
27086         ($(objpfx)tst-array4.out): Likewise.
27087         ($(objpfx)tst-array5.out): Likewise.
27088         ($(objpfx)tst-array5-static.out): Likewise.
27089
27090 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27091
27092         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27093         if defined.
27094
27095         * nss/nsswitch.h (nss_interface_function): Provide new
27096         macro for use with NSS functions.
27097         * grp/initgroups.c: Use new macro.
27098         * nss/getXXbyYY.c: Likewise.
27099         * nss/getXXbyYY_r.c: Likewise.
27100         * nss/getXXent.c: Likewise.
27101         * nss/getXXent_r.c: Likewise.
27102         * sysdeps/posix/getaddrinfo.c: Likewise.
27103
27104 2012-10-30  Andreas Jaeger  <aj@suse.de>
27105
27106         * po/ru.po: Update Russion translation from translation project.
27107
27108 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27109
27110         [BZ #14152]
27111         [BZ #14783]
27112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27113         result and shift together with sticky bit instead of replicating
27114         round-to-nearest rounding.
27115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27116         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27117         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27118         missing underflow exceptions.
27119         (fma_test_towardzero): Add more tests.
27120         (fma_test_downward): Likewise.
27121         (fma_test_upward): Likewise.
27122
27123         [BZ #14047]
27124         * sysdeps/generic/tininess.h: New file.
27125         * sysdeps/i386/tininess.h: Likewise.
27126         * sysdeps/sh/tininess.h: Likewise.
27127         * sysdeps/x86_64/tininess.h: Likewise.
27128         * stdlib/tst-strtod-underflow.c: Likewise.
27129         * stdlib/tst-tininess.c: Likewise.
27130         * stdlib/strtod_l.c: Include <tininess.h>.
27131         (round_and_return): Do not set errno for exact underflow cases.
27132         Force an underflow exception when setting errno for underflow.
27133         Determine underflow based on rounding to normal precision if
27134         TININESS_AFTER_ROUNDING.
27135         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27136         ERANGE for exact underflow cases.
27137         * stdlib/Makefile (tests): Add tst-tininess and
27138         tst-strtod-underflow.
27139         ($(objpfx)tst-tininess): Use $(link-libm).
27140         ($(objpfx)tst-strtod-underflow): Likewise.
27141
27142 2012-10-30  Andreas Jaeger  <aj@suse.de>
27143
27144         [BZ#14767]
27145         * elf/Makefile (tests): Remove conditional for have-initfini-array
27146         since this is now always required and the variable does not exist
27147         anymore.
27148         (tests-static): Likewise.
27149         (modules-names): Likewise.
27150
27151         * po/eo.po: Add Esperanto translation from translation project.
27152
27153         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27154         merged with constructor/destructor.
27155         (init_array): Likewise.
27156         * elf/tst-array2dep.c (fini_array): Likewise.
27157         (init_array): Likewise.
27158
27159 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27160
27161         * manual/message.texi: Delete @cartouche tags.
27162
27163 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27164
27165         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27166         EOPNOTSUPP.
27167         * sysdeps/mach/hurd/fsync.c: Likewise.
27168
27169         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27170         [_POSIX_REALTIME_SIGNALS]: Change condition to
27171         [_POSIX_REALTIME_SIGNALS > 0].
27172
27173 2012-10-27  Andreas Jaeger  <aj@suse.de>
27174
27175         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27176         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27177         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27178         [__WORDSIZE != 64]: Likewise.
27179
27180 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27181
27182         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27183         *  iconvdata/tst-tables.sh: Likewise.
27184
27185 2012-10-25  David S. Miller  <davem@davemloft.net>
27186
27187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27188         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27189         of strtoull.
27190
27191         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27192         ifunc-impl-list.c
27193         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27194         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27195         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27196         file.
27197
27198 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27199
27200         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27201         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27202         __getdirentries.
27203
27204 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27205             Jim Blandy  <jimb@codesourcery.com>
27206
27207         * scripts/cross-test-ssh.sh: New file.
27208         * manual/install.texi (Configuring and compiling): Document use of
27209         cross-test-ssh.sh.
27210         * INSTALL: Regenerated.
27211
27212 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27213
27214         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27215         EOPNOTSUPP.
27216
27217 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27218
27219         * Makeconfig (run-program-prefix): Fix comment.
27220
27221 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27222             Jim Blandy  <jimb@codesourcery.com>
27223
27224         * Makeconfig (test-wrapper): New variable,
27225         (test-wrapper-env): Likewise.
27226         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27227         (run-built-tests): Define to yes.
27228         (run-program-prefix): Use $(test-wrapper).
27229         (built-program-cmd): Likewise.
27230         * Rules (make-test-out): Use $(test-wrapper-env) and
27231         $(host-built-program-cmd).
27232         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27233         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27234         tst-pathopt.sh.
27235         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27236         $(test-wrapper-env) to tst-rtld-load-self.sh.
27237         ($(objpfx)order2.out): Use $(test-wrapper).
27238         ($(objpfx)tst-initorder.out): Likewise.
27239         ($(objpfx)tst-initorder2.out): Likewise.
27240         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27241         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27242         (test_wrapper_env): New variable.  Use it to run ld.so.
27243         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27244         Use it to run ld.so.
27245         (test_wrapper_env): Likewise.
27246         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27247         $(test-wrapper) to run-iconv-test.sh.
27248         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27249         (ICONV): Use $test_wrapper.
27250         * posix/Makefile ($(objpfx)globtest.out): Pass
27251         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27252         globtest.sh, not $(run-program-prefix).
27253         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27254         (test_wrapper): Likewise.
27255         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27256         set together with run_via_rtld_prefix.
27257         (run_program_prefix): Define in terms of test_wrapper and
27258         run_via_rtld_prefix.
27259
27260 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27261
27262         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27263         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27264         Targets removed.
27265
27266         [BZ #14743]
27267         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27268         Declare __clock_getres, __clock_gettime, __clock_settime,
27269         __clock_nanosleep, and __clock_getcpuclockid.
27270         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27271         Remove librt_hidden_def (clock_gettime).
27272         * sysdeps/unix/clock_gettime.c: Likewise.
27273         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27275         * rt/clock_getres.c: Define __clock_getres as an alias.
27276         * sysdeps/posix/clock_getres.c: Likewise.
27277         * rt/clock_settime.c: Define __clock_settime as an alias.
27278         * sysdeps/unix/clock_settime.c: Likewise.
27279         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27280         * sysdeps/unix/clock_nanosleep.c: Likewise.
27281         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27282         * rt/clock-compat.c: New file.
27283         * rt/Makefile (librt-routines): Add clock-compat and move
27284         $(clock-routines) to ...
27285         (routines): ... here, new variable.
27286         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27287         Don't add get_clockfreq here.
27288         * rt/Versions (libc: GLIBC_2.17): New version set.
27289         Add clock_* symbols here.
27290         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27292         (GLIBC_2.17): Add clock_* symbols.
27293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27295         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27297         Likewise.
27298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27299         Likewise.
27300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27304         * NEWS: Mention the move.
27305
27306         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27307         Use __open, __read, __close rather than their public counterparts.
27308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27309         (__get_clockfreq_via_cpuinfo): Likewise.
27310         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27311         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27312
27313         * config.h.in (HAVE_IFUNC): New #undef.
27314         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27315         was successful.
27316         * configure: Regenerated.
27317
27318 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27319
27320         * configure.in: Move READELF check to start of file.
27321         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27322         libc_cv_asm_gnu_indirect_function in the process.
27323         * configure: Regenerated.
27324
27325 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27326
27327         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27328         send the output to /dev/null.
27329         (libc_cv_cc_with_libunwind): Likewise.
27330         (libc_cv_as_noexecstack): Likewise.
27331         * configure: Regenerate.
27332
27333 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27334
27335         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27336
27337         * posix/globtest.sh (TMPDIR): Do not set.
27338         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27339         (testout): Likewise.
27340
27341 2012-10-24  Andreas Jaeger  <aj@suse.de>
27342
27343         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27344         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27345         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27346         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27347         posix_fadvise64, posix_fallocate64.
27348
27349         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27350         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27351         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27352         Likewise.
27353         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27354         Likewise.
27355         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27356
27357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27358         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27359         <bits/fcntl-linux.h>.
27360         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27361
27362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27363         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27364         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27365         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27366         [__WORDSIZE != 64]: Likewise.
27367
27368 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27369
27370         * Makeconfig (run-built-tests): New variable.
27371         * Rules [$(cross-compiling) = yes]: Change condition to
27372         [$(run-built-tests) = no].
27373         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27374         to [$(run-built-tests) = yes].
27375         * elf/Makefile [$(cross-compiling) = no]: Likewise
27376         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27377         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27378         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27379         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27380         * io/Makefile [$(cross-compiling) = no]: Likewise.
27381         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27382         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27383         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27384         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27385         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27386         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27387         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27388         * string/Makefile [$(cross-compiling) = no]: Likewise.
27389
27390         * posix/Makefile ($(objpfx)globtest.out): Pass
27391         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27392         $(rtld-installed-name).
27393         * posix/globtest.sh (elf_objpfx): Remove variable.
27394         (rtld_installed_name): Likewise.
27395         (library_path): Likewise.
27396         (run_program_prefix): New variable.  Use for running globtest
27397         binary.
27398
27399 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27400             Joseph Myers  <joseph@codesourcery.com>
27401
27402         * Makeconfig (host-built-program-cmd): New variable.
27403         * elf/Makefile (tst-stackguard1-ARGS): Use
27404         $(host-built-program-cmd).
27405         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27406         (tst-spawn-ARGS): Likewise.
27407         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27408
27409 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27410             Jim Blandy  <jimb@codesourcery.com>
27411
27412         * Makeconfig (run-via-rtld-prefix): New variable.
27413         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27414         (built-program-cmd): Likewise.
27415
27416 2012-10-22  Andreas Jaeger  <aj@suse.de>
27417
27418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27419         __O_RSYNC if it exists, otherwise to O_SYNC.
27420
27421 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27422             Joseph Myers  <joseph@codesourcery.com>
27423
27424         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27425         /dev/null.
27426         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27427         from /dev/null
27428         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27429         /dev/null.
27430
27431 2012-10-22  Andreas Jaeger  <aj@suse.de>
27432
27433         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27434         Define always.
27435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27436
27437         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27438         bits/fcntl-linux.h.
27439
27440         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27441         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27442
27443         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27444         to __O_LARGEFILE.
27445         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27446         to __O_LARGEFILE.
27447
27448 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27449             Joseph Myers  <joseph@codesourcery.com>
27450
27451         * config.make.in (NM): New variable.
27452
27453 2012-10-21  Andreas Jaeger  <aj@suse.de>
27454
27455         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27456         definitions and declarations that are provided by
27457         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27458
27459 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27460
27461         [BZ #14683]
27462         * elf/Makefile (tests-static): Add tst-leaks1-static.
27463         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27464         ($(objpfx)tst-leaks1-static): New rule.
27465         ($(objpfx)tst-leaks1-static-mem): Likewise.
27466         (tst-leaks1-static-ENV): New macro.
27467         * elf/dl-open.c (dl_open_worker): Check the main application
27468         only if SHARED is defined.
27469         * elf/tst-leaks1-static.c: New file.
27470
27471 2012-10-20  Andreas Jaeger  <aj@suse.de>
27472
27473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27474         generic values for Linux.
27475         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27476         and declarations that are provided by <bits/fcntl-linux.h> and
27477         include <bits/fcntl-linux.h>.
27478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27479         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27480
27481 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27482
27483         * io/fcntl.h: Move include of <bits/types.h> to the top and
27484         include it unconditionally.
27485
27486 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27487
27488         * wcsmbs/Makefile (tests-ifunc): New variable.
27489         (tests): Add $(tests-ifunc).
27490         * wcsmbs/test-wcschr-ifunc.c: New file.
27491         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27492         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27493         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27494         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27495         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27496
27497         * string/Makefile (tests-ifunc): New variable.
27498         (tests): Add $(tests-ifunc).
27499         * string/test-memccpy.c (TEST_NAME): New macro.
27500         * string/test-memchr.c (TEST_NAME): Likewise.
27501         * string/test-memcmp.c (TEST_NAME): Likewise.
27502         * string/test-memcpy.c (TEST_NAME): Likewise.
27503         * string/test-memmem.c (TEST_NAME): Likewise.
27504         * string/test-memmove.c (TEST_NAME): Likewise.
27505         * string/test-memset.c (TEST_NAME): Likewise.
27506         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27507         * string/test-stpcpy.c (TEST_NAME): Likewise.
27508         * string/test-stpncpy.c (TEST_NAME): Likewise.
27509         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27510         * string/test-strcasestr.c (TEST_NAME): Likewise.
27511         * string/test-strcat.c (TEST_NAME): Likewise.
27512         * string/test-strchr.c (TEST_NAME): Likewise.
27513         * string/test-strcmp.c(TEST_NAME): Likewise.
27514         * string/test-strcpy.c (TEST_NAME): Likewise.
27515         * string/test-strcspn.c (TEST_NAME): Likewise.
27516         * string/test-strlen.c (TEST_NAME): Likewise.
27517         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27518         * string/test-strncmp.c (TEST_NAME): Likewise.
27519         * string/test-strncpy.c (TEST_NAME): Likewise.
27520         * string/test-strnlen.c (TEST_NAME): Likewise.
27521         * string/test-strpbrk.c (TEST_NAME): Likewise.
27522         * string/test-strrchr.c (TEST_NAME): Likewise.
27523         * string/test-strspn.c (TEST_NAME): Likewise.
27524         * string/test-strstr.c (TEST_NAME): Likewise.
27525         * string/test-bcopy-ifunc.c: New file.
27526         * string/test-bzero-ifunc.c: Likewise.
27527         * string/test-memccpy-ifunc.c: Likewise.
27528         * string/test-memchr-ifunc.c: Likewise.
27529         * string/test-memcmp-ifunc.c: Likewise.
27530         * string/test-memcpy-ifunc.c: Likewise.
27531         * string/test-memmem-ifunc.c: Likewise.
27532         * string/test-memmove-ifunc.c: Likewise.
27533         * string/test-mempcpy-ifunc.c: Likewise.
27534         * string/test-memset-ifunc.c: Likewise.
27535         * string/test-rawmemchr-ifunc.c: Likewise.
27536         * string/test-stpcpy-ifunc.c: Likewise.
27537         * string/test-stpncpy-ifunc.c: Likewise.
27538         * string/test-strcasecmp-ifunc.c: Likewise.
27539         * string/test-strcasestr-ifunc.c: Likewise.
27540         * string/test-strcat-ifunc.c: Likewise.
27541         * string/test-strchr-ifunc.c: Likewise.
27542         * string/test-strchrnul-ifunc.c: Likewise.
27543         * string/test-strcmp-ifunc.c: Likewise.
27544         * string/test-strcpy-ifunc.c: Likewise.
27545         * string/test-strcspn-ifunc.c: Likewise.
27546         * string/test-strlen-ifunc.c: Likewise.
27547         * string/test-strncasecmp-ifunc.c: Likewise.
27548         * string/test-strncat-ifunc.c: Likewise.
27549         * string/test-strncmp-ifunc.c: Likewise.
27550         * string/test-strncpy-ifunc.c: Likewise.
27551         * string/test-strnlen-ifunc.c: Likewise.
27552         * string/test-strpbrk-ifunc.c: Likewise.
27553         * string/test-strrchr-ifunc.c: Likewise.
27554         * string/test-strspn-ifunc.c: Likewise.
27555         * string/test-strstr-ifunc.c: Likewise.
27556
27557         * debug/Makefile (tests-ifunc): New variable.
27558         (tests): Add $(tests-ifunc).
27559         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27560         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27561         * debug/test-stpcpy_chk-ifunc.c: New file.
27562         * debug/test-strcpy_chk-ifunc.c: Likewise.
27563
27564 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27565
27566         [BZ #13601]
27567         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27568         header is not read in.
27569
27570 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27571
27572         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27573         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27574         directly.  Pass built executable to script as
27575         $(built-program-cmd).
27576         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27577         $testprogram without using LD_LIBRARY_PATH and $ldso.
27578
27579         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27580         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27581         $(rtld-installed-name).
27582         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27583         (rtld_installed_name): Likewise.
27584         (library_path): Likewise.
27585         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27586         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27587         $(run-program-prefix) to tst-tables.sh.
27588         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27589         it to run tst-table-from and tst-table-to.
27590         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27591         Pass it to tst-table.sh.
27592         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27593         $(run-program-prefix) to tst-gettext.sh.
27594         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27595         tst-translit.sh.
27596         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27597         tst-gettext2.sh.
27598         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27599         to run tst-gettext.
27600         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27601         to run tst-gettext2.
27602         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27603         to run tst-translit.
27604         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27605         $(run-program-prefix) to tst-mtrace.sh.
27606         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27607         to run tst-mtrace.
27608         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27609         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27610         $(rtld-installed-name).
27611         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27612         (rtld_installed_name): Likewise.
27613         (run_program_prefix): New variable.  Use it to run wordexp-test.
27614
27615         * Makeconfig (ARCH): Remove all definitions.
27616         (machine): Likewise.
27617         [ARCH]: Remove conditional code.
27618         [!objdir]: Give error.
27619         [!objdir] (objpfx): Remove.
27620         [!objdir] (common-objpfx): Likewise.
27621         [!objdir] (common-objdir): Likewise.
27622         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27623         AC_CONFIG_FILES call.
27624         * configure: Regenerated.
27625
27626         [BZ #13888]
27627         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27628         or TMPDIR.
27629         (testout): Likewise.
27630
27631         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27632         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27633         $(rtld-installed-name).
27634         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27635         (rtld_installed_name): Likwise.
27636         (runit): Remove function.
27637         (run_getconf): New variable,  Use it for running getconf binary.
27638
27639 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27640
27641         [BZ #14716]
27642         * string/test-memmem.c (check_result): New function.
27643         (do_one_test): Use it.
27644         (check1): New function.
27645         (test_main): Use it.
27646
27647 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27648
27649         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27650
27651 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27652
27653         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27654         (_G_LSEEK64): Likewise.
27655         (_G_MMAP64): Likewise.
27656         (_G_FSTAT64): Likewise.
27657         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27658         (_G_LSEEK64): Likewise.
27659         (_G_MMAP64): Likewise.
27660         (_G_FSTAT64): Likewise.
27661         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27662         unconditional.  Call __mmap64 directly.
27663         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27664         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27665         __lseek64 directly.
27666         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27667         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27668         __mmap64 directly.
27669         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27670         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27671         __lseek64 directly.
27672         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27673         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27674         __lseek64 directly.
27675         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27676         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27677         __lseek64 directly.
27678         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27679         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27680         __fxstat64 directly.
27681         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27682         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27683         unconditional.
27684         (freopen64) [!_G_OPEN64]: Remove conditional code.
27685         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27686         unconditional.
27687         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27688         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27689         unconditional.
27690         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27691         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27692         unconditional.
27693         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27694         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27695         unconditional.
27696         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27697         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27698         unconditional.
27699         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27700         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27701         unconditional.
27702         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27703         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27704         unconditional.
27705         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27706
27707 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27708
27709         [BZ #12140]
27710         * manual/memory.texi (Malloc Tunable Parameters): Add note
27711         about free list pointers overwriting some perturb bytes.
27712         Wording suggested by Roland McGrath.
27713
27714 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27715
27716         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27717         (lgamma_test): Likewise.
27718         (tgamma_test): Likewise.
27719
27720 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27721
27722         [BZ #14700]
27723         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27724         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27725
27726 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27727
27728         * NEWS: Mention BZ #14716.
27729         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27730         when removing AVAILABLE1_USES_J macro.
27731
27732 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27733
27734         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27735         (__bswap_64): __uint64_t for unsigned 64-bit int.
27736
27737 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27738
27739         * include/string.h (memmem): Declare libc hidden alias.
27740         * string/memmem.c (memmem): Define libc hidden alias.
27741         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27742         __read, __close instead of open, read, close.
27743
27744 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27745
27746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27747         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27748         global and hidden.
27749         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27750         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27751         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27752         Likewise.
27753         (__rawmemchr_sse2): Likewise.
27754         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27755         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27756         (__strchr_sse2): Likewise.
27757         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27758         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27759         (__strcasecmp_sse2): Likewise.
27760         (__strncasecmp_sse2): Likewise.
27761         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27762         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27763         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27764         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27765         (__strrchr_sse2): Likewise.
27766         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27767         ifunc-impl-list.c.
27768         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27769         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27770         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27771         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27772         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27773         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27774         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27775         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27776         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27777         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27778         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27779         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27780         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27781         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27782         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27783         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27784         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27785         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27786         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27787         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27788         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27789         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27790         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27791         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27792         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27793         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27794         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27795         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27796         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27797         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27798
27799         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27800         global and hidden.
27801         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27802         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27803         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27804         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27805         Likewise.
27806         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27807         Likewise.
27808         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27809         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27810         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27811         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27812         ifunc-impl-list.c.
27813         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27814         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27815         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27816         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27817         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27818         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27819         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27820         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27821         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27822         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27823         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27824         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27825         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27826         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27827         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27828         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27829         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27830         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27831         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27832         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27833         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27834         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27835         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27836         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27837         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27838         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27839         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27840         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27841         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27842         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27843         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27844         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27845         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27846         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27847         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27848         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27849         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27850         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27851         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27852         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27853         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27854
27855         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27856         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27857         * include/ifunc-impl-list.h: New file.
27858         * misc/ifunc-impl-list.c: Likewise.
27859         * misc/Makefile (routines): Add ifunc-impl-list.
27860         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27861         * string/test-string.h: Include <ifunc-impl-list.h>.
27862         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27863         TEST_NAME]: New variables.
27864         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27865         are defined.
27866         (test_init): Call __libc_ifunc_impl_list to initialize
27867         func_list if TEST_IFUNC and TEST_NAME are defined.
27868
27869         * string/Makefile (strop-tests): Add bcopy and bzero.
27870         * string/test-bcopy.c: New file.
27871         * string/test-bzero.c: Likewise.
27872         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27873         defined.
27874         * string/test-memset.c: Support bzero test if TEST_BZERO is
27875         defined.
27876         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27877         __libc_memmove.
27878         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27879         __libc_memset.
27880         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27881         of memset.
27882
27883 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27884
27885         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27886         * configure: Regenerated.
27887
27888         * Makeconfig (+link-static-before-libc): Don't include
27889         $(link-static-libc).
27890
27891         * libio/libio.h (_IO_pos_t): Remove.
27892
27893 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27894
27895         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27896         McGrath.
27897
27898 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27899
27900         * crypt/crypt-entry.c: Include fips-private.h.
27901         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27902         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27903         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27904         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27905
27906 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27907
27908         * crypt/crypt-private.h: Include stdbool.h.
27909         (_ufc_setup_salt_r): Return bool.
27910         * crypt/crypt-entry.c: Include errno.h.
27911         (__crypt_r): Return NULL with EINVAL for bad salt.
27912         * crypt/crypt_util.c (bad_for_salt): New.
27913         (_ufc_setup_salt_r): Check that salt is long enough and within
27914         the specified alphabet.
27915         * crypt/badsalttest.c: New file.
27916         * crypt/Makefile (tests): Add it.
27917         ($(objpfx)badsalttest): New.
27918
27919 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27920
27921         * NEWS: Add entry for BZ #14602.
27922
27923 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27924
27925         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27926         type-generic.
27927         * math/libm-test.inc: Update comment listing what functions and
27928         macros are tested.
27929         (isgreater_test): New function.
27930         (isgreaterequal_test): Likewise.
27931         (isless_test): Likewise.
27932         (islessequal_test): Likewise.
27933         (islessgreater_test): Likewise.
27934         (isunordered_test): Likewise.
27935         (main): Call the new functions.
27936
27937 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27938
27939         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27940         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27941         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27942         * sysdeps/i386/configure: Regenerated.
27943         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27944         * sysdeps/mach/configure: Regenerated.
27945         * sysdeps/mach/hurd/configure: Regenerated.
27946         * sysdeps/powerpc/configure: Regenerated.
27947         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27948         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27949         * sysdeps/s390/s390-32/configure: Regenerated.
27950         * sysdeps/s390/s390-64/configure: Regenerated.
27951         * sysdeps/sh/configure: Regenerated.
27952         * sysdeps/sparc/configure: Regenerated.
27953         * sysdeps/unix/sysv/linux/configure: Regenerated.
27954         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27955         * sysdeps/x86_64/configure: Regenerated.
27956
27957         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27958         defined.  Don't check if MAP is NULL.
27959
27960 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27961
27962         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27963         (_G_stat64): Likewise.
27964         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27965         (_G_stat64): Likewise.
27966         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27967         instead of struct _G_stat64.
27968         * libio/fileops.c (mmap_remap_check): Likewise.
27969         (decide_maybe_mmap): Likewise.
27970         (_IO_new_file_seekoff): Likewise.
27971         (_IO_file_stat): Likewise.
27972         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27973         _G_off64_t.
27974         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27975         instead of struct _G_stat64.
27976         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27977
27978 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27979
27980         [BZ #14602]
27981         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27982         Replace with ...
27983         (CHECK_EOL): New macro.
27984         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27985         CHECK_EOL.
27986         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27987         Replace with CHECK_EOL.
27988         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27989         Replace with CHECK_EOL.
27990
27991 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27992
27993         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27994         type-generic.
27995         * math/libm-test.inc: Update comment listing what functions and
27996         macros are tested.
27997         (finite_test): New function.
27998         (isinf_test): Likewise.
27999         (isnan_test): Likewise.
28000         (fpclassify_test): Test subnormal input.
28001         (isfinite_test): Likewise.
28002         (isnormal_test): Likewise.
28003         (main): Call the new functions.
28004
28005 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28006
28007         [BZ #14660]
28008         * Makerules (%.dynsym): Force C locale when running
28009         $(OBJDUMP) --dynamic-syms.
28010
28011 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28012
28013         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28014         <stdint.h>.
28015
28016 2012-10-06  David S. Miller  <davem@davemloft.net>
28017
28018         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28019         upper 32-bits of the length value in %o2 since we use branch-on-register
28020         tests which consider the entire 64-bit register.
28021
28022 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28023
28024         * string/test-strstr.c (check2): Add a test for page boundary.
28025
28026 2012-10-05  David S. Miller  <davem@davemloft.net>
28027
28028         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28029         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28030         file.
28031         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28032         sysdep_routines.
28033         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28034         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28035         and bzero when HWCAP_SPARC_CRYPTO is present.
28036
28037 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28038
28039         [BZ #14602]
28040         * string/test-strstr.c (check2): New function.
28041         (test_main): Call check2.
28042
28043         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28044         and bug-strchr1.
28045         * string/bug-strcasestr1.c (do_test): Moved to ...
28046         * string/test-strcasestr.c (check1): Here.  New function.
28047         (do_one_test): Break out result checking code into ...
28048         (check_result): This.  New function.
28049         (do_one_test): Call check_result.
28050         (test_main): Call check1.
28051         * string/bug-strchr1.c (do_test): Moved to ...
28052         * string/test-strchr.c (check1): Here.  New function.
28053         (do_one_test): Break out result checking code into ...
28054         (check_result): This.  New function.
28055         (do_one_test): Call check_result.
28056         (test_main): Call check1.
28057         * string/bug-strstr1.c (main): Moved to ...
28058         * string/test-strstr.c (check1): Here.  New function.
28059         (do_one_test): Break out result checking code into ...
28060         (check_result): This.  New function.
28061         (do_one_test): Call check_result.
28062         (test_main): Call check1.
28063         * string/bug-strcasestr1.c: Removed.
28064         * string/bug-strchr1.c: Likewise.
28065         * string/bug-strstr1.c: Likewise.
28066
28067         * elf/Makefile (dl-routines): Add hwcaps.
28068         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28069         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28070         (_dl_important_hwcaps): Moved to ...
28071         * elf/dl-hwcaps.c: Here.  New file.
28072         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28073
28074         [BZ #14557]
28075         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28076         if IS_IN_rtld isn't defined.
28077
28078         * elf/dl-support.c (_dl_sysinfo_map): New.
28079         Include "get-dynamic-info.h" and "setup-vdso.h".
28080         (_dl_non_dynamic_init): Call setup_vdso.
28081         * elf/dynamic-link.h: Don't include <assert.h>.
28082         (elf_get_dynamic_info): Moved to ...
28083         * elf/get-dynamic-info.h: Here.  New file.
28084         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28085         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28086         * elf/setup-vdso.h: Here.  New file.
28087         * elf/rtld.c: Include "setup-vdso.h".
28088         (dl_main): Call setup_vdso.
28089
28090 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28091
28092         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28093         creal in comment listing functions tested.  List finite, isinf,
28094         isnan, isless, islessequal, isgreater, isgreaterequal,
28095         islessgreater, isunordered, lgamma_r and pow10 as functions and
28096         macros not tested.  Mention which functions not tested are aliases
28097         for other functions.  Fix typo.  Note that signs of NaNs are not
28098         tested.
28099
28100         * scripts/config.guess: Update from config.git.
28101         * scripts/config.sub: Likewise.
28102
28103 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28104
28105         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28106         * misc/madvise.c (madvise): Renamed to __madvise.
28107         Make madvise a weak alias.
28108         * include/sys/mman.h: Declare __madvise.
28109         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28110         * sysdeps/unix/syscalls.list
28111         (madvise): Make __madvise the strong name, and madvise a weak alias.
28112         * sysdeps/unix/sysv/linux/syscalls.list
28113         (madvise, mmap): Remove redundant entries.
28114         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28115         * malloc/malloc.c (mtrim): Likewise.
28116         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28117
28118 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28119
28120         * sysdeps/mach/hurd/dl-cache.c: File removed.
28121         * config.h.in (USE_LDCONFIG): New #undef.
28122         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28123         * configure: Regenerated.
28124         * elf/Makefile (dl-routines): Add dl-cache only under
28125         [$(use-ldconfig) = yes].
28126         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28127         cache on [USE_LDCONFIG].
28128         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28129         [USE_LDCONFIG].
28130         * elf/rtld.c (dl_main): Likewise.
28131
28132 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28133
28134         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28135         _SC_LEVEL4_CACHE_LINESIZE.
28136
28137 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28138
28139         * sysdeps/unix/bsd/confstr.h: File removed.
28140
28141 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28142
28143         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28144         sys/sdt-config.h.
28145
28146 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28147
28148         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28149         Make 'mapoff' field ElfW(Off) rather than off_t.
28150
28151 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28152
28153         * nscd/Makefile: Remove nscd-cflags and all its users.
28154         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28155         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28156
28157         [BZ #10631]
28158         * malloc.c (malloc_printerr): Clarify error message.
28159
28160 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28161
28162         [BZ #14648]
28163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28164         Set bit_FMA_Usable if FMA is supported.
28165         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28166         macro.
28167         (bit_FMA4_Usable): Updated.
28168         (index_FMA_Usable): New macro.
28169         (CPUID_FMA): Likewise
28170         (HAS_FMA): Defined with bit_FMA_Usable.
28171
28172 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28173
28174         * bits/types.h (__swblk_t): Type removed.
28175         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28176         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28178         (__SWBLK_T_TYPE): Likewise.
28179         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28180         (__SWBLK_T_TYPE): Likewise.
28181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28182         (__SWBLK_T_TYPE): Likewise.
28183         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28184         (__SWBLK_T_TYPE): Likewise.
28185
28186 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28187             Honza Horak <hhorak@redhat.com>
28188
28189         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28190         (xdr_mapname): Use YPMAXMAP as maxsize.
28191         (xdr_peername): Use YPMAXPEER as maxsize.
28192         (xdr_keydat): Use YPAXRECORD as maxsize.
28193         (xdr_valdat): Use YPMAXRECORD as maxsize.
28194
28195 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28196
28197         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28198
28199         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28200         * csu/init-first.c: ... here.
28201         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28202         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28203         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28204         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28205         * sysdeps/i386/init-first.c: File removed.
28206         * sysdeps/sh/init-first.c: File removed.
28207
28208 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28209
28210         [BZ #14645]
28211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28212         if x * y might underflow to zero and z is zero.
28213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28215         * math/libm-test.inc (min_subnorm_value): New variable.
28216         (fma_test): Add more tests.
28217         (fma_test_towardzero): Likewise.
28218         (fma_test_downward): Likewise
28219         (fma_test_upward): Likewise.
28220         (initialize): Set min_subnorm_value.
28221
28222 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28223
28224         [BZ #14638]
28225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28226         0 + 0.
28227         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28228         mode for addition resulting in exact zero.
28229         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28231         exact 0 + 0.
28232         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28233         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28234         * math/libm-test.inc (fma_test): Add more tests.
28235         (fma_test_towardzero): New function.
28236         (fma_test_downward): Likewise.
28237         (fma_test_upward): Likewise.
28238         (main): Call the new functions.
28239
28240 2012-09-28  David S. Miller  <davem@davemloft.net>
28241
28242         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28243
28244 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28245
28246         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28247         instead of SIGALRM.
28248
28249         * sysdeps/gnu/_G_config.h: Moved to ...
28250         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28251         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28252         * sysdeps/generic/_G_config.h: ... here.
28253
28254         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28255
28256         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28257
28258         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28259         Conditionalize target on [libnss_test1.so-version].
28260
28261         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28262
28263         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28264         (elfobjdir): Move out of conditionals.
28265
28266         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28267         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28268         (__nss_lookup_function): Conditionalize label remove_from_tree on
28269         [!DO_STATIC_NSS || SHARED], matching its only use.
28270
28271 2012-09-28  David S. Miller  <davem@davemloft.net>
28272
28273         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28274         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28275         file.
28276         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28277         sysdep_routines.
28278         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28280         when HWCAP_SPARC_CRYPTO is present.
28281
28282 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28283
28284         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28285
28286 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28287
28288         [BZ #6530]
28289         * stdio-common/vfprintf.c (process_string_arg): Revert
28290         2000-07-22 change.
28291
28292 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28293
28294         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28295         for testcase.
28296         * stdio-common/tst-sprintf.c: Include <locale.h>
28297         (main): Test sprintf's handling of incomplete multibyte
28298         characters.
28299
28300 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28301
28302         * elf/dl-runtime.c (VERSYMIDX): Removed.
28303         * elf/dl-version.c (VERSYMIDX): Likewise.
28304         * elf/do-rel.h (VERSYMIDX): Likewise.
28305         (VALIDX): Likewise.
28306         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28307         * elf/rtld.c (VALIDX): Likewise.
28308         (ADDRIDX): Likewise.
28309         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28310         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28311         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28312         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28313         (VALIDX): Likewise.
28314         (ADDRIDX): Likewise.
28315
28316 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28317
28318         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28319
28320 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28321
28322         [BZ #11438]
28323         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28324         to global scope.
28325         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28326         addresses are in the same scope as 192.0.2/24.
28327         * posix/gai.conf: Document new scope table defaults.
28328
28329 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28330
28331         [BZ #5298]
28332         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28333         for ftell.  Compute offsets from write pointers instead.
28334         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28335
28336 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28337
28338         [BZ #14543]
28339         * libio/Makefile (tests): New test case tst-fseek.
28340         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28341         combination works in wide mode.
28342         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28343         state when the external buffer state changes.
28344
28345 2012-09-27  David S. Miller  <davem@davemloft.net>
28346
28347         [BZ #14376]
28348         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28349         pass reloc->r_addend in as the 'high' argument to
28350         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28351
28352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28353
28354 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28355
28356         * rt/tst-aio2.c: Include <pthread.h>.
28357         * rt/tst-aio3.c: Likewise.
28358
28359 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28360
28361         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28362
28363 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28364
28365         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28366         contents on [SHARED].
28367
28368 2012-09-26  Marek Polacek  <polacek@redhat.com>
28369
28370         [BZ #14530]
28371         [BZ #13741]
28372         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28373         for C++ and GCC <4.3 as well as for non GCC compilers.
28374
28375 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28376
28377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28378
28379 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28380
28381         * Makefile.in (all, install): Declare with .PHONY.
28382         Reported by Michael Hope <michael.hope@linaro.org>.
28383
28384 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28385
28386         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28387         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28388         system header.
28389         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28390         Likewise.
28391         (sydep_routines): Add the new and the internal functions.
28392         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28393         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28395         (GLIBC_2.17): Add the new function.
28396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28397         (GLIBC_2.17): Likewise.
28398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28399         (GLIBC_2.17): Likewise.
28400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28401         (GLIBC_2.17): Likewise.
28402         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28403
28404 2012-09-25  Alan Modra  <amodra@gmail.com>
28405
28406         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28407         Add release barrier before setting once_control to say
28408         initialisation is done.  Add hints on lwarx.  Use macro in
28409         place of isync.
28410         (clear_once_control): Add release barrier.
28411
28412 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28413
28414         [BZ #13629]
28415         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28416         specially.
28417         * math/s_clog10.c (__clog10): Likewise.
28418         * math/s_clog10f.c (__clog10f): Likewise.
28419         * math/s_clog10l.c (__clog10l): Likewise.
28420         * math/s_clogf.c (__clogf): Likewise.
28421         * math/s_clogl.c (__clogl): Likewise.
28422         * math/Makefile (libm-calls): Add x2y2m1.
28423         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28424         (__x2y2m1): Likewise.
28425         (__x2y2m1l): Likewise.
28426         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28427         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28428         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28429         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28430         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28431         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28432         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28433         * sysdeps/i386/fpu/libm-test-ulps: Update.
28434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28435
28436         [BZ #14621]
28437         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28438         int as type of variable DEPTH.
28439         (glob): Use size_t instead of int as type of variables NEWCOUNT
28440         and OLD_PATHC.
28441
28442 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28443
28444         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28445         Add s_sincosf-sse2.
28446         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28447         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28448         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28449         macros for using routine as __sincosf_ia32.
28450         Use macro for function declaration and weak_alias.
28451         * sysdeps/i386/fpu/libm-test-ulps: Update.
28452
28453         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28455
28456         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28457         subnormal argument.
28458         * math/s_cexpf.c (__cexpf): Likewise.
28459         * math/s_csinf.c (__csinf): Likewise.
28460         * math/s_csinhf.c (__csinhf): Likewise.
28461         * math/s_ctanf.c (__ctanf): Likewise.
28462         * math/s_ctanhf.c (__ctanhf): Likewise.
28463         * math/s_ccosh.c (__ccoshf): Likewise.
28464         * math/s_cexp.c (__cexpl): Likewise.
28465         * math/s_csin.c (__csin): Likewise.
28466         * math/s_csinh.c (__csinh): Likewise.
28467         * math/s_ctan.c (__ctan): Likewise.
28468         * math/s_ctanh.c (ctanh): Likewise.
28469         * math/s_ccoshl.c (__ccoshl): Likewise.
28470         * math/s_cexpl.c (__cexpl): Likewise.
28471         * math/s_csinl.c (__csinl): Likewise.
28472         * math/s_csinhl.c (__csinhl): Likewise.
28473         * math/s_ctanl.c (__ctanl): Likewise.
28474         * math/s_ctanhl.c (__ctanhl): Likewise.
28475
28476 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28477
28478         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28479         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28480         (_IO_off_t): Define to __off_t, not _G_off_t.
28481         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28482         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28483         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28484         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28485         type of __dummy and __dummy2 fields.
28486         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28487         (_G_ssize_t): Likewise.
28488         (_G_off_t): Likewise.
28489         (_G_pid_t): Likewise.
28490         (_G_uid_t): Likewise.
28491         (_G_wchar_t): Likewise.
28492         (_G_wint_t): Likewise.
28493         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28494         (_G_ssize_t): Likewise.
28495         (_G_off_t): Likewise.
28496         (_G_pid_t): Likewise.
28497         (_G_uid_t): Likewise.
28498         (_G_wchar_t): Likewise.
28499         (_G_wint_t): Likewise.
28500         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28501         (_G_ssize_t): Likewise.
28502         (_G_off_t): Likewise.
28503         (_G_pid_t): Likewise.
28504         (_G_uid_t): Likewise.
28505         (_G_wchar_t): Likewise.
28506         (_G_wint_t): Likewise.
28507
28508 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28509
28510         * malloc/arena.c: Include malloc-sysdep.h.
28511         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28512         is sufficient to shrink the heap or an unmap is needed.
28513         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28514         new function check_may_shrink_heap.
28515         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28516         new function check_may_shrink_heap.
28517
28518 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28519
28520         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28521         comments.
28522
28523 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28524
28525         * catgets/test-gencat.sh: Add "set -e".
28526         * elf/tst-pathopt.sh: Likewise.
28527         * grp/tst_fgetgrent.sh: Likewise.
28528         * iconvdata/run-iconv-test.sh: Likewise.
28529         * intl/tst-gettext.sh: Likewise.
28530         * intl/tst-gettext2.sh: Likewise.
28531         * intl/tst-gettext4.sh: Likewise.
28532         * intl/tst-gettext6.sh: Likewise.
28533         * intl/tst-translit.sh: Likewise.
28534         * io/ftwtest-sh: Likewise.
28535         * libio/test-freopen.sh: Likewise.
28536         * malloc/tst-mtrace.sh: Likewise.
28537         * posix/globtest.sh: Likewise.
28538         * posix/tst-getconf.sh: Likewise.
28539         * posix/wordexp-tst.sh: Likewise.
28540         * stdio-common/tst-printf.sh: Likewise.
28541         * stdio-common/tst-unbputc.sh: Likewise.
28542         * stdlib/tst-fmtmsg.sh: Likewise.
28543         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28544         * catgets/Makefile: Do not specify -e option when running
28545         testsuite shell scripts.
28546         * elf/Makefile: Likewise.
28547         * grp/Makefile: Likewise.
28548         * iconvdata/Makefile: Likewise.
28549         * intl/Makefile: Likewise.
28550         * io/Makefile: Likewise.
28551         * libio/Makefile: Likewise.
28552         * malloc/Makefile: Likewise.
28553         * posix/Makefile: Likewise.
28554         * stdio-common/Makefile: Likewise.
28555         * stdlib/Makefile: Likewise.
28556         * sysdeps/x86_64/Makefile: Likewise.
28557
28558         * io/ftwtest-sh: Add copyright header.
28559         * posix/globtest.sh: Likewise.
28560         * posix/tst-getconf.sh: Likewise.
28561         * posix/wordexp-tst.sh: Likewise.
28562         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28563
28564 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28565
28566         [BZ #13679]
28567         * Makeconfig (+link): Defined as $(+link-static) if
28568         $(build-shared) isn't yes.
28569         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28570         isn't yes.
28571         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28572
28573         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28574
28575         [BZ #14562]
28576         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28577         new chunk size with MALLOC_ALIGN_MASK.
28578
28579 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28580
28581         [BZ #5044]
28582         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28583         <rounding-mode.h>.
28584         (__printf_fphex): Determine rounding using get_rounding_mode and
28585         round_away.
28586         * stdio-common/tst-printf-round.c (struct hex_test): New
28587         structure.
28588         (hex_tests): New variable.
28589         (test_hex_in_one_mode): New function.
28590         (do_test): Also run tests for hex float output.
28591
28592 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28593
28594         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28595         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28596         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28597         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28598         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28599         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28600         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28601         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28602
28603 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28604
28605         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28606         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28607         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28608         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28609
28610 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28611
28612         [BZ #14579]
28613         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28614         mode only.
28615         * elf/tst-rtld-load-self.sh: New test.
28616         * elf/Makefile: Run it.
28617
28618 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28619
28620         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28621         (tst-writev-ENV): Remove.
28622         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28623
28624 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28625
28626         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28627
28628 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28629
28630         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28631         unconditional.
28632         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28633         Likewise.
28634         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28635         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28636         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28637         Likewise.
28638
28639 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28640
28641         [BZ #14587]
28642         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28643         * config.make.in (have-cpp-asm-debuginfo): Removed.
28644         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28645         * configure: Regenerated.
28646
28647 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28648
28649         [BZ #5044]
28650         * stdio-common/printf_fp.c: Include <stdbool.h> and
28651         <rounding-mode.h>.
28652         (___printf_fp): Determine rounding using get_rounding_mode and
28653         round_away.
28654         * stdio-common/tst-printf-round.c: New file.
28655         * stdio-common/Makefile (tests): Add tst-printf-round.
28656         (link-libm): New variable.
28657         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28658
28659 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28660
28661         [BZ #14576]
28662         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28663         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28664         Likewise.
28665         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28666         Likewise.
28667
28668 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28669
28670         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28671         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28672         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28673         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28674
28675 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28676
28677         [BZ #14518]
28678         * include/rounding-mode.h: New file.
28679         * sysdeps/generic/get-rounding-mode.h: Likewise.
28680         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28681         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28682         (MAX_VALUE): New macro.
28683         (MIN_VALUE): Likewise.
28684         (overflow_value): New function.
28685         (underflow_value): Likewise.
28686         (round_and_return): Use overflow_value and underflow_value to
28687         determine return values in overflow and underflow cases.  Use
28688         round_away to determine rounding depending on rounding mode.
28689         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28690         determine return values in overflow and underflow cases.
28691         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28692         (struct test_results): New structure.
28693         (struct test): Use struct test_results to store expected results
28694         for all rounding modes.
28695         (TEST): Include expected results for all rounding modes.
28696         (test_in_one_mode): New function.
28697         (do_test): Use test_in_one_mode to compute and check results.
28698         Check results for all rounding modes.
28699         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28700         $(link-libm).
28701
28702 2012-12-09  Allan McRae  <allan@archlinux.org>
28703
28704         * sysdeps/i386/fpu/libm-test-ulps: Update
28705
28706 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28707
28708         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28709         (_G_int32_t): Likewise.
28710         (_G_uint16_t): Likewise.
28711         (_G_uint32_t): Likewise.
28712         (_G_HAVE_BOOL): Likewise.
28713         (_G_HAVE_ATEXIT): Likewise.
28714         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28715         (_G_HAVE_IO_FILE_OPEN): Likewise.
28716         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28717         (_G_int32_t): Likewise.
28718         (_G_uint16_t): Likewise.
28719         (_G_uint32_t): Likewise.
28720         (_G_HAVE_BOOL): Likewise.
28721         (_G_HAVE_ATEXIT): Likewise.
28722         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28723         (_G_HAVE_IO_FILE_OPEN): Likewise.
28724         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28725         (_G_int32_t): Likewise.
28726         (_G_uint16_t): Likewise.
28727         (_G_uint32_t): Likewise.
28728         (_G_HAVE_BOOL): Likewise.
28729         (_G_HAVE_ATEXIT): Likewise.
28730         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28731         (_G_HAVE_IO_FILE_OPEN): Likewise.
28732
28733 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28734
28735         * csu/libc-tls.c: Update copyright years.
28736
28737 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28738
28739         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28740         [!_G_USING_THUNKS]: Remove conditional code.
28741         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28742         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28743
28744         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28745         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28746         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28747         (_G_VTABLE_LABEL_PREFIX): Likewise.
28748         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28749         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28750         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28751         (_G_VTABLE_LABEL_PREFIX): Likewise.
28752         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28753         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28754         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28755         (_G_VTABLE_LABEL_PREFIX): Likewise.
28756         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28757
28758 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28759
28760         * libio/Makefile: Include ../Makeconfig before tests.
28761         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28762         only if $(build-shared) is yes.
28763
28764         * iconv/gconv_db.c: Update copyright years.
28765
28766 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28767
28768         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28769         unwind info if defined PIC. Fix special cases description.
28770         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28771
28772         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28773         DP_HI_MASK entry.
28774         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28775
28776 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28777
28778         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28779
28780         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28781         is NULL.
28782
28783         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28784         (LDLIBS-tst-chk4): This.
28785         (LDFLAGS-tst-chk5): Renamed to ...
28786         (LDLIBS-tst-chk5): This.
28787         (LDFLAGS-tst-chk6): Renamed to ...
28788         (LDLIBS-tst-chk6): This.
28789         (LDFLAGS-tst-lfschk4): Renamed to ...
28790         (LDLIBS-tst-lfschk4): This.
28791         (LDFLAGS-tst-lfschk5): Renamed to ...
28792         (LDLIBS-tst-lfschk5): This.
28793         (LDFLAGS-tst-lfschk6): Renamed to ...
28794         (LDLIBS-tst-lfschk6): This.
28795
28796         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28797         on $(common-objpfx)soversions.mk.
28798
28799 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28800
28801         [BZ #10014]
28802         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28803         example host name.
28804
28805 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28806
28807         * malloc/arena.c (arena_get_retry): New function that gets
28808         another arena for the caller to try its request on.
28809         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28810         current arena cannot fulfill the request.
28811         (__libc_memalign): Likewise.
28812         (__libc_memalign): Likewise.
28813         (__libc_pvalloc): Likewise.
28814         (__libc_calloc): Likewise.
28815
28816 2012-09-05  John Tobey  <john.tobey@gmail.com>
28817
28818         [BZ #13542]
28819         * manual/arith.texi (Operations on Complex): Fix description
28820         of carg branch cut.
28821
28822 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28823
28824         [BZ #10014]
28825         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28826         host name.
28827
28828         [BZ #10038]
28829         * manual/memory.texi (Memory): Make order of menu items match
28830         order of sections.
28831
28832 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28833
28834         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28835         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28836         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28837
28838 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28839
28840         * csu/libc-tls.c (static_dtv): Renamed to ...
28841         (_dl_static_dtv): This.  Make it global.
28842         (_dl_initial_dtv): Removed.
28843         (__libc_setup_tls): Updated.
28844         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28845         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28846         DL_INITIAL_DTV.
28847
28848 2012-09-06  Petr Machata  <pmachata@redhat.com>
28849
28850         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28851         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28852         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28853         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28854
28855 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28856
28857         [BZ #14545]
28858         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28859         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28860         freeing dtv[-1].
28861
28862 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28863
28864         [BZ #14544]
28865         * Makeconfig (link-static-before-libc): Replace $(+prector)
28866         with $(+prectorT).
28867         (link-static-after-libc): Replace $(+postctor) with
28868         $(+postctorT).
28869         (link-bounded): Replace $(+prector)/$(+postctor) with
28870         $(+prectorT)/$(+postctorT).
28871         (+prectorT): New macro.
28872         (+postctorT): Likewise.
28873
28874 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28875
28876         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28877         (round_str): Handle values above the maximum for IBM long double
28878         as inexact.
28879         * stdlib/tst-strtod-round.c (tests): Regenerated.
28880
28881 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28882
28883         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28884         assembler flag.
28885         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28886         zarch_nohighgprs around the zarch optimized routines.
28887         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28888         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28889         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28890         for zarch.
28891
28892 2012-09-05  David S. Miller  <davem@davemloft.net>
28893
28894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28895
28896         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28897         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28898         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28899         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28900         entries.
28901
28902 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28903
28904         * malloc/arena.c: Fold copyright years.
28905         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28906
28907 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28908
28909         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28910
28911 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28912
28913         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28914
28915 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28916
28917         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28918         change internal state upon failure.
28919
28920 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28921
28922         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28923         * malloc/memusage.c (mmap): Likewise.
28924         (mmap64, mremap): Likewise.  Adjust name in comment.
28925
28926 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28927
28928         * libio/fileops.c: Fix typos in comments.
28929         * libio/oldfileops.c: Likewise.
28930         * libio/wfileops.c: Likewise.
28931
28932 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28933
28934         [BZ #1349]
28935         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28936         (tst-malloc-usable-ENV): Set environment for test case.
28937         * malloc/hooks.c (malloc_check_get_size): New function to get
28938         requested size.
28939         * malloc/malloc.c (musable): Use malloc_check_get_size.
28940         * malloc/tst-malloc-usable.c: New test case.
28941
28942 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28943
28944         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28945
28946 2012-09-05  Allan McRae  <allan@archlinux.org>
28947
28948         [BZ #13966]
28949         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28950         determine header location.
28951         * configure: Regenerated.
28952
28953 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28954
28955         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28956         float format.
28957         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28958         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28959         format.
28960         (test): Regenerate.
28961
28962 2012-09-04  David S. Miller  <davem@davemloft.net>
28963
28964         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28965         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28966         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28967
28968 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28969
28970         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28971         failures.
28972
28973         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28974
28975 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28976
28977         [BZ #9914]
28978         * libio/iogetdelim.c: Include <limits.h>.
28979         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28980         + len + 1 would overflow.
28981
28982 2012-09-03  Andreas Jaeger  <aj@suse.de>
28983
28984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28985         * sysdeps/i386/fpu/libm-test-ulps: Update.
28986
28987 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28988
28989         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28990         Add s_sinf-sse2, s_conf-sse2.
28991
28992         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28993         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28994         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28995         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28996
28997         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28998         for using routine as __sinf_ia32.
28999         Use macro for function declaration and weak_alias.
29000         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29001         for using routine as __cosf_ia32.
29002         Use macro for function declaration and weak_alias.
29003
29004         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29005         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29006
29007         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29008         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29010
29011         * math/libm-test.inc (cos_test): Add more test cases.
29012         (sin_test): Likewise.
29013         (sincos_test): Likewise.
29014
29015 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29016
29017         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29018         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29019         hidden.
29020         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29021
29022 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29023
29024         [BZ #14538]
29025         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29026         first element of the GOT.
29027         (elf_machine_load_address): Return the difference between
29028         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29029
29030 2012-09-01  Allan McRae  <allan@archlinux.org>
29031
29032         [BZ #13412]
29033         * configure.in (AWK): Require gawk version 3.0 or later.
29034         * configure: Regenerated.
29035
29036 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29037
29038         * sysdeps/unix/sysv/linux/kernel-features.h
29039         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29040         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29041         [__NR_clock_getres]: Make code unconditional.
29042         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29043         (clock_getcpuclockid): Remove code left unreachable by removal of
29044         conditionals.
29045         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29046         code unconditional.
29047         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29048         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29049         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29050         Make code unconditional.
29051         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29052         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29053         * sysdeps/unix/sysv/linux/clock_settime.c
29054         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29055         conditional code.
29056         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29057         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29058
29059 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29060
29061         [BZ #14476]
29062         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29063         scripts/test-installation.pl.
29064
29065         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29066         and $ld_so_version if it is set.
29067
29068 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29069
29070         [BZ #14516]
29071         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29072         failure if reading from procfs failed.
29073         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29074
29075 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29076
29077         * sysdeps/unix/sysv/linux/kernel-features.h
29078         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29079         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29080         Remove conditional code.
29081         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29082         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29083         Remove conditional code.
29084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29085         * sysdeps/unix/sysv/linux/i386/fxstat.c
29086         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29088         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29089         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29091         * sysdeps/unix/sysv/linux/i386/lxstat.c
29092         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29094         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29095         Remove conditional code.
29096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29097         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29098         Remove conditional code.
29099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29100         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29101         <kernel-features.h>.
29102         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29103         Remove.
29104         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29105         Remove conditional code.
29106         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29107         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29108         Remove conditional.
29109
29110 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29111
29112         [BZ #5400]
29113         * NEWS: Add fixed bug number.
29114
29115 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29116
29117         [BZ #14519]
29118         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29119         underflowing exponent in case of negative sign.
29120         * stdlib/tst-strtod-round-data: Add more tests.
29121         * stdlib/tst-strtod-round.c (tests): Regenerated.
29122
29123         [BZ #3479]
29124         * stdlib/strtod_l.c (NDIG): Remove.
29125         (HEXNDIG): Likewise.
29126         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29127         smallest representable value.
29128         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29129         lie within an exact representation of 1/2 ulp of the result.
29130         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29131         unconditionally.
29132         (TENS_P9_IDX): Define unconditionally.
29133         (TENS_P9_SIZE): Likewise.
29134         (TENS_P10_IDX): Likewise.
29135         (TENS_P10_SIZE): Likewise.
29136         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29137         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29138         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29139         entries for 10^2^13 and 10^2^14.
29140         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29141         (TENS_P13_IDX): Define.
29142         (TENS_P13_SIZE): Likewise.
29143         (TENS_P14_IDX): Likewise.
29144         (TENS_P14_SIZE): Likewise.
29145         (_fpioconst_pow10): Change array size to
29146         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29147         unconditional.
29148         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29149         1024]: Add entries for 10^2^13 and 10^2^14.
29150         [LAST_POW10 > _LAST_POW10]: Remove #error.
29151         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29152         (_fpioconst_pow10): Change array size to
29153         FPIOCONST_POW10_ARRAY_SIZE.
29154         * stdlib/gen-fpioconst.c: New file.
29155         * stdlib/gen-tst-strtod-round.c: Likewise.
29156         * stdlib/tst-strtod-round-data: Likewise.
29157         * stdlib/tst-strtod-round.c: Likewise.
29158         * stdlib/Makefile (tests): Add tst-strtod-round.
29159
29160         [BZ #14459]
29161         * stdlib/strtod_l.c: Include <stdint.h>.
29162         (NDEBUG): Do not define.
29163         (round_and_return): Change EXPONENT parameter to type intmax_t.
29164         Rearrange calculations to avoid internal overflow possibilities.
29165         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29166         Rearrange calculations to avoid internal overflow possibilities.
29167         Assert that number fits inside MPNSIZE limbs.
29168         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29169         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29170         calculations and add assertions to avoid internal overflow
29171         possibilities.  Add casts to avoid signed/unsigned operations.
29172         * stdlib/tst-strtod-overflow.c: New file.
29173         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29174
29175 2012-08-25  Marek Polacek  <polacek@redhat.com>
29176
29177         * time/time.h: Fix some typos in comments.
29178
29179 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29180
29181         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29182         * posix/tst-rfc3484-2.c: Likewise.
29183         * posix/tst-rfc3484-3.c: Likewise.
29184
29185 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29186
29187         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29188         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29189
29190 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29191
29192         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29193         #include of fxstatat64.c.
29194
29195 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29196
29197         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29198         * shadow/getspent_r.c: Likewise.
29199         * shadow/getspnam.c: Likewise.
29200         * shadow/getspnam_r.c: Likewise.
29201         * gshadow/getsgent.c: Likewise.
29202         * gshadow/getsgent_r.c: Likewise.
29203         * gshadow/getsgnam.c: Likewise.
29204         * gshadow/getsgnam_r.c: Likewise.
29205         * inet/getnetbyad.c: Likewise.
29206         * inet/getnetbyad_r.c: Likewise.
29207         * inet/getnetbynm.c: Likewise.
29208         * inet/getnetbynm_r.c: Likewise.
29209         * inet/getnetent.c: Likewise.
29210         * inet/getnetent_r.c: Likewise.
29211         * inet/getproto.c: Likewise.
29212         * inet/getproto_r.c: Likewise.
29213         * inet/getprtent.c: Likewise.
29214         * inet/getprtent_r.c: Likewise.
29215         * inet/getprtname.c: Likewise.
29216         * inet/getprtname_r.c: Likewise.
29217         * inet/getrpcbyname.c: Likewise.
29218         * inet/getrpcbyname_r.c: Likewise.
29219         * inet/getrpcbynumber.c: Likewise.
29220         * inet/getrpcbynumber_r.c: Likewise.
29221         * inet/getrpcent.c: Likewise.
29222         * inet/getrpcent_r.c: Likewise.
29223         * inet/getaliasent.c: Likewise.
29224         * inet/getaliasent_r.c: Likewise.
29225         * inet/getaliasname.c: Likewise.
29226         * inet/getaliasname_r.c: Likewise.
29227         * nscd/getgrgid_r.c: Likewise.
29228         * nscd/getgrnam_r.c: Likewise.
29229         * nscd/gethstbyad_r.c: Likewise.
29230         * nscd/gethstbynm3_r.c: Likewise.
29231         * nscd/getpwnam_r.c: Likewise.
29232         * nscd/getpwuid_r.c: Likewise.
29233         * nscd/getsrvbynm_r.c: Likewise.
29234         * nscd/getsrvbypt_r.c: Likewise.
29235         * nscd/gai.c: Likewise.
29236
29237         * configure.in (build_nscd): New substituted variable, set
29238         by --disable-build-nscd and defaults to $use_nscd.
29239         * configure: Regenerated.
29240         * config.make.in (build-nscd): New substituted variable.
29241         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29242         Change conditional to require [$(build-nscd) = yes] as well.
29243         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29244
29245         [BZ# 13696]
29246         * configure.in (use_nscd): New substituted variable, set by
29247         --disable-nscd.  If enabled, define USE_NSCD.
29248         * configure: Regenerated.
29249         * config.h.in: Add USE_NSCD.
29250         * config.make.in (use-nscd): New substituted variable.
29251         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29252         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29253         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29254         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29255         (CFLAGS-getgrnam_r.c): Likewise.
29256         (CFLAGS-initgroups.c): Likewise.
29257         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29258         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29259         Variables removed.
29260         * inet/getnetgrent_r.c
29261         (nscd_setnetgrent): New function, broken out of ...
29262         (setnetgrent): ... here.  Call it.
29263         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29264         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29265         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29266         * nscd/Makefile (routines, aux): Move definitions after include of
29267         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29268         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29269         Conditionalize on [USE_NSCD].
29270         (is_nscd, nscd_init_cb): Likewise.
29271         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29272         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29273         * nss/nss_db/db-init.c: Likewise.
29274         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29275         [USE_NSCD].
29276         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29277         (make_request): Use it.
29278         (cache_valid_p): New function.
29279         (__check_pf): Use it.
29280         * NEWS: Add item for --disable-nscd.
29281
29282 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29283
29284         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29285         to support sed >= 4.2.1-20-ga9bf076.
29286         * configure: Regenerated.
29287
29288 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29289
29290         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29291         Conditionalize whole body on [IREL].
29292
29293 2012-08-22  Jeff Law <law@redhat.com>
29294
29295         [BZ #14505]
29296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29297         if the family is PF_UNSPEC.
29298
29299 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29300
29301         * Makerules (lib-version): Rename from V.
29302         (install-lib-nosubdir): Change V to lib-version.
29303
29304 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29305
29306         [BZ #14252]
29307         * powerpc32/power6/wcschr.c: New file.
29308         * powerpc32/power6/wcscpy.c: New file.
29309         * powerpc32/power6/wcsrchr.c: New file.
29310         * powerpc64/power6/wcschr.c: New file.
29311         * powerpc64/power6/wcscpy.c: New file.
29312         * powerpc64/power6/wcsrchr.c: New file.
29313
29314 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29315
29316         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29317         (two_way_short_needle): Use it.
29318         * string/strstr.c (AVAILABLE1_USES_J): Define.
29319         * string/strcasestr.c: Likewise.
29320
29321         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29322         array references.
29323         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29324
29325         [BZ #11607]
29326         * NEWS: Add an entry.
29327         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29328         define their defaults.
29329         (two_way_short_needle): Detect end-of-string on-the-fly.
29330         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29331         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29332         * string/bug-strcasestr1.c: New test.
29333         * string/Makefile: Run it.
29334
29335 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29336
29337         [BZ #11607]
29338         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29339         the first character.
29340
29341 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29342
29343         * csu/elf-init.c (__libc_csu_irel): Function removed.
29344         * csu/libc-start.c (apply_irel): New function.
29345         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29346
29347 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29348
29349         * sysdeps/unix/sysv/linux/kernel-features.h
29350         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29351         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29352         <kernel-features.h>.
29353         [__NR_fadvise64_64]: Make code unconditional.
29354         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29355         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29356         !__NR_fadvise64_64)]: Likewise.
29357         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29358         !__NR_fadvise64_64))]: Likewise.
29359         [__NR_fadvise64]: Make code unconditional.
29360         [!__NR_fadvise64]: Remove conditional code.
29361         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29362         <kernel-features.h>.
29363         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29364         unconditional.
29365         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29366         conditional code.
29367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29368         not include <kernel-features.h>.
29369         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29370         unconditional.
29371         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29372         conditional code.
29373         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29374         include <kernel-features.h>.
29375         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29376         unconditional.
29377         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29378         conditional code.
29379
29380 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29381
29382         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29383         slight instruction rearrangements per scrollpipe analysis.
29384         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29385
29386 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29387
29388         * manual/syslog.texi (syslog; vsyslog, closelog):
29389         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29390         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29391
29392         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29393         DSOCAPS to match condition on defining it.
29394
29395 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29396
29397         * sysdeps/unix/sysv/linux/kernel-features.h
29398         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29400         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29401         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29403         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29404         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29406         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29407         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29408
29409         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29410         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29411
29412         * sysdeps/unix/sysv/linux/kernel-features.h
29413         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29414         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29415         unconditional.
29416         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29417         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29418         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29419         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29420         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29421         Make code unconditional.
29422         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29423         (__mmap64) [!__NR_mmap2]: Likewise.
29424         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29425         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29426         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29428         [__NR_mmap2]: Make code unconditional.
29429         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29430         (__mmap64) [!__NR_mmap2]: Likewise.
29431
29432 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29433
29434         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29435
29436 2012-08-18  Andreas Jaeger  <aj@suse.de>
29437
29438         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29439
29440 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29441
29442         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29443         * include/unistd.h (__have_sock_cloexec): Likewise.
29444         (__have_pipe2): Likewise.
29445         (__have_dup3): Likewise.
29446
29447 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29448
29449         [BZ #9685]
29450         * include/unistd.h (__have_pipe2): Change define into an extern int.
29451         (__have_dup3): Likewise.
29452         * socket/have_sock_cloexec.c: Include fcntl.h.
29453         (__have_pipe2): New variable.
29454         (__have_dup3): Likewise.
29455
29456 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29457
29458         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29459
29460 2012-08-17  Marek Polacek  <polacek@redhat.com>
29461
29462         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29463         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29464
29465 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29466
29467         * configure.in: Add AC_SUBST for sysheaders.
29468         * configure: Regenerated.
29469         * config.make.in (sysheaders): New substituted variable.
29470
29471         * sysdeps/unix/mkfifo.c: Moved ...
29472         * sysdeps/posix/mkfifo.c: ... here.
29473         * sysdeps/unix/mkfifoat.c: Moved ...
29474         * sysdeps/posix/mkfifoat.c: ... here.
29475
29476         * sysdeps/unix/utime.c: Moved ...
29477         * sysdeps/posix/utime.c: ... here.
29478
29479         * sysdeps/unix/time.c: Moved ...
29480         * sysdeps/posix/time.c: ... here.
29481         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29482         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29483
29484         * sysdeps/unix/nice.c: Moved ...
29485         * sysdeps/posix/nice.c: ... here.
29486
29487         * sysdeps/unix/alarm.c: Moved ...
29488         * sysdeps/posix/alarm.c: ... here.
29489
29490         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29491
29492 2012-08-17  Jeff Law <law@redhat.com>
29493
29494         * intl/Makefile (codeset_mo): New variable.
29495         ($(codeset_mo)): New target.
29496         (tst-codeset.out): Depend on that.  Remove explicit rule.
29497         (tst-gettext3.out, tst-gettext5.out): Likewise.
29498         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29499         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29500         * intl/tst-codeset.sh: Remove.
29501         * intl/tst-gettext3.sh: Likewise.
29502         * intl/tst-gettext5.sh: Likewise.
29503
29504 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29505
29506         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29507         * sysdeps/unix/syscalls.list: ... here.
29508
29509         * sysdeps/posix/getaddrinfo.c
29510         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29511         (gaiconf_init, gaiconf_reload): Use them.
29512         [!_STATBUF_ST_NSEC]
29513         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29514         Define using time_t rather than struct timespec.
29515
29516         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29517         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29518         Macros removed.
29519         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29520         [!NO_THREADS].
29521         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29522         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29523         Likewise.
29524
29525         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29526         __libc_cleanup_push argument.
29527
29528         * bits/param.h: New file.
29529         * misc/sys/param.h: New file.
29530         * include/sys/param.h: New file.
29531         * misc/Makefile (headers): Add bits/param.h.
29532         * sysdeps/generic/sys/param.h: File removed.
29533         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29534         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29535         * sysdeps/mach/hurd/bits/param.h: New file.
29536         * sysdeps/mach/hurd/sys/param.h: File removed.
29537
29538         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29539         last change.
29540
29541         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29542         [_IO_MTSAFE_IO].
29543         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29544         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29545         New macros.
29546
29547         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29548         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29549         rather than -D_IO_MTSAFE_IO conditionally.
29550         * stdio-common/Makefile (CPPFLAGS): Likewise.
29551         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29552         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29553         Use $(libio-mtsafe).
29554         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29555         of -D_IO_MTSAFE_IO.
29556         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29557         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29558         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29559         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29560         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29561         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29562         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29563         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29564         (CFLAGS-fread_u_chk.c): Likewise.
29565         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29566         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29567         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29568         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29569         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29570         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29571         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29572         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29573         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29574
29575         * libio/Makefile: Test [$(libc-reentrant) = yes]
29576         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29577
29578         * Makeconfig
29579         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29580         * sysdeps/pthread/configure: File removed.
29581         * sysdeps/pthread/Makeconfig: New file.
29582         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29583         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29584
29585 2012-08-16  Gary Benson  <gbenson@redhat.com>
29586
29587         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29588         unmapping the first object in a namespace.
29589
29590 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29591
29592         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29593         (__internal_setnetgrent): ... this.  Add internal_function to
29594         definition.  Add libc_hidden_def.
29595         (setnetgrent): Update caller.
29596         (internal_endnetgrent): Renamed to ...
29597         (__internal_endnetgrent): ... this.  Add internal_function to
29598         definition.  Add libc_hidden_def.
29599         (endnetgrent): Update caller.
29600         (internal_getnetgrent_r): Renamed to ...
29601         (__internal_getnetgrent_r): ... this.  Add internal_function to
29602         definition.  Add libc_hidden_def.
29603         (__getnetgrent_r): Update caller.
29604         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29605
29606 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29607
29608         * stdlib/longlong.h: Update from GCC.
29609
29610 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29611
29612         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29613         on _QL, which is set by umul_ppmm but never used.
29614         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29615         variables, which are set by GMP macros but never used.
29616         * stdio-common/_itowa.c (_itowa): Likewise.
29617         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29618         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29619
29620 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29621
29622         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29623         struct La_sh_regs is not constant.
29624         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29625         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29626         and struct La_sparc64_regs are not constant.
29627
29628 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29629
29630         * sysdeps/unix/sysv/linux/kernel-features.h
29631         (__ASSUME_POSIX_TIMERS): Remove.
29632         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29633         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29634         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29635         Make code unconditional.
29636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29637         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29638         Make code unconditional.
29639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29640         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29641         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29642         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29643         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29644         Make code unconditional.
29645         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29646         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29647         (__libc_missing_posix_timers): Remove.
29648
29649 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29650
29651         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29652         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29653
29654         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29655
29656         * elf/dl-sym.c: Include <stdlib.h>.
29657
29658         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29659         constants, which avoids warnings in 32-bit builds.
29660
29661         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29662         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29663
29664         * misc/lseek.c: File moved to ...
29665         * io/lseek.c: ... here.
29666
29667         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29668
29669         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29670         shifting LEN more than 31 bits at once.
29671
29672 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29673
29674         [BZ #14195]
29675         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29676         segmentation fault for a case of two empty input strings.
29677         * string/test-strncasecmp.c (check1): Renamed to...
29678         (bz12205): ...this.
29679         (bz14195): Add new testcase for two empty input strings and N > 0.
29680         (test_main): Call new testcase, adapt for renamed function.
29681
29682 2012-08-15  Andreas Jaeger  <aj@suse.de>
29683
29684         [BZ #14090]
29685         * crypt/md5test2.c: New test, based on test supplied by Serge
29686         Belyshev <belyshev@depni.sinp.msu.ru>.
29687         * crypt/Makefile (xtests): Add md5test-giant..
29688         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29689
29690 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29691
29692         [BZ #14090]
29693         * crypt/md5.c (md5_process_block): Don't assume the buffer
29694         length is less than 2**32.
29695         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29696         length is less than 2**64.
29697
29698 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29699
29700         * string/str-two-way.h: Include <sys/param.h>.
29701         (MAX): Macro removed.
29702
29703         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29704         Move #define and #undef of memmove to just before and after
29705         including <string.h>.
29706
29707         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29708         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29709         and after including <string.h>.  Move declarations of
29710         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29711         to before #include "string/memmove.c".
29712
29713         * include/dirent.h: Declare __getdirentries.
29714
29715         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29716         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29717
29718 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29719
29720         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29721         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29722         * sysdeps/i386/configure: Regenerated.
29723         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29724         STABS_CURRENT_FILE, and STABS_FUN.
29725         (END): Remove call to STABS_FUN_END.
29726         (STABS_CURRENT_FILE1): Delete.
29727         (STABS_CURRENT_FILE): Likewise.
29728         (STABS_FUN): Likewise.
29729         (STABS_FUN_END): Likewise.
29730         (STABS_FUN2): Likewise.
29731         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29732         * sysdeps/x86_64/configure: Regenerated.
29733
29734 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29735
29736         * elf/dl-open.c: Include <atomic.h>.
29737         * elf/dl-lookup.c: Likewise.
29738
29739 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29740
29741         * sysdeps/unix/sysv/linux/kernel-features.h
29742         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29743         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29744         unconditionally.
29745         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29746         unconditionally.
29747         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29748         condition on __ASSUME_CLONE_THREAD_FLAGS.
29749
29750 2012-08-14  Andreas Jaeger  <aj@suse.de>
29751
29752         * sysdeps/i386/fpu/libm-test-ulps: Update.
29753
29754 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29755
29756         * include/atomic.h (atomic_exchange_and_add): Split into ...
29757         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29758         New atomic macros.
29759
29760 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29761
29762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29763
29764 2012-08-13  Jeff Law <law@redhat.com>
29765
29766         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29767         null byte in the output string.
29768
29769 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29770
29771         * sysdeps/unix/sysv/linux/kernel-features.h
29772         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29773         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29774         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29775         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29776         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29777         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29778         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29779
29780 2012-08-09  Jeff Law <law@redhat.com>
29781
29782         [BZ #13939]
29783         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29784         When avoid_arena is set, don't retry in the that arena.  Pick the
29785         next one, whatever it might be.
29786         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29787         (arena_lock): Pass in new parameter to arena_get2.
29788         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29789         arena_get2.
29790         (__libc_malloc): Unify retrying after main arena failure with
29791         __libc_memalign version.
29792         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29793
29794 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29795
29796         [BZ #14166]
29797         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29798         to __redirect_strstr.
29799         (__strstr_sse42): Use typeof __redirect_strstr.
29800         (__strstr_ia32): Likewise.
29801         (__libc_strstr): New prototype.
29802         (strstr): Renamed to ...
29803         (__libc_strstr): This.
29804         (strstr): New strong alias of __libc_strstr.
29805         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29806         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29807         __redirect_time.
29808         Include <time.h>.
29809         (__libc_time): New prototype.
29810         (time_ifunc): Replace time with __libc_time.
29811         (time): New strong alias and hidden definition of __libc_time.
29812         (__GI_time): Remove strong alias.
29813         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29814         Include <stddef.h>.
29815         (memmove): Redefined to __redirect_memmove.
29816         (__memmove_sse2): Use typeof __redirect_memmove.
29817         (__memmove_ssse3): Likewise.
29818         (__memmove_ssse3_back): Likewise.
29819         (__libc_memmove): New prototype.
29820         (memmove): Renamed to ...
29821         (__libc_memmove): This.
29822         (memmove): New strong alias of __libc_memmove.
29823
29824 2012-08-08  Mark Salter  <msalter@redhat.com>
29825
29826         * elf/elf.h
29827         (R_MN10300_TLS_GD): Define.
29828         (R_MN10300_TLS_LD): Likewise.
29829         (R_MN10300_TLS_LDO): Likewise.
29830         (R_MN10300_TLS_GOTIE): Likewise.
29831         (R_MN10300_TLS_IE): Likewise.
29832         (R_MN10300_TLS_LE): Likewise.
29833         (R_MN10300_TLS_DTPMOD): Likewise.
29834         (R_MN10300_TLS_DTPOFF): Likewise.
29835         (R_MN10300_TLS_TPOFF): Likewise.
29836         (R_MN10300_SYM_DIFF): Likewise.
29837         (R_MN10300_ALIGN): Likewise.
29838         (R_MN10300_NUM): Update.
29839
29840 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29841
29842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29843         Remove.
29844
29845 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29846
29847         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29848
29849         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29850         sysdeps/unix -> sysdeps/posix move.
29851         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29852
29853 2012-08-07      Allan McRae     <allan@archlinux.org>
29854
29855         [BZ #14303]
29856         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29857         (SUNOS_CPP): Likewise.
29858         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29859         not found.
29860         (open_input): Call CPP using execvp.
29861
29862 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29863
29864         * sysdeps/unix/sysv/linux/kernel-features.h
29865         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29866         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29867         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29868         (__ASSUME_WAITID_SYSCALL): Likewise.
29869         * sysdeps/unix/sysv/linux/dl-execstack.c
29870         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29871         code unconditional.
29872         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29873         conditional code.
29874         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29875         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29876         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29877         code.
29878         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29879         unconditional.
29880         [__ASSUME_WAITID_SYSCALL]: Likewise.
29881         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29882
29883 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29884
29885         * sysdeps/unix/closedir.c: Renamed to ...
29886         * sysdeps/posix/closedir.c: ... here.
29887         * sysdeps/unix/dirfd.c: Renamed to ...
29888         * sysdeps/posix/dirfd.c: ... here.
29889         * sysdeps/unix/dirstream.h: Renamed to ...
29890         * sysdeps/posix/dirstream.h: ... here.
29891         * sysdeps/unix/fdopendir.c: Renamed to ...
29892         * sysdeps/posix/fdopendir.c: ... here.
29893         * sysdeps/unix/opendir.c: Renamed to ...
29894         * sysdeps/posix/opendir.c: ... here.
29895         * sysdeps/unix/readdir.c: Renamed to ...
29896         * sysdeps/posix/readdir.c: ... here.
29897         * sysdeps/unix/readdir_r.c: Renamed to ...
29898         * sysdeps/posix/readdir_r.c: ... here.
29899         * sysdeps/unix/rewinddir.c: Renamed to ...
29900         * sysdeps/posix/rewinddir.c: ... here.
29901         * sysdeps/unix/seekdir.c: Renamed to ...
29902         * sysdeps/posix/seekdir.c: ... here.
29903         * sysdeps/unix/telldir.c: Renamed to ...
29904         * sysdeps/posix/telldir.c: ... here.
29905         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29906         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29907         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29908         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29909
29910         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29911         * bits/fcntl.h: ... here.
29912
29913         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29914         not 0.
29915         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29916         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29917         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29918         (struct flock): Move l_start, l_len to the beginning.
29919         Use __pid_t for l_pid.
29920         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29921         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29922         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29923         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29924         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29925         [__USE_LARGEFILE64] (struct flock64): New type.
29926         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29927
29928         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29929         * bits/dirent.h: ... here.
29930
29931         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29932         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29933
29934 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29935
29936         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29937         Change from 2.6.0 to 2.6.16.
29938         * sysdeps/unix/sysv/linux/configure: Regenerated.
29939         * sysdeps/unix/sysv/linux/kernel-features.h
29940         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29941         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29942         version.
29943         (__ASSUME_UTIMES): Likewise.
29944         (__ASSUME_CLONE_STOPPED): Remove.
29945         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29946         architectures, not kernel version.
29947         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29948         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29949         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29950         (__ASSUME_WAITID_SYSCALL): Likewise.
29951         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29952         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29953         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29954         refer to older versions.
29955
29956 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29957
29958         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29959         Define alphasort64 as an alias.
29960         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29961         Define versionsort64 as an alias.
29962         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29963         Define scandir64 as an alias.
29964         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29965         Define scandirat64 as an alias.
29966         * dirent/alphasort64.c (alphasort64):
29967         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29968         * dirent/versionsort64.c: Likewise.
29969         * dirent/scandir64.c: Likewise.
29970         * dirent/scandirat64.c: Likewise.
29971         * sysdeps/wordsize-64/alphasort.c: File removed.
29972         * sysdeps/wordsize-64/alphasort64.c: File removed.
29973         * sysdeps/wordsize-64/scandir.c: File removed.
29974         * sysdeps/wordsize-64/scandir64.c: File removed.
29975         * sysdeps/wordsize-64/scandirat.c: File removed.
29976         * sysdeps/wordsize-64/scandirat64.c: File removed.
29977         * sysdeps/wordsize-64/versionsort.c: File removed.
29978         * sysdeps/wordsize-64/versionsort64.c: File removed.
29979         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29980         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29981         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29982         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29983         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29984         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29986         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29987
29988         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29990         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29991         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29992         [defined __arch64__ || defined __sparcv9]
29993         (__INO_T_MATCHES_INO64_T): New macro.
29994         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29995         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29996         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29997         * sysdeps/unix/sysv/linux/bits/dirent.h
29998         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29999         (_DIRENT_MATCHES_DIRENT64): New macro.
30000
30001         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30002         Define lockf64 as an alias.
30003         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30004         Define fseeko64 as an alias.
30005         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30006         Define ftello64 as an alias.
30007         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30008         Define _IO_fgetpos64 and fgetpos64 as aliases.
30009         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30010         Define _IO_fsetpos64 and fsetpos64 as aliases.
30011         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30012         Conditionalize body on this.
30013         * libio/fseeko64.c: Likewise.
30014         * libio/ftello64.c: Likewise.
30015         * libio/iofgetpos64.c: Likewise.
30016         * libio/iofsetpos64.c: Likewise.
30017         * sysdeps/wordsize-64/lockf.c: File removed.
30018         * sysdeps/wordsize-64/lockf64.c: File removed.
30019         * sysdeps/wordsize-64/fseeko.c: File removed.
30020         * sysdeps/wordsize-64/fseeko64.c: File removed.
30021         * sysdeps/wordsize-64/ftello.c: File removed.
30022         * sysdeps/wordsize-64/ftello64.c: File removed.
30023         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30024         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30025         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30026         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30027         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30028         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30029         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30030         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30031         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30032         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30033         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30034         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30035         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30036         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30037
30038         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30040         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30041         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30042         [defined __arch64__ || defined __sparcv9]
30043         (__OFF_T_MATCHES_OFF64_T): New macro.
30044         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30045         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30047         (__OFF_T_MATCHES_OFF64_T): New macro.
30048
30049 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30050
30051         * stdlib/secure-getenv.c (__secure_getenv): Replace
30052         GLIBC_2_16 with GLIBC_2_17.
30053
30054 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30055
30056         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30057         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30058
30059 2012-08-03  David S. Miller  <davem@davemloft.net>
30060
30061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30062
30063 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30064
30065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30066         Remove.
30067         (__ASSUME_CORRECT_SI_PID): Likewise.
30068         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30069         (__ASSUME_TMPFS_NAME): Likewise.
30070         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30071         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30072         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30073         (HAVE_AUX_SECURE): Make definition unconditional.
30074         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30075         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30076
30077 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30078
30079         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30080         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30081         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30082         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30083         __eloop_threshold instead of SYMLOOP_MAX.
30084
30085         * sysdeps/generic/eloop-threshold.h: New file.
30086         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30087         of MAXSYMLINKS.
30088         * elf/chroot_canon.c (chroot_canon): Likewise.
30089
30090 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30091
30092         [BZ #13717]
30093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30094         Change to 2.6.0 everywhere.
30095         * sysdeps/unix/sysv/linux/configure: Regenerated.
30096         * sysdeps/unix/sysv/linux/kernel-features.h
30097         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30098         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30099         kernel versions.
30100         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30101         (__ASSUME_FUTEX_REQUEUE): Remove.
30102         (__ASSUME_STATFS64): Define unconditionally.
30103         (__ASSUME_AT_SECURE): Likewise.
30104         (__ASSUME_CORRECT_SI_PID): Likewise.
30105         (__ASSUME_TGKILL): Define without depending on kernel version for
30106         i386.
30107         (__ASSUME_UTIMES): Likewise.
30108         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30109         kernel version.
30110         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30111         (__ASSUME_TMPFS_NAME): Likewise.
30112         * README: Update reference to Linux kernel versions.
30113
30114 2012-08-02  Marek Polacek  <polacek@redhat.com>
30115
30116         [BZ# 14150]
30117         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30118         libc_cv_asm_type_prefix with %.
30119         * configure: Regenerated.
30120         * include/libc-symbols.h: Remove comment about
30121         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30122         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30123         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30124         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30125         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30126         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30127         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30128         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30129         * elf/tst-unique2mod1.c: Likewise.
30130         * elf/tst-unique1mod2.c: Likewise.
30131         * elf/tst-unique1mod1.c: Likewise.
30132         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30133         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30134         Replace ASM_TYPE_DIRECTIVE with .type.
30135         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30136         * sysdeps/i386/sysdep.h: Likewise.
30137         * sysdeps/x86_64/sysdep.h: Likewise.
30138         * sysdeps/sh/sysdep.h: Likewise.
30139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30140         Do not define ASM_TYPE_DIRECTIVE.
30141         * sysdeps/powerpc/sysdep.h: Likewise.
30142         * sysdeps/powerpc/powerpc32/sysdep.h:
30143         Replace ASM_TYPE_DIRECTIVE with .type.
30144         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30145         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30146         * sysdeps/i386/fpu/e_powf.S: Likewise.
30147         * sysdeps/i386/fpu/e_expl.S: Likewise.
30148         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30149         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30150         * sysdeps/i386/fpu/e_pow.S: Likewise.
30151         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30152         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30153         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30154         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30155         * sysdeps/i386/fpu/e_log2.S: Likewise.
30156         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30157         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30158         * sysdeps/i386/fpu/e_powl.S: Likewise.
30159         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30160         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30161         * sysdeps/i386/fpu/e_logl.S: Likewise.
30162         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30163         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30164         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30165         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30166         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30167         * sysdeps/i386/fpu/e_log.S: Likewise.
30168         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30169         * sysdeps/i386/fpu/e_logf.S: Likewise.
30170         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30171         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30172         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30173         * sysdeps/i386/fpu/e_log10.S: Likewise.
30174         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30175         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30176         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30177         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30178         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30179         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30180         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30181         * sysdeps/i386/i686/strtok.S: Likewise.
30182         * sysdeps/i386/i386-mcount.S: Likewise.
30183         * sysdeps/i386/strtok.S: Likewise.
30184         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30185         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30186         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30187         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30188         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30189         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30190         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30191         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30192         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30193         * sysdeps/x86_64/_mcount.S: Likewise.
30194         * sysdeps/x86_64/strtok.S: Likewise.
30195         * sysdeps/sh/_mcount.S: Likewise.
30196
30197 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30198
30199         * libio/iofopen.c: Include <fcntl.h>.
30200         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30201         (_IO_fopen64, fopen64): Define as aliases.
30202         * libio/iofopen64.c: Include <fcntl.h>.
30203         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30204         Conditionalize body on this.
30205         * sysdeps/wordsize-64/iofopen.c: File removed.
30206         * sysdeps/wordsize-64/iofopen64.c: File removed.
30207
30208 2012-08-01  Marek Polacek  <polacek@redhat.com>
30209
30210         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30211         Use dlfcn directly instead of a variable.
30212         (binfmt-subdir): Do not define.
30213         (dlfcn): Likewise.
30214
30215 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30216
30217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30218         Remove all definitions.
30219         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30220         <kernel-features.h>.
30221         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30222         (miss_F_GETOWN_EX): Remove all definitions.
30223         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30224         macro definition.
30225         [!__ASSUME_FCNTL64]: Remove conditional code.
30226         [__ASSUME_FCNTL64]: Make code unconditional.
30227         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30228         <kernel-features.h>.
30229         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30230         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30231         (lockf64) [__NR_fcntl64]: Make code unconditional.
30232         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30233
30234         * sysdeps/unix/sysv/linux/kernel-features.h
30235         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30236         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30237         Make code unconditional.
30238         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30239         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30241         [__NR_vfork]: Make code unconditional.
30242         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30243         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30245         [__NR_vfork]: Make code unconditional.
30246         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30247         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30248
30249 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30250
30251         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30252         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30253
30254         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30255         Define mkstemp64 as an alias.
30256         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30257         Define mkstemps64 as an alias.
30258         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30259         Define mkostemp64 as an alias.
30260         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30261         Define mkostemps64 as an alias.
30262         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30263         Conditionalize body on this.
30264         * misc/mkostemp64.c: Likewise.
30265         * misc/mkostemps64.c: Likewise.
30266         * misc/mkstemps64.c: Likewise.
30267         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30268         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30269         * sysdeps/wordsize-64/mkostemp.c: File removed.
30270         * sysdeps/wordsize-64/mkstemp.c: File removed.
30271         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30272         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30273         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30274         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30275
30276         [BZ #14138]
30277         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30278         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30279         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30280         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30281
30282         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30283         compat_symbol macros from <shlib-compat.h> rather than the underlying
30284         default_symbol_version and symbol_version macros, so that DEFAULT
30285         lines in shlib-versions are respected.
30286         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30287
30288 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30289
30290         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30291         Declare with warn_unused_result.
30292         (setgid, setregid, setegid, setresgid): Likewise.
30293         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30294         Likewise.
30295         * WUR-REPORT: Remove set*id functions.
30296
30297 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30298
30299         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30300
30301 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30302
30303         [BZ #10191]
30304         * include/sys/socket.h (__libc_accept, __libc_accept4):
30305         Add attribute_hidden.
30306         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30307
30308         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30309         use of PTR_MANGLE.
30310         * inet/getnetgrent_r.c (setup): Likewise.
30311
30312         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30313
30314 2012-07-31  David S. Miller  <davem@davemloft.net>
30315
30316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30317
30318 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30319
30320         [BZ #13629]
30321         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30322         value between 1.0 and 2.0 and smaller part has absolute value less
30323         than 1.0.
30324         * math/s_clog10.c (__clog10): Likewise.
30325         * math/s_clog10f.c (__clog10f): Likewise.
30326         * math/s_clog10l.c (__clog10l): Likewise.
30327         * math/s_clogf.c (__clogf): Likewise.
30328         * math/s_clogl.c (__clogl): Likewise.
30329         * math/libm-test.inc (clog_test): Add more tests.
30330         (clog10_test): Likewise.
30331         * sysdeps/i386/fpu/libm-test-ulps: Update.
30332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30333
30334 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30335
30336         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30337         Exit with zero in case no suitable GID is found, and write a
30338         message to standard error.
30339
30340 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30341
30342         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30343         rather than to 1.
30344         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30345         (MAXPATHLEN): Removed.
30346         (NOGROUP, NODEV): New macros.
30347         (setbit, clrbit, isset, isclr): New macros.
30348         (howmany, roundup, powerof2): New macros.
30349         (DEV_BSIZE): New macro.
30350
30351         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30352         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30353
30354         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30355         definition on [!__NO_LONG_DOUBLE_MATH].
30356
30357         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30358         PTR_MANGLE and PTR_DEMANGLE.
30359
30360         * socket/accept4.c (accept4): Rename to __libc_accept4.
30361         Define accept4 as a weak alias.
30362
30363         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30364         on [_DIRENT_HAVE_D_TYPE].
30365         * io/ftw.c (ftw_dir): Likewise.
30366
30367         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30368
30369         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30370
30371         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30372         Use the BSD numbers rather than the arbitrary ones we had.
30373         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30374         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30375         (SIGXCPU, SIGXFSZ): New macros.
30376         (_NSIG): Now 32.
30377
30378         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30379         initializer on [_LIBC_REENTRANT].
30380
30381         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30382         definitions inside [_POSIX_MAPPED_FILES].
30383
30384         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30385
30386         * dirent/opendir.c: Include <fcntl.h>.
30387
30388         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30389         (__libc_getspecific): Likewise.
30390         (__libc_key_create): Likewise.
30391
30392         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30393         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30394         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30395         (tmpfile64): Define as alias.
30396         * sysdeps/wordsize-64/tmpfile.c: File removed.
30397         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30398         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30399         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30400
30401         * stdio-common/vfscanf.c: Include <stdbool.h>.
30402         * nss/makedb.c: Likewise.
30403         * stdio-common/_i18n_number.h: Likewise.
30404         * argp/argp-help.c: Likewise.
30405         * posix/wordexp.c: Likewise.
30406         * sysdeps/posix/spawni.c: Likewise.
30407         * nss/nss_files/files-initgroups.c: Likewise.
30408         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30409         * nss/nss_files/files-initgroups.c: Likewise.
30410         * nss/nss_db/db-netgrp.c: Likewise.
30411         * nss/nss_db/db-initgroups.c: Likewise.
30412         * io/fchmodat.c: Include <sys/stat.h>.
30413
30414         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30415         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30416
30417         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30418         [HAVE_MMAP].
30419
30420         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30421         Add multiple inclusion protection.
30422
30423 2012-07-27  David S. Miller  <davem@davemloft.net>
30424
30425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30426
30427 2012-07-27  Gary Benson  <gbenson@redhat.com>
30428
30429         [BZ #14298]
30430         * elf/rtld.c: Include <stap-probe.h>.
30431         (dl_main): Added static probes "init_start" and "init_complete".
30432         * elf/dl-load.c: Include <stap-probe.h>.
30433         (lose): Take new parameter "nsid".
30434         Added static probe "map_failed".
30435         (_dl_map_object_from_fd): Pass namespace id to lose.
30436         Added static probe "map_start".
30437         (open_verify): Pass namespace id to lose.
30438         * elf/dl-open.c: Include <stap-probe.h>.
30439         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30440         and "reloc_complete".
30441         * elf/dl-close.c: Include <stap-probe.h>.
30442         (_dl_close_worker): Added static probes "unmap_start" and
30443         "unmap_complete".
30444         * elf/rtld-debugger-interface.txt: New file documenting the above.
30445
30446 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30447
30448         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30449         rather than a string variable.
30450         * sunrpc/rpc_main.c (h_output): Likewise.
30451         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30452
30453 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30454
30455         * inet/check_native.c: New file.
30456
30457 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30458
30459         [BZ #13629]
30460         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30461         if larger part has absolute value 1.0.
30462         * math/s_clog10.c (__clog10): Likewise.
30463         * math/s_clog10f.c (__clog10f): Likewise.
30464         * math/s_clog10l.c (__clog10l): Likewise.
30465         * math/s_clogf.c (__clogf): Likewise.
30466         * math/s_clogl.c (__clogl): Likewise.
30467         * math/libm-test.inc (clog_test): Add more tests.
30468         (clog10_test): Likewise.
30469         * sysdeps/i386/fpu/libm-test-ulps: Update.
30470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30471
30472         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30473         (pltexit): Likewise.
30474         (La_regs): Likewise.
30475         (La_retval): Likewise.
30476         (int_retval): Likewise.
30477         Update #error for removed macros to refer only to definitions in
30478         tst-audit.h.
30479         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30480         macro.
30481         (pltexit): Likewise.
30482         (La_regs): Likewise.
30483         (La_retval): Likewise.
30484         (int_retval): Likewise.
30485         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30486         macro.
30487         (pltexit): Likewise.
30488         (La_regs): Likewise.
30489         (La_retval): Likewise.
30490         (int_retval): Likewise.
30491         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30492         macro.
30493         (pltexit): Likewise.
30494         (La_regs): Likewise.
30495         (La_retval): Likewise.
30496         (int_retval): Likewise.
30497         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30498         macro.
30499         (pltexit): Likewise.
30500         (La_regs): Likewise.
30501         (La_retval): Likewise.
30502         (int_retval): Likewise.
30503         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30504         macro.
30505         (pltexit): Likewise.
30506         (La_regs): Likewise.
30507         (La_retval): Likewise.
30508         (int_retval): Likewise.
30509         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30510         macro.
30511         (pltexit): Likewise.
30512         (La_regs): Likewise.
30513         (La_retval): Likewise.
30514         (int_retval): Likewise.
30515         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30516         macro definitions in tst-audit.h.
30517         * sysdeps/i386/tst-audit.h: New file.
30518         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30519         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30520         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30521         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30522         * sysdeps/sh/tst-audit.h: Likewise.
30523         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30524         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30525         * sysdeps/x86_64/tst-audit.h: Likewise.
30526
30527 2012-07-26  Andreas Jaeger  <aj@suse.de>
30528
30529         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30530         ptrace.
30531
30532         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30533         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30534         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30535         PTRACE_O_MASK.
30536         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30537         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30538         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30539
30540         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30541         value.
30542
30543         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30544         _sigsys.
30545         (si_call_addr, si_syscall, si_arch): Define new macro.
30546         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30547         _sigsys.
30548         (si_call_addr, si_syscall, si_arch): Define new marcro.
30549         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30550         _sigsys.
30551         (si_call_addr, si_syscall, si_arch): Define new macro.
30552         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30553         _sigsys.
30554         (si_call_addr, si_syscall, si_arch): Define new macro.
30555
30556 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30557
30558         [BZ #13717]
30559         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30560         Change to 2.4.21 where previously 2.4.1.
30561         * sysdeps/unix/sysv/linux/configure: Regenerated.
30562         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30563         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30564         Linux kernel version.
30565         (__ASSUME_STD_AUXV): Remove.
30566         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30567         kernel version.
30568         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30569         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30570         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30571         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30572         (__ASSUME_NETLINK_SUPPORT): Likewise.
30573         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30574         (__no_netlink_support): Remove conditional definition.
30575         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30576         Remove.
30577         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30578         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30579         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30580         (if_nameindex_ioctl): Remove.
30581         (if_nameindex_netlink): Do not handle __no_netlink_support.
30582         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30583         code.
30584         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30585         Remove conditional code.
30586         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30587         code.
30588         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30589         unconditional.
30590         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30591         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30592         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30593         Remove.
30594         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30595         [!__ASSUME_STD_AUXV]: Remove conditional code.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30597         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30598         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30600         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30601         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30602         code.
30603         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30605         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30606         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30607         conditional code.
30608         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30610         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30611         code.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30613         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30614         conditional code.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30616         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30617         code unconditional.
30618         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30619         conditional code.
30620         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30621         unconditional.
30622         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30623         conditional code.
30624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30625         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30626         unconditional.
30627         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30628         conditional code.
30629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30630         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30631         code unconditional.
30632         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30633         conditional code.
30634         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30635         unconditional.
30636         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30637         conditional code.
30638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30639         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30640         code unconditional.
30641         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30642         conditional code.
30643         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30644         unconditional.
30645         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30646         conditional code.
30647
30648 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30649
30650         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30651         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30652         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30653         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30654         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30655         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30656         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30657         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30658         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30659         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30660         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30661         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30662         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30663         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30664         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30665         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30666         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30667         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30668         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30670         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30671         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30672         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30673
30674 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30675
30676         * Versions.def: Add GLIBC_2.17.
30677         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30678         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30679         Introduce __libc_secure_getenv.
30680         * stdlib/Versions (2.17): Add secure_getenv
30681         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30682         * stdlib/secure-getenv.c: Rename __secure_getenv to
30683         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30684         symbol __secure_getenv for GLIBC_2.0.
30685         * stdlib/tst-secure-getenv.c: New.
30686         * stdlib/Makefile (tests): Add testcase.
30687         * manual/startup.texi (Environment Access): Document
30688         secure_getenv.
30689         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30690         __libc_secure_getenv.
30691         * inet/ruserpass.c (ruserpass): Likewise.
30692         * malloc/mtrace.c (mtrace): Likewise.
30693         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30694         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30695         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30696         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30697         HAVE_SECURE_GETENV.
30698         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30699         __secure_getenv to __libc_secure_getenv.
30700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30702         Likewise.
30703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30704         Likewise.
30705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30707         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30712
30713 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30714
30715         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30716         (struct La_i86_retval): Likewise.
30717         (struct La_x86_64_regs): Likewise.
30718         (struct La_x86_64_retval): Likewise.
30719         (struct La_x32_regs): Likewise.
30720         (struct La_x32_retval): Likewise.
30721         (struct La_ppc32_regs): Likewise.
30722         (struct La_ppc32_retval): Likewise.
30723         (struct La_ppc64_regs): Likewise.
30724         (struct La_ppc64_retval): Likewise.
30725         (struct La_sh_regs): Likewise.
30726         (struct La_sh_retval): Likewise.
30727         (struct La_s390_32_regs): Likewise.
30728         (struct La_s390_32_retval): Likewise.
30729         (struct La_s390_64_regs): Likewise.
30730         (struct La_s390_64_retval): Likewise.
30731         (struct La_sparc32_regs): Likewise.
30732         (struct La_sparc32_retval): Likewise.
30733         (struct La_sparc64_regs): Likewise.
30734         (struct La_sparc64_retval): Likewise.
30735         (struct audit_ifaces): Remove architecture-specific pltenter and
30736         pltexit members.
30737         * sysdeps/i386/ldsodefs.h: New file.
30738         * sysdeps/powerpc/ldsodefs.h: Likewise.
30739         * sysdeps/s390/ldsodefs.h: Likewise.
30740         * sysdeps/sh/ldsodefs.h: Likewise.
30741         * sysdeps/sparc/ldsodefs.h: Likewise.
30742         * sysdeps/x86_64/ldsodefs.h: Likewise.
30743
30744 2012-07-25  Marek Polacek  <polacek@redhat.com>
30745
30746         [BZ #6808]
30747         * math/libm-test.inc (yn_test): Add another test.
30748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30749         to ERANGE when the result is +-Inf.
30750         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30751         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30752         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30753         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30754
30755 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30756
30757         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30758         equal to 0.
30759         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30760         clock_t.
30761         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30762
30763 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30764
30765         * configure.in <sysdeps resolving>: Correct printing
30766         Implies_before.
30767         * configure: Regenerate.
30768
30769 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30770
30771         * math/w_ilogb.c: Include <limits.h>.
30772         * math/w_ilogbl.c: Likewise.
30773
30774 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30775
30776         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30777         va_copy.  Document allowing for unavailable va_copy only as
30778         pre-C99 compatibility.
30779         * manual/string.texi (Copying and Concatenation): Use va_copy
30780         instead of __va_copy in concat example.
30781
30782 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30783
30784         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30785         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30786         it if not null.
30787
30788         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30789         with O_NOLINK passed to __file_name_lookup.
30790
30791         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30792         with O_NOLINK passed to __file_name_lookup.
30793
30794         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30795         negative N or less than NGIDS.
30796
30797         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30798         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30799         enough.  Use memcpy instead of strncpy.
30800
30801 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30802
30803         * elf/Makefile (check-data): Remove.
30804         (localplt.data): New vpath directive.
30805         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30806         instead of $(check-data).
30807         * scripts/data/localplt-generic.data: Move to ...
30808         * sysdeps/generic/localplt.data: ... here.
30809         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30810         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30811         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30813         ... here.
30814         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30816         ... here.
30817         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30819         ... here.
30820         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30822         ... here.
30823         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30825         ... here.
30826         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30828         ... here.
30829
30830 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30831
30832         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30833         PPC32 and PPC64 files.
30834         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30835         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30836
30837 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30838
30839         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30840         __makecontext_ret to ...
30841         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30842         ... here and call exit if uc_link is NULL.  New file.
30843         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30844         __makecontext_ret.S.
30845         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30846         __makecontext_ret to ...
30847         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30848         ... here and call exit if uc_link is NULL.  New file.
30849         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30850         __makecontext_ret.S.
30851
30852 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30853
30854         * elf/elf.h (R_390_IRELATIVE): New definition.
30855         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30856         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30857         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30858         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30859         (elf_machine_lazy_rel): Likewise.
30860         * sysdeps/s390/dl-irel.h: New file.
30861         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30862         * sysdeps/s390/s390-64/memset.S: New asm code.
30863         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30864         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30865         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30866         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30867         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30868         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30869         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30870         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30871         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30872         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30873         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30874         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30875         * sysdeps/s390/s390-32/memset.S: New asm code.
30876         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30877
30878 2012-07-17  Marek Polacek  <polacek@redhat.com>
30879
30880         [BZ #14349]
30881         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30882         * sysdeps/s390/s390-64/configure.in: Likewise.
30883         * sysdeps/sparc/configure.in: Likewise.
30884         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30885         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30886         * sysdeps/i386/configure.in: Likewise.
30887         * sysdeps/x86_64/configure.in: Likewise.
30888         * sysdeps/sh/configure.in: Likewise.
30889         * sysdeps/s390/s390-32/configure: Regenerated.
30890         * sysdeps/s390/s390-64/configure: Likewise.
30891         * sysdeps/x86_64/configure: Likewise.
30892         * sysdeps/sh/configure: Likewise.
30893         * sysdeps/powerpc/powerpc64/configure: Likewise.
30894         * sysdeps/powerpc/powerpc32/configure: Likewise.
30895         * sysdeps/sparc/configure: Likwise.
30896         * sysdeps/i386/configure: Likewise.
30897
30898         * elf/dl-open.c: Comment fixes.
30899
30900 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30901
30902         * Makefile [CXX] (check-data): Remove.
30903         [CXX] (c++-types.data): New vpath directive.
30904         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30905         vpath.  Do not allow for C++ type data being missing.
30906         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30907         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30908         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30909         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30910         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30911         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30912         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30914         ... here.
30915         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30917         ... here.
30918         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30920         ... here.
30921         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30923         ... here.
30924         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30926         ... here.
30927         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30929         ... here.
30930         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30932         ... here.
30933         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30935
30936         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30937         definitions to architecture-specific files.
30938         (TLS_IE): Likewise.
30939         (TLS_LD): Likewise.
30940         (TLS_GD): Likewise.
30941         * sysdeps/i386/tls-macros.h: New file.
30942         * sysdeps/powerpc/tls-macros.h: Likewise.
30943         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30944         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30945         * sysdeps/sh/tls-macros.h: Likewise.
30946         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30947         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30948         * sysdeps/x86_64/tls-macros.h: Likewise.
30949
30950 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30951
30952         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30953         zero value for regular exit case.
30954
30955         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30956         (__start_context): Preserve zero value for regular exit case.
30957
30958 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30959             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30960
30961         * manual/setjmp.texi (setcontext): Clarify normal process
30962         termination when uc_link is the null pointer.
30963         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30964         exit call.
30965
30966 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30967
30968         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30969         preprocessor.  Test for each exception mask separately.
30970
30971 2012-07-16  Andreas Jaeger  <aj@suse.de>
30972
30973         * po/ru.po: Update from translation team.
30974
30975 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30976
30977         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30978         equal to 0.
30979         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30980         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30981         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30982         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30983         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30984
30985 2012-07-13  Andreas Jaeger  <aj@suse.de>
30986
30987         * po/fr.po: Update from translation team.
30988
30989 2012-07-12  Marek Polacek  <polacek@redhat.com>
30990
30991         [BZ #14173]
30992         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30993         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30994         loop condition.
30995
30996 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30997
30998         [BZ #13717]
30999         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31000         Change to 2.4.1 where previously 2.4.0.
31001         * sysdeps/unix/sysv/linux/configure: Regenerated.
31002         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31003         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31004         version.
31005         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31006         (__ASSUME_AT_CLKTCK): Remove.
31007         (__ASSUME_AT_PAGESIZE): Likewise.
31008         (__ASSUME_AT_XID): Likewise.
31009         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31010         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31011         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31012         unconditionally.
31013         (HAVE_AUX_PAGESIZE): Likewise.
31014         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31015         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31016         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31017
31018 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31019
31020         [BZ #14307]
31021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31022         the temporary buffer used to invoke __gethostbyname2_r,
31023         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31024         host_data / struct gaih_addrtuple.
31025         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31026         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31027         header file nss/nsswitch.h.
31028         * nss/nsswitch.h (global scope): Add definition of implementation
31029         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31030         resolv/nss_dns/dns-host.c).
31031
31032 2012-07-11  Andreas Jaeger  <aj@suse.de>
31033
31034         * po/fr.po: Update from translation team.
31035
31036         * po/sv.po: Update from translation team
31037         * po/fr.po: Another update from translation team.
31038
31039 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31040
31041         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31042         for subnormals or multiply small sinh result by itself.
31043         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31045
31046 2012-07-11  David S. Miller  <davem@davemloft.net>
31047
31048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31049
31050 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31051
31052         [BZ #14347]
31053         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31054         (INTERNAL_MARK): Shift it here.
31055
31056 2012-07-10  Marek Polacek  <polacek@redhat.com>
31057
31058         [BZ #14151]
31059         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31060         libc_cv_asm_global_directive with .globl.
31061         * configure: Regenerated.
31062         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31063         with .globl.
31064         * sysdeps/i386/configure: Regenerated.
31065         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31066         with .globl.
31067         * sysdeps/x86_64/configure: Regenerated.
31068         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31069         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31070         * elf/tst-unique2mod2.c: Likewise.
31071         * elf/tst-unique2mod1.c: Likewise.
31072         * elf/tst-unique1mod2.c: Likewise.
31073         * elf/tst-unique1mod1.c: Likewise.
31074         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31075         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31077         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31078         * sysdeps/mach/sysdep.h: Likewise.
31079         * sysdeps/i386/sysdep.h: Likewise.
31080         * sysdeps/i386/i386-mcount.S: Likewise.
31081         * sysdeps/x86_64/_mcount.S: Likewise.
31082         * sysdeps/x86_64/sysdep.h: Likewise.
31083         * sysdeps/sh/_mcount.S: Likewise.
31084         * sysdeps/sh/sysdep.h: Likewise.
31085         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31086         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31087         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31088         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31089         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31090         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31091         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31092         * locale/localeinfo.h: Likewise.
31093         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31094         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31095
31096 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31097
31098         [BZ #14336]
31099         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31100         system".
31101         * manual/message.texi (The Uniforum approach): Likewise.
31102         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31103         (glibc iconv Implementation): Likewise.
31104
31105 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31106
31107         [BZ #14337]
31108         * math/s_clog.c (__clog): Avoid scaling a value down where that
31109         could result in underflow.
31110         * math/s_clog10.c (__clog10): Likewise.
31111         * math/s_clog10f.c (__clog10f): Likewise.
31112         * math/s_clog10l.c (__clog10l): Likewise.
31113         * math/s_clogf.c (__clogf): Likewise.
31114         * math/s_clogl.c (__clogl): Likewise.
31115         * math/libm-test.inc (clog_test): Add more tests.
31116         (clog10_test): Likewise.
31117         * sysdeps/i386/fpu/libm-test-ulps: Update.
31118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31119
31120 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31121
31122         [BZ #14283]
31123         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31124         by 7 not 8 to examine high bit of fractional part.
31125
31126         [BZ #14042]
31127         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31128         for call to __mcount_internal.
31129         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31130         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31131         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31132
31133 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31134
31135         [BZ #14154]
31136         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31137         approximation for values within 0x1p-13f of an odd multiple of
31138         pi/4.
31139         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31140         exception.  Add more tests.
31141         * sysdeps/i386/fpu/libm-test-ulps: Update.
31142
31143         [BZ #6778]
31144         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31145         inputs and return -1 for them.  Do not check for +Inf in case not
31146         reachable for +Inf.
31147         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31148         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31149         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31150         and return -1 for them.  Do not check for +Inf in case not
31151         reachable for +Inf.
31152         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31153         define.
31154         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31155         and return -1 for them.  Do not check for +Inf in case not
31156         reachable for +Inf.
31157         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31158         spurious underflow.
31159         * sysdeps/i386/fpu/libm-test-ulps: Update.
31160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31161
31162 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31163
31164         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31165
31166 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31167
31168         [BZ #14157]
31169         [BZ #14331]
31170         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31171         could result in spurious underflow.  Scale down values above
31172         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31173         * math/s_csqrtf.c (__csqrtf): Likewise.
31174         * math/s_csqrtl.c (__csqrtl): Likewise.
31175         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31176         spurious underflow.
31177         * sysdeps/i386/fpu/libm-test-ulps: Update.
31178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31179
31180 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31181
31182         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31183         xopen-msg.sed.
31184         * catgets/xopen-msg.awk: New file.
31185         * catgets/xopen-msg.sed: Removed.
31186
31187         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31188         po2text.sed.
31189         * intl/po2test.awk: New file.
31190         * intl/po2test.sed: Removed.
31191
31192 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31193
31194         [BZ #14328]
31195         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31196         or multiply small sinh result by itself.
31197         * math/s_ctanf.c (__ctanf): Likewise.
31198         * math/s_ctanh.c (__ctanh): Likewise.
31199         * math/s_ctanhf.c (__ctanhf): Likewise.
31200         * math/s_ctanhl.c (__ctanhl): Likewise.
31201         * math/s_ctanl.c (__ctanl): Likewise.
31202         * math/libm-test.inc (ctan_test_tonearest): New function.
31203         (ctan_test_towardzero): Likewise.
31204         (ctan_test_downward): Likewise.
31205         (ctan_test_upward): Likewise.
31206         (ctanh_test_tonearest): Likewise.
31207         (ctanh_test_towardzero): Likewise.
31208         (ctanh_test_downward): Likewise.
31209         (ctanh_test_upward): Likewise.
31210         (main): Call these new functions.
31211         * sysdeps/i386/fpu/libm-test-ulps: Update.
31212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31213
31214 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31215
31216         * .gitignore: Delete /ports entry.
31217
31218 2012-07-03  Andreas Jaeger  <aj@suse.de>
31219
31220         * po/bg.po: Update from translation team.
31221         * po/cs.po: Likewise.
31222         * po/de.po: Likewise.
31223         * po/hr.po: Likewise.
31224         * po/nl.pl: Likewise.
31225         * po/pl.po: Likewise.
31226         * po/vi.po: Likewise.
31227
31228 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31229
31230         * Makeconfig [!+link] (+link-before-libc): New variable.
31231         [!+link] (+link-after-libc): Likewise.
31232         [!+link] (+link-tests): Likewise.
31233         [!+link] (+link): Define in terms of $(+link-before-libc) and
31234         $(+link-after-libc).
31235         [!+link-static] (+link-static-before-libc): New variable.
31236         [!+link-static] (+link-static-after-libc): Likewise.
31237         [!+link-static] (+link-static-tests): Likewise.
31238         [!+link-static] (+link-static): Define in terms of
31239         $(+link-static-before-libc) and $(+link-static-after-libc).
31240         [build-shared] (link-libc-before-gnulib): New variable.
31241         [build-shared] (link-libc-tests): Likewise.
31242         [build-shared] (link-libc): Define in terms of
31243         $(link-libc-before-gnulib).
31244         [!build-shared] (link-libc-tests): New variable.
31245         (link-libc-static-tests): New variable.
31246         [!gnulib] (gnulib-arch): New variable.
31247         [!gnulib] (gnulib-tests): Likewise.
31248         [!gnulib] (static-gnulib-arch): Likewise.
31249         [!gnulib] (static-gnulib-tests): Likewise.
31250         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31251         Define with "=" instead of ":=".
31252         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31253         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31254         * Rules (binaries-all-notests): New variable.
31255         (binaries-all-tests): Likewise.
31256         (binaries-static-notests): Likewise.
31257         (binaries-static-tests): Likewise.
31258         (binaries-all): Define using $(binaries-all-notests) and
31259         $(binaries-all-tests).
31260         (binaries-static): Define using $(binaries-static-notests) and
31261         $(binaries-static-tests).
31262         (binaries-shared-tests): New variable.
31263         (binaries-shared-notests): Likewise.
31264         (binaries-shared): Remove variable.
31265         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31266         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31267         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31268         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31269         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31270         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31271         * elf/Makefile (sln-modules): New variable.
31272         (extra-objs): Add $(sln-modules:=.o).
31273         (ldconfig-modules): Add static-stubs.
31274         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31275         * elf/static-stubs.c: New file.
31276
31277         [BZ #14283]
31278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31279         by 7 not 8 to examine high bit of fractional part.  Use volatile
31280         variables when splitting into final array of floats if
31281         __FLT_EVAL_METHOD__ != 0.
31282         * math/libm-test.inc (cos_test): Add another test.
31283         (sin_test): Likewise.
31284         * sysdeps/i386/fpu/libm-test-ulps: Update.
31285
31286         [BZ #14273]
31287         * math/libm-test.inc (cosh_test): Add more tests.
31288
31289         * version.h (RELEASE): Set to "development".
31290         (VERSION): Set to "2.16.90".
31291
31292 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31293
31294         * NEWS: Update copyright. Remove last-updated date.
31295         Mention math library bug fixes and timezone data changes.
31296         * README: Mention GNU/Hurd, x32, and HPPA support status.
31297
31298 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31299
31300         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31301
31302 2012-06-27  Andreas Jaeger  <aj@suse.de>
31303
31304         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31305
31306 2012-06-25  Andreas Jaeger  <aj@suse.de>
31307
31308         * sysdeps/s390/fpu/libm-test-ulps: Update.
31309
31310 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31311             Thomas Schwinge  <thomas@codesourcery.com>
31312
31313         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31314         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31315         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31316         fanotify_mark.
31317
31318 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31319
31320         * sysdeps/mach/start.c: Remove file.
31321         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31322         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31323         * sysdeps/sh/init-first.c: Likewise.
31324
31325         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31326         registers for frame unwinding purposes, add CFI directives.
31327         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31328         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31329         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31330         Likewise.
31331
31332         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31333         __fortify_fail returning.
31334         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31335
31336         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31337         sysdeps/sh/____longjmp_chk.S.
31338         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31339         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31340         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31341         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31342
31343         * sysdeps/sh/abort-instr.h: New file.
31344         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31345         process in case exit returns.
31346
31347         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31348         initialize the GOT register before use.
31349
31350         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31351         calculation of ARGC > 4.
31352
31353         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31354         meaningful names to some local labels.
31355
31356 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31357             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31358
31359         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31360         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31361         (__arch_compare_and_exchange_val_16_acq): Likewise.
31362         (__arch_compare_and_exchange_val_32_acq): Likewise.
31363         (atomic_exchange_and_add): Fix gUSA sequence.
31364         (atomic_add): Likewise.
31365         (atomic_add_negative): Likewise.
31366         (atomic_add_zero): Likewise.
31367         (atomic_bit_test_set): Likewise.
31368
31369 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31370
31371         [BZ #13579]
31372         * include/link.h (struct link_map): Add l_free_initfini.
31373         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31374         l_initfini.
31375         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31376         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31377         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31378         set.
31379
31380 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31381
31382         * configure.in: Use AC_LANG_SOURCE.
31383         * configure: Regenerate.
31384
31385 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31386
31387         * configure.in (libc_cv_localstatedir): New substituted variable.
31388         * configure: Regenerated.
31389         * config.make.in (localstatedir): New variable, substituted from
31390         libc_cv_localstatedir.
31391         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31392         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31393         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31394         * sysdeps/gnu/configure: Regenerated.
31395
31396 2012-06-21  Jeff Law  <law@redhat.com>
31397
31398         [BZ #14277]
31399         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31400         free.  Simplify list management for _LIBC case.
31401
31402 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31403
31404         [BZ #14273]
31405         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31406         Clear sign bit of 64-bit integer value before comparing against
31407         overflow value.
31408
31409         * sysdeps/mach/configure: Regenerated.
31410
31411 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31412
31413         [BZ #14278]
31414         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31415
31416 2012-06-21  Jeff Law  <law@redhat.com>
31417
31418         [BZ #13882]
31419         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31420         uint16_t for elements in the "seen" array to avoid char overflows.
31421         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31422         * elf/dl-open.c (dl_open_worker): Likewise.
31423
31424 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31425
31426         * scripts/list-sources.sh: Scan PORTS for translations.
31427         * po/libc.pot: Regenerated.
31428
31429 2012-06-21  Andreas Jaeger  <aj@suse.de>
31430
31431         [BZ #12194]
31432         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31433         warning.
31434         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31435         * bits/byteswap-16.h (__bswap_16): Likewise.
31436         * bits/byteswap.h (__bswap_constant_16): Likewise.
31437
31438 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31439
31440         [BZ #14117]
31441         * sysdeps/i386/fpu_control.h: Removed.
31442         * sysdeps/x86_64/fpu_control.h: Moved to ...
31443         * sysdeps/x86/fpu_control.h: Here.
31444
31445         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31446         (_FPU_SETCW): Likewise.
31447
31448 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31449
31450         [BZ #14117]
31451         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31452         * sysdeps/x86/fpu/bits/mathinline.h: This.
31453         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31454
31455         [BZ #14050]
31456         [BZ #14117]
31457         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31458         functions if __x86_64__ is defined.
31459
31460 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31461
31462         * string/endian.h: Add !__ASSEMBLER__ condition for including
31463         conversion interfaces.
31464
31465 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31466
31467         [BZ #14241]
31468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31469         of ABS(x) in calculating zero to negative powers other than odd
31470         integers.
31471         * math/libm-test.inc (pow_test): Add more tests.
31472
31473 2012-06-15  Andreas Jaeger  <aj@suse.de>
31474
31475         * manual/contrib.texi (Contributors): Update entry of Liubov
31476         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31477         Machado Filho.
31478
31479 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31480
31481         * string/string.h: Add __wur to GNU version of strerror_r.
31482
31483 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31484
31485         [BZ #14229]
31486         * string/Makefile (tests): Add tst-strtok_r.
31487         * string/tst-strtok_r.c: New file.
31488         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31489         RAX_LP/RDX_LP on SAVE_PTR.
31490
31491 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31492
31493         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31494
31495 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31496
31497         * libm_test.inc (csqrt_test): Allow more spurious underflow
31498         exceptions.
31499         (j0_test): Likewise.
31500         (j1_test): Likewise.
31501         (y0_test): Likewise.
31502         (y1_test): Likewise.
31503
31504 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31505
31506         * po/Makefile (libc.pot): Use UTF-8 charset.
31507
31508 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31509
31510         [BZ #14210]
31511         Suppress sign-conversion warning from FD_SET.
31512         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31513         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31514         not unsigned long int.
31515         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31516
31517 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31518
31519         [BZ #14050]
31520         [BZ #14117]
31521         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31522         __extern_always_inline instead of __extern_inline.
31523         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31524         (__signbit): Likewise.
31525         (__signbitl): Support C++ namespace.
31526         (lrintf): New inline function.
31527         (lrint): Likewise.
31528         (llrintf): Likewise.
31529         (llrint): Likewise.
31530         (fmaxf): Likewise.
31531         (fmax): Likewise.
31532         (fminf): Likewise.
31533         (fmin): Likewise.
31534         (rint): Likewise.
31535         (rintf): Likewise.
31536         (ceil): Likewise.
31537         (ceilf): Likewise.
31538         (floor): Likewise.
31539         (floorf): Likewise.
31540         (nearbyint): Likewise.
31541         (nearbyintf): Likewise.
31542
31543 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31544
31545         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31546         non-default versions.
31547
31548 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31549
31550         [BZ #14218]
31551         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31552
31553 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31554
31555         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31556         (FE_UPWARD, FE_DOWNWARD): Don't define.
31557         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31558         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31559
31560         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31561         reading it.
31562         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31563         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31564
31565 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31566
31567         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31568         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31569         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31570         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31571
31572 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31573
31574         [BZ #14117]
31575         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31576         * sysdeps/i386/fpu/Implies: New file.
31577         * sysdeps/x86_64/fpu/Implies: Likewise.
31578         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31579         * sysdeps/x86/fpu/bits/fenv.h: This.
31580
31581         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31582         __SSE_MATH__.
31583
31584 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31585
31586         [BZ #14134]
31587         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31588         character 0xffff that matches the last element of the
31589         conversion table.
31590
31591 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31592
31593         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31594         fmodl commit.
31595
31596 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31597
31598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31599         values higher than 25.6283.
31600
31601 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31602
31603         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31604         subnormal exponent extraction and add some __builtin_expect.
31605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31606         Fix for subnormal mantissa calculation.
31607
31608 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31609
31610         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31611         cpu2 is -1 and errno is not ENOSYS.
31612
31613 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31614
31615         [BZ #14117]
31616         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31617         * sysdeps/x86/bits/string.h: This.
31618         * sysdeps/x86_64/bits/string.h: Removed.
31619
31620         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31621         if not compiling for x86-64, but compiling for >= i486.
31622
31623         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31624         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31625
31626         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31627         New macro from Linux kernel 3.4.0.
31628         (FP_XSTATE_MAGIC2): Likewise.
31629         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31630         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31631         (struct _fpx_sw_bytes): New struct.
31632         (struct _xsave_hdr): Likewise.
31633         (struct _ymmh_state): Likewise.
31634         (struct _xstate): Likewise.
31635
31636         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31637         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31638         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31639         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31640         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31641         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31642
31643         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31644         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31645         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31646         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31647         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31648         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31649
31650 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31651
31652         [BZ #13743]
31653         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31654         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31655         (sysdep_headers): Include sys/platform/ppc.h.
31656         * sysdeps/powerpc/test-gettimebase.c: Test for
31657         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31658         * manual/Makefile (appendices): Include platform.texi.
31659         * manual/contrib.texi (Contributors): Update @node pointers.
31660         * manual/maint.texi (Maintenance): Likewise.
31661         (Platform): New node.
31662         * manual/platform.texi: New file.  Document the new features.
31663
31664 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31665             Jakub Jelinek  <jakub@redhat.com>
31666
31667         [BZ #14188]
31668         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31669         where __builtin_expect is unavailable.
31670
31671 2012-06-03  David S. Miller  <davem@davemloft.net>
31672
31673         * stdlib/longlong.h: Updated from GCC.
31674
31675 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31676
31677         [BZ #14042]
31678         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31679         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31680         __mcount_internal.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31682         (GLIBC_2.16): Likewise.
31683
31684 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31685
31686         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31687
31688 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31689
31690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31691         (default-abi): New variable.
31692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31693         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31694         variable.
31695         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31696         Likewise.
31697         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31698         Likewise.
31699         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31700         Likewise.
31701
31702         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31703         definition.  Document in comment.
31704
31705 2012-06-01  David S. Miller  <davem@davemloft.net>
31706
31707         * stdlib/longlong.h: Updated from GCC.
31708
31709 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31710
31711         [BZ #14117]
31712         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31713         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31714         sys/debugreg.h sys/io.h here.
31715         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31716         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31717         sys/io.h.
31718         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31719         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31720         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31721         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31722         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31723         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31724
31725         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31726         Define only if __x86_64__ is defined.
31727
31728 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31729
31730         [BZ #14048]
31731         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31732         Use int64_t for variable i.
31733         * math/libm-test.inc (fmod_test): Add more tests.
31734
31735         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31736         z computation is not scheduled after fetestexcept.
31737         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31738         Use math_force_eval instead of asm to ensure calculation scheduled
31739         before exception test.
31740         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31741         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31742
31743 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31744
31745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31746         computation is not scheduled after fetestexcept.
31747
31748 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31749
31750         [BZ #14117]
31751         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31752         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31753
31754 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31755
31756         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31757         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31758
31759 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31760
31761         [BZ #14117]
31762         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31763         <bits/wordsize.h>.
31764         (__WCHAR_MIN): Support __WORDSIZE == 64.
31765         (__WCHAR_MAX): Likewise.
31766
31767         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31768         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31769
31770         [BZ #14183]
31771         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31772         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31773
31774         [BZ #14117]
31775         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31777
31778         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31779         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31780
31781         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31782         Defined to 1 if __x86_64__ isn't defined.
31783         (_STAT_VER_LINUX_OLD): New.
31784         (st_atime): Remove duplicate.
31785         (st_mtime): Likewise.
31786         (st_ctime): Likewise.
31787
31788 2012-05-31  David S. Miller  <davem@davemloft.net>
31789
31790         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31791         entries.
31792
31793 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31794
31795         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31796         gen-libm-test.pl.
31797
31798         [BZ #14132]
31799         * elf/dl-reloc.c: Include <_itoa.h>.
31800         (_dl_reloc_bad_type): Remove use of INTUSE.
31801         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31802         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31803         * stdio-common/psiginfo.c (psiginfo): Likewise.
31804         * stdio-common/psignal.c (psignal): Likewise.
31805         * string/strsignal.c (strsignal): Likewise.
31806         * include/signal.h (_sys_siglist): Declare hidden proto.
31807         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31808         INTVARDEF with libc_hidden_data_def.
31809         * stdio-common/itoa-udigits.c: Likewise.
31810         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31811         (_itoa_lower_digits_internal): Remove declaration.
31812         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31813         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31814         (_sys_sigabbrev_internal): Remove aliases.
31815         (_sys_siglist): Define hidden alias.
31816
31817 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31818
31819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31820         bits/sysctl.h.
31821
31822 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31823
31824         [BZ #14117]
31825         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31826         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31827
31828         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31829         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31830         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31831         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31833         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31834
31835         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31836         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31837         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31838
31839         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31840         with __addr.
31841         (insw): Likewise.
31842         (insl): Likewise.
31843         (outsb): Likewise.
31844         (outsw): Likewise.
31845         (outsl): Likewise.
31846
31847         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31848         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31849         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31850
31851         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31852         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31853         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31854         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31855         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31856         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31857
31858         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31859         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31860
31861         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31862         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31863
31864         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31865         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31866         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31867
31868         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31869         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31870         to ...
31871         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31872
31873         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31874         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31875         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31876
31877         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31878         for x86-64.
31879         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31880
31881 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31882
31883         * math/math.h (M_El): Use two more decimal places.
31884         (M_LOG2El): Likewise.
31885         (M_LOG10El): Likewise.
31886         (M_LN2l): Likewise.
31887         (M_LN10l): Likewise.
31888         (M_PIl): Likewise.
31889         (M_PI_2l): Likewise.
31890         (M_PI_4l): Likewise.
31891         (M_1_PIl): Likewise.
31892         (M_2_PIl): Likewise.
31893         (M_2_SQRTPIl): Likewise.
31894         (M_SQRT2l): Likewise.
31895         (M_SQRT1_2l): Likewise.
31896
31897 2012-05-31  David S. Miller  <davem@davemloft.net>
31898
31899         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31900         values between float registers.
31901         * sysdeps/sparc/sparc64/memset.S: Likewise.
31902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31903
31904 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31905
31906         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31907         -D_FORTIFY_SOURCE=1.
31908         (CPPFLAGS-tst-longjmp_chk.c): Define.
31909         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31910         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31911         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31912         CFLAGS-tst-wchar-h.c.
31913
31914 2012-05-31  Marek Polacek  <polacek@redhat.com>
31915
31916         [BZ #14132]
31917         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31918         __endmntent_internal): Remove declaration.
31919         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31920         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31921         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31922
31923 2012-05-30  David S. Miller  <davem@davemloft.net>
31924
31925         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31926         (___Q_simulate_exceptions): Use real FP ops rather than writing
31927         into the %fsr.
31928         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31929         Likewise.
31930
31931 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31932
31933         [BZ #14117]
31934         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31935         * sysdeps/x86/bits/xtitypes.h: This.
31936
31937         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31938         * sysdeps/x86/bits/wordsize.h: This.
31939
31940         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31941         * sysdeps/x86/bits/huge_vall.h: This.
31942
31943         * sysdeps/i386/bits/select.h: Removed.
31944         * sysdeps/x86_64/bits/select.h: Renamed to ...
31945         * sysdeps/x86/bits/select.h: This.
31946
31947         * sysdeps/i386/bits/setjmp.h: Removed.
31948         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31949         * sysdeps/x86/bits/setjmp.h: This.
31950
31951         * sysdeps/i386/bits/mathdef.h: Removed.
31952         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31953         * sysdeps/x86/bits/mathdef.h: This.
31954
31955 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31956
31957         [BZ #14132]
31958         * include/sys/socket.h (__connect_internal)
31959         (__libc_sa_len_internal): Remove declaration.
31960         (__connect, __libc_sa_len): Declare hidden_proto.
31961         (SA_LEN): Remove use of INTUSE.
31962         * socket/connect.c: Add libc_hidden_def.
31963         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31964         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31965         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31966         alias.
31967         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31968         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31969         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31970         of adding _internal alias.
31971
31972 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31973
31974         [BZ #14117]
31975         * sysdeps/i386/bits/link.h: Removed.
31976         * sysdeps/i386/bits/linkmap.h: Likewise.
31977         * sysdeps/x86_64/bits/link.h: Renamed to ...
31978         * sysdeps/x86/bits/link.h: This.
31979         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31980         * sysdeps/x86/bits/linkmap.h: This.
31981
31982         * sysdeps/i386/bits/endian.h: Removed.
31983         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31984         * sysdeps/x86/bits/endian.h: This.
31985
31986         * sysdeps/i386/bits/byteswap.h: Removed.
31987         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31988         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31989         * sysdeps/x86/bits/byteswap.h: This.
31990         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31991         * sysdeps/x86/bits/byteswap-16.h: This.
31992         * sysdeps/i386/Implies: Add x86.
31993         * sysdeps/x86_64/Implies: Likewise.
31994
31995 2012-05-30  David S. Miller  <davem@davemloft.net>
31996
31997         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31998         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31999         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32000         (FP_TRAPPING_EXCEPTIONS): Define.
32001         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32002         (FP_TRAPPING_EXCEPTIONS): Define.
32003         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32004         subnormals only when inexact has been signalled or underflow
32005         exceptions are enabled.
32006         (_FP_PACK_CANONICAL): Likewise.
32007
32008 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32009
32010         [BZ #14183]
32011         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32012         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32013
32014 2012-05-30  Richard Henderson  <rth@twiddle.net>
32015
32016         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32017         with #ifndef NOT_IN_libc.
32018
32019         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32020         marked to avoid plt entry.
32021
32022 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32023
32024         [BZ #14112]
32025         * Makeconfig (default-abi): New macro.
32026         (abi-includes): Likewise.
32027         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32028         $(abi-$(default-abi)-lib-soname) for soname if defined.
32029         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32030         abi-variants.
32031         * Makefile (installed-stubs): Likewise.
32032         * include/stubs-biarch.h: Removed.
32033         * scripts/lib-names.awk: Only handle one library at a time.
32034         * scripts/soversions.awk: Remove WORDSIZE support.
32035         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32036         entries.
32037         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32038         Removed.
32039         (syscall-list-default-condition): Likewise.
32040         (syscall-list-default-condition): Likewise.
32041         (syscall-list-includes): Likewise.
32042         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32043         syscall-list-* with abi-*.  Handle undefined abi-variants.
32044         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32045         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32046         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32047         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32048         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32049         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32050         Removed.
32051         (syscall-list-32-options): Likewise.
32052         (syscall-list-32-condition): Likewise.
32053         (syscall-list-64-options): Likewise.
32054         (syscall-list-64-condition): Likewise.
32055         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32056         macro.
32057         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32058         Renamed to ...
32059         (abi-*): This.
32060         (abi-64-ld-soname): New macro.
32061         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32062         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32063         Renamed to ...
32064         (abi-*): This.
32065         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32066         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32067
32068 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32069
32070         * sysdeps/unix/sysv/linux/kernel-features.h
32071         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32072         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32073         include <kernel-features.h>.
32074         [!__NR_ftruncate64]: Remove conditional code.
32075         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32076         [__NR_ftruncate64]: Make code unconditional.
32077         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32078         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32079         include <kernel-features.h>.
32080         [!__NR_ftruncate64]: Remove conditional code.
32081         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32082         [__NR_ftruncate64]: Make code unconditional.
32083         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32085         include <kernel-features.h>.
32086         [!__NR_ftruncate64]: Remove conditional code.
32087         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32088         [__NR_ftruncate64]: Make code unconditional.
32089         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32091         include <kernel-features.h>.
32092         [!__NR_ftruncate64]: Remove conditional code.
32093         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32094         [__NR_ftruncate64]: Make code unconditional.
32095         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32096
32097         * configure.in (libc_cv_fpie): Weaken to a compile test using
32098         LIBC_TRY_CC_OPTION.
32099         * configure: Regenerated.
32100
32101 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32102
32103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32107         Refreshed.
32108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32114         Refreshed.
32115
32116 2012-05-27  David S. Miller  <davem@davemloft.net>
32117
32118         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32119         (___Q_zero): New.
32120         (__Q_simulate_exceptions): Return void.  Change to simulate
32121         exceptions by writing into the %fsr.
32122         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32123         (__Qp_handle_exceptions): Likewise.
32124         (numbers): Delete.
32125         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32126         __Qp_handle_exceptions.
32127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32128         __Qp_handle_exceptions.
32129         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32130         as unused and give dummy FP_RND_NEAREST initializer.
32131         (FP_INHIBIT_RESULTS): Define.
32132         (___Q_simulate_exceptions): Update declaration.
32133         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32134         formatting.
32135         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32136         as unused and give dummy FP_RND_NEAREST initializer.
32137         (__Qp_handle_exceptions): Update declaration.
32138         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32139         formatting.
32140
32141 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32142
32143         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32144         the temporary FPU control word.
32145         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32146         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32147         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32148         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32149         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32150         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32151         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32152         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32153         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32154         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32155         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32156
32157 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32158
32159         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32160         fields.
32161
32162 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32163
32164         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32165         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32166         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32167         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32168         Likewise.
32169         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32170         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32171         Likewise.
32172
32173 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32174
32175         * po/h.po: Update from translation team.
32176
32177 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32178
32179         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32180
32181         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32182         handling of denormals.
32183         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32184         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32185         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32186         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32188         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32189         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32190         Likewise.
32191
32192 2012-05-26  Marek Polacek  <polacek@redhat.com>
32193
32194         [BZ #14152]
32195         * math/libm-test.inc (fma_test): Don't always expect underflow
32196         exception.
32197
32198 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32199
32200         [BZ #12416]
32201         * elf/tst-execstack.c: Include stackinfo.h.
32202         (do_test): Adjust test case to ensure that pthread_getattr_np
32203         behaviour remains the same after marking stack executable.
32204
32205 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32206
32207         * sysdeps/unix/sysv/linux/kernel-features.h
32208         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32209         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32210         kernel-features.h.
32211         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32212         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32213         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32214         kernel-features.h.
32215         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32216         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32217
32218 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32219
32220         * configure.in: Define the default includes to being none.
32221         * configure: Regenerated.
32222
32223 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32224
32225         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32226         * sysdeps/x86_64/setjmp.S: Likewise.
32227         * sysdeps/i386/bsd-setjmp.S: Likewise.
32228         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32229         * sysdeps/i386/setjmp.S: Likewise.
32230         * sysdeps/i386/__longjmp.S: Likewise.
32231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32232         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32233
32234         * include/stap-probe.h: New file.
32235         * configure.in: Handle --enable-systemtap.
32236         * configure: Regenerated.
32237         * config.h.in (USE_STAP_PROBE): New #undef.
32238         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32239         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32240         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32241
32242 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32243
32244         [BZ #13717]
32245         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32246         to 2.4.0 where earlier.
32247         * sysdeps/unix/sysv/linux/configure: Regenerated.
32248         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32249         <kernel-features.h>.
32250         [__ASSUME_32BITUIDS]: Make code unconditional.
32251         [!__ASSUME_32BITUIDS]: Remove conditional code.
32252         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32253         <kernel-features.h>.
32254         [__ASSUME_32BITUIDS]: Make code unconditional.
32255         [!__ASSUME_32BITUIDS]: Remove conditional code.
32256         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32257         [__ASSUME_32BITUIDS]: Make code unconditional.
32258         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32259         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32260         <kernel-features.h>.
32261         [__ASSUME_32BITUIDS]: Make code unconditional.
32262         [!__ASSUME_32BITUIDS]: Remove conditional code.
32263         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32264         <kernel-features.h>.
32265         [__ASSUME_32BITUIDS]: Make code unconditional.
32266         [!__ASSUME_32BITUIDS]: Remove conditional code.
32267         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32268         <kernel-features.h>.
32269         [__ASSUME_32BITUIDS]: Make code unconditional.
32270         [!__ASSUME_32BITUIDS]: Remove conditional code.
32271         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32272         <kernel-features.h>.
32273         [__ASSUME_32BITUIDS]: Make code unconditional.
32274         [!__ASSUME_32BITUIDS]: Remove conditional code.
32275         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32276         <kernel-features.h>.
32277         [__ASSUME_32BITUIDS]: Make code unconditional.
32278         [!__ASSUME_32BITUIDS]: Remove conditional code.
32279         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32280         <kernel-features.h>.
32281         [__ASSUME_32BITUIDS]: Make code unconditional.
32282         [!__ASSUME_32BITUIDS]: Remove conditional code.
32283         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32284         <kernel-features.h>.
32285         [__ASSUME_32BITUIDS]: Make code unconditional.
32286         [!__ASSUME_32BITUIDS]: Remove conditional code.
32287         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32288         <kernel-features.h>.
32289         [__ASSUME_32BITUIDS]: Make code unconditional.
32290         [!__ASSUME_32BITUIDS]: Remove conditional code.
32291         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32292         <kernel-features.h>.
32293         [__ASSUME_32BITUIDS]: Make code unconditional.
32294         [!__ASSUME_32BITUIDS]: Remove conditional code.
32295         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32296         <kernel-features.h>.
32297         [__ASSUME_32BITUIDS]: Make code unconditional.
32298         [!__ASSUME_32BITUIDS]: Remove conditional code.
32299         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32300         <kernel-features.h>.
32301         [__NR_setresgid] (__setresgid): Do not declare.
32302         [__ASSUME_32BITUIDS]: Make code unconditional.
32303         [!__ASSUME_32BITUIDS]: Remove conditional code.
32304         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32305         <kernel-features.h>.
32306         [__NR_setresuid] (__setresuid): Do not declare.
32307         [__ASSUME_32BITUIDS]: Make code unconditional.
32308         [!__ASSUME_32BITUIDS]: Remove conditional code.
32309         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32310         <kernel-features.h>.
32311         [__ASSUME_32BITUIDS]: Make code unconditional.
32312         [!__ASSUME_32BITUIDS]: Remove conditional code.
32313         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32314         <kernel-features.h>.
32315         [__ASSUME_32BITUIDS]: Make code unconditional.
32316         [!__ASSUME_32BITUIDS]: Remove conditional code.
32317         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32318         <kernel-features.h>.
32319         [__ASSUME_32BITUIDS]: Make code unconditional.
32320         [!__ASSUME_32BITUIDS]: Remove conditional code.
32321         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32322         <kernel-features.h>.
32323         [__ASSUME_32BITUIDS]: Make code unconditional.
32324         [!__ASSUME_32BITUIDS]: Remove conditional code.
32325         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32326         <kernel-features.h>.
32327         [__ASSUME_32BITUIDS]: Make code unconditional.
32328         [!__ASSUME_32BITUIDS]: Remove conditional code.
32329         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32330         <kernel-features.h>.
32331         [__ASSUME_32BITUIDS]: Make code unconditional.
32332         [!__ASSUME_32BITUIDS]: Remove conditional code.
32333         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32334         <kernel-features.h>.
32335         [__ASSUME_32BITUIDS]: Make code unconditional.
32336         [!__ASSUME_32BITUIDS]: Remove conditional code.
32337         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32338         <kernel-features.h>.
32339         [__ASSUME_32BITUIDS]: Make code unconditional.
32340         [!__ASSUME_32BITUIDS]: Remove conditional code.
32341         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32342         <kernel-features.h>.
32343         [__ASSUME_32BITUIDS]: Make code unconditional.
32344         [!__ASSUME_32BITUIDS]: Remove conditional code.
32345         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32346         <kernel-features.h>.
32347         [__ASSUME_32BITUIDS]: Make code unconditional.
32348         [!__ASSUME_32BITUIDS]: Remove conditional code.
32349         * sysdeps/unix/sysv/linux/kernel-features.h
32350         (__ASSUME_SETRESUID_SYSCALL): Remove.
32351         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32352         (__ASSUME_32BITUIDS): Likewise.
32353         (__ASSUME_LDT_WORKS): Likewise.
32354         (__ASSUME_O_DIRECTORY): Likewise.
32355         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32356         architecture but not kernel version.
32357         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32358         (__ASSUME_MMAP2_SYSCALL): Likewise.
32359         (__ASSUME_STAT64_SYSCALL): Likewise.
32360         (__ASSUME_IPC64): Likewise.
32361         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32362         <kernel-features.h>.
32363         [__ASSUME_32BITUIDS]: Make code unconditional.
32364         [!__ASSUME_32BITUIDS]: Remove conditional code.
32365         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32366         <kernel-features.h>.
32367         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32368         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32369         132096]: Remove conditional code.
32370         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32371         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32372         <kernel-features.h>.
32373         [__ASSUME_32BITUIDS]: Make code unconditional.
32374         [!__ASSUME_32BITUIDS]: Remove conditional code.
32375         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32376         <kernel-features.h>.
32377         [__ASSUME_32BITUIDS]: Make code unconditional.
32378         [!__ASSUME_32BITUIDS]: Remove conditional code.
32379         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32380         <kernel-features.h>.
32381         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32382         unconditional.
32383         (__setresgid): Do not declare.
32384         [__ASSUME_32BITUIDS]: Make code unconditional.
32385         [!__ASSUME_32BITUIDS]: Remove conditional code.
32386         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32387         <kernel-features.h>.
32388         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32389         unconditional.
32390         (__setresuid): Do not declare.
32391         [__ASSUME_32BITUIDS]: Make code unconditional.
32392         [!__ASSUME_32BITUIDS]: Remove conditional code.
32393         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32394         <kernel-features.h>.
32395         [__ASSUME_32BITUIDS]: Make code unconditional.
32396         [!__ASSUME_32BITUIDS]: Remove conditional code.
32397         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32398         <kernel-features.h>.
32399         [__ASSUME_32BITUIDS]: Make code unconditional.
32400         [!__ASSUME_32BITUIDS]: Remove conditional code.
32401
32402 2012-05-25  Richard Henderson  <rth@twiddle.net>
32403
32404         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32405         dl_hwcap to ifunc resolver.
32406         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32407         elf_ifunc_invoke.
32408         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32409         dl_hwcap to ifunc resolver.
32410         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32411
32412 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32413
32414         [BZ #14153]
32415         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32416         for |x| <= 2**-26, not 2**-57.
32417         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32418         exception.
32419
32420 2012-05-24  Jeff Law  <law@redhat.com>
32421
32422         * stdio-common/Makefile (tests): Add bug25.
32423         * stdio-common/bug25.c: New test.
32424
32425 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32426
32427         [BZ #13576]
32428         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32429         multiple of MALLOC_ALIGNMENT in size.
32430         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32431
32432 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32433
32434         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32435         Require >= 256.
32436         (FILENAME_MAX): Use macro-int-constant.
32437         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32438         (_IOFBF): Use macro-int-constant.
32439         (_IOLBF): Likewise.
32440         (_IONBF): Likewise.
32441         (SEEK_CUR): Likewise.
32442         (SEEK_END): Likewise.
32443         (SEEK_SET): Likewise.
32444         (TMP_MAX): Likewise.
32445         (EOF): Use macro-int-constant.  Require < 0.
32446         (NULL): Use macro-constant.  Require == 0.
32447         (stdin): Require type to be FILE *.
32448         (stdout): Likewise.
32449         (stderr): Likewise.
32450         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32451         macro-int-constant.
32452         (EXIT_SUCCESS): Likewise.
32453         (NULL): Use macro-constant.  Require == 0.
32454         (RAND_MAX): Use macro-int-constant.
32455         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32456         [C99-based standards] (strtof): Require function.
32457         [C99-based standards] (strtold): Likewise.
32458         [C99-based standards] (strtoll): Likewise.
32459         [C99-based standards] (strtoull): Likewise.
32460         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32461         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32462         [ISO || ISO99 || ISO11] (math.h): Likewise.
32463         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32464         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32465         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32466
32467 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32468
32469         [BZ #14132]
32470         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32471         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32472         * intl/dgettext.c (DCGETTEXT): Likewise.
32473         * intl/gettext.c (DCGETTEXT): Likewise.
32474         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32475         * posix/regex_internal.h (gettext): Likewise.
32476         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32477         Remove declaration.
32478         * include/argz.h (__argz_count_internal)
32479         (__argz_stringify_internal): Remove declaration.
32480         (__argz_count, __argz_stringify): Declare hidden proto.
32481         * intl/dcgettext.c: Remove use of INTDEF.
32482         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32483         * string/argz-stringify.c: Likewise.
32484         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32485         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32486         Declare hidden proto.
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/stdio.h (__asprintf_internal): Don't declare.
32491         (__asprintf): Don't define as macro.  Declare hidden proto.
32492         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32493         (__fsetlocking): Declare hidden proto.
32494         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32495         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32496         hidden proto.
32497         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32498         (_IO_setlinebuf): Remove use of INTUSE.
32499         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32500         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32501         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32502         Remove declaration.
32503         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32504         (_IO_do_flush): Remove use of INTUSE.
32505         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32506         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32507         (_IO_adjust_column, _IO_least_wmarker)
32508         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32509         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32510         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32511         (_IO_default_doallocate, _IO_wdefault_doallocate)
32512         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32513         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32514         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32515         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32516         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32517         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32518         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32519         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32520         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32521         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32522         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32523         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32524         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32525         proto.
32526         (_IO_flush_all_internal, _IO_adjust_column_internal)
32527         (_IO_default_uflow_internal, _IO_default_finish_internal)
32528         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32529         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32530         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32531         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32532         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32533         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32534         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32535         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32536         (_IO_file_close_internal, _IO_file_close_it_internal)
32537         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32538         (_IO_file_init_internal, _IO_file_attach_internal)
32539         (_IO_file_fopen_internal, _IO_file_read_internal)
32540         (_IO_file_sync_internal, _IO_file_seek_internal)
32541         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32542         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32543         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32544         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32545         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32546         (_IO_list_all_internal, _IO_link_in_internal)
32547         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32548         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32549         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32550         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32551         (_IO_do_write_internal, _IO_padn_internal)
32552         (_IO_getline_info_internal, _IO_getline_internal)
32553         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32554         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32555         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32556         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32557         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32558         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32559         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32560         with libc_hidden_ver, remove use of INTUSE.
32561         * libio/genops.c: Likewise.
32562         * libio/freopen.c: Likewise.
32563         * libio/freopen64.c: Likewise.
32564         * libio/iofclose.c: Likewise.
32565         * libio/iofdopen.c: Likewise.
32566         * libio/iofflush.c: Likewise.
32567         * libio/iofflush_u.c: Likewise.
32568         * libio/iofgets.c: Likewise.
32569         * libio/iofgets_u.c: Likewise.
32570         * libio/iofopen.c: Likewise.
32571         * libio/iofopncook.c: Likewise.
32572         * libio/iofread.c: Likewise.
32573         * libio/iofread_u.c: Likewise.
32574         * libio/ioftell.c: Likewise.
32575         * libio/iofwrite.c: Likewise.
32576         * libio/iogetline.c: Likewise.
32577         * libio/iogets.c: Likewise.
32578         * libio/iogetwline.c: Likewise.
32579         * libio/iopadn.c: Likewise.
32580         * libio/iopopen.c: Likewise.
32581         * libio/ioseekoff.c: Likewise.
32582         * libio/ioseekpos.c: Likewise.
32583         * libio/iosetbuffer.c: Likewise.
32584         * libio/iosetvbuf.c: Likewise.
32585         * libio/ioungetc.c: Likewise.
32586         * libio/ioungetwc.c: Likewise.
32587         * libio/iovdprintf.c: Likewise.
32588         * libio/iovsprintf.c: Likewise.
32589         * libio/iovsscanf.c: Likewise.
32590         * libio/memstream.c: Likewise.
32591         * libio/obprintf.c: Likewise.
32592         * libio/oldfileops.c: Likewise.
32593         * libio/oldiofclose.c: Likewise.
32594         * libio/oldiofdopen.c: Likewise.
32595         * libio/oldiofopen.c: Likewise.
32596         * libio/oldiopopen.c: Likewise.
32597         * libio/oldstdfiles.c: Likewise.
32598         * libio/putc.c: Likewise.
32599         * libio/setbuf.c: Likewise.
32600         * libio/setlinebuf.c: Likewise.
32601         * libio/stdfiles.c: Likewise.
32602         * libio/strops.c: Likewise.
32603         * libio/vasprintf.c: Likewise.
32604         * libio/vscanf.c: Likewise.
32605         * libio/vsnprintf.c: Likewise.
32606         * libio/vswprintf.c: Likewise.
32607         * libio/wfiledoalloc.c: Likewise.
32608         * libio/wfileops.c: Likewise.
32609         * libio/wgenops.c: Likewise.
32610         * libio/wmemstream.c: Likewise.
32611         * libio/wstrops.c: Likewise.
32612         * libio/__fpurge.c: Likewise.
32613         * libio/__fsetlocking.c: Likewise.
32614         * assert/assert.c: Likewise.
32615         * debug/fgets_chk.c: Likewise.
32616         * debug/fgets_u_chk.c: Likewise.
32617         * debug/fread_chk.c: Likewise.
32618         * debug/fread_u_chk.c: Likewise.
32619         * debug/gets_chk.c: Likewise.
32620         * debug/obprintf_chk.c: Likewise.
32621         * debug/vasprintf_chk.c: Likewise.
32622         * debug/vdprintf_chk.c: Likewise.
32623         * debug/vsnprintf_chk.c: Likewise.
32624         * debug/vsprintf_chk.c: Likewise.
32625         * malloc/mtrace.c: Likewise.
32626         * misc/error.c: Likewise.
32627         * misc/syslog.c: Likewise.
32628         * stdio-common/asprintf.c: Likewise.
32629         * stdio-common/fxprintf.c: Likewise.
32630         * stdio-common/getw.c: Likewise.
32631         * stdio-common/isoc99_fscanf.c: Likewise.
32632         * stdio-common/isoc99_scanf.c: Likewise.
32633         * stdio-common/isoc99_vfscanf.c: Likewise.
32634         * stdio-common/isoc99_vscanf.c: Likewise.
32635         * stdio-common/isoc99_vsscanf.c: Likewise.
32636         * stdio-common/printf-prs.c: Likewise.
32637         * stdio-common/printf_fp.c: Likewise.
32638         * stdio-common/printf_fphex.c: Likewise.
32639         * stdio-common/printf_size.c: Likewise.
32640         * stdio-common/putw.c: Likewise.
32641         * stdio-common/scanf.c: Likewise.
32642         * stdio-common/sprintf.c: Likewise.
32643         * stdio-common/tmpfile.c: Likewise.
32644         * stdio-common/vfprintf.c: Likewise.
32645         * stdio-common/vfscanf.c: Likewise.
32646         * stdlib/strfmon_l.c: Likewise.
32647         * sunrpc/openchild.c: Likewise.
32648         * sunrpc/xdr_stdio.c: Likewise.
32649         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32650         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32651
32652 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32653
32654         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32655
32656         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32657         in the third column, to generate for the shared library an IFUNC
32658         that uses _dl_vdso_vsym.
32659         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32660         * Makeconfig (object-suffixes-noshared): New variable.
32661
32662         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32663         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32664         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32665         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32666
32667         [BZ #14132]
32668         * include/sys/time.h (__gettimeofday): Remove macro.
32669         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32670         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32671         Remove INTDEF.
32672         (__gettimeofday): Add libc_hidden_def.
32673         (gettimeofday): Add libc_hidden_weak.
32674         * sysdeps/mach/gettimeofday.c: Likewise.
32675         * sysdeps/posix/gettimeofday.c: Likewise.
32676         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32677         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32678         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32679         (__gettimeofday_internal): Remove strong_alias.
32680         (__gettimeofday): Add libc_hidden_def.
32681         (gettimeofday): Add libc_hidden_weak.
32682         * sysdeps/unix/syscalls.list (gettimeofday):
32683         Remove __gettimeofday_internal alias.
32684
32685 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32686             H.J. Lu  <hongjiu.lu@intel.com>
32687
32688         [BZ #12495]
32689         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32690         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32691         (largebin_index_32_big): New.
32692         (largebin_index): Use it for 16-byte alignment.
32693         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32694         correction with front_misalign.
32695
32696 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32697
32698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32700         Likewise.
32701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32702         Likewise.
32703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32704         Likewise.
32705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32706         Likewise.
32707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32708         Likewise.
32709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32710         Likewise.
32711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32712         Likewise.
32713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32714         Likewise.
32715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32716         Likewise.
32717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32718         Likewise.
32719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32720         Likewise.
32721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32722         Likewise.
32723
32724         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32725         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32726
32727 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32728
32729         [BZ #10846]
32730         [BZ #14036]
32731         * math/libm-test.inc (exp_test): Add test from bug 14036.
32732         (pow_test): Add test from bug 10846.
32733
32734         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32735         and other flags.
32736         (special_function): Do not include flags in test name.
32737         (parse_args): Likewise.
32738         * sysdeps/i386/fpu/libm-test-ulps: Update.
32739         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32740         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32741         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32743
32744         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32745         exceptions.
32746         * math/libm-test.inc ("Philosophy"): Update comment about
32747         exception testing.
32748         (UNDERFLOW_EXCEPTION): New macro.
32749         (UNDERFLOW_EXCEPTION_OK): Likewise.
32750         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32751         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32752         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32753         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32754         (INVALID_EXCEPTION_OK): Update value.
32755         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32756         (OVERFLOW_EXCEPTION_OK): Likewise.
32757         (IGNORE_ZERO_INF_SIGN): Likewise.
32758         (test_exceptions): Handle underflow exceptions.
32759         (acos_test): Update for underflow exception expectations.
32760         (cexp_test): Likewise.
32761         (clog_test): Likewise.
32762         (clog10_test): Likewise.
32763         (csqrt_test): Likewise.
32764         (ctan_test): Likewise.
32765         (ctanh_test): Likewise.
32766         (exp_test): Likewise.
32767         (exp10_test): Likewise.
32768         (exp2_test): Likewise.
32769         (expm1_test): Likewise.
32770         (fma_test): Likewise.
32771         (j0_test): Likewise.
32772         (jn_test): Likewise.
32773         (nexttoward_test): Likewise.
32774         (pow_test): Likewise.
32775         (scalbn_test): Likewise.
32776         (scalbln_test): Likewise.
32777         (tan_test): Likewise.
32778         (y1_test): Likewise.
32779         * sysdeps/i386/fpu/libm-test-ulps: Update.
32780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32781
32782 2012-05-23  David S. Miller  <davem@davemloft.net>
32783
32784         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32785         (__libc_sigaction): Remove unused local variables.
32786
32787 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32788
32789         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32790
32791 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32792
32793         mktime: avoid signed integer overflow
32794         * time/mktime.c (__mktime_internal): Do not mishandle the case
32795         where diff == INT_MIN.
32796
32797         mktime: simplify computation of average
32798         * time/mktime.c (ranged_convert): Use new time_t_avg function
32799         instead of rolling our own (probably-slower) code.
32800
32801         mktime: do not assume signed right shift propagates sign bit
32802         * time/mktime.c (isdst_differ): New static function.
32803         (__mktime_internal): No need to normalize tm_isdst now.
32804         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32805         tm_isdst values.
32806
32807         mktime: merge another wrapv change from gnulib
32808         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32809         from some compilers.
32810
32811         mktime: remove incorrect attempt at unusual arithmetics
32812         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32813         The code didn't really work on such machines anyway.
32814         (TYPE_MINIMUM): Assume two's complement.
32815         (twos_complement_arithmetic): Verify that long_int and time_t
32816         are two's complement (or unsigned, in the latter case).
32817
32818         mktime: check signed shifts on long_int and time_t, too
32819         * time/mktime.c (SHR): Check that shifts work as desired
32820         on the types long_int and time_t too, as SHR is used on
32821         such types.
32822
32823         mktime: do not assume 'long' is wide enough
32824         * time/mktime.c (verify): Move decl up.
32825         (long_int): New type.
32826         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32827         to remove assumption in the code that 'long' is wide enough to
32828         store year values.  This assumption is not true on x32 and on
32829         some non-glibc platforms.
32830
32831         mktime: merge wrapv change from gnulib
32832         * time/mktime.c (WRAPV): New macro.
32833         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32834         (guess_time_tm, __mktime_internal): Do not assume that signed
32835         integer overflow wraps around; modern compilers generate code
32836         where this assumption is no longer valid.
32837
32838 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32839
32840         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32841         Replace "jmp L(pseudo_end)" with "ret".
32842         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32843         Likewise.
32844
32845 2012-05-23  Andreas Jaeger  <aj@suse.de>
32846
32847         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32848         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32849
32850 2012-05-23  Andreas Jaeger  <aj@suse.de>
32851             Maximilian Attems  <max@stro.at>
32852
32853         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32854         New macros.
32855
32856 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32857
32858         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32859         code so that pseudo_end is just ret and the stack pointer is
32860         correct also for static library in error case.
32861
32862 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32863
32864         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32865         move to syscalls.list.
32866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32870
32871         * manual/install.texi (Running make install): Do not mention Linux
32872         kernel version for which pt_chown is not needed.
32873         (Linux): Do not mention problems with nscd with 2.0 kernels.
32874         * INSTALL: Regenerated.
32875
32876 2012-05-23  Andreas Jaeger  <aj@suse.de>
32877
32878         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32879         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32880         macro.
32881         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32882         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32883         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32884         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32885         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32886         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32887         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32888         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32889         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32890         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32891         * sysdeps/unix/sysv/linux/bits/in.h
32892         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32893
32894 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32895
32896         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32897         (PREPARE_VERSION): Just use assert instead, it will be elided
32898         under [NDEBUG] anyway.
32899
32900 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32901
32902         * sysdeps/unix/sysv/linux/Makefile: Include
32903         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32904         (sysdep_routines): Remove sysctl.
32905         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32906         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32907         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32908         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32909         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32910
32911 2012-05-22  Andreas Jaeger  <aj@suse.de>
32912
32913         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32914         that pseudo_end is just ret and the stack pointer is correct also
32915         for static library in error case.
32916
32917 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32918
32919         [BZ #14122]
32920         * nss/nsswitch.c (defconfig_entries): New variable.
32921         (__nss_database_lookup): Don't leak defconfig entries.
32922         (nss_parse_service_list): Don't leak on error paths.
32923         (free_database_entries): New function.
32924         (free_defconfig): New function.
32925         (free_mem): Move common code to free_database_entries.
32926
32927 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32928
32929         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32930         Add arch_prctl.
32931         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32932
32933         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32934         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32936         New macro.
32937         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32938         (INTERNAL_SYSCALL_TYPES): Likewise.
32939         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32940         (LOAD_REGS_TYPES_[1-6]): Likewise.
32941         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32942         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32943
32944 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32945
32946         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32947         copysignl for GLIBC_2_0.
32948         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32949         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32950         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32951         logbl for GLIBC_2_0.
32952         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32953         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32954
32955 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32956
32957         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32958         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32959
32960         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32961         Use "neg %eax".
32962
32963         * time/mktime.c: Update copyright years.
32964
32965 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32966
32967         mktime: merge comment-quoting-style change from gnulib
32968         * time/mktime.c: Quote 'like this' in comments.
32969         The GNU coding standards suggest that we no longer quote `like this',
32970         as "`" and "'" are typically rendered asymmetrically nowadays.
32971         The typical gnulib style is to quote 'like this' when quoting
32972         code, and "like this" when quoting English.
32973
32974         * time/mktime.c (compile-command): Add "-I.".
32975
32976         mktime: merge mktime-internal.h change from gnulib
32977         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32978
32979         mktime: merge time_r change from gnulib
32980         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32981
32982         mktime: merge DEBUG change from gnulib
32983         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32984         case system <time.h> has a #define.
32985
32986         mktime: merge <sys/types.h> change from gnulib
32987         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32988         since <time.t> is now guaranteed to define time_t.
32989
32990         mktime: merge HAVE_CONFIG_H change from gnulib
32991         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32992
32993 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32994
32995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32996         Use "neg %eax".
32997
32998         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32999         __rlim_t cast.
33000         (struct rusage): Use anonymous union to pad each field to
33001         __syscall_slong_t.
33002
33003 2012-05-21  David S. Miller  <davem@davemloft.net>
33004
33005         * Makefules (o-iterator): Remove .s cases.
33006         (compile-command.s): Delete.
33007         (COMPILE.s): Delete.
33008         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33009
33010 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33011
33012         * configure.in (libc_cv_predef_stack_protector): Only consider
33013         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33014         * configure: Regenerated.
33015
33016 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33017
33018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33019         New macro.  Use R*LP on int and pointer.
33020         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33021         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33022         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33023         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33024
33025         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33026         [__WORDSIZE_TIME64_COMPAT32] instead of
33027         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33028         (struct utmp): Likewise.
33029         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33030         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33031         Renamed to ...
33032         (__WORDSIZE_TIME64_COMPAT32): This.
33033         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33034         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33035         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33036         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33037         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33038         (__WORDSIZE_TIME64_COMPAT32): New macro.
33039
33040 2012-05-21  Andreas Jaeger  <aj@suse.de>
33041
33042         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33043         only if [SHARED]. Add prototype for __wcschr_ia32.
33044
33045 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33046
33047         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33048         of %rbp unmolested in the jmp_buf while mangling the low bits.
33049         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33050         unmolested high bits of %rbp while demangling the low bits.
33051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33052
33053 2012-05-21  Andreas Jaeger  <aj@suse.de>
33054
33055         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33056         * sunrpc/svc_simple.c: Use it for registerrpc.
33057         * sunrpc/xcrypt.c: Use it for passwd2des.
33058
33059         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33060
33061 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33062
33063         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33064         Don't define if [__SYSCALL_WORDSIZE != 32].
33065         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33066         New macro.
33067
33068 2012-05-21  Bruno Haible  <bruno@clisp.org>
33069             Andreas Jaeger  <aj@suse.de>
33070
33071         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33072         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33073         inptr and inend for must_buffer_ch.
33074         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33075         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33076         * stdio-common/Makefile (tests): Remove bug15.
33077         (bug15-ENV): Remove macro.
33078         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33079         anymore.
33080
33081 2012-05-19  Andreas Jaeger  <aj@suse.de>
33082             Roland McGrath  <roland@hack.frob.com>
33083
33084         * manual/contrib.texi: Completely rewritten. It contains now an
33085         alphabetical list of contributors and their contributions.
33086
33087 2012-05-21  Richard Henderson  <rth@twiddle.net>
33088
33089         * misc/getauxval.c (__getauxval): Use unsigned long int.
33090         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33091         (getauxval): Use unsigned long int.
33092
33093 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33094
33095         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33096
33097 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33098
33099         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33100         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33101         __alignof__ (long double).
33102
33103 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33104
33105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33106
33107 2012-05-20  Richard Henderson  <rth@twiddle.net>
33108
33109         * misc/getauxval.c: New file.
33110         * misc/sys/auxv.h: New file.
33111         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33112         (routines): Add getauxval.
33113         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33114         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33115         * elf/dl-sysdep.c (_dl_auxv): Remove.
33116         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33117         * elf/dl-support.c (_dl_auxv): New variable.
33118         (_dl_aux_init): Initialize it.
33119         * manual/startup.texi (Auxiliary Vector): New node.
33120         * sysdeps/generic/bits/hwcap.h: New file.
33121         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33122         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33123         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33124         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33125         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33126         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33128         Update.
33129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33132         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33137
33138 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33139
33140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33141
33142 2012-05-19  David S. Miller  <davem@davemloft.net>
33143
33144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33145
33146 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33147
33148         [BZ #14123]
33149         * math/s_ccosh.c: Include <float.h>
33150         (__ccosh): Avoid internal overflow calculating sinh and cosh
33151         values before multiplying by sin and cos values.
33152         * math/s_ccoshf.c: Likewise.
33153         * math/s_ccoshl.c: Likewise.
33154         * math/s_csin.c: Likewise.
33155         * math/s_csinf.c: Likewise.
33156         * math/s_csinl.c: Likewise.
33157         * math/s_csinh.c: Likewise.
33158         * math/s_csinhf.c: Likewise.
33159         * math/s_csinhl.c: Likewise.
33160         * math/libm-test.inc (ccos_test): Add more tests.
33161         (ccosh_test): Likewise.
33162         (csin_test): Likewise.
33163         (csinh_test): Likewise.
33164         * sysdeps/i386/fpu/libm-test-ulps: Update.
33165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33166
33167 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33168
33169         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33170         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33171
33172         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33173
33174 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33175
33176         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33177         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33178         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33179         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33180         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33181         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33182         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33183         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33184         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33185         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33186         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33187         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33188         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33189         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33190         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33191         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33192         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33193         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33194         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33195         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33196         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33197         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33198         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33199         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33200         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33201         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33202         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33203         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33204         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33205         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33206         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33207
33208 2012-05-18  Andreas Jaeger  <aj@suse.de>
33209
33210         * csu/.gitignore: Delete.
33211
33212 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33213
33214         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33215         (timex): Use __syscall_slong_t.
33216
33217 2012-05-18  Andreas Jaeger  <aj@suse.de>
33218             Carlos O'Donell  <carlos_odonell@mentor.com>
33219
33220         * manual/install.texi (Configuring and compiling): Update
33221         description about files modified in the source directory.
33222         * INSTALL: Regenerated.
33223
33224 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33225
33226         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33227         value.  Use "or" to set return value to -1.
33228         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33229         negate return value.
33230
33231 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33232
33233         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33234         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33235         failure if the compiler has Graphite support disabled.
33236         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33237         Likewise.
33238         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33239         (CFLAGS-memmove.c): Likewise.
33240         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33241         Likewise.
33242
33243 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33244
33245         * sysdeps/x86_64/x32/_itoa.h: New file.
33246
33247         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33248         getdents system call only if kernel and user dirents have the
33249         same d_ino and d_off.
33250
33251         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33252         LLONG_MAX != LONG_MAX.
33253         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33254         (_fitoa_word): Likewise.
33255
33256         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33257         years.
33258         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33259         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33260         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33261
33262         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33263         include <bits/wordsize.h>.  Check __x86_64__ instead of
33264         __WORDSIZE.
33265         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33266         if __x86_64__ is defined.  Use anonymous union on fpstate.
33267
33268         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33269         anonymous union.
33270
33271 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33272
33273         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33274         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33275         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33276         Refer to _rtld_local_ro instead of _rtld_global_ro.
33277         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33278         Likewise.
33279         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33280         Likewise.
33281         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33282         Likewise.
33283         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33284         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33285         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33286
33287         * sysdeps/powerpc/powerpc32/dl-machine.c
33288         (__elf_machine_runtime_setup) [PROF]: Don't reference
33289         _dl_prof_resolve.
33290
33291 2012-05-18  Andreas Jaeger  <aj@suse.de>
33292
33293         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33294         function only available for GCCs before 3.4 since GCC 3.4
33295         introduced a builtin.
33296         (lrint): Likewise.
33297         (llrintf): Likewise.
33298         (llrint): Likewise.
33299         (fmaxf): Likewise.
33300         (fmax): Likewise.
33301         (fminf): Likewise.
33302         (fmin): Likewise.
33303         (rint): Likewise.
33304         (rintf): Likewise.
33305         (nearbyint): Likewise.
33306         (nearbyintf): Likewise.
33307         (ceil): Likewise.
33308         (ceilf): Likewise.
33309         (floor): Likewise.
33310         (floorf): Likewise.
33311
33312 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33313
33314         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33315         on both fields and cast pointer to __syscall_ulong_t.
33316
33317         * bits/types.h (__fsword_t): New type.
33318         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33319         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33320         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33321         (__FSWORD_T_TYPE): Likewise.
33322         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33323         (__FSWORD_T_TYPE): Likewise.
33324         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33325         (__FSWORD_T_TYPE): Likewise.
33326         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33327         (__FSWORD_T_TYPE): Likewise.
33328         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33329         __SWORD_TYPE with __fsword_t.
33330         (statfs64): Likewise.
33331
33332 2012-05-17  David S. Miller  <davem@davemloft.net>
33333
33334         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33335
33336 2012-05-17  Andreas Jaeger  <aj@suse.de>
33337
33338         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33339         warning.
33340
33341 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33342
33343         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33344
33345 2012-05-17  Andreas Jaeger  <aj@suse.de>
33346
33347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33348         when it is used.
33349
33350 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33351
33352         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33353
33354 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33355
33356         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33357         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33358
33359 2012-05-17  Andreas Jaeger  <aj@suse.de>
33360             Carlos O'Donell  <carlos_odonell@mentor.com>
33361
33362         [BZ #14059]
33363         * sysdeps/x86_64/multiarch/init-arch.h
33364         (bit_YMM_Usable): Rename to...
33365         (bit_AVX_Usable): ... this.
33366         (bit_FMA4_Usable): New macro.
33367         (bit_XMM_state): New macro.
33368         (bit_YMM_state): New macro.
33369         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33370         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33371         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33372         (CPUID_OSXSAVE): New macro.
33373         (CPUID_AVX): New macro.
33374         (CPUID_FMA4): New macro.
33375         (index_YMM_Usable): Rename to...
33376         (index_AVX_Usable): ... this.
33377         (HAS_AVX): Use HAS_ARCH_FEATURE.
33378         (HAS_FMA4): Likewise.
33379         (HAS_YMM_USABLE): Remove.
33380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33381         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33382         are present.
33383         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33384         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33385         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33386         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33387         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33388
33389 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33390
33391         * math/libm-test.c: Support platforms without multiple rounding modes.
33392         * math/bug-nextafter.c: Support platforms without FP exceptions.
33393         * math/bug-nexttoward.c: Likewise.
33394         * math/test-fenv.c: Likewise.
33395         * math/test-misc.c: Likewise.
33396         * stdlib/bug-getcontext.c: Likewise.
33397
33398 2012-05-17  Andreas Jaeger  <aj@suse.de>
33399
33400         * manual/examples/search.c (critter_cmp): Change signature to
33401         avoid warnings.
33402         * manual/string.texi (Collation Functions): Likewise.
33403
33404 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33405
33406         * bits/types.h: Fold copyright years.
33407         * bits/typesizes.h: Likewise.
33408         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33412         * time/time.h: Likewise.
33413
33414 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33415
33416         [BZ #208]
33417         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33418         in instead of returning them.  Return void.
33419         (__libc_mallinfo): Accumulate over all arenas.
33420         (__malloc_stats): Adjust for change in int_mallinfo interface.
33421
33422 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33423
33424         [BZ #10375]
33425         * configure.in (NM): Add AC_CHECK_TOOL for it.
33426         (libc_extra_cflags): New substituted variable.
33427         Check for -fstack-protector being used implicitly.
33428         * configure: Regenerated.
33429         * config.make.in (config-extra-cflags): New variable,
33430         gets @libc_extra_cflags@.
33431         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33432
33433         [BZ #10375]
33434         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33435         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33436         * configure: Regenerated.
33437         * config.make.in (CPPUNDEFS): New substituted variable.
33438         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33439         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33440         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33441
33442 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33443
33444         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33445         (mq_attr): Use __syscall_slong_t.
33446
33447 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33448
33449         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33450         Check __x86_64__ instead of __WORDSIZE.
33451         (_STAT_VER_LINUX): Likewise.
33452         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33453         __syscall_ulong_t and __syscall_slong_t.
33454         (stat64): Likewise.
33455
33456 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33457
33458         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33459
33460 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33461
33462         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33463
33464 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33465
33466         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33467         __syscall_ulong_t.
33468
33469         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33470         include <bits/wordsize.h>.  Check __x86_64__ instead of
33471         __WORDSIZE.
33472         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33473         defined.
33474         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33475
33476         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33477         include <bits/wordsize.h>.  Check __x86_64__ instead of
33478         __WORDSIZE.
33479         (user_regs_struct): Use "__extension__ unsigned long long"
33480         instead of "unsigned long" if __x86_64__ is defined.
33481         (user): Likewise.  Pad after pointer field if __ILP32__ is
33482         defined.
33483
33484 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33485
33486         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33487         versions 5 to 9.
33488         * configure: Regenerated.
33489         * manual/install.texi (texinfo): Increase version requirement to
33490         4.5 or later.
33491         * INSTALL: Regenerated.
33492
33493         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33494
33495 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33496
33497         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33498
33499         * sysdeps/x86_64/x32/ffs.c: New file.
33500
33501         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33502         __syscall_ulong_t.
33503         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33504         defined.  Use __syscall_ulong_t.
33505         (shminfo): Use __syscall_ulong_t.
33506         (shm_info): Likewise.
33507
33508         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33509         __syscall_ulong_t.
33510
33511         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33512         <bits/wordsize.h>.
33513         (msgqnum_t): Use __syscall_ulong_t.
33514         (msglen_t): Likewise.
33515         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33516         __syscall_ulong_t.
33517
33518         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33519         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33520
33521         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33522
33523         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33524         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33525
33526         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33527         __syscall_slong_t.
33528
33529         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33530         include <bits/wordsize.h>.  Check __x86_64__ instead of
33531         __WORDSIZE.
33532
33533         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33534         "unsigned long long int" if __x86_64__ is defined.
33535         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33536
33537         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33538         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33539         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33540
33541         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33542         <stdint.h>.
33543         (GET_PC): Cast to uintptr_t first.
33544         (GET_FRAME): Likewise.
33545         (GET_STACK): Likewise.
33546
33547         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33548         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33549         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33550         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33551         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33552         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33553         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33554         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33555         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33556         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33557         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33558         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33559         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33560         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33561         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33562         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33563         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33564         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33565         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33566         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33567         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33568         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33569         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33570         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33571         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33572         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33573         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33574         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33575         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33576
33577 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33578
33579         * Makerules (+depfiles): Also collect depfiles from .oS in
33580         $(extra-objs).
33581         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33582         .oS, $(libnldbl-routines)).
33583
33584         * Makerules (native-compile-mkdep-flags): Define.
33585         * sunrpc/Makefile (extra-objs): Add $(addprefix
33586         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33587         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33588         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33589         calling $(make-target-directory).
33590
33591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33592
33593         * bits/types.h (__snseconds_t): Removed.
33594         * time/time.h (struct timespec): Replace __snseconds_t with
33595         __syscall_slong_t.
33596         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33597         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33598         Likewise.
33599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33600         (__SNSECONDS_T_TYPE): Likewise.
33601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33602         (__SNSECONDS_T_TYPE): Likewise.
33603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33604         (__SNSECONDS_T_TYPE): Likewise.
33605
33606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33607
33608         * sysdeps/mach/hurd/bits/typesizes.h
33609         (__SYSCALL_SLONG_TYPE): New macro.
33610         (__SYSCALL_ULONG_TYPE): Likewise.
33611
33612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33613
33614         * bits/types.h (__syscall_slong_t): New type.
33615         (__syscall_ulong_t): Likewise.
33616
33617         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33618         (__SYSCALL_ULONG_TYPE): Likewise.
33619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33620         (__SYSCALL_SLONG_TYPE): Likewise.
33621         (__SYSCALL_ULONG_TYPE): Likewise.
33622         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33623         (__SYSCALL_SLONG_TYPE): Likewise.
33624         (__SYSCALL_ULONG_TYPE): Likewise.
33625         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33626         (__SYSCALL_SLONG_TYPE): Likewise.
33627         (__SYSCALL_ULONG_TYPE): Likewise.
33628
33629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33630
33631         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33632         Add sigaltstack-offsets.sym.
33633         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33634         <sigaltstack-offsets.h>.
33635         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33636         longjmp_msg pointer.
33637         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33638         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33639         signal stack.
33640         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33641
33642 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33643
33644         * elf/stackguard-macros.h: Remove file.
33645         * sysdeps/generic/stackguard-macros.h: New file.
33646         * sysdeps/i386/stackguard-macros.h: Likewise.
33647         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33648         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33649         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33650         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33651         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33652         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33653         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33654         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33655         <elf/stackguard-macros.h>.
33656
33657         [BZ #14109]
33658         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33659         __aligned__ in attribute.
33660         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33661         (gregset_t): Likewise.
33662
33663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33664
33665         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33666         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33667         * sysdeps/x86_64/x32/Implies-after: New file.
33668
33669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33670
33671         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33672         and access return value for _dl_profile_fixup.  Use R10_LP to
33673         load frame size.
33674
33675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33676
33677         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33678
33679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33680
33681         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33682         * sysdeps/x86_64/x32/sysdep.h: New file.
33683
33684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33685
33686         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33687         * sysdeps/x86_64/setjmp.S: Likewise.
33688
33689 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33690
33691         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33692         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33693         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33694         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33695         remove unused global constant.
33696
33697 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33698
33699         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33700         include of <not-cancel.h>.
33701
33702 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33703
33704         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33705
33706 2012-05-15  Jeff Law  <law@redhat.com>
33707             Andreas Jaeger  <aj@suse.de>
33708
33709         [BZ #13594]
33710         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33711         out from...
33712         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33713         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33714         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33715         code changing __hst_map_handle.map.
33716
33717 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33718
33719         * configure.in (sysnames): Look for Implies-before and Implies-after
33720         files.
33721         * configure: Regenerated.
33722
33723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33724
33725         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33726         8-byte data alignment with LP_SIZE alignment.
33727
33728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33729
33730         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33731         into R10_LP.
33732
33733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33734
33735         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33736
33737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33738
33739         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33740         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33741         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33742         Likewise.
33743         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33744
33745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33746
33747         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33748         (stackinfo_sub_sp): Likewise.
33749
33750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33751
33752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33753         RAX_LP.
33754
33755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33756
33757         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33758         into R*_LP.
33759
33760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33761
33762         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33763         sizes into R*_LP.
33764
33765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33766
33767         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33768
33769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33770
33771         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33772         into R11_LP and load __x86_64_shared_cache_size_half into
33773         R8_LP.
33774
33775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33776
33777         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33778         R8_LP.
33779
33780 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33781
33782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33783         logb for POWER7.
33784         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33785         logbf for POWER7.
33786         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33787         logbl for POWER7.
33788         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33789         powerpc32/power7/fpu/s_logb.c via #include.
33790         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33791         powerpc32/power7/fpu/s_logbf.c via #include.
33792         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33793         powerpc32/power7/fpu/s_logbl.c via #include.
33794
33795 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33796
33797         * README.libm: Remove file.
33798
33799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33800
33801         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33802         count for x32.  Use R*_LP and omit operand-size suffix.
33803
33804 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33805
33806         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33807         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33808         * sysdeps/x86_64/x32/shlib-versions: New file.
33809
33810 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33811
33812         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33813         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33814         Use _dl_fatal_printf instead.
33815
33816 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33817
33818         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33819         set if not set by the user.  Do not allow for being unset.
33820         * sysdeps/unix/sysv/linux/configure: Regenerated.
33821
33822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33823
33824         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33825         the `q' suffix from lea and replace .quad with ASM_ADDR.
33826
33827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33828
33829         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33830         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33831         instead of $17.
33832         (PTR_DEMANGLE): Likewise.
33833
33834 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33835
33836         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33837         (LP_OP): Likewise.
33838         (ASM_ADDR): Likewise.
33839         (RAX_LP): Likewise.
33840         (RBP_LP): Likewise.
33841         (RBX_LP): Likewise.
33842         (RCX_LP): Likewise.
33843         (RDI_LP): Likewise.
33844         (RSI_LP): Likewise.
33845         (RSP_LP): Likewise.
33846         (R8_LP): Likewise.
33847         (R9_LP): Likewise.
33848         (R10_LP): Likewise.
33849         (R10_LP): Likewise.
33850         (R11_LP): Likewise.
33851         (R12_LP): Likewise.
33852         (R13_LP): Likewise.
33853         (R14_LP): Likewise.
33854         (R15_LP): Likewise.
33855
33856 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33857
33858         * sysdeps/x86_64/x32/dl-machine.h: New file.
33859
33860 2012-05-14  Andreas Jaeger  <aj@suse.de>
33861
33862         * manual/Makefile (subdir): Remove export of subdir.
33863         (all): Remove target.
33864         (.PHONY): Remove all from list.
33865         (mkinstalldirs): Remove.
33866         (.PHONY): Remove installdirs from list.
33867         ($(inst_infodir)/libc.info): Use make-target-directory.
33868         (installdirs): Remove.
33869         (subdir_%): Remove.
33870         (glibc-targets): Remove.
33871         (lib): Remove.
33872         (stubs): Remove.
33873         ($(objpfx)stubs ../po/manual.pot): Remove.
33874         ($(objpfx)stamp%): Remove.
33875         (make-target-directory): Remove.
33876         (subdir_install): Remove.
33877         (routines): Remove.
33878         (aux): Remove.
33879         (sources): Remove.
33880         (objects): Remove.
33881         (headers): Remove.
33882
33883         [BZ #13750]
33884         * manual/.gitignore: Remove, it's not needed anymore.
33885         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33886         all files in it.
33887         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33888         directory.
33889         (texis): Renamed to $(objpfx)texis.
33890         (texis-path): New, contains path to generated files.
33891         (chapters.%): Use texis-path for complete path, add extra argument
33892         libc-texinfo.sh.
33893         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33894         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33895         (summary,texi, stamp-summary): Use complete path of
33896         files. Generate files in build dir.
33897         (dir-add.texi): Build in build dir.
33898         (libm-err.texi,stamp-libm-err): Likewise.
33899         (version.texi, stamp-version): Likewise.
33900         (.%c.texi): Likewise.
33901         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33902         (mostlyclean): Remove target.
33903         (realclean): Remove target.
33904         (generated): Add new variable with contents from mostlyclean and
33905         realclean, remove entries duplicated in common-mostlyclean, add
33906         stamp-libm-err and stamp-version.
33907         (generated-dirs): Add libc directory.
33908         ($(inst_infodir)/libc.info): Install files from build dir.
33909
33910         * manual/install.texi (Configuring and compiling): Adjust since
33911         the info files are not part of the tar ball anymore.
33912
33913 2012-05-14  Andreas Jaeger  <aj@suse.de>
33914
33915         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33916         variable.
33917
33918 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33919
33920         [BZ #13717]
33921         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33922         to 2.2.0 where earlier.
33923         * sysdeps/unix/sysv/linux/configure: Regenerated.
33924         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33925         Remove conditional code.
33926         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33927         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33928         Remove conditional code.
33929         [!__NR_lchown]: Likewise.
33930         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33931         [__NR_lchown]: Likewise.
33932         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33933         comment referencing __ASSUME_LCHOWN_SYSCALL.
33934         * sysdeps/unix/sysv/linux/i386/sigaction.c
33935         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33936         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33937         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33938         Remove conditional code.
33939         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33940         (__protocol_available): Remove #if 0 code.
33941         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33942         conditional code.
33943         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33944         * sysdeps/unix/sysv/linux/kernel-features.h
33945         (__ASSUME_GETCWD_SYSCALL): Don't define.
33946         (__ASSUME_REALTIME_SIGNALS): Likewise.
33947         (__ASSUME_PREAD_SYSCALL): Likewise.
33948         (__ASSUME_PWRITE_SYSCALL): Likewise.
33949         (__ASSUME_POLL_SYSCALL): Likewise.
33950         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33951         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33952         non-SPARC.
33953         (__ASSUME_SIOCGIFNAME): Don't define.
33954         (__ASSUME_MSG_NOSIGNAL): Likewise.
33955         (__ASSUME_SENDFILE): Define unconditionally.
33956         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33957         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33958         conditional code.
33959         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33960         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33961         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33962         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33963         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33964         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33965         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33967         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33970         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33973         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33979         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33980         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33985         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33986         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33990         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33991         Remove conditional code.
33992         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33993         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33994         Remove conditional code.
33995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33996         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33997         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33998         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33999         Remove conditional code.
34000         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34001         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34002         Remove conditional code.
34003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34004         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34005         Remove conditional code.
34006         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34007         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34008         Remove conditional code.
34009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34010         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34011         Remove conditional code.
34012         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34013         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34014         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34016         * sysdeps/unix/sysv/linux/sigaction.c
34017         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34018         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34019         * sysdeps/unix/sysv/linux/sigpending.c
34020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34022         * sysdeps/unix/sysv/linux/sigprocmask.c
34023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34025         * sysdeps/unix/sysv/linux/sigsuspend.c
34026         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34027         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34028         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34029         (__libc_missing_rt_sigs): Remove.
34030         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34031         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34032         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34033         Remove conditional code.
34034         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34035         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34036         return 1.
34037         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34038         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34039         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34040         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34041
34042 2012-05-14  Andreas Jaeger  <aj@suse.de>
34043
34044         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34045         it's not used in glibc.
34046         (__coshm1): Likewise.
34047         (__acosh1p): Likewise.
34048         (__sgn): Likewise.
34049
34050         * manual/string.texi (Copying and Concatenation): Add missing
34051         variable in concat example.
34052         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34053
34054 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34055
34056         [BZ #14103]
34057         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34058         __builtin_clzl with __builtin_clzll.
34059
34060 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34061
34062         [BZ #14104]
34063         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34064         libc_freeres_ptr.
34065
34066 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34067
34068         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34069         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34070         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34071         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34072
34073 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34074
34075         * NEWS: Update ia64 info.
34076
34077 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34078
34079         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34080         used as bcopy.
34081
34082 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34083
34084         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34085         * sysdeps/unix/syscalls.list (dup3): Likewise.
34086         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34087         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34088
34089 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34090
34091         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34092         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34093
34094 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34095
34096         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34097         thread pointer.
34098         (TLS_IE): Use mov/add instead of movq/addq to load thread
34099         pointer.
34100         (TLS_GD_PREFIX): New.
34101         (TLS_GD): Use it.
34102
34103 2012-05-11  David S. Miller  <davem@davemloft.net>
34104
34105         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34106         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34107         (_FPU_SETCW): Likewise.
34108
34109 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34110
34111         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34112         is 32-byte aligned.
34113
34114 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34115
34116         [BZ #11837]
34117         * iconvdata/gb18030.c: Update tables.
34118         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34119         characters specially.
34120         (BODY for TO_LOOP): Add encoding of missing ranges.
34121
34122 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34123
34124         [BZ #13673]
34125         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34126         * sysdeps/mach/hurd/dup3.c: Likewise.
34127         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34128         * sysdeps/powerpc/memmove.c:: Likewise.
34129
34130 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34131
34132         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34133         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34134
34135 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34136
34137         * elf/elf.h (R_X86_64_RELATIVE64): New.
34138         (R_X86_64_NUM): Updated.
34139         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34140         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34141         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34142         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34143         tst-quad1pie tst-quad2pie
34144         (modules-names): Add tst-quadmod1 tst-quadmod2.
34145         ($(objpfx)tst-quad1): New dependency.
34146         ($(objpfx)tst-quad2): Likewise.
34147         ($(objpfx)tst-quad1pie): Likewise.
34148         ($(objpfx)tst-quad2pie): Likewise.
34149         * sysdeps/x86_64/tst-quad1.c: New file.
34150         * sysdeps/x86_64/tst-quad1pie.c: New file.
34151         * sysdeps/x86_64/tst-quad2.c: Likewise.
34152         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34153         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34154         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34155         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34156         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34157
34158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34159
34160         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34161         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34162         * streams/stropts.h (t_scalar_t): Define type.
34163
34164         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34165         (_PATH_PRESERVE): Set to "/var/lib".
34166         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34167
34168         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34169         instead of int.
34170
34171         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34172         if __dir_mkfile succeeded.
34173
34174         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34175         checking for _hurd_dtablesize.  Unlock it right after having
34176         finished _hurd_dtable allocation.
34177
34178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34179
34180         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34181         * sysdeps/mach/hurd/configure: Regenerated.
34182         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34183         special-casing to...
34184         * sysdeps/gnu/configure.in: ... this new file.
34185         * sysdeps/unix/sysv/linux/configure: Regenerated.
34186         * sysdeps/gnu/configure: New generated file.
34187
34188         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34189         for Linux: use nsec instead of usec, as well as:
34190         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34191         members of type struct timespec.
34192         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34193         New macros.
34194         (struct stat64): Likewise.
34195         (_STATBUF_ST_NSEC): New macro.
34196         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34197
34198         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34199         __strtoul_internal rather than strtoul.
34200
34201 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34202
34203         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34204         and reject them.
34205
34206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34207
34208         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34209         which preserves existing values.
34210         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34211
34212 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34213
34214         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34215         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34216         greater than FD_SETSIZE.
34217
34218 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34219
34220         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34221         allocated, call __vm_protect to finish enabling the existing space, and
34222         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34223         allocate the remainder.
34224
34225 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34226
34227         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34228         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34229
34230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34231
34232         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34233         sysdeps/mach/hurd/readlink.c.
34234
34235         * posix/tst-sysconf.c (posix_options): Only use
34236         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34237         _POSIX_SYNCHRONIZED_IO when they are defined
34238         * sysdeps/mach/hurd/bits/posix_opt.h:
34239         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34240         (_XOPEN_REALTIME): Undefine macro.
34241         (_XOPEN_REALTIME_THREADS): Undefine macro.
34242         (_XOPEN_SHM): Undefine macro.
34243         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34244         macro to -1.
34245         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34246         macro to -1.
34247         (_POSIX_ASYNC_IO): Undefine macro.
34248         (_POSIX_PRIORITIZED_IO): Undefine macro.
34249         (_POSIX_SPIN_LOCKS): Define macro to -1.
34250
34251         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34252         SA_NODEFER, SA_RESETHAND.
34253         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34254         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34255         F_DUPFD_CLOEXEC.
34256
34257 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34258
34259         * elf/Makefile (pldd-modules): Define unconditionally.
34260
34261 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34262
34263         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34264
34265 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34266
34267         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34268         Return ENOENT when name is empty.
34269         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34270
34271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34272
34273         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34274
34275         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34276
34277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34278
34279         Fix mlock in all cases except non-readable pages.
34280         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34281         instead of VM_PROT_ALL as parameter to __vm_wire function.
34282
34283         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34284         (__mkdir): When path is `/', just fail with EEXIST.
34285         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34286
34287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34288
34289         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34290         <sys/uio.h> (for writev).
34291         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34292         and <sys/param.h> (for MIN).
34293
34294 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34295
34296         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34297         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34298         if interrupted.
34299
34300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34301
34302         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34303         Depend on against $(link-rpcuserlibs).
34304
34305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34306
34307         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34308         (__libc_stack_end): Do not use attribute_relro.
34309         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34310         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34311         to libthread-provided value.
34312         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34313         attribute_relro.
34314
34315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34316
34317         [BZ #3748]
34318         * bits/libc-lock.h (__libc_once_get): New macro.
34319         * sysdeps/mach/bits/libc-lock.h: Likewise.
34320         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34321         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34322         instead of using implementation details.
34323
34324         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34325         * libio/freopen.c: Likewise.
34326         * libio/freopen64.c: Likewise.
34327         * misc/syslog.c: Likewise.
34328         * nscd/connections.c: Likewise.
34329         * nscd/netgroupcache.c: Likewise.
34330         * sysdeps/posix/getcwd.c: Likewise.
34331
34332 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34333
34334         * math/w_ilogbf.c: Add #include <limits.h>.
34335
34336 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34337
34338         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34339         path instead of returning without unlocking.
34340
34341         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34342         immediate-write ioctls.
34343         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34344
34345 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34346
34347         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34348         __builtin_frame_address instead of making assumptions about the
34349         location of the return address relative to DATA.  Force early load of
34350         the return address.
34351         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34352         __builtin_frame_address.
34353
34354         dup3 for GNU Hurd.
34355         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34356         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34357         implement dup3 and do some further code clean-ups.
34358         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34359         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34360
34361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34362
34363         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34364
34365         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34366         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34367         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34368         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34369         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34370         d->port.lock.
34371
34372         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34373         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34374         when handler == SIG_ERR, not when handler != SIG_ERR.
34375
34376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34377
34378         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34379         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34380         definitions.
34381
34382         accept4 for GNU Hurd.
34383         * include/sys/socket.h (__libc_accept4): New prototype.
34384         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34385         to implement __libc_accept4.
34386         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34387         __libc_accept4.
34388         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34389
34390         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34391         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34392         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34393         signal-defines.sym.
34394
34395 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34396
34397         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34398
34399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34400
34401         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34402         assertion on O_CLOEXEC flag.
34403         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34404         * hurd/intern-fd.c: Likewise.
34405         * hurd/port2fd.c: Likewise.
34406
34407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34408
34409         [BZ #3906]
34410         * bits/in.h (IPV6_PKTINFO): Define new macro.
34411         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34412
34413 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34414
34415         [BZ #13954]
34416         [BZ #13955]
34417         [BZ #13956]
34418         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34419         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34420         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34421         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34423         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34424         * math/libm-test.inc (logb_test) : Additional logb tests.
34425
34426 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34427             Andreas Jaeger  <aj@suse.de>
34428
34429         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34430         * configure: Regenerated.
34431         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34432         * config.make.in (link-obsolete-rpc): New substituted variable.
34433         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34434         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34435         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34436         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34437         so that libc.a contains the symbols.
34438         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34439         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34440         * sunrpc/auth_none.c: Likewise.
34441         * sunrpc/auth_unix.c: Likewise.
34442         * sunrpc/authdes_prot.c: Likewise.
34443         * sunrpc/authuxprot.c: Likewise.
34444         * sunrpc/clnt_gen.c: Likewise.
34445         * sunrpc/clnt_perr.c: Likewise.
34446         * sunrpc/clnt_raw.c: Likewise.
34447         * sunrpc/clnt_simp.c: Likewise.
34448         * sunrpc/clnt_tcp.c: Likewise.
34449         * sunrpc/clnt_udp.c: Likewise.
34450         * sunrpc/clnt_unix.c: Likewise.
34451         * sunrpc/des_crypt.c: Likewise.
34452         * sunrpc/des_soft.c: Likewise.
34453         * sunrpc/get_myaddr.c: Likewise.
34454         * sunrpc/key_call.c: Likewise.
34455         * sunrpc/key_prot.c: Likewise.
34456         * sunrpc/netname.c: Likewise.
34457         * sunrpc/pm_getmaps.c: Likewise.
34458         * sunrpc/pm_getport.c: Likewise.
34459         * sunrpc/pmap_clnt.c: Likewise.
34460         * sunrpc/pmap_prot.c: Likewise.
34461         * sunrpc/pmap_prot2.c: Likewise.
34462         * sunrpc/pmap_rmt.c: Likewise.
34463         * sunrpc/publickey.c: Likewise.
34464         * sunrpc/rpc_cmsg.c: Likewise.
34465         * sunrpc/rpc_common.c: Likewise.
34466         * sunrpc/rpc_dtable.c: Likewise.
34467         * sunrpc/rpc_prot.c: Likewise.
34468         * sunrpc/rpc_thread.c: Likewise.
34469         * sunrpc/rtime.c: Likewise.
34470         * sunrpc/svc.c: Likewise.
34471         * sunrpc/svc_auth.c: Likewise.
34472         * sunrpc/svc_raw.c: Likewise.
34473         * sunrpc/svc_run.c: Likewise.
34474         * sunrpc/svc_tcp.c: Likewise.
34475         * sunrpc/svc_udp.c: Likewise.
34476         * sunrpc/svc_unix.c: Likewise.
34477         * sunrpc/svcauth_des.c: Likewise.
34478         * sunrpc/xcrypt.c: Likewise.
34479         * sunrpc/xdr.c: Likewise.
34480         * sunrpc/xdr_array.c: Likewise.
34481         * sunrpc/xdr_float.c: Likewise.
34482         * sunrpc/xdr_intXX_t.c: Likewise.
34483         * sunrpc/xdr_mem.c: Likewise.
34484         * sunrpc/xdr_rec.c: Likewise.
34485         * sunrpc/xdr_ref.c: Likewise.
34486         * sunrpc/xdr_sizeof.c: Likewise.
34487         * sunrpc/xdr_stdio.c: Likewise.
34488
34489 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34490
34491         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34492         change.  Update copyright years.
34493
34494 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34495
34496         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34497
34498 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34499             Joseph Myers  <joseph@codesourcery.com>
34500             Paul Pluzhnikov  <ppluzhnikov@google.com>
34501
34502         [BZ #14012]
34503         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34504         requiring rpcgen.
34505         [cross-compiling] (extra-libs): Likewise.
34506         [cross-compiling] (extra-libs-others): Likewise.
34507         [cross-compiling] (librpcsvc-routines): Likewise.
34508         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34509         [cross-compiling] (omit-deps): Likewise.
34510         (sunrpc-CPPFLAGS): New variable.
34511         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34512         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34513         (cross-rpcgen-objs): New variable.
34514         (extra-objs): Append $(cross-rpcgen-objs).
34515         ($(cross-rpcgen-objs)): New rule.
34516         ($(objpfx)cross-rpcgen): Likewise.
34517         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34518         comment.
34519         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34520         ($(objpfx)x%.stmp): Likewise.
34521         * sunrpc/proto.h [IS_IN_build] (_): Define.
34522         [IS_IN_build] (_libc_intl_domainname): Likewise.
34523
34524 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34525
34526         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34527         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34528         and R_X86_64_TPOFF64.
34529
34530 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34531
34532         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34533         sysdeps/unix/sysv/syscalls.list.
34534         (stime): Likewise.
34535         (utime): Likewise.
34536         * sysdeps/unix/sysv/syscalls.list: Remove file.
34537
34538 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34539
34540         [BZ #3440]
34541         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34542         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34543         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34544         (__LC_IDENTIFICATION): Make these macros useful in #if
34545         expressions, as required by C99.
34546
34547 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34548
34549         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34550         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34551         after this.
34552
34553 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34554
34555         * stdlib/longlong.h: Updated from GCC.
34556
34557 2012-05-09  Andreas Jaeger  <aj@suse.de>
34558
34559         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34560         default is first entry.
34561         (run_mode): Set type.
34562         (main): Remove informal message about syslog.
34563         (options): Fix typo.
34564
34565         [BZ #14053]
34566         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34567         to asm.
34568         (lrint): Likewise.
34569         (llrintf): Likewise.
34570         (llrint): Likewise.
34571         (rint): Likewise.
34572         (rintf): Likewise.
34573         (nearbyint): Likewise.
34574         (nearbyintf): Likewise.
34575
34576 2012-05-09  Andreas Jaeger  <aj@suse.de>
34577             Pedro Alves  <palves@redhat.com>
34578
34579         * nscd/nscd.c (run_mode): Use enum.
34580         (main): Cleanup coding style issue.
34581
34582 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34583             Andreas Jaeger  <aj@suse.de>
34584
34585         * nscd/nscd.c (go_background): Replaced with...
34586         (run_mode): ... this.
34587         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34588         (options): Add -F --foreground.
34589         (main): Implement it.
34590         (parse_opt): Parse it.
34591
34592 2012-05-09  Andreas Jaeger  <aj@suse.de>
34593
34594         [BZ #14083]
34595         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34596         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34597         -Wconversion warning.
34598         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34599         Likewise.
34600
34601 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34602
34603         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34604         == 0.
34605         (LC_ALL): Use macro-int-constant.
34606         (LC_COLLATE): Likewise.
34607         (LC_CTYPE): Likewise.
34608         (LC_MESSAGES): Likewise.
34609         (LC_MONETARY): Likewise.
34610         (LC_NUMERIC): Likewise.
34611         (LC_TIME): Likewise.
34612         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34613         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34615         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34616         Specify type.
34617         [C99-based standards] (float_t): Expect type.
34618         [C99-based standards] (double_t): Expect type.
34619         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34620         type.
34621         [C99-based standards] (HUGE_VALL): Likewise.
34622         [C99-based standards] (INFINITY): Likewise.
34623         [C99-based standards] (NAN): Likewise.
34624         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34625         [C99-based standards] (FP_NAN): Likewise.
34626         [C99-based standards] (FP_NORMAL): Likewise.
34627         [C99-based standards] (FP_SUBNORMAL): Likewise.
34628         [C99-based standards] (FP_ZERO): Likewise.
34629         [C99-based standards] (FP_FAST_FMA): Use
34630         optional-macro-int-constant.  Specify type.  Require == 1.
34631         [C99-based standards] (FP_FAST_FMAF): Likewise.
34632         [C99-based standards] (FP_FAST_FMAL): Likewise.
34633         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34634         [C99-based standards] (FP_ILOGBNAN): Likewise.
34635         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34636         Specify type.
34637         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34638         [C99-based standards] (math_errhandling): Specify type.
34639         [ISO99 || ISO11] (signgam): Do not allow.
34640         [non-C99-based standards] (copysignf): Do not allow.
34641         [non-C99-based standards] (exp2f): Likewise.
34642         [non-C99-based standards] (log2f): Likewise.
34643         [non-C99-based standards] (modff): Allow.
34644         [non-C99-based standards] (erff): Do not allow.
34645         [non-C99-based standards] (erfcf): Likewise.
34646         [non-C99-based standards] (gammaf): Likewise.
34647         [non-C99-based standards] (hypotf): Likewise.
34648         [non-C99-based standards] (j0f): Likewise.
34649         [non-C99-based standards] (j1f): Likewise.
34650         [non-C99-based standards] (jnf): Likewise.
34651         [non-C99-based standards] (lgammaf): Likewise.
34652         [non-C99-based standards] (tgammaf): Likewise.
34653         [non-C99-based standards] (y0f): Likewise.
34654         [non-C99-based standards] (y1f): Likewise.
34655         [non-C99-based standards] (ynf): Likewise.
34656         [non-C99-based standards] (isnanf): Likewise.
34657         [non-C99-based standards] (acoshf): Likewise.
34658         [non-C99-based standards] (asinhf): Likewise.
34659         [non-C99-based standards] (atanhf): Likewise.
34660         [non-C99-based standards] (cbrtf): Likewise.
34661         [non-C99-based standards] (expm1f): Likewise.
34662         [non-C99-based standards] (ilogbf): Likewise.
34663         [non-C99-based standards] (log1pf): Likewise.
34664         [non-C99-based standards] (logbf): Likewise.
34665         [non-C99-based standards] (nextafterf): Likewise.
34666         [non-C99-based standards] (remainderf): Likewise.
34667         [non-C99-based standards] (rintf): Likewise.
34668         [non-C99-based standards] (scalbf): Likewise.
34669         [non-C99-based standards] (copysignl): Likewise.
34670         [non-C99-based standards] (exp2l): Likewise.
34671         [non-C99-based standards] (log2l): Likewise.
34672         [non-C99-based standards] (modfl): Allow.
34673         [non-C99-based standards] (erfl): Do not allow.
34674         [non-C99-based standards] (erfcl): Likewise.
34675         [non-C99-based standards] (gammal): Likewise.
34676         [non-C99-based standards] (hypotl): Likewise.
34677         [non-C99-based standards] (j0l): Likewise.
34678         [non-C99-based standards] (j1l): Likewise.
34679         [non-C99-based standards] (jnl): Likewise.
34680         [non-C99-based standards] (lgammal): Likewise.
34681         [non-C99-based standards] (tgammal): Likewise.
34682         [non-C99-based standards] (y0l): Likewise.
34683         [non-C99-based standards] (y1l): Likewise.
34684         [non-C99-based standards] (ynl): Likewise.
34685         [non-C99-based standards] (isnanl): Likewise.
34686         [non-C99-based standards] (acoshl): Likewise.
34687         [non-C99-based standards] (asinhl): Likewise.
34688         [non-C99-based standards] (atanhl): Likewise.
34689         [non-C99-based standards] (cbrtl): Likewise.
34690         [non-C99-based standards] (expm1l): Likewise.
34691         [non-C99-based standards] (ilogbl): Likewise.
34692         [non-C99-based standards] (log1pl): Likewise.
34693         [non-C99-based standards] (logbl): Likewise.
34694         [non-C99-based standards] (nextafterl): Likewise.
34695         [non-C99-based standards] (remainderl): Likewise.
34696         [non-C99-based standards] (rintl): Likewise.
34697         [non-C99-based standards] (scalbl): Likewise.
34698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34699         [non-C99-based standards] (FP_*): Do not allow.
34700         [C99-based standards] (FP_*): Change to
34701         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34702         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34703         allow.
34704         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34705         (SIG_ERR): Likewise.
34706         [X/Open-based standards] (SIG_HOLD): Likewise.
34707         (SIG_IGN): Likewise.
34708         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34709         positive value.
34710         (SIGFPE): Likewise.
34711         (SIGILL): Likewise.
34712         (SIGINT): Likewise.
34713         (SIGSEGV): Likewise.
34714         (SIGTER): Likewise.
34715         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34716         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34717         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34718         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34719         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34720         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34721         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34722         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34723         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34724         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34725         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34726         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34727         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34728         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34729         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34730         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34731         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34732         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34733         [X/Open-based standards] (SIGTRAP): Likewise.
34734         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34735         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34736         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34737         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34738         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34739         allow.
34740
34741 2012-05-08  Ian Wienand  <ianw@vmware.com>
34742
34743         [BZ #14080]
34744         * time/tzset.c (__tzset_parse_tz): Update default rules for
34745         daylight time changes in the Energy Policy Act of 2005.
34746
34747 2012-05-09  Andreas Jaeger  <aj@suse.de>
34748
34749         [BZ #13983]
34750         * elf/ldconfig.c (parse_conf): Change string to make clear that
34751         ldconfig only issued a warning if ld.so.conf does not exist.
34752
34753 2012-05-08  David S. Miller  <davem@davemloft.net>
34754
34755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34756         movxtod instead of popping the value on the stack.
34757
34758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34759
34760 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34761
34762         * config.h.in: Add HAVE_ARM_PCS_VFP.
34763
34764 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34765
34766         [BZ #13979]
34767         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34768         checking but the checks are disabled for any reason.
34769
34770 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34771
34772         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34773         and ELF64_R_TYPE with ELFW(R_TYPE).
34774
34775 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34776
34777         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34778         (ulimit): Likewise.
34779
34780         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34781         (settimeofday): Likewise.
34782
34783 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34784
34785         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34786         a struct th_u2 inside the union, and move tu_block/tu_code into
34787         a new th_u3 union of tu_block/tu_code inside of that.  Move
34788         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34789         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34790         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34791         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34792         (th_stuff): Change to th_u1.tu_stuff.
34793         (th_data): Define.
34794         (th_msg): Change to th_u1.th_u2.tu_data.
34795
34796 2012-05-07  David S. Miller  <davem@davemloft.net>
34797
34798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34799
34800         [BZ #14074]
34801         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34802         (SETUP_PIC_REG): Use it.
34803         (SETUP_PIC_REG_LEAF): Use it.
34804
34805 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34806
34807         [BZ #13885]
34808         [BZ #13923]
34809         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34810         USE_AS_EXPM1L.
34811         (EXPL_FINITE): Likewise.
34812         (FLDLOG): Likewise.
34813         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34814         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34815         e_expl.S.
34816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34817         USE_AS_EXPM1L.
34818         (EXPL_FINITE): Likewise.
34819         (FLDLOG): Likewise.
34820         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34821         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34822         e_expl.S.
34823         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34824         test of -max_value argument for long double.
34825         * sysdeps/i386/fpu/libm-test-ulps: Update.
34826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34827
34828 2012-05-06  David S. Miller  <davem@davemloft.net>
34829
34830         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34831         quad soft-float symbols whose references which are compiler
34832         generated.
34833         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34834
34835 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34836
34837         [BZ #13884]
34838         [BZ #13914]
34839         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34840         USE_AS_EXP10L.
34841         (EXPL_FINITE): Likewise.
34842         (FLDLOG): Likewise.
34843         (c0): Likewise.
34844         (c1): Likewise.
34845         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34846         Adjust comments for base varying.
34847         (__expl_finite): Change alias to EXPL_FINITE.
34848         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34849         e_expl.S.
34850         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34851         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34852         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34853         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34855         USE_AS_EXP10L.
34856         (EXPL_FINITE): Likewise.
34857         (FLDLOG): Likewise.
34858         (c0): Likewise.
34859         (c1): Likewise.
34860         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34861         Adjust comments for base varying.
34862         (__expl_finite): Change alias to EXPL_FINITE.
34863         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34864         tests for bugs.
34865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34866
34867         [BZ #14064]
34868         * math/libm-test.inc (check_float_internal): Correct ulp
34869         calculation for subnormal expected results.
34870
34871 2012-05-06  Andreas Jaeger  <aj@suse.de>
34872
34873         * Makeconfig (+math-flags): New, set to -frounding-math.
34874         (+cflags): Add +math-flags so that all of glibc gets compiled with
34875         it.
34876
34877         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34878
34879 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34880
34881         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34882         Disable one test.
34883
34884         [BZ #13787]
34885         [BZ #13922]
34886         [BZ #14036]
34887         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34888         (__ieee754_expl): Allow for and saturate large arguments.
34889         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34890         (u_threshold): Likewise.
34891         (__exp): Call __ieee754_exp before checking for overflow and
34892         underflow.
34893         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34894         (u_threshold): Likewise.
34895         (__expf): Call __ieee754_expf before checking for overflow and
34896         underflow.
34897         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34898         (u_threshold): Likewise.
34899         (__expl): Call __ieee754_expl before checking for overflow and
34900         underflow.
34901         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34902         (__ieee754_expl): Allow for and saturate large arguments.
34903         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34904         missing overflow exception on overflow.
34905         (expm1_test): Do not allow missing overflow exception on overflow.
34906
34907         * sysdeps/i386/fpu/e_expl.c: Move to ...
34908         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34909         rather than using inline asm.
34910         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34911         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34912         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34913
34914         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34915         (nice): Likewise.
34916         (poll): Likewise.
34917         (signal): Likewise.
34918         (time): Likewise.
34919         (times): Likewise.
34920
34921 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34922
34923         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34924         sysdeps/unix/common/syscalls.list.
34925         (fchmod): Likewise.
34926         (fchown): Likewise.
34927         (ftruncate): Likewise.
34928         (getrusage): Likewise.
34929         (gettimeofday): Likewise.
34930         (setpgid): Likewise.
34931         (setregid): Likewise.
34932         (setreuid): Likewise.
34933         (sigaction): Likewise.
34934         (truncate): Likewise.
34935         (vhangup): Likewise.
34936         * sysdeps/unix/common/syscalls.list: Remove file.
34937         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34938         * sysdeps/unix/sysv/linux/Implies: Likewise.
34939
34940 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34941
34942         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34944         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34945         Moved to ...
34946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34947         Here.
34948         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34949         to ...
34950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34951         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34952         to ...
34953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34954         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34955         to ...
34956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34957         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34958         to ...
34959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34960         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34961         to ...
34962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34963         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34964         to ...
34965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34966         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34967         to ...
34968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34969         Here.
34970         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34971         to ...
34972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34973         Here.
34974         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34975         to ...
34976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34977         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34978         Moved to ...
34979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34980         Here.
34981         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34982         to ...
34983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34984
34985 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34986
34987         * sysdeps/unix/common/bits/dirent.h: Remove file.
34988         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34989
34990         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34991         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34992         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34993         * sysdeps/unix/bsd/isatty.c: Likewise.
34994         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34995         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34996         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34997
34998 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34999
35000         [BZ #13563]
35001         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35002         long double comparison inaccuracies.
35003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35005
35006 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35007
35008         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35010
35011 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35012
35013         [BZ #14049]
35014         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35015         nonzero digits before rounding a hex value.
35016         * stdlib/tst-strtod.c (tests): Add another test.
35017
35018 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35019
35020         * sysdeps/s390/fpu/libm-test-ulps: Update.
35021
35022 2012-05-03  Andreas Jaeger  <aj@suse.de>
35023
35024         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35025         does not get optimized out.
35026         (malloc_opt_barrier): New.
35027
35028 2012-05-03  Andreas Jaeger  <aj@suse.de>
35029             Roland McGrath  <roland@hack.frob.com>
35030
35031         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35032         intermediate file deletion.
35033         (generated): Add .symlist files.
35034
35035 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35036
35037         [BZ #13775]
35038         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35039         Redirect under this condition.
35040         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35041         [__USE_GNU] (__dprintf_chk): Not under this condition.
35042         [__USE_GNU] (__vdprintf_chk): Likewise.
35043         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35044         under this condition.
35045         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35046         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35047         [__USE_XOPEN2K8] (vdprintf): Likewise.
35048         [__USE_GNU] (__dprintf_chk): Not under this condition.
35049         [__USE_GNU] (__vdprintf_chk): Likewise.
35050         [__USE_GNU] (dprintf): Likewise.
35051         [__USE_GNU] (vdprintf): Likewise.
35052
35053 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35054
35055         * elf/Makefile (common-generated): Set this instead of generated for
35056         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35057         $(all-built-dso)-derived lists.
35058
35059 2012-05-03  Andreas Jaeger  <aj@suse.de>
35060
35061         * sysdeps/i386/fpu/libm-test-ulps: Update.
35062
35063         * FAQ: Removed.
35064         * FAQ.in: Likewise.
35065         * scripts/gen-FAQ.pl: Likewise.
35066         * manual/install.texi (Installation): Point to online location of
35067         FAQ.
35068         * Makefile (files-for-dist): Remove FAQ.
35069         (FAQ): Remove.
35070
35071 2012-05-02  Allan McRae  <allan@archlinux.org>
35072
35073         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35074         (LDFLAGS-reldepmod5.so): Likewise.
35075         (LDFLAGS-reldep6mod1.so): Likewise.
35076         (LDFLAGS-reldep6mod4.so): Likewise.
35077         (LDFLAGS-reldep8mod3.so): Likewise.
35078         (LDFLAGS-unload4mod1.so): Likewise.
35079         (LDFLAGS-unload4mod2.so): Likewise.
35080         (LDFLAGS-tst-initorder): Likewise.
35081         (LDFLAGS-tst-initordera2.so): Likewise.
35082         (LDFLAGS-tst-initordera3.so): Likewise.
35083         (LDFLAGS-tst-initordera4.so): Likewise.
35084         (LDFLAGS-tst-initorderb2.so): Likewise.
35085         (LDFLAGS-noload): Likewise.
35086         (LDFLAGS-next): Likewise.
35087         (LDFLAGS-order2mod1.so): Likewise.
35088         (LDFLAGS-order2mod2.so): Likewise.
35089         (LDFLAGS-tst-initorder2): Likewise.
35090         (LDFLAGS-tst-initorder2a.so): Likewise.
35091         (LDFLAGS-tst-initorder2b.so): Likewise.
35092         (LDFLAGS-tst-initorder2c.so): Likewise.
35093         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35094
35095 2012-05-02  David S. Miller  <davem@davemloft.net>
35096
35097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35098
35099 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35100
35101         [BZ #14055]
35102         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35103
35104 2012-05-02  Andreas Jaeger  <aj@suse.de>
35105
35106         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35107         since we manipulate rounding mode.
35108         (CPPFLAGS-test-idouble.c): Likewise.
35109         (CPPFLAGS-test-ifloat.c): Likewise.
35110         (CFLAGS-test-ldouble.c): Likewise.
35111         (CFLAGS-test-double.c): Likewise.
35112         (CFLAGS-test-float.c): Likewise.
35113         (CFLAGS-test-misc.c): Likewise.
35114         (CFLAGS-test-test-fenv.c): Likewise.
35115
35116 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35117
35118         [BZ #2550]
35119         [BZ #2570]
35120         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35121         comparisons to determine direction to adjust input.
35122
35123 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35124
35125         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35126         output to the target.
35127
35128         * scripts/localplt.awk: New file.
35129         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35130         (check-localplt-CFLAGS): Variable removed.
35131         ($(all-built-dso:=.jmprel)): New static pattern rule.
35132         (generated): Add those targets.
35133         (localplt-built-dso): New variable.
35134         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35135
35136         * elf/check-localplt.c: File removed.
35137
35138         * scripts/check-execstack.awk: New file.
35139         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35140         (check-execstack-CFLAGS): Variable removed.
35141         ($(objpfx)check-execstack.h): Target removed.
35142         ($(objpfx)execstack-default): New target.
35143         (generated): Add that instead of check-execstack.h.
35144         ($(all-built-dso:=.phdr)): New static pattern rule.
35145         (generated): Add those targets.
35146         * elf/check-execstack.c: File removed.
35147
35148         * scripts/check-textrel.awk: New file.
35149         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35150         (check-textrel-CFLAGS): Variable removed.
35151         (all-built-dso): Use := to define.o
35152         ($(all-built-dso:=.dyn)): New static pattern rule.
35153         (generated): Add those targets.
35154         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35155         * config.make.in (READELF): New substituted variable.
35156         * elf/check-textrel.c: File removed.
35157
35158 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35159
35160         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35161         allow.
35162         * conform/data/ctype.h-data [C99-based standards] (isblank):
35163         Expect function.
35164         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35165         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35166         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35167         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35168         Specify type.  Require positive value.
35169         (EILSEQ): Likewise.
35170         (ERANGE): Likewise.
35171         [ISO || POSIX] (EILSEQ): Do not expect.
35172         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35173         Specify type.  Require positive value.
35174         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35175         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35176         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35177         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35178         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35179         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35180         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35181         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35182         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35183         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35184         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35185         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35186         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35187         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35188         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35189         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35190         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35191         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35192         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35193         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35194         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35195         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35196         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35197         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35198         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35199         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35200         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35201         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35202         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35203         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35204         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35205         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35206         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35207         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35208         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35209         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35210         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35211         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35212         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35213         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35214         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35215         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35216         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35217         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35218         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35219         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35220         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35221         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35222         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35223         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35224         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35225         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35226         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35227         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35228         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35229         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35230         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35231         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35232         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35233         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35234         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35235         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35236         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35237         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35238         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35239         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35240         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35241         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35242         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35243         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35244         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35245         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35246         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35247         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35248         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35249         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35250         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35251         Require >= 2.
35252         (FLT_ROUNDS): Expect as macro, not constant.
35253         (FLT_MANT_DIG): Use macro-int-constant.
35254         (DBL_MANT_DIG): Likewise.
35255         (LDBL_MANT_DIG): Likewise.
35256         (FLT_DIG): Likewise.
35257         (DBL_DIG): Likewise.
35258         (LDBL_DIG): Likewise.
35259         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35260         (DBL_MIN_EXP): Likewise.
35261         (LDBL_MIN_EXP): Likewise.
35262         (FLT_MAX_EXP): Use macro-int-constant.
35263         (DBL_MAX_EXP): Likewise.
35264         (LDBL_MAX_EXP): Likewise.
35265         (FLT_MAX_10_EXP): Likewise.
35266         (DBL_MAX_10_EXP): Likewise.
35267         (LDBL_MAX_10_EXP): Likewise.
35268         (FLT_MAX): Use macro-constant.
35269         (DBL_MAX): Likewise.
35270         (LDBL_MAX): Likewise.
35271         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35272         (DBL_EPSILON): Likewise.
35273         (LDBL_EPSILON): Likewise.
35274         (FLT_MIN): Likewise.
35275         (DBL_MIN): Likewise.
35276         (LDBL_MIN): Likewise.
35277         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35278         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35279         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35280         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35281         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35282         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35283         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35284         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35285         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35286         [ISO11] (FLT_TRUE_MIN): Likewise.
35287         [ISO11] (LDBL_TRUE_MIN): Likewise.
35288         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35289         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35290         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35291         (SCHAR_MAX): Likewise.
35292         (UCHAR_MAX): Likewise.
35293         (CHAR_MIN): Likewise.
35294         (CHAR_MAX): Likewise.
35295         (MB_LEN_MAX): Use macro-int-constant.
35296         (SHRT_MIN): Use macro-int-constant.  Specify type.
35297         (SHRT_MAX): Likewise.
35298         (USHRT_MAX): Likewise.
35299         (INT_MAX): Likewise.
35300         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35301         bound negative.
35302         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35303         bound with "U".
35304         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35305         bound with "L".
35306         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35307         bound negative.  Suffix upper bound with "L".
35308         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35309         bound with "UL".
35310         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35311         Specify type.
35312         [C99-based standards] (LLONG_MAX): Likewise.
35313         [C99-based standards] (ULLONG_MAX): Likewise.
35314         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35315         == 0.
35316         [ISO11] (max_align_t): Require type.
35317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35318
35319         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35320         from $CFLAGS, without defining away __attribute__ calls.
35321         (checknamespace): Use $CFLAGS_namespace.
35322
35323         * conform/conformtest.pl (@keywords): Only include C99 keywords
35324         for standards based on C99 or C11.
35325
35326         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35327         Disable tests.
35328         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35329         UNIX98]: Likewise.
35330
35331         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35332         usability of symbols in #if.
35333
35334         * conform/conformtest.pl: If macro or constant types start
35335         "promoted:", expect the symbol to be of the following type
35336         promoted by the integer promotions.
35337
35338         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35339         in one place.  Also handle "macro-constant".
35340
35341         * conform/conformtest.pl: Only accept expected macro values with
35342         "==".  Parse all "macro" lines in one place.
35343         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35344
35345         * conform/conformtest.pl: Handle braced types on "constant" lines
35346         instead of handling "typed-constant".
35347         * conform/data/signal.h-data: Use "constant" instead of
35348         "typed-constant".
35349
35350         * conform/conformtest.pl: Handle "optional-" at start of lines in
35351         one place rather than duplicating several cases.  Handle each
35352         format of "macro" line with initial "optional-".
35353
35354         * conform/conformtest.pl: Only accept expected constant or
35355         optional-constant values with "==".  Parse all "constant" lines in
35356         one place.  Parse all "optional-constant" lines in one place.
35357         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35358         * conform/data/fmtmsg.h-data: Likewise.
35359         * conform/data/netinet/in.h-data: Likewise.
35360         * conform/data/tar.h-data: Likewise.
35361         * conform/data/limits.h-data: Use "==" form on "constant" and
35362         "optional-constant" lines.
35363
35364         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35365         Use -std=c99 for XOPEN2K.
35366         (@knownproblems): Remove.
35367         (newtoken): Don't check %isknown.
35368
35369         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35370         Do not expect macro.
35371         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35372         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35373         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35374         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35375         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35376         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35377         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35378         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35379         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35380         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35381         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35382         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35383         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35384         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35385         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35386         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35387         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35388         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35389         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35390         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35391         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35392         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35393         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35394         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35395         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35396         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35397         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35398         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35399         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35400         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35401         [XPG3] (acosh): Likewise.
35402         [XPG3] (asinh): Likewise.
35403         [XPG3] (atanh): Likewise.
35404         [XPG3] (cbrt): Likewise.
35405         [XPG3] (expm1): Likewise.
35406         [XPG3] (ilogb): Likewise.
35407         [XPG3] (log1p): Likewise.
35408         [XPG3] (logb): Likewise.
35409         [XPG3] (nextafter): Likewise.
35410         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35411         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35412         [XPG3] (remainder): Likewise.
35413         [XPG3] (rint): Likewise.
35414         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35415         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35416         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35417         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35418         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35419         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35420         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35421         [UNIX98 || XOPEN2K] (scalb): Expect.
35422         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35423         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35424         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35425         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35426         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35427         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35428         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35429         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35430         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35431         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35432         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35433         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35434         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35435         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35436         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35437         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35438         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35439         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35440         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35441         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35442         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35443         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35444         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35445         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35446         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35447         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35448         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35449         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35450         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35451         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35452         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35453         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35454         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35455         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35456         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35457         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35458         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35459         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35460         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35461         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35462         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35463         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35464         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35465         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35466         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35467         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35468         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35469         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35470         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35471         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35472         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35473         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35474         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35475         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35476         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35477         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35478         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35479         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35480         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35481         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35482         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35483         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35484         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35485         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35486         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35487         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35488         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35489         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35490         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35491         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35492         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35493         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35494         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35495         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35496         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35497         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35498         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35499         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35500         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35501         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35502         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35503         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35504         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35505         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35506         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35507         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35508         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35509         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35510         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35511         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35512         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35513         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35514         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35515         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35516         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35517         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35518         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35519         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35520         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35521         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35522         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35523         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35524         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35525         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35526         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35527         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35528         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35529         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35530         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35531         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35532         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35533         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35534         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35535         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35536         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35537         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35538         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35539         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35540         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35541         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35542         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35543         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35544         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35545         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35546         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35547         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35548         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35549         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35550         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35551         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35552         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35553         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35554         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35555         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35556         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35557         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35558         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35559
35560         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35561         _XOPEN_SOURCE_EXTENDED for XPG4.
35562
35563         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35564
35565         * Makeconfig (localtime): Remove variable.
35566         (inst_localtime-file): Likewise.
35567
35568 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35569
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35571         Update.
35572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35573         Update.
35574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35575         Update.
35576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35577         Update.
35578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35579         Update.
35580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35581         Update.
35582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35583         Update.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35585         Update.
35586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35587         Update.
35588
35589 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35590
35591         [BZ #2550]
35592         [BZ #2570]
35593         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35594         comparisons to determine direction to adjust input.
35595         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35596         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35598         Likewise.
35599         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35600         Likewise.
35601         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35602         Likewise.
35603         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35604         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35605         Likewise.
35606         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35607         Likewise.
35608         * math/libm-test.inc (nexttoward_test): Add more tests.
35609
35610 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35611
35612         [BZ #14040]
35613         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35614         in version GLIBC_2.1, not GLIBC_2.0.
35615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35616         Likewise.
35617
35618 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35619
35620         [BZ #13942]
35621         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35622         (1 - x) * (1 + x).
35623         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35624         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35625         * math/libm-test.inc (acos_test): Add more tests.
35626         (asin_test): Likewise.
35627         * sysdeps/i386/fpu/libm-test-ulps: Update.
35628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35629
35630         [BZ #14034]
35631         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35632         of square root.
35633         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35634         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35635         * math/libm-test.inc (acos_test_tonearest): New function.
35636         (acos_test_towardzero): Likewise.
35637         (acos_test_downward): Likewise.
35638         (acos_test_upward): Likewise.
35639         (asin_test_tonearest): Likewise.
35640         (asin_test_towardzero): Likewise.
35641         (asin_test_downward): Likewise.
35642         (asin_test_upward): Likewise.
35643         (main): Call the new functions.
35644         * sysdeps/i386/fpu/libm-test-ulps: Update.
35645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35646
35647         [BZ #13884]
35648         [BZ #13924]
35649         * math/e_exp10.c: Include <float.h>.
35650         (__ieee754_exp10): Handle underflow here rather than multiplying
35651         large negative argument by M_LN10.
35652         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35653         of __ieee754_expf.
35654         * math/e_exp10l.c: Include <float.h>.
35655         (__ieee754_exp10l): Handle underflow here rather than multiplying
35656         large negative argument by M_LN10l.
35657         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35658         spurious overflow exception on underflow.
35659
35660 2012-04-29  Marek Polacek  <polacek@redhat.com>
35661
35662         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35663         (__fortify_function): New macro.
35664         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35665         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35666         __extern_always_inline.
35667         * libio/bits/stdio2.h: Likewise.
35668         * libio/bits/stdio.h: Likewise.
35669         * string/string.h: Likewise.
35670         * string/bits/string3.h: Likewise.
35671         * include/stdio.h: Likewise.
35672         * stdlib/bits/stdlib.h: Likewise.
35673         * stdlib/stdlib.h: Likewise.
35674         * rt/bits/mqueue2.h: Likewise.
35675         * rt/mqueue.h: Likewise.
35676         * posix/bits/unistd.h: Likewise.
35677         * posix/unistd.h: Likewise.
35678         * io/bits/poll2.h: Likewise.
35679         * io/bits/fcntl2.h: Likewise.
35680         * io/fcntl.h: Likewise.
35681         * io/sys/poll.h: Likewise.
35682         * misc/bits/syslog.h: Likewise.
35683         * misc/bits/syslog-ldbl.h: Likewise.
35684         * misc/sys/syslog.h: Likewise.
35685         * socket/bits/socket2.h: Likewise.
35686         * socket/sys/socket.h: Likewise.
35687         * debug/tst-chk1.c: Likewise.
35688         * wcsmbs/bits/wchar2.h: Likewise.
35689         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35690         * wcsmbs/wchar.h: Likewise.
35691
35692 2012-04-29  Andreas Jaeger  <aj@suse.de>
35693
35694         * Makerules (tests): Remove enable-check-abi protection.
35695         (check-abi-warn): Remove.
35696         (check-abi-%): Remove check-abi-warn usage.
35697
35698         * configure.in: Remove check-abi configure option.
35699         * configure: Regenerated.
35700         * config.make.in (enable-check-abi): Remove.
35701
35702 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35703
35704         [BZ #14033]
35705         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35706         double functions to double *_finite functions.
35707
35708         [BZ #13941]
35709         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35710         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35711         LDBL_MIN_EXP.
35712         * stdio-common/Makefile (tests): Add tst-sprintf3.
35713         * stdio-common/tst-sprintf3.c: New file.
35714
35715         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35716         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35717
35718 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35719
35720         * conform/conformtest.pl: Remove duplicate typed-constant
35721         handling.
35722
35723 2012-04-28  David S. Miller  <davem@davemloft.net>
35724
35725         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35726         (check-abi-%): Remove AWK script prerequisite and explicit
35727         abilist directory.
35728         (check-abi): Rewrite to just diff the symlist with the abilist.
35729         (config-tls, config-abi-config): Delete, no longer used.
35730         (update-abi-%): Remove AWK script and explicit abilist directory.
35731         (update-abi): Rewrite to simply compare and conditionally copy the
35732         symlist and the sysdep abilist file.  Remove update-abi-config
35733         checks.
35734         * abilist/ld.abilist: Remove.
35735         * abilist/libBrokenLocale.abilist: Remove.
35736         * abilist/libanl.abilist: Remove.
35737         * abilist/libcrypt.abilist: Remove.
35738         * abilist/libdl.abilist: Remove.
35739         * abilist/librt.abilist: Remove.
35740         * abilist/libthread_db.abilist: Remove.
35741         * abilist/libutil.abilist: Remove.
35742         * scripts/extract-abilist.awk: Remove.
35743         * scripts/merge-abilist.awk: Remove.
35744         * sysdeps/generic/libcidn.abilist: New file.
35745         * sysdeps/generic/libnss_compat.abilist: New file.
35746         * sysdeps/generic/libnss_db.abilist: New file.
35747         * sysdeps/generic/libnss_dns.abilist: New file.
35748         * sysdeps/generic/libnss_files.abilist: New file.
35749         * sysdeps/generic/libnss_hesiod.abilist: New file.
35750         * sysdeps/generic/libnss_nis.abilist: New file.
35751         * sysdeps/generic/libnss_nisplus.abilist: New file.
35752         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35753         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35754         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35755         file.
35756         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35757         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35758         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35759         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35760         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35761         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35762         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35763         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35764         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35765         file.
35766         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35767         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35768         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35769         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35770         file.
35771         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35772         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35773         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35774         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35775         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35776         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35777         file.
35778         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35779         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35780         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35781         file.
35782         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35784         New file.
35785         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35786         New file.
35787         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35788         New file.
35789         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35790         New file.
35791         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35792         New file.
35793         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35794         New file.
35795         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35796         New file.
35797         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35798         New file.
35799         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35800         New file.
35801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35802         New file.
35803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35804         New file.
35805         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35806         New file.
35807         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35808         New file.
35809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35810         file.
35811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35812         New file.
35813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35814         New file.
35815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35816         file.
35817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35818         New file.
35819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35820         New file.
35821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35822         file.
35823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35824         New file.
35825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35826         New file.
35827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35828         New file.
35829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35830         New file.
35831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35832         New file.
35833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35834         New file.
35835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35837         file.
35838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35839         New file.
35840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35841         file.
35842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35843         file.
35844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35845         file.
35846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35847         file.
35848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35849         file.
35850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35851         New file.
35852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35853         file.
35854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35855         file.
35856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35857         New file.
35858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35859         file.
35860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35862         file.
35863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35864         New file.
35865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35866         file.
35867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35868         file.
35869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35870         file.
35871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35872         file.
35873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35874         file.
35875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35876         New file.
35877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35878         file.
35879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35880         file.
35881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35882         New file.
35883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35884         file.
35885         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35886         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35887         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35888         file.
35889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35890         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35891         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35892         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35893         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35894         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35895         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35896         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35897         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35898         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35901         file.
35902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35903         New file.
35904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35905         file.
35906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35907         file.
35908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35909         file.
35910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35911         file.
35912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35913         file.
35914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35915         New file.
35916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35917         New file.
35918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35919         file.
35920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35921         New file.
35922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35923         file.
35924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35926         file.
35927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35928         New file.
35929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35930         file.
35931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35932         file.
35933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35934         file.
35935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35936         file.
35937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35938         file.
35939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35940         New file.
35941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35942         New file.
35943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35944         file.
35945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35946         New file.
35947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35948         file.
35949
35950 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35951
35952         * conform/conformtest.pl: Fix typo in handling typed-constant from
35953         allow-header.
35954
35955 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35956
35957         * README: Cut down references to pre-2.6 Linux kernels and
35958         Linuxthreads.  Update lists of configurations in libc and ports
35959         and sort alphabetically.  Say "or newer" with Linux kernel version
35960         requirements.
35961
35962         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35963
35964 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35965
35966         [BZ #887]
35967         * math/libm-test.inc (logb_test_downward): New test to expose
35968         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35969         rounding mode.
35970
35971 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35972
35973         [BZ #14027]
35974         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35975         to be done.
35976         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35977         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35978
35979 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35980
35981         * sysdeps/unix/i386/brk.S: Remove file.
35982         * sysdeps/unix/i386/dl-brk.S: Likewise.
35983         * sysdeps/unix/i386/pipe.S: Likewise.
35984         * sysdeps/unix/i386/sigreturn.S: Likewise.
35985         * sysdeps/unix/i386/syscall.S: Likewise.
35986         * sysdeps/unix/i386/vfork.S: Likewise.
35987         * sysdeps/unix/i386/wait.S: Likewise.
35988
35989         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35990         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35991
35992         * configure.in (arm*-none*): Do not allow without
35993         --enable-hacker-mode.
35994         (netbsd*): Remove case setting base_os.
35995         (386bsd*): Likewise.
35996         (freebsd*): Likewise.
35997         (bsdi*): Likewise.
35998         (osf*): Likewise.
35999         (sunos*): Likewise.
36000         (ultrix*): Likewise.
36001         (newsos*): Likewise.
36002         (dynix*): Likewise.
36003         (*bsd*): Likewise.
36004         (sysv*): Likewise.
36005         (isc*): Likewise.
36006         (esix*): Likewise.
36007         (sco*): Likewise.
36008         (minix*): Likewise.
36009         (irix4*): Likewise.
36010         (irix6*): Likewise.
36011         (solaris[2-9]*): Likewise.
36012         (none): Likewise.
36013         * configure: Regenerated.
36014
36015 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36016
36017         [BZ #11521]
36018         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36019         overflow or cancellation in calculating denominator.
36020         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36021         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36022         down expression to avoid unexpected rounding in newer GCCs.
36023         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36024
36025 2012-04-26  David S. Miller  <davem@davemloft.net>
36026
36027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36028         long-double compat symbols.
36029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36042
36043 2012-04-25  David S. Miller  <davem@davemloft.net>
36044
36045         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36046         HWCAP_* values only after the memory barriers have been defined.
36047         (atomic_full_barrier): Define.
36048         (atomic_read_barrier): Define.
36049         (atomic_write_barrier): Define.
36050
36051 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36052
36053         * shlib-versions: Add libgcc_s version information.
36054         * sysdeps/generic/libgcc_s.h: Remove.
36055         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36056         libgcc_s.h.
36057         * sysdeps/gnu/unwind-resume.c: Likewise.
36058         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36059
36060 2012-04-25  David S. Miller  <davem@davemloft.net>
36061
36062         * sysdeps/unix/sparc/brk.S: Delete.
36063         * sysdeps/unix/sparc/dl-brk.S: Delete.
36064         * sysdeps/unix/sparc/pipe.S: Delete.
36065         * sysdeps/unix/sparc/sysdep.S: Delete.
36066         * sysdeps/unix/sparc/sysdep.h: Delete.
36067         * sysdeps/unix/sparc/vfork.S: Delete.
36068         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36069         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36070         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36071         (ret_ERRVAL, r0, r1, MOVE): Define.
36072         (JUMPTARGET): Remove.
36073         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36074         sysdeps/unix/sparc/sysdep.h
36075         (ENTRY, END): Remove.
36076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36077
36078 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36079
36080         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36081         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36082         -DIS_IN_build.
36083
36084         * timezone/README: Update upstream location and email address for
36085         tzcode and tzdata.
36086         * timezone/zdump.c: Update from tzcode 2012b.
36087         * timezone/zic.c: Likewise.
36088
36089         * configure.in (libc_cv_as_needed): Remove test.
36090         * configure: Regenerated.
36091         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36092         conditional definition.
36093         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36094         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36095         * config.make.in (have-as-needed): Remove variable.
36096
36097 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36098             Paul Pluzhnikov  <ppluzhnikov@google.com>
36099
36100         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36101         strings correctly.
36102
36103 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36104
36105         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36106         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36107         * sysdeps/sh/strlen.S: Likewise.
36108
36109 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36110
36111         * sysdeps/unix/fork.S: Remove file.
36112         * sysdeps/unix/i386/fork.S: Likewise.
36113         * sysdeps/unix/sparc/fork.S: Likewise.
36114
36115         * sysdeps/unix/system.c: Remove file.
36116         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36117
36118         * sysdeps/unix/getegid.S: Remove file.
36119         * sysdeps/unix/geteuid.S: Likewise.
36120
36121 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36122
36123         * scripts/check-localplt.awk: New file.
36124         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36125         of diff.
36126         * scripts/data/localplt-generic.data: Add a comment.
36127
36128         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36129         NODE when __dir_mkfile failed.
36130         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36131         Reported by Ludovic Courtès <ludo@gnu.org>.
36132
36133 2012-04-24  Andreas Jaeger  <aj@suse.de>
36134
36135         * Makerules (common-clean): Also remove gen-as-const-headers
36136         files.
36137
36138 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36139
36140         * Makerules (native-compile): Do not change working directory for
36141         build.  Use $(OUTPUT_OPTION) in command.
36142         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36143
36144 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36145
36146         [BZ #13886]
36147         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36148         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36149         * math/libm-test.inc (floor_test): Add more tests.
36150         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36151
36152 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36153
36154         * sysdeps/unix/getdents.c: Remove file.
36155         * sysdeps/unix/sysv/getdents.c: Likewise.
36156         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36157
36158         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36159         sysdeps/unix/mman/syscalls.list.
36160         (mmap): Likewise.
36161         (mprotect): Likewise.
36162         (msync): Likewise.
36163         (munmap): Likewise.
36164         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36165         * sysdeps/unix/mman/syscalls.list: Remove.
36166         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36167
36168         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36169         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36170         * configure: Regenerated.
36171         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36172         $(libgcc_s_suffix).
36173         * config.make.in (libgcc_s_suffix): Remove variable.
36174
36175 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36176
36177         * sysdeps/unix/sysv/gethostname.c: Move to ...
36178         * sysdeps/posix/gethostname.c: ... here.
36179
36180         * sysdeps/unix/execve.S: Remove file.
36181
36182         * sysdeps/unix/_exit.S: Remove file.
36183
36184 2012-04-23  Andreas Jaeger  <aj@suse.de>
36185
36186         [BZ #13739]
36187         * manual/Makefile: Remove make dist support, there's no
36188         need for a stand-alone documentation tar ball.
36189         (TEXI2DVI): Define always, it's not in Makeconfig.
36190         (dist): Removed.
36191         (tar-it): Removed.
36192         (edition): Removed.
36193         (glibc-doc-$(edition).tar): Removed
36194         (%.Z): Removed.
36195         (%.gz): Removed.
36196         (%.uu): Removed.
36197         (ETAGS): Remove, it's in Makeconfig.
36198         (move-if-change): Remove, it's in Makeconfig.
36199
36200 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36201
36202         [BZ #13970]
36203         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36204         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36205         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36206         (strtod_l, strtof_l, strtold_l): Remove __wur.
36207         It is not necessarily an error to ignore strtol's return value.
36208         One can reliably look at the stored endptr to decide whether
36209         the number had valid syntax.
36210
36211 2012-04-21  Andreas Jaeger  <aj@suse.de>
36212
36213         [BZ #13739]
36214         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36215
36216 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36217
36218         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36219         * sysdeps/unix/sysv/Versions: Remove file.
36220
36221 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36222
36223         [BZ #13927]
36224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36225
36226 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36227
36228         [BZ #7064]
36229         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36230         version from __vm86.
36231
36232 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36233
36234         * sysdeps/unix/common/lxstat.c: Remove file.
36235         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36236
36237         * sysdeps/unix/sysv/Makefile: Remove file.
36238
36239         * sysdeps/unix/sysv/direct.h: Remove file.
36240
36241         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36242         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36243         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36244         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36245         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36246         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36247         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36248
36249         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36250
36251         * sysdeps/unix/xmknod.c: Remove file.
36252         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36253
36254         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36255
36256         * sysdeps/unix/sysv/i386/time.S: Remove file.
36257
36258         * sysdeps/unix/fxstat.c: Remove file.
36259         * sysdeps/unix/xstat.c: Likewise.
36260         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36261
36262         * sysdeps/unix/sysv/sigaction.c: Remove file.
36263
36264         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36265         (sysdep_headers): Remove variable.
36266         [termio.h not in sysdep_headers] (generated): Likewise.
36267         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36268         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36269         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36270         * sysdeps/unix/sysv/tcflow.c: Likewise.
36271         * sysdeps/unix/sysv/tcflush.c: Likewise.
36272         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36273         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36274         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36275         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36276         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36277
36278         * sysdeps/unix/siglist.c: Remove file.
36279
36280         * sysdeps/unix/getppid.S: Remove file.
36281
36282         * sysdeps/unix/mkdir.c: Remove file.
36283         * sysdeps/unix/rmdir.c: Likewise.
36284
36285 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36286
36287         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36288         ERR_MAX value.
36289         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36290         errlist-compat value.
36291
36292 2012-04-18  David S. Miller  <davem@davemloft.net>
36293
36294         * sysdeps/generic/memcopy.h (reg_char): Delete.
36295         * debug/strcat_chk.c: Use char, not reg_char.
36296         * debug/strcpy_chk.c: Likewise.
36297         * debug/strncat_chk.c: Likewise.
36298         * debug/strncpy_chk.c: Likewise.
36299         * string/memchr.c: Likewise.
36300         * string/memrchr.c: Likewise.
36301         * string/rawmemchr.c: Likewise.
36302         * string/strcat.c: Likewise.
36303         * string/strchr.c: Likewise.
36304         * string/strchrnul.c: Likewise.
36305         * string/strcmp.c: Likewise.
36306         * string/strcpy.c: Likewise.
36307         * string/strncat.c: Likewise.
36308         * string/strncmp.c: Likewise.
36309         * string/strncpy.c: Likewise.
36310
36311 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36312
36313         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36314         __builtin_memcopy is called when src and dest ranges are known to not
36315         overlap.
36316
36317 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36318
36319         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36320         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36321         fwd_align_merge macro call.
36322         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36323         bwd_align_merge macro call.
36324         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36325
36326 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36327
36328         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36329         bwd_align_merge macros.
36330         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36331         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36332         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36333
36334 2012-04-18  David S. Miller  <davem@davemloft.net>
36335
36336         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36337
36338 2012-04-18  Andreas Jaeger  <aj@suse.de>
36339
36340         [BZ# 6794]
36341         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36342         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36343         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36344
36345         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36346         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36347         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36348
36349         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36350         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36351         Adjust for changed ldbl-128 files.
36352
36353         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36354         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36355         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36356
36357 2012-04-17  David S. Miller  <davem@davemloft.net>
36358
36359         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36360
36361 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36362
36363         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36364         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36365         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36366         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36367         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36368         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36369
36370 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36371
36372         [BZ #6794]
36373         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36374         * math/libm-test.inc: Add ilogb errno and exception tests.
36375         * math/w_ilogb.c: New file: ilogb wrapper.
36376         * math/w_ilogbf.c: New file: ilogbf wrapper.
36377         * math/w_ilogbl.c: New file: ilogbl wrapper.
36378         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36379         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36380         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36381         exception being thrown with 0.0 as argument.
36382         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36383         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36384         exception being thrown with 0.0 as argument.
36385         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36386         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36387         exception being thrown with 0.0 as argument.
36388         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36389         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36390         exception being thrown with 0.0 as argument.
36391         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36392         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36393         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36394         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36395         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36396         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36397         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36398         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36399         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36400
36401 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36402
36403         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36404         with altivec.
36405
36406 2012-04-16  Marek Polacek  <polacek@redhat.com>
36407
36408         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36409
36410 2012-04-16  Marek Polacek  <polacek@redhat.com>
36411
36412         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36413         operands of fdivp instruction.
36414
36415 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36416
36417         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36418         * elf/tst-auditmod3b.c: Likewise.
36419         * elf/tst-auditmod4b.c: Likewise.
36420         * elf/tst-auditmod5b.c: Likewise.
36421         * elf/tst-auditmod6b.c: Likewise.
36422         * elf/tst-auditmod6c.c: Likewise.
36423         * elf/tst-auditmod7b.c: Likewise.
36424         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36425         * sysdeps/x86_64/preconfigure.in: Likewise.
36426         * sysdeps/x86_64/preconfigure: Regenerated.
36427
36428 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36429
36430         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36431         __ILP32__.
36432
36433 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36434
36435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36436         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36437
36438 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36439
36440         [BZ #13973]
36441         * locale/iso-639.def: Fix gl language name. Spotted by
36442         Yaron Shahrabani.
36443
36444 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36445
36446         [BZ #2074]
36447         * libio/libio.h (__io_write_fn): Update comment.
36448
36449 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36450
36451         [BZ #2074]
36452         * stdio.texi (Hook Functions): The user provided writer function
36453         is not allowed to return -1.
36454
36455 2012-04-11  David S. Miller  <davem@davemloft.net>
36456
36457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36458
36459 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36460
36461         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36462         Add a leading slash to rtkaio.
36463
36464 2012-04-11  Jim Meyering  <meyering@redhat.com>
36465
36466         [BZ #11959]
36467         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36468         It is not necessarily an error to ignore fwrite's return
36469         value.  One can reliably use ferror to test for errors after
36470         the fact.
36471
36472 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36473
36474         * bits/types.h (__snseconds_t): New type.
36475         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36476
36477         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36478         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36479         (__SNSECONDS_T_TYPE): Likewise.
36480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36481         (__SNSECONDS_T_TYPE): Likewise.
36482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36483         (__SNSECONDS_T_TYPE): Likewise.
36484
36485 2012-04-10  Andreas Jaeger  <aj@suse.de>
36486
36487         [BZ #2636]
36488         * manual/time.texi (Processor Time): Return type of times is
36489         elapsed real time since an arbitrary point in the past.
36490         (CPU Time): Move CLK_TCK from here...
36491         (Processor Time): ...to here.  Correct description.
36492         * manual/conf.texi (Constants for Sysconf): Correct description of
36493         _SC_CLK_TCK.
36494
36495 2012-04-10  David S. Miller  <davem@davemloft.net>
36496
36497         [BZ #13967]
36498         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36499         where the is a gap between DT_REL(A) and DT_JMPREL.
36500
36501 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36502
36503         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36504         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36505         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36506
36507 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36508
36509         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36510         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36511         (dl_main): Handle --inhibit-cache.
36512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36513         _dl_inhibit_cache.
36514         * elf/dl-load.c (_dl_map_object): Use it.
36515         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36516
36517 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36518
36519         [BZ #13872]
36520         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36521         (__ieee754_powl): Saturate large exponents rather than testing for
36522         overflow of y*log2(x).
36523         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36524         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36525         exceptions.
36526
36527         [BZ #11521]
36528         * math/s_ctan.c: Include <float.h>.
36529         (__ctan): Avoid internal overflow or cancellation in calculating
36530         denominator.
36531         * math/s_ctanf.c: Likewise.
36532         * math/s_ctanl.c: Likewise.
36533         * math/s_ctanh.c: Likewise.
36534         * math/s_ctanhf.c: Likewise.
36535         * math/s_ctanhl.c: Likewise.
36536         * math/libm-test.inc (ctan_test): Add more tests.
36537         (ctanh_test): Likewise.
36538         * sysdeps/i386/fpu/libm-test-ulps: Update.
36539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36540
36541 2012-04-09  Andreas Jaeger  <aj@suse.de>
36542
36543         [BZ #6894]
36544         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36545         is an optional BSD extension.
36546
36547         [BZ #10254]
36548         * manual/stdio.texi (Opening Streams): Document additional fopen
36549         parameters.
36550
36551 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36552
36553         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36554         %eax without telling the compiler.
36555
36556 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36557
36558         [BZ # 13963]
36559         * manual/install.texi: Use sourceware.org.
36560
36561 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36562
36563         [BZ #13873]
36564         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36565         (__ieee754_pow): Generate overflow and underflow using huge*huge
36566         and tiny*tiny rather than just returning constant infinity or zero
36567         for large exponents.
36568         * math/libm-test.inc (pow_test): Require overflow exceptions for
36569         applicable cases of large exponents.
36570
36571         [BZ #706]
36572         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36573         (__ieee754_pow): Use iterative multiplication algorithm only for
36574         integer exponents with absolute value below 1024.  Check for odd
36575         integer exponents when using algorithm for real exponents.
36576         * math/libm-test.inc (pow_test): Add more tests.
36577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36578
36579 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36580
36581         [BZ #13705]
36582         * math/libm-test.inc (exp_test): Do not allow overflow exception
36583         on underflow test.
36584
36585 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36586
36587         [BZ #13705]
36588         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36589         instead of __kernel_standard_f.
36590
36591 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36592
36593         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36594         * sysdeps/x86_64/memset_chk.S: Likewise.
36595
36596 2012-04-08  Andreas Jaeger  <aj@suse.de>
36597
36598         [BZ #10153]
36599         * manual/startup.texi (Environment Access): Describe return value
36600         for putenv and setenv.
36601
36602         [BZ #6895]
36603         * manual/filesys.texi (Directory Entries): Add description for
36604         DT_LNK.
36605
36606         [BZ #6890]
36607         * manual/filesys.texi (Directory Entries): Clarify that it's file
36608         system not operating system in the description of DT_UNKNOWN.
36609
36610         [BZ #6578]
36611         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36612
36613 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36614
36615         [BZ #6649]
36616         * manual/llio.texi (Opening and Closing Files): Add cross
36617         reference to explain mode argument.
36618
36619 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36620
36621         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36622         * sysdeps/x86_64/memset_chk.S: Likewise.
36623
36624 2012-04-07  David S. Miller  <davem@davemloft.net>
36625
36626         * elf/elf.h (R_SPARC_WDISP10): Define.
36627         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36628         R_SPARC_SIZE32.
36629         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36630         R_SPARC_SIZE64 and R_SPARC_H34.
36631
36632 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36633
36634         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36635         conditions and remove no longer applicable assertion.
36636
36637 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36638
36639         * bits/byteswap.h: Include <features.h>.
36640         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36641         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36642
36643 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36644
36645         * bits/byteswap.h (__bswap_16): Removed.
36646         Include <bits/byteswap-16.h> to get __bswap_16.
36647         * sysdeps/i386/bits/byteswap.h: Likewise.
36648         * sysdeps/s390/bits/byteswap.h: Likewise.
36649         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36650         * bits/byteswap-16.h: New file.
36651         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36652         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36653         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36654         * string/Makefile (headers): Add bits/byteswap-16.h.
36655
36656 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36657
36658         [BZ #13895]
36659         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36660         extra indirection.
36661         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36662         * nss/tst-nss-static.c: New.
36663
36664 2012-04-06  Robert Millan  <rmh@gnu.org>
36665
36666         [BZ #6486]
36667         * manual/llio.texi (File Position Primitive): lseek
36668         refers to WHENCE when it really means OFFSET.
36669
36670 2012-04-06  Andreas Jaeger  <aj@suse.de>
36671
36672         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36673         strncmp declarations.
36674
36675         * abilist/libc.abilist: Add __poll and __ppoll.
36676
36677 2012-04-05  David S. Miller  <davem@davemloft.net>
36678
36679         * scripts/check-local-headers.sh: Accept a host triplet in the
36680         path matched by the exclude regexp.
36681
36682         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36683         definition.
36684         * sysdeps/powerpc/powerpc32/dl-machine.h
36685         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36686         * sysdeps/s390/s390-32/dl-machine.h
36687         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36688         * sysdeps/sparc/sparc32/dl-machine.h
36689         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36690         * sysdeps/sparc/sparc64/dl-machine.h
36691         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36692
36693         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36694         lazy binding.
36695         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36696         undefined symbol errors.
36697
36698         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36699         DT_NEEDED entries.
36700
36701 2012-04-05  Michael Matz  <matz@suse.de>
36702
36703         [BZ #13592]
36704         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36705
36706 2012-04-05  Andreas Jaeger  <aj@suse.de>
36707
36708         [BZ #13908]
36709         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36710         comment.
36711
36712 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36713
36714         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36715         which ROUND is no valid rounding mode.
36716
36717 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36718
36719         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36720         read again.
36721         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36722
36723 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36724
36725         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36726         an exception using FPU order intentionally.
36727
36728 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36729
36730         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36731         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36732         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36733         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36734
36735 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36736
36737         [BZ #12340]
36738         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36739         EINVAL when BUFLEN is too smal.
36740
36741 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36742
36743         [BZ #13553]
36744         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36745         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36746
36747 2012-04-03  Andreas Jaeger  <aj@suse.de>
36748
36749         [BZ #13938]
36750         * manual/setjmp.texi (System V contexts): Fix sentence.
36751
36752         [BZ #13926]
36753         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36754         New macro for this case.
36755         [!__GNUC__] (__bswap_64): New inline function for this case.
36756         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36757         * bits/byteswap.h: Likewise.
36758         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36759         ull, guard with __GLIBC_HAVE_LONG_LONG.
36760
36761         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36762         __GLIBC_HAVE_LONG_LONG.
36763
36764         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36765         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36766
36767 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36768
36769         [BZ #13691]
36770         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36771         inptr and inend, rather than using last_ch.
36772
36773 2012-04-02  David S. Miller  <davem@davemloft.net>
36774
36775         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36776         * stdio-common/printf-parse.h (read_int): Change return type to
36777         'int', return -1 on INT_MAX overflow.
36778         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36779         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36780         overflows INT_MAX.  Check for overflow of in-format-string precision
36781         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36782         SIZE_MAX not INT_MAX for integer overflow test.
36783         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36784         skip the construct in the format string but do not record anything.
36785         * stdio-common/bug22.c: Adjust to test both width/prevision
36786         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36787         explicitly for proper errno values.
36788
36789 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36790
36791         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36792         CHAR_MAX.
36793         * string/test-strcmp.c [! WIDE]: Likewise.
36794         * time/tst-mktime2.c: Likewise for INT_MAX.
36795         * string/test-string.h: #include <sys/param.h> for MIN.
36796
36797         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36798         * sysdeps/i386/init-first.c (init): Likewise.
36799         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36800         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36801         * sysdeps/sh/init-first.c (init): Likewise.
36802
36803 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36804
36805         * po/ru.po: Update from translation team.
36806         * po/vi.po: Likewise.
36807
36808 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36809
36810         * resolv/nss_dns/dns-host.c: Merge copyright years.
36811
36812 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36813
36814         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36815         Optimize memcpy with prefetch if
36816         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36817         src, dst pointers have unequal 16 byte alignments.
36818
36819 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36820
36821         [BZ #13928]
36822         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36823         from a CNAME entry and return the minimum ttl for the query.
36824         (gaih_getanswer_slice): Likewise.
36825
36826 2012-03-30  Jeff Law  <law@redhat.com>
36827
36828         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36829         due to long keys.
36830         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36831         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36832
36833         * resolv/nss_dns/dns-host.c: Update copyright year.
36834
36835 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36836
36837         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36838         requests to save a system call.  Fix check that all bytes are sent.
36839
36840         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36841         comments for sendmmsg.
36842
36843 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36844
36845         [BZ #13691]
36846         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36847         with only 1 character between 0x0041 and 0x01b0.
36848         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36849         * wcsmbs/tst-mbsnrtowcs.c: New file.
36850
36851 2012-03-29  David S. Miller  <davem@davemloft.net>
36852
36853         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36854         small copies by hand.
36855
36856 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36857
36858         [BZ #13761]
36859         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36860         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36861         group memberships.
36862
36863 2012-03-28  David S. Miller  <davem@davemloft.net>
36864
36865         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36866         that branches into memcpy.
36867         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36869         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36870         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36871         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36872         bits.
36873         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36874         implementation too.
36875         * sysdeps/sparc/mempcpy.S: New file.
36876
36877         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36878         the IFUNC routine in the libc case.
36879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36880
36881         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36882         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36883         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36884         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36885         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36886         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36887         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36888         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36889
36890         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36891         loop to 256 bytes instead of 64 bytes and fix test signedness.
36892
36893         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36894         * sysdeps/sparc/sparc32/Makefile: rather than here...
36895         * sysdeps/sparc/sparc64/Makefile: and here.
36896
36897 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36898
36899         * malloc/mallocbug.c: Avoid warnings about unused variables.
36900
36901 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36902
36903         [BZ #13760]
36904         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36905         in the right place. Discard and retry query if response is
36906         larger than input buffer size.
36907
36908 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36909
36910         [BZ #369]
36911         [BZ #2678]
36912         [BZ #3866]
36913         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36914         x for large integer exponent.
36915         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36916         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36917         sign of result as needed afterwards.
36918         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36919         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36920         result for underflowing pow the same as for overflow.
36921         (__kernel_standard_l): Handle powl overflow and underflow here
36922         rather than calling __kernel_standard.
36923         * math/libm-test.inc (pow_test): Add more tests.
36924
36925         [BZ #3868]
36926         [BZ #13879]
36927         [BZ #13910]
36928         [BZ #13911]
36929         [BZ #13912]
36930         [BZ #13913]
36931         [BZ #13915]
36932         [BZ #13916]
36933         [BZ #13917]
36934         [BZ #13918]
36935         [BZ #13919]
36936         [BZ #13920]
36937         [BZ #13921]
36938         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36939         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36940         (__kernel_standard_l): New function.
36941         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36942         __kernel_standard.
36943         * math/w_acosl.c (__acosl): Likewise.
36944         * math/w_asinl.c (__asinl): Likewise.
36945         * math/w_atan2l.c (__atan2l): Likewise.
36946         * math/w_atanhl.c (__atanhl): Likewise.
36947         * math/w_coshl.c (__coshl): Likewise.
36948         * math/w_exp10l.c (__exp10l): Likewise.
36949         * math/w_exp2l.c (__exp2l): Likewise.
36950         * math/w_fmodl.c (__fmodl): Likewise.
36951         * math/w_hypotl.c (__hypotl): Likewise.
36952         * math/w_j0l.c (__j0l, __y0l): Likewise.
36953         * math/w_j1l.c (__j1l, __y1l): Likewise.
36954         * math/w_jnl.c (__jnl, __ynl): Likewise.
36955         * math/w_lgammal.c (__lgammal): Likewise.
36956         * math/w_log10l.c (__log10l): Likewise.
36957         * math/w_log2l.c (__log2l): Likewise.
36958         * math/w_logl.c (__logl): Likewise.
36959         * math/w_powl.c (__powl): Likewise.
36960         * math/w_remainderl.c (__remainderl): Likewise.
36961         * math/w_scalbl.c (sysv_scalbl): Likewise.
36962         * math/w_sinhl.c (__sinhl): Likewise.
36963         * math/w_sqrtl.c (__sqrtl): Likewise.
36964         * math/w_tgammal.c (__tgammal): Likewise.
36965         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36966         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36967         * math/libm-test.inc (acos_test): Add more tests.
36968         (acosh_test): Likewise.
36969         (asin_test): Likewise.
36970         (atanh_test): Likewise.
36971         (exp_test): Likewise.
36972         (exp10_test): Likewise.
36973         (exp2_test): Likewise.
36974         (expm1_test): Likewise.
36975         (lgamma_test): Likewise.
36976         (log_test): Likewise.
36977         (log10_test): Likewise.
36978         (log1p_test): Likewise.
36979         (log2_test): Likewise.
36980         (pow_test): Do not allow some spurious overflow exceptions.
36981         (sqrt_test): Add more tests.
36982         (tgamma_test): Likewise.
36983         (y0_test): Likewise.
36984         (y1_test): Likewise.
36985         (yn_test): Likewise.
36986
36987 2012-03-27  Anton Blanchard  <anton@samba.org>
36988
36989         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36990         MAP_HUGETLB.
36991         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36992         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36994
36995 2012-03-27  David S. Miller  <davem@davemloft.net>
36996
36997         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36998
36999         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37000         have-as-vis3 check.
37001
37002 2012-03-27  Andreas Jaeger  <aj@suse.de>
37003
37004         * sysdeps/x86_64/elf/configure.in: Moved to ...
37005         * sysdeps/x86_64/configure.in: ... here.
37006         * sysdeps/x86_64/elf/start.S: Moved to ...
37007         * sysdeps/x86_64/start.S: ... here.
37008         * sysdeps/x86_64/elf/configure: Delete.
37009
37010         * sysdeps/x86_64/configure.in: Merge contents from
37011         sysdeps/i386/configure.in (without i686 check).
37012
37013         * sysdeps/i386/elf/Versions: Merge into ...
37014         * sysdeps/i386/Versions: ... this.
37015         * sysdeps/i386/elf/Versions: Delete file.
37016         * sysdeps/i386/elf/start.S: Moved to ...
37017         * sysdeps/i386/start.S: ...here.
37018         * sysdeps/i386/elf/configure.in: Merge into...
37019         * sysdeps/i386/configure.in: ...here.
37020         * sysdeps/i386/elf/configure.in: Delete file.
37021         * sysdeps/i386/elf/configure: Delete file.
37022
37023         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37024         * debug/backtracesyms.c: ... here.
37025         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37026         * debug/backtracesymsfd.c: ... here.
37027         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37028         * sysdeps/generic/ifunc-sel.h: ... here.
37029
37030         * sysdeps/unix/i386/start.c: Delete file.
37031         * sysdeps/unix/sparc/start.c: Delete file.
37032         * sysdeps/unix/start.c: Delete file.
37033
37034         * sysdeps/sh/elf/configure.in: Moved to ...
37035         * sysdeps/sh/configure.in: ... here.
37036         * sysdeps/sh/elf/start.S: Moved to ...
37037         * sysdeps/sh/start.S: ... here.
37038         * sysdeps/sh/elf/configure: Delete file.
37039
37040         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37041         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37042         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37043         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37044         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37045         * sysdeps/powerpc/powerpc64/start.S: here.
37046         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37047         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37048         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37049         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37050         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37051
37052         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37053         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37054         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37055         * sysdeps/powerpc/powerpc32/start.S: ... here.
37056         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37057         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37058         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37059
37060         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37061         * sysdeps/powerpc/ifunc-sel.h: ... here.
37062         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37063         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37064
37065         * sysdeps/sparc/elf/configure.in: Moved to ...
37066         * sysdeps/sparc/configure.in: ... here.
37067         * sysdeps/sparc/elf/configure: Delete file.
37068         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37069         * sysdeps/sparc/sparc32/start.S: ... here.
37070         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37071         * sysdeps/sparc/sparc64/start.S: ... here.
37072         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37073         * sysdeps/sparc/sparc32/Makefile: ... this.
37074         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37075         * sysdeps/sparc/sparc64/Makefile: ... this.
37076
37077         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37078         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37079         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37080         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37081         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37082         * sysdeps/s390/s390-32/setjmp.S: ... here.
37083         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37084         * sysdeps/s390/s390-32/configure.in: ... here.
37085         * sysdeps/s390/s390-32/elf/configure: Delete file.
37086         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37087         * sysdeps/s390/s390-32/start.S: ... here.
37088
37089         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37090         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37091         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37092         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37093         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37094         * sysdeps/s390/s390-64/setjmp.S: ... here.
37095         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37096         * sysdeps/s390/s390-64/configure.in: ... here
37097         * sysdeps/s390/s390-64/elf/configure: Delete file.
37098         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37099         * sysdeps/s390/s390-64/start.S: ... here.
37100         * sysdeps/s390/s390-64/elf/configure: Delete.
37101
37102         * configure.in: Remove support for elf directories in sysdeps.
37103
37104         * configure: Regenerated.
37105         * sysdeps/i386/configure: Regenerated.
37106         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37107         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37108         * sysdeps/s390/s390-32/configure: Regenerated.
37109         * sysdeps/s390/s390-64/configure: Regenerated.
37110         * sysdeps/sh/configure: Regenerated.
37111         * sysdeps/sparc/configure: Regenerated.
37112         * sysdeps/x86_64/configure: Regenerated.
37113
37114 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37115
37116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37117
37118         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37119         denormal result into account.
37120
37121 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37122
37123         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37124         Reported by Allan McRae <allan@archlinux.org>.
37125
37126 2012-03-23  Jeff Law  <law@redhat.com>
37127
37128         * nss/getnssent.c (__nss_getent): Fix typo.
37129
37130 2012-03-23  David S. Miller  <davem@davemloft.net>
37131
37132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37133
37134 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37135
37136         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37137         to pad to uint64_t for each field.
37138         (dl_tls_index): Replace unsigned long with uint64_t.
37139
37140 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37141         Paul Pluzhnikov  <ppluzhnikov@google.com>
37142
37143         [BZ #6528]
37144         * grp/Makefile (otherlibs): Don't set it.
37145         * inet/Makefile (otherlibs): Likewise.
37146         * login/Makefile (otherlibs): Likewise.
37147         * nscd/Makefile (otherlibs): Likewise.
37148         * posix/Makefile (otherlibs): Likewise.
37149         * pwd/Makefile (otherlibs): Likewise.
37150         * rt/Makefile (otherlibs): Likewise.
37151         * sunrpc/Makefile (otherlibs): Likewise.
37152         * nss/Makefile (otherlibs): Likewise.
37153         Add libnss_files to routines and static-only-routines.
37154         ($(objpfx)getent): Remove rule.
37155         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37156         static-only-routines.
37157
37158 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37159
37160         [BZ #13892]
37161         * math/s_cexp.c: Include <float.h>.
37162         (__cexp): Handle exp result overflowing not necessarily
37163         overflowing both real and imaginary parts of result.
37164         * math/s_cexpf.c: Likewise.
37165         * math/s_cexpl.c: Likewise.
37166         * math/libm-test.inc (cexp_test): Add more tests.
37167         * sysdeps/i386/fpu/libm-test-ulps: Update.
37168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37169
37170 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37171
37172         * include/link.h (ELFW): New macro.
37173         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37174         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37175
37176 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37177
37178         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37179         with uint64_t.
37180
37181 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37182
37183         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37184         declaration.
37185         (struct La_x32_retval): Likewise.
37186
37187 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37188
37189         * sysdeps/x86_64/preconfigure.in: New file.
37190         * sysdeps/x86_64/preconfigure: New generated file.
37191
37192 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37193
37194         [BZ #13824]
37195         * math/e_exp2l.c: Include <float.h>.
37196         (__ieee754_exp2l): Handle overflow and underflow cases
37197         separately.  Only pass fractional part of argument to
37198         __ieee754_expl.
37199         * math/libm-test.inc (exp2_test): Add more tests.
37200
37201         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37202         negating x to take absolute value.
37203         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37204         Likewise.
37205         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37206         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37207         Likewise.
37208         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37209         computing low part if x was negated.
37210         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37211
37212 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37213
37214         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37215         la_x32_gnu_pltexit.
37216         (pltexit): Cast int_retval to ptrdiff_t.
37217         * elf/tst-auditmod3b.c: Likewise.
37218         * elf/tst-auditmod4b.c: Likewise.
37219         * elf/tst-auditmod5b.c: Likewise.
37220         * elf/tst-auditmod6b.c: Likewise.
37221         * elf/tst-auditmod6c.c: Likewise.
37222         * elf/tst-auditmod7b.c: Likewise.
37223
37224         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37225         and x32_gnu_pltexit.
37226
37227         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37228         __ELF_NATIVE_CLASS.
37229         (La_x32_regs): New macro.
37230         (La_x32_retval): Likewise.
37231         (la_x32_gnu_pltenter): New function prototype.
37232         (la_x32_gnu_pltexit): Likewise.
37233
37234 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37235
37236         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37237         exponent.
37238
37239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37240
37241         * configure.in (libc_cv_cc_nofma): Check for option to disable
37242         generation of FMA instructions.
37243         * configure: Regenerate.
37244         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37245         * sysdeps/ieee754/dbl-64/Makefile: New file.
37246         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37247         Remove brandred-fma4.
37248         (CFLAGS-brandred-fma4.c): Remove.
37249         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37250         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37251         define.
37252         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37253         define.
37254
37255 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37256
37257         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37258         LLONG_MAX != LONG_MAX.
37259         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37260         (_fitoa_word): Likewise.
37261         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37262         LLONG_MAX != LONG_MAX.
37263         * stdio-common/_itowa.h: Include <_itoa.h>.
37264         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37265         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37266         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37267         only if not defined.
37268         (_ITOA_WORD_TYPE): Likewise.
37269         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37270         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37271
37272 2012-03-21  David S. Miller  <davem@davemloft.net>
37273
37274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37275
37276 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37277
37278         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37279         of x86_64 when setting libc_cv_slibdir, libdir and
37280         libc_cv_localedir.
37281         * sysdeps/unix/sysv/linux/configure: Regenerated.
37282
37283 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37284
37285         * manual/lang.texi (Old Varargs): Remove section.
37286         (How Variadic): Update menu.
37287         (va_start): Do not mention varargs.h.
37288
37289 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37290             Joseph Myers  <joseph@codesourcery.com>
37291
37292         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37293         link test.
37294         * configure: Regenerated.
37295
37296 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37297
37298         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37299         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37300         conformtest.pl
37301
37302 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37303
37304         * NOTES: Remove.
37305         * Makefile (files-for-dist): Remove NOTES.
37306         (NOTES): Remove rule.
37307         * README: Don't refer to NOTES.
37308         * manual/creature.texi: Don't include macros.texi.
37309         * manual/intro.texi (creature.texi): Remove comment referring to
37310         NOTES.
37311
37312         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37313         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37314         * configure: Regenerated.
37315         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37316         LIBC_TRY_CC_OPTION.
37317         (libc_cv_as_i686): Likewise.
37318         (libc_cv_cc_avx): Likewise.
37319         (libc_cv_cc_sse2avx): Likewise.
37320         (libc_cv_cc_fma4): Likewise.
37321         (libc_cv_cc_novzeroupper): Likewise.
37322         * sysdeps/i386/configure: Regenerated.
37323
37324         [BZ #13883]
37325         * sysdeps/i386/fpu/s_cexp.S: Remove.
37326         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37327         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37328         * math/libm-test.inc (cexp_test): Add more tests.
37329         * sysdeps/i386/fpu/libm-test-ulps: Update.
37330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37331
37332 2012-03-21  Allan McRae  <allan@archlinux.org>
37333
37334         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37335
37336 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37337
37338         [BZ #13871]
37339         * math/w_exp2.c: Do not include <float.h>.
37340         (o_threshold, u_threshold): Remove.
37341         (__exp2): Calculate result before checking finiteness and calling
37342         __kernel_standard.
37343         * math/w_exp2f.c: Likewise.
37344         * math/w_exp2l.c: Likewise.
37345         * math/libm-test.inc (exp2_test): Require overflow exception for
37346         1e6 input.
37347
37348         [BZ #3866]
37349         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37350         range of signed 64-bit integers before using fistpll.  Remove
37351         checks for whether integers fit in mantissa bits.
37352         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37353         the range of signed 32-bit integers before using fistpl.  Remove
37354         checks for whether integers fit in mantissa bits.
37355         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37356         (__ieee754_powl): Test for y outside the range of signed 64-bit
37357         integers before using fistpll.  Reduce 64-bit values to 63-bit
37358         ones as needed.
37359         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37360         divide-by-zero is raised for zero to large negative powers.
37361         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37362         (__ieee754_powl): Test for y outside the range of signed 64-bit
37363         integers before using fistpll.  Reduce 64-bit values to 63-bit
37364         ones as needed.
37365         * math/libm-test.inc (pow_test): Add more tests.
37366
37367 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37368
37369         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37370         <stdio-common/_itoa.h>.
37371         * debug/segfault.c: Likewise.
37372         * elf/dl-cache.c: Likewise.
37373         * elf/dl-minimal.c: Likewise.
37374         * elf/dl-misc.c: Likewise.
37375         * elf/dl-sysdep.c: Likewise.
37376         * elf/dl-version.c: Likewise.
37377         * elf/rtld.c: Likewise.
37378         * hurd/hurdsock.c: Likewise.
37379         * hurd/lookup-retry.c: Likewise.
37380         * malloc/malloc.c: Likewise.
37381         * malloc/mtrace.c: Likewise.
37382         * nscd/nscd_getgr_r.c: Likewise.
37383         * nscd/nscd_getpw_r.c: Likewise.
37384         * nscd/nscd_getserv_r.c: Likewise.
37385         * posix/getopt_init.c: Likewise.
37386         * posix/wordexp.c: Likewise.
37387         * stdio-common/_itoa.c: Likewise.
37388         * stdio-common/printf_fphex.c: Likewise.
37389         * stdio-common/vfprintf.c: Likewise.
37390         * string/_strerror.c: Likewise.
37391         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37392         * sysdeps/i386/i686/hp-timing.h: Likewise.
37393         * sysdeps/mach/_strerror.c: Likewise.
37394         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37395         * sysdeps/mach/hurd/sethostid.c: Likewise.
37396         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37397         * sysdeps/mach/xpg-strerror.c: Likewise.
37398         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37399         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37400         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37401         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37402         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37403         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37404         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37405         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37406         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37407         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37408         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37409         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37410         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37411         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37412         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37413         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37414         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37415         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37416         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37417         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37418         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37419
37420         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37421
37422         * stdio-common/_itoa.h: Moved to ...
37423         * sysdeps/generic/_itoa.h: Here.
37424
37425         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37426
37427         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37428         instead of "_itoa.h" and "_itowa.h".
37429         * stdio-common/vfprintf.: Likewise.
37430
37431 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37432
37433         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37434         <bits/wordsize.h>.
37435         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37436         (__signbit): Likwise.
37437         (llrintf): Likwise.
37438         (llrint): Likwise.
37439
37440 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37441
37442         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37443         __WORDSIZE != 64.
37444
37445 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37446
37447         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37448         OVERFLOW_EXCEPTION_OK.
37449         * math/libm-test.inc ("Philosophy"): Update comment about
37450         exception testing.
37451         (OVERFLOW_EXCEPTION): Define.
37452         (OVERFLOW_EXCEPTION_OK): Likewise.
37453         (INVALID_EXCEPTION_OK): Renumber.
37454         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37455         (IGNORE_ZERO_INF_SIGN): Likewise.
37456         (test_exceptions): Handle FE_OVERFLOW.
37457         (exp10_test): Expect overflow exceptions.
37458         (exp2_test): Likewise.
37459         (expm1_test): Likewise.
37460         (nextafter_test): Likewise.
37461         (pow_test): Likewise.
37462         (scalbn_test): Likewise.
37463         (scalbln_test): Likewise.
37464
37465 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37466
37467         * sysdeps/x86_64/bits/atomic.h
37468         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37469         64bit integer.
37470         (atomic_exchange_acq): Likewise.
37471         (__arch_exchange_and_add_body): Likewise.
37472         (__arch_add_body): Likewise.
37473         (atomic_add_negative): Likewise.
37474         (atomic_add_zero): Likewise.
37475
37476 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37477
37478         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37479         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37480
37481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37482
37483         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37484         Check __x86_64__ instead of __WORDSIZE.
37485
37486 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37487
37488         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37489
37490 2012-03-19  David S. Miller  <davem@davemloft.net>
37491
37492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37493
37494         * sysdeps/sparc/fpu/fenv_private.h: New file.
37495         * sysdeps/sparc/fpu/math_private.h: Use it.
37496         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37497         Remove.
37498         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37499         (libc_feholdexcept_setroundl): Remove.
37500         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37501         Remove.
37502         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37503         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37504
37505 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37506
37507         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37508         int64_t instead of long int.
37509         (INSERT_WORDS64): Likwise.
37510
37511 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37512
37513         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37514         _Unwind_GetCFA return to _Unwind_Ptr first.
37515
37516 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37517
37518         [BZ #13629]
37519         * math/s_clog.c: Include <float.h>.
37520         (__clog): Scale large or subnormal inputs.
37521         * math/s_clogf.c: Likewise.
37522         * math/s_clogl.c: Likewise.
37523         * math/s_clog10.c: Include <float.h>.
37524         (M_LOG10_2): Define.
37525         (__clog10): Scale large or subnormal inputs.
37526         * math/s_clog10f.c: Likewise.
37527         * math/s_clog10l.c: Likewise.
37528         * math/libm-test.inc (clog_test): Add more tests.
37529         (clog10_test): Likewise.
37530         * sysdeps/i386/fpu/libm-test-ulps: Update.
37531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37532
37533         [BZ #11451]
37534         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37535         x and y.
37536         * math/libm-test.inc (atan2_test): Add another test.
37537
37538         * Makerules (common-objdir-compile): Remove.
37539         * sysdeps/unix/Makefile (config-generated): Do not add
37540         $(unix-generated) to variable.
37541         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37542         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37543         Remove rule.
37544         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37545         Likewise.
37546         [generic bits/local_lim.h] (before-compile): Do not append to
37547         variable.
37548         [generic bits/local_lim.h] (common-generated): Likewise.
37549         [generic sys/param.h] (before-compile): Do not append to variable.
37550         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37551         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37552         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37553         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37554         include.
37555         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37556         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37557         [generic sys/param.h] ($(addprefix
37558         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37559         [generic sys/param.h] (common-generated): Do not append to
37560         variable.
37561         [generic sys/param.h] (sysdep_headers): Likewise.
37562         [generic bits/errno.h] (before-compile): Do not append to
37563         variable.
37564         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37565         rule.
37566         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37567         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37568         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37569         [generic bits/errno.h] (common-generated): Do not append to
37570         variable.
37571         [generic bits/ioctls.h] (before-compile): Do not append to
37572         variable.
37573         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37574         rule.
37575         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37576         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37577         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37578         rule.
37579         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37580         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37581         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37582         [generic bits/ioctls.h] (common-generated): Do not append to
37583         variable.
37584         [generic sys/syscall.h] (syscall.h): Remove variable.
37585         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37586         rule.
37587         [generic sys/syscall.h] (before-compile): Do not append to
37588         variable.
37589         [generic sys/syscall.h] (common-generated): Likewise.
37590         * sysdeps/unix/errnos-tmpl.c: Remove file.
37591         * sysdeps/unix/errnos.awk: Likewise.
37592         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37593         * sysdeps/unix/ioctls.awk: Likewise.
37594         * sysdeps/unix/mk-local_lim.c: Likewise.
37595         * sysdeps/unix/snarf-ioctls: Likewise.
37596
37597 2012-03-19  Richard Henderson  <rth@twiddle.net>
37598
37599         * sysdeps/i386/fpu/fenv_private.h: New file.
37600         * sysdeps/i386/fpu/math_private.h: Use it.
37601         (math_opt_barrier, math_force_eval): Remove.
37602         (libc_feholdexcept_setround_53bit): Remove.
37603         (libc_feupdateenv_53bit): Remove.
37604         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37605         (math_opt_barrier, math_force_eval): Remove.
37606         (libc_feholdexcept): Remove.
37607         (libc_feholdexcept_setround): Remove.
37608         (libc_fetestexcept, libc_fesetenv): Remove.
37609         (libc_feupdateenv_test): Remove.
37610         (libc_feupdateenv, libc_feholdsetround): Remove.
37611         (libc_feresetround): Remove.
37612
37613         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37614         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37615
37616         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37617         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37618         (libc_feupdateenv_testl): New.
37619         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37620         (libc_feupdateenv_testf): New.
37621         (libc_feupdateenv): Use libc_feupdateenv_test.
37622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37623         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37624
37625         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37626         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37627         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37628         (libc_feresetround_noex): New.
37629         (libc_feresetround_noexf): New.
37630         (libc_feresetround_noexl): New.
37631         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37632         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37633         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37634         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37635         SET_RESTORE_ROUND.
37636         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37638         (__cos): Likewise.
37639         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37640         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37641         SET_RESTORE_ROUND_NOEX.
37642         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37643         SET_RESTORE_ROUND_NOEXF.
37644         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37645         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37646         (libc_feholdsetroundf): New.
37647         (libc_feresetround, libc_feresetroundf): New.
37648
37649         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37650         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37651         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37652
37653         * sysdeps/generic/math_private.h: Include <fenv.h>.
37654         (default_libc_feholdexcept): New.
37655         (default_libc_feholdexcept_setround): New.
37656         (default_libc_fesetenv, default_libc_feupdateenv): New.
37657         (libc_feholdexcept): Only define if undefined.
37658         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37659         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37660         (libc_feholdexcept_setroundl): Likewise.
37661         (libc_feholdexcept_setround_53bit): Likewise.
37662         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37663         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37664         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37665         (libc_feupdateenv_53bit): Likewise.
37666         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37667         (libc_feholdexcept): Convert from macro to inline function.
37668         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37669         (libc_fesetenv, libc_feupdateenv): Likewise.
37670
37671         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37672         not previously defined.
37673         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37674         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37675         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37676         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37677         * sysdeps/ieee754/flt-32/math_private.h: New file.
37678         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37679         math_private.h below SET_FLOAT_WORD.
37680         (__isnan, __isinf_ns, __finite): Remove.
37681         (__isnanf, __isinf_nsf, __finitef): Remove.
37682
37683 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37684
37685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37686
37687 2012-03-17  David S. Miller  <davem@davemloft.net>
37688
37689         [BZ #6471]
37690         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37691         for 2.16.
37692
37693 2012-03-16  David S. Miller  <davem@davemloft.net>
37694
37695         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37696         warnings.
37697
37698         [BZ #6471]
37699         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37700         properly.
37701         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37702         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37703         sysdep_routines when subdir is sysvipc.
37704         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37705         __getshmlba helper.
37706
37707         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37708
37709 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37710
37711         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37712         [__LP64__].
37713
37714 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37715
37716         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37717         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37718         (__lround): Renamed to ...
37719         (__llround): This.  Replace long int with long long int.
37720         Define lround functions as aliases of llround functions.
37721         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37722
37723 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37724
37725         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37726         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37727         adresses to uintptr_t.  Replace "long int" and "unsigned long
37728         int" with "greg_t" on va_arg.
37729
37730 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37731
37732         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37733         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37734
37735         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37736         Move e_machine check before EI_CLASS check.  Handle x32
37737         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37738         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37739         SKIP_EM_IA_64 and include
37740         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37741
37742         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37743         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37744         (add_system_dir): New macro.
37745
37746         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37747         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37748
37749 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37750
37751         [BZ #2551]
37752         [BZ #2552]
37753         [BZ #2553]
37754         [BZ #2554]
37755         [BZ #2562]
37756         [BZ #2563]
37757         [BZ #2565]
37758         [BZ #2566]
37759         [BZ #2576]
37760         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37761         (y0): Likewise.
37762         * math/w_j0f.c (j0f): Likewise.
37763         (y0f): Likewise.
37764         * math/w_j0l.c (__j0l): Likewise.
37765         (__y0l): Likewise.
37766         * math/w_j1.c (j1): Likewise.
37767         (y1): Likewise.
37768         * math/w_j1f.c (j1f): Likewise.
37769         (y1f): Likewise.
37770         * math/w_j1l.c (__j1l): Likewise.
37771         (__y1l): Likewise.
37772         * math/w_jn.c (jn): Likewise.
37773         (yn): Likewise.
37774         * math/w_jnf.c (jnf): Likewise.
37775         (ynf): Likewise.
37776         * math/w_jnl.c (__jnl): Likewise.
37777         (__ynl): Likewise.
37778         * math/libm-test.inc (j0_test): Add more tests.
37779         (j1_test): Likewise.
37780         (jn_test): Likewise.  Add trailing semicolon to existing test.
37781         (y0_test): Likewise.
37782         (y1_test): Likewise.
37783         * sysdeps/i386/fpu/libm-test-ulps: Update.
37784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37785
37786         [BZ #13851]
37787         [BZ #13854]
37788         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37789         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37790         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37791         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37792         (__tanl): Set errno for infinite argument.
37793         * sysdeps/i386/fpu/mptan.c: Remove.
37794         * sysdeps/i386/fpu/s_tan.S: Likewise.
37795         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37796         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37797         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37798         * math/libm-test.inc (tan_test): Add more tests and enable more
37799         tests for double and long double.
37800         * sysdeps/i386/fpu/libm-test-ulps: Update.
37801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37802
37803 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37804
37805         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37806         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37807
37808 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37809
37810         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37811         * configure.in: Use it for both main tree and add-ons.
37812         * configure: Regenerated.
37813
37814 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37815
37816         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37817
37818 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37819
37820         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37821         in comment.
37822
37823         [BZ #13851]
37824         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37825         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37826         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37827         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37828         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37829         infinite argument.
37830         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37832         != 0 for prec == 2.
37833         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37834         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37835         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37836         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37837         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37838         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37839         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37840         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37841         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37842         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37843         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37844         * math/libm-test.inc (cos_test): Add more tests and enable more
37845         tests for long double.
37846         (sin_test): Likewise.
37847         (sincos_test): Likewise.
37848         * sysdeps/i386/fpu/libm-test-ulps: Update.
37849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37850
37851 2012-03-16  David S. Miller  <davem@davemloft.net>
37852
37853         * sysdeps/sparc/fpu/math_private.h: New file.
37854
37855 2012-03-15  David S. Miller  <davem@davemloft.net>
37856
37857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37858         file.
37859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37861         file.
37862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37867         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37868         sysdep routines.
37869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37870
37871         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37872         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37873
37874         * sysdeps/sparc/sparc-ifunc.h: New file.
37875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37876         sparc-ifunc.h
37877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37879         Likewise.
37880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37881         Likewise.
37882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37886         Likewise.
37887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37892         Likewise.
37893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37894         Likewise.
37895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37901         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37902         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37913         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37914         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37915         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37916         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37917         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37918         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37919
37920 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37921
37922         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37923         scaling.
37924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37925
37926 2012-03-15  Andreas Jaeger  <aj@suse.de>
37927
37928         [BZ #13852]
37929         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37930         ieee754/flt-32 implementation for sin, cos and sincos.
37931         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37932         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37933         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37934         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37935         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37936         ieee754/flt-32 implementation for tan.
37937
37938         * math/libm-test.inc (cos_test): Enable some large input tests for
37939         float as well
37940         (sin_test): Likewise.
37941         (sincos_test): Likewise.
37942         (tan_test): Add tests for large input.
37943
37944         * sysdeps/i386/fpu/libm-test-ulps: Update.
37945
37946 2012-03-15  Andreas Jaeger  <aj@suse.de>
37947
37948         [BZ #13658]
37949         * math/libm-test.inc (cos_test): Add more test cases.
37950         (sin_test): Likewise.
37951         (sincos_test): Likewise.
37952
37953 2012-03-15  Andreas Jaeger  <aj@suse.de>
37954
37955         [BZ #13837]
37956         * math/libm-test.inc (cos_test): Add a test case for large input
37957         value.
37958         (sin_test): Likewise.
37959         (sincos_test): Likewise.
37960
37961 2012-03-15  Andreas Jaeger  <aj@suse.de>
37962             Joseph Myers  <joseph@codesourcery.com>
37963
37964         [BZ #13658]
37965         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37966         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37967         * sysdeps/i386/fpu/branred.c: Likewise.
37968         * sysdeps/i386/fpu/dosincos.c: Likewise.
37969         * sysdeps/i386/fpu/mpa.c: Likewise.
37970         * sysdeps/i386/fpu/s_cos.S: Likewise.
37971         * sysdeps/i386/fpu/s_sin.S: Likewise.
37972         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37973         * sysdeps/i386/fpu/sincos32.c: Likewise.
37974
37975         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37976         Define.
37977         (libc_feupdateenv_53bit): Define.
37978         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37979         Define.
37980         (libc_feupdateenv_53bit): Define.
37981
37982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37983         53 bit (without extend i386 double precision).
37984
37985         * math/libm-test.inc (sincos_test): Add tests for large input.
37986         (sin): Likewise.
37987         (cos): Likewise.
37988
37989         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37990
37991 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37992
37993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37994
37995 2012-03-15  David S. Miller  <davem@davemloft.net>
37996
37997         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37998         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37999         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38000         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38013         file.
38014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38016         file.
38017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38019         file.
38020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38022         file.
38023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38025         fmin/fmax sysdep routines.
38026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38027
38028 2012-03-14  David S. Miller  <davem@davemloft.net>
38029
38030         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38032         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38034         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38035         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38036         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38050         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38051         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38052         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38053         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38054         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38055         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38056         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38058         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38059         routines.
38060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38061         file.
38062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38064         file.
38065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38067         file.
38068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38070         file.
38071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38073         file.
38074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38076         file.
38077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38078         file.
38079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38080         file.
38081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38082         file.
38083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38084         New file.
38085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38086         file.
38087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38088         file.
38089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38091         file.
38092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38094         file.
38095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38097         file.
38098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38100         VIS3 routines.
38101
38102         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38103         New file.
38104
38105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38106
38107         * sysdeps/sparc/configure.in: New file.
38108         * sysdeps/sparc/configure: Generate.
38109         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38110         * configure: Regenerate.
38111         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38112         * config.make.in (have-as-vis3): New.
38113         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38114         available use -Av9d instead of -Av9a.
38115         * sysdeps/sparc/sparc64/Makefile: Likewise.
38116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38118         New file.
38119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38120         file.
38121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38122         New file.
38123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38124         file.
38125         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38126         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38127         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38128         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38130
38131         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38132         fzeros/fnegs to load 0x80000000 into a float register instead of
38133         using the stack.
38134         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38135
38136 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38137
38138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38139         bits/syscall.h.
38140         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38141         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38142         ($(inst_includedir)/bits/syscall.h): Remove rule.
38143         ($(objpfx)bits/syscall.d): Include instead of
38144         $(objpfx)syscall-list.d.
38145         (generated): Change syscall-list.h and syscall-list.d to
38146         bits/syscall.h and bits/syscall.d.
38147
38148 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38149
38150         [BZ #13846]
38151         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38152
38153 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38154
38155         [BZ #13841]
38156         * math/s_csqrt.c: Include <float.h>.
38157         (__csqrt): Scale large or subnormal inputs.
38158         * math/s_csqrtf.c: Likewise.
38159         * math/s_csqrtl.c: Likewise.
38160         * math/libm-test.inc (csqrt_test): Add more tests.
38161         * sysdeps/i386/fpu/libm-test-ulps: Update.
38162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38163
38164         [BZ #13840]
38165         * math/libm-test.inc (hypot_test): Add more tests.
38166
38167 2012-03-13  David S. Miller  <davem@davemloft.net>
38168
38169         [BZ #13840]
38170         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38171         double-precision for the calculation instead of scaling.
38172
38173 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38174
38175         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38176         manipulate bits before adding and subtracting TWO52[sx].
38177         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38178         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38179         Likewise.
38180         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38181
38182 2012-03-13  David S. Miller  <davem@davemloft.net>
38183
38184         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38185         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38187         rtld-global-offsets.h
38188         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38189
38190         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38191         large parameters.
38192
38193         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38194
38195         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38196         'err' in the ifdef scope in which it is actually used.
38197
38198         * nss/nss_db/db-init.c: Include string.h
38199
38200 2012-03-12  David S. Miller  <davem@davemloft.net>
38201
38202         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38203         masking out of the most significant byte of random value used.
38204         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38205         Fix coding style in previous change.
38206
38207         * sysdeps/unix/sysv/linux/kernel-features.h
38208         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38209         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38210         expression.
38211         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38212         later.
38213
38214 2012-03-11  David S. Miller  <davem@davemloft.net>
38215
38216         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38217         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38218         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38219         for 'resultvar' otherwise things get truncated on 64-bit.
38220
38221         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38222         Fix masking out of the most significant byte of random value used.
38223
38224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38225
38226 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38227
38228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38229
38230 2012-03-09  David S. Miller  <davem@davemloft.net>
38231
38232         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38233         variables with appropriate CPP guards.
38234         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38235         from the frame pointer, not the stack pointer.  Correct layout
38236         comments.  Fix test on resulting framesize and the management of
38237         the outregs buffer for pltexit.  Preserve floating point return
38238         values across _dl_call_pltexit call.
38239         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38240         framesize and the management of the outregs buffer for pltexit.
38241         Preserve floating point return values across _dl_call_pltexit
38242         call.
38243         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38244         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38245         (la_sparc64_gnu_pltexit): New functions.
38246         (print_exit): Fix format string for return register value.
38247
38248 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38249
38250         * sunrpc/Makefile (others): Add rpcgen.
38251         ($(objpfx)rpcgen): Remove special build rule and dependency on
38252         libc.
38253         * sunrpc/rpcgen.c: New file.
38254
38255 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38256
38257         [BZ #13673]
38258         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38259         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38260         * sysdeps/i386/crti.S: Likewise.
38261         * sysdeps/i386/crtn.S: Likewise.
38262         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38263         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38264         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38265         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38266         * sysdeps/sh/crti.S: Likewise.
38267         * sysdeps/sh/crtn.S: Likewise.
38268         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38269
38270         [BZ #13673]
38271         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38272         with URL.
38273         * locale/programs/locfile-kw.gperf: Likewise.
38274         * locale/programs/charmap-kw.h: Regenerated.
38275         * locale/programs/locfile-kw.h: Likewise.
38276
38277         [BZ #13673]
38278         * intl/plural.y: Replace FSF snail mail address with URL.
38279         * intl/plural.c: Regenerated.
38280
38281 2012-03-09  Richard Henderson  <rth@twiddle.net>
38282
38283         * include/math_private.h: Remove file.
38284         * math/math_private.h: Move file ...
38285         * sysdeps/generic/math_private.h: ... here.
38286
38287         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38288         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38289         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38290
38291         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38292         and <math_private.h>.
38293         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38294         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38295         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38296         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38297         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38298         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38299         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38300         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38301         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38302         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38303         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38304         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38305         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38306         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38307         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38308         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38309         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38310         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38311         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38312         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38314         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38315         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38316         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38317         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38318         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38319         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38321         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38326         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38327         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38328         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38329         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38330         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38331         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38332         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38333         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38334         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38335         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38336         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38337         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38338         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38339         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38340         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38341         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38342         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38343         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38344         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38345         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38346         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38347         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38348         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38349         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38350         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38351         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38352         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38353         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38354         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38355         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38356         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38357         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38358         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38359         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38360         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38361         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38362         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38363         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38364         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38365         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38366         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38367         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38368         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38369         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38370         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38371         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38372         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38373         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38374         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38375         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38376         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38377         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38378         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38379         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38380         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38381         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38382         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38383         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38384         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38385         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38386         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38387         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38388         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38389         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38390         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38391         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38392         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38393         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38394         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38395         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38396         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38397         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38398         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38399         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38400         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38401         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38402         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38403         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38404         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38405         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38406         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38407         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38408         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38409         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38410         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38411         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38412         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38413         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38414         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38415         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38416         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38417         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38418         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38419         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38420         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38421         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38422         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38423         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38424         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38425         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38426         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38427         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38428         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38429         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38430         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38431         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38432         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38433         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38434         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38435         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38436         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38437         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38438         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38439         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38440         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38441         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38442         * sysdeps/ieee754/k_standard.c: Likewise.
38443         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38444         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38445         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38446         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38447         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38448         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38449         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38450         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38451         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38452         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38453         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38455         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38456         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38457         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38458         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38459         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38460         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38461         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38462         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38463         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38464         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38465         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38466         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38467         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38468         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38469         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38470         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38471         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38472         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38473         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38474         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38475         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38476         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38477         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38478         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38479         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38480         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38481         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38482         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38483         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38484         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38485         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38486         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38487         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38488         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38489         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38490         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38491         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38492         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38493         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38494         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38495         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38496         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38498         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38499         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38500         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38501         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38502         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38503         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38504         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38505         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38506         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38507         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38508         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38509         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38510         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38511         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38512         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38513         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38514         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38516         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38517         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38519         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38520         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38521         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38522         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38523         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38524         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38525         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38526         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38527         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38528         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38529         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38530         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38531         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38533         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38534         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38535         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38536         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38537         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38538         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38539         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38540         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38541         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38542         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38545         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38546         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38547         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38548         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38549         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38550         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38551         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38552         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38553         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38555         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38556         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38557         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38558         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38559         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38560         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38561         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38562         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38563         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38564         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38565         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38566         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38567         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38568         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38569         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38570         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38573         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38574         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38575         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38576         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38578         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38579         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38580         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38581         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38582         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38583         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38584         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38585         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38586         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38587         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38588         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38589         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38590         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38591         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38592         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38593         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38594         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38595         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38596         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38597         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38598         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38599         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38600         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38601         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38602         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38603         * sysdeps/ieee754/s_lib_version.c: Likewise.
38604         * sysdeps/ieee754/s_matherr.c: Likewise.
38605         * sysdeps/ieee754/s_signgam.c: Likewise.
38606         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38607         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38608         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38609         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38610         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38611         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38612         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38613         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38614         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38615         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38616         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38617         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38618         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38619         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38620         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38621         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38622         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38623         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38624         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38625         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38626         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38627
38628 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38629
38630         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38631         * sunrpc/rpc_main.c: Likewise.
38632         * sunrpc/rpc_svcout.c: Likewise.
38633
38634 2012-03-09  David S. Miller  <davem@davemloft.net>
38635
38636         * include/math_private.h: New file.
38637
38638 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38639
38640         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38641         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38642         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38643         from <bits/socket_type.h>.
38644         (enum __socket_type): Don't define here.
38645         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38647         bits/socket_type.h.
38648
38649         [BZ #13566]
38650         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38651         checking __USE_GNU.
38652
38653         * Makerules ($(inst_includedir)/%.h): New rule.
38654         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38655         (install-others): Remove variable setting.
38656         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38657
38658 2012-03-08  Richard Henderson  <rth@twiddle.net>
38659
38660         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38661         from macro to inline function; merge with the
38662         !__LIBC_INTERNAL_MATH_INLINES version.
38663         (__ieee754_sqrtf): Likewise.
38664
38665         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38666         to inline function.
38667         (__rintf, __floor, __floorf): Likewise.
38668
38669         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38670         macro to inline function.
38671         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38672
38673         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38674         not <math/math_private.h>.
38675
38676 2012-03-08  David S. Miller  <davem@davemloft.net>
38677
38678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38679         copyright year.
38680         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38681
38682 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38683
38684         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38685         normalization.
38686         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38687         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38688
38689 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38690
38691         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38692         be defined individually, they must be defined as a block.  Define
38693         S for printing a string instead of hidint the different by using a
38694         macro for adding the 'l'.
38695         * stdio-common/tst-fphex-wide.c: Adjust.
38696
38697 2012-03-07  Marek Polacek  <polacek@redhat.com>
38698
38699         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38700
38701 2012-03-08  Marek Polacek  <polacek@redhat.com>
38702
38703         [BZ #13806]
38704         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38705         * stdio-common/tst-fphex.c: Define a few macros to make the
38706         test reusable.  Use them.
38707         * stdio-common/tst-fphex-wide.c: New file.
38708
38709 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38710
38711         [BZ #6911]
38712         * manual/macros.texi (gnusystems): New macro.
38713         (nongnusystems): Likewise.
38714         (gnulinuxhurdsystems): Likewise.
38715         (gnuhurdsystems): Likewise..
38716         (gnulinuxsystems): Likewise.
38717         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38718         variants of the GNU system, not "GNU system".
38719         * manual/conf.texi: Likewise.
38720         * manual/errno.texi: Likewise.  Update example of errno macro
38721         expansion.
38722         * manual/filesys.texi: Likewise.
38723         (getumask): Document as specific to GNU/Hurd.
38724         * manual/install.texi: Likewise.  Reword some references to
38725         GNU/Linux.
38726         * manual/intro.texi: Likewise.
38727         * manual/io.texi: Likewise.
38728         (File Name Portability): Detail which constraints are inapplicable
38729         to all GNU systems and which are only inapplicable to GNU/Hurd.
38730         * manual/job.texi: Likewise.
38731         * manual/llio.texi: Likewise.
38732         (O_NOCTTY): Document as present on GNU/Linux.
38733         * manual/maint.texi: Likewise.
38734         * manual/memory.texi: Likewise.
38735         * manual/pattern.texi: Likewise.
38736         * manual/pipe.texi: Likewise.
38737         * manual/process.texi: Likewise.
38738         * manual/resource.texi: Likewise.
38739         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38740         child on GNU/Hurd.
38741         * manual/setjmp.texi: Likewise.
38742         * manual/signal.texi: Likewise.
38743         * manual/startup.texi: Likewise.
38744         * manual/stdio.texi: Likewise.
38745         * manual/terminal.texi: Likewise.
38746         (ONLCR): Document as POSIX.
38747         (OXTABS): Document availability on GNU/Linux as XTABS.
38748         (ONOEOT): Document availability separately from other bits.
38749         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38750         * manual/time.texi: Likewise.
38751         * manual/users.texi: Likewise.
38752         * INSTALL: Regenerated.
38753         * sysdeps/gnu/errlist.c: Regenerated.
38754
38755         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38756         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38757         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38758         puts.
38759         * configure: Regenerated.
38760
38761 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38762
38763         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38764         default includes instead of AC_HEADER_CHECK.
38765         * sysdeps/i386/configure: Regenerated.
38766
38767         [BZ #10716]
38768         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38769         * math/s_cacoshf.c (__cacoshf): Likewise.
38770         * math/s_cacoshl.c (__cacoshl): Likewise.
38771         * math/s_casinh.c (__casinh): Set signs of result from argument.
38772         * math/s_casinhf.c (__casinhf): Likewise.
38773         * math/s_casinhl.c (__casinhl): Likewise.
38774         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38775         (casinh_test): Add more tests.
38776         * sysdeps/i386/fpu/libm-test-ulps: Update.
38777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38778
38779 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38780
38781         * po/zh_TW.po: Update from translation team.
38782
38783         * login/Makefile (distribute): Remove variable.
38784         * catgets/Makefile: Likewise.
38785         * mach/Makefile: Likewise.
38786         * malloc/Makefile: Likewise.
38787         * misc/Makefile: Likewise.
38788         * iconv/Makefile: Likewise.
38789         * nscd/Makefile: Likewise.
38790         * hurd/Makefile: Likewise.
38791         * manual/Makefile: Likewise.
38792         * locale/Makefile: Likewise.
38793         * intl/Makefile: Likewise.
38794         * conform/Makefile: Likewise.
38795         * nss/Makefile: Likewise.
38796         * time/Makefile: Likewise.
38797         * soft-fp/Makefile: Likewise.
38798         * dirent/Makefile: Likewise.
38799         * gmon/Makefile: Likewise.
38800         * po/Makefile: Likewise.
38801         * rt/Makefile: Likewise.
38802         * socket/Makefile: Likewise.
38803         * math/Makefile: Likewise.
38804         * signal/Makefile: Likewise.
38805         * debug/Makefile: Likewise.
38806         * elf/Makefile: Likewise.
38807         * timezone/Makefile: Likewise.
38808         * stdlib/Makefile: Likewise.
38809         * iconvdata/Makefile: Likewise.
38810         * sunrpc/Makefile: Likewise.
38811         * io/Makefile: Likewise.
38812         * argp/Makefile: Likewise.
38813         * inet/Makefile: Likewise.
38814         * hesiod/Makefile: Likewise.
38815         * grp/Makefile: Likewise.
38816         * csu/Makefile: Likewise.
38817         * wctype/Makefile: Likewise.
38818         * crypt/Makefile: Likewise.
38819         * libio/Makefile: Likewise.
38820         * string/Makefile: Likewise.
38821         * nis/Makefile: Likewise.
38822         * resolv/Makefile: Likewise.
38823         * stdio-common/Makefile: Likewise.
38824         * wcsmbs/Makefile: Likewise.
38825         * dlfcn/Makefile: Likewise.
38826         * posix/Makefile: Likewise.
38827
38828         [BZ #6959]
38829         * timezone/Makefile: Don't install timezone files, just the programs
38830         and scripts.
38831
38832 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38833
38834         * nss/databases.def: Add missing gshadow entry.
38835
38836         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38837
38838 2012-03-06  Marek Polacek  <polacek@redhat.com>
38839
38840         [BZ #13726]
38841         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38842         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38843         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38844         * stdio-common/tst-long-dbl-fphex.c: New file.
38845
38846 2012-03-06  David S. Miller  <davem@davemloft.net>
38847
38848         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38849         (set_obp_int): New function.
38850         (get_obp_int): New function.
38851         (__get_clockfreq_via_dev_openprom): Likewise.
38852         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38853         Avoid unused variable warnings on 'val' and use builtin_expect.
38854         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38855         __builtin_expect.
38856         (INLINE_CLONE_SYSCALL): Likewise.
38857
38858 2012-03-05  David S. Miller  <davem@davemloft.net>
38859
38860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38861
38862 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38863
38864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38865
38866         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38867         only for |x| >= 40.
38868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38869
38870 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38871
38872         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38873         Replace gettimeofday with __vdso_gettimeofday.
38874
38875         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38876         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38877         __vdso_clock_gettime and __vdso_getcpu.
38878
38879         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38880         time with __vdso_time.
38881
38882 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38883
38884         * manual/lang.texi (size_t): Note types to which size_t may be
38885         equivalent with the GNU C Library, but do not describe when
38886         differences between them are significant.
38887
38888 2012-03-05  Andreas Jaeger  <aj@suse.de>
38889
38890         * sysdeps/i386/fpu/libm-test-ulps: Update.
38891
38892 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38893
38894         [BZ #3976]
38895         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38896         (__ieee754_pow): Save and restore rounding mode and use
38897         round-to-nearest for main computations.
38898         * math/libm-test.inc (pow_test_tonearest): New function.
38899         (pow_test_towardzero): Likewise.
38900         (pow_test_downward): Likewise.
38901         (pow_test_upward): Likewise.
38902         (main): Call the new functions.
38903         * sysdeps/i386/fpu/libm-test-ulps: Update.
38904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38905
38906         [BZ #3976]
38907         * math/libm-test.inc (cosh_test_tonearest): New function.
38908         (cosh_test_towardzero): Likewise.
38909         (cosh_test_downward): Likewise.
38910         (cosh_test_upward): Likewise.
38911         (sinh_test_tonearest): Likewise.
38912         (sinh_test_towardzero): Likewise.
38913         (sinh_test_downward): Likewise.
38914         (sinh_test_upward): Likewise.
38915         (main): Call the new functions.
38916         * sysdeps/i386/fpu/libm-test-ulps: Update.
38917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38918
38919 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38920
38921         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38922         default stack guard is set in last bytes.
38923         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38924
38925 2012-03-05  Kees Cook  <keescook@chromium.org>
38926
38927         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38928
38929         [BZ #13656]
38930         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38931         possibly allocate from heap instead of stack.
38932         * stdio-common/bug-vfprintf-nargs.c: New file.
38933         * stdio-common/Makefile (tests): Add nargs overflow test.
38934
38935 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38936
38937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38938
38939 2012-03-03  Marek Polacek  <polacek@redhat.com>
38940
38941         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38942         * math/math_private.h: Likewise.
38943         * stdlib/tst-strtod.c: Likewise.
38944         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38945         * sysdeps/x86_64/bits/atomic.h: Likewise.
38946
38947 2012-03-02  David S. Miller  <davem@davemloft.net>
38948
38949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38953         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38954         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38955         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38956         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38957
38958 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38959
38960         [BZ #13792]
38961         * manual/examples/README: New file, says the example source files
38962         can be used under GPL>=2.
38963         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38964         line containing just "*/".
38965         * manual/examples/add.c: Add copyright header (GPL>=2).
38966         * manual/examples/argp-ex1.c: Likewise.
38967         * manual/examples/argp-ex2.c: Likewise.
38968         * manual/examples/argp-ex3.c: Likewise.
38969         * manual/examples/argp-ex4.c: Likewise.
38970         * manual/examples/atexit.c: Likewise.
38971         * manual/examples/db.c: Likewise.
38972         * manual/examples/dir.c: Likewise.
38973         * manual/examples/dir2.c: Likewise.
38974         * manual/examples/execinfo.c: Likewise.
38975         * manual/examples/filecli.c: Likewise.
38976         * manual/examples/filesrv.c: Likewise.
38977         * manual/examples/fmtmsgexpl.c: Likewise.
38978         * manual/examples/genpass.c: Likewise.
38979         * manual/examples/inetcli.c: Likewise.
38980         * manual/examples/inetsrv.c: Likewise.
38981         * manual/examples/isockad.c: Likewise.
38982         * manual/examples/longopt.c: Likewise.
38983         * manual/examples/memopen.c: Likewise.
38984         * manual/examples/memstrm.c: Likewise.
38985         * manual/examples/mkfsock.c: Likewise.
38986         * manual/examples/mkisock.c: Likewise.
38987         * manual/examples/mygetpass.c: Likewise.
38988         * manual/examples/pipe.c: Likewise.
38989         * manual/examples/popen.c: Likewise.
38990         * manual/examples/rprintf.c: Likewise.
38991         * manual/examples/search.c: Likewise.
38992         * manual/examples/select.c: Likewise.
38993         * manual/examples/setjmp.c: Likewise.
38994         * manual/examples/sigh1.c: Likewise.
38995         * manual/examples/sigusr.c: Likewise.
38996         * manual/examples/stpcpy.c: Likewise.
38997         * manual/examples/strdupa.c: Likewise.
38998         * manual/examples/strftim.c: Likewise.
38999         * manual/examples/strncat.c: Likewise.
39000         * manual/examples/subopt.c: Likewise.
39001         * manual/examples/swapcontext.c: Likewise.
39002         * manual/examples/termios.c: Likewise.
39003         * manual/examples/testopt.c: Likewise.
39004         * manual/examples/testpass.c: Likewise.
39005         * manual/examples/timeval_subtract.c: Likewise.
39006
39007         [BZ #13792]
39008         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39009         function to ...
39010         * manual/timeval_subtract.c.texi: ... here, new file.
39011
39012 2012-03-02  David S. Miller  <davem@davemloft.net>
39013
39014         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39015
39016 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39017
39018         [BZ #3976]
39019         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39020         (__sin): Save and restore rounding mode and use round-to-nearest
39021         for all computations.
39022         (__cos): Save and restore rounding mode and use round-to-nearest
39023         for all computations.
39024         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39025         <fenv.h>.
39026         (tan): Save and restore rounding mode and use round-to-nearest for
39027         all computations.
39028         * math/libm-test.inc (cos_test_tonearest): New function.
39029         (cos_test_towardzero): Likewise.
39030         (cos_test_downward): Likewise.
39031         (cos_test_upward): Likewise.
39032         (sin_test_tonearest): Likewise.
39033         (sin_test_towardzero): Likewise.
39034         (sin_test_downward): Likewise.
39035         (sin_test_upward): Likewise.
39036         (tan_test_tonearest): Likewise.
39037         (tan_test_towardzero): Likewise.
39038         (tan_test_downward): Likewise.
39039         (tan_test_upward): Likewise.
39040         (main): Call the new functions.
39041         * sysdeps/i386/fpu/libm-test-ulps: Update.
39042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39043
39044         [BZ #10135]
39045         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39046         small n, then large n, before computing and testing k+n.
39047         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39048         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39049         Likewise.
39050         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39051         Likewise.
39052         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39053         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39054         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39055         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39056         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39057         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39058         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39059         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39060         * math/libm-test.inc (scalbn_test): Add more tests.
39061         (scalbln_test): Likewise.
39062
39063         * manual/filesys.texi (mode_t): Describe constraints on size and
39064         signedness, not exact equivalence to a particular type.
39065         (ino_t): Likewise.
39066         (ino64_t): Likewise.
39067         (dev_t): Likewise.
39068         (nlink_t): Likewise.
39069         (blkcnt_t): Likewise.
39070         (blkcnt64_t): Likewise.
39071         * manual/llio.texi (off_t): Likewise.
39072
39073         [BZ #3976]
39074         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39075         (__ieee754_exp): Save and restore rounding mode and use
39076         round-to-nearest for all computations.
39077         * math/libm-test.inc (exp_test_tonearest): New function.
39078         (exp_test_towardzero): Likewise.
39079         (exp_test_downward): Likewise.
39080         (exp_test_upward): Likewise.
39081         (main): Call the new functions.
39082         * sysdeps/i386/fpu/libm-test-ulps: Update.
39083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39084
39085 2012-03-01  Chris Demetriou  <cgd@google.com>
39086
39087         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39088         have predictable order.
39089
39090 2012-03-01  David S. Miller  <davem@davemloft.net>
39091
39092         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39093
39094         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39095         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39096         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39097         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39098
39099         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39100         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39101         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39103         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39104         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39105         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39106         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39107         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39108
39109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39110
39111         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39112         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39113         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39114
39115         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39116         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39117         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39118         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39119         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39120         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39121         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39122         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39123         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39124         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39125         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39126         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39128         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39129         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39131         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39132         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39133         * sysdeps/sparc/elf/configure: Regenerated.
39134
39135 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39136
39137         * configure.in (AS, LD): Require binutils 2.20 or later.
39138         * configure: Regenerated.
39139         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39140         as required minimum version.
39141         * INSTALL: Regenerated.
39142
39143         [BZ #2541]
39144         [BZ #4108]
39145         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39146         before squaring exponent.
39147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39148         bottom long double and 27 bits of top long double before squaring
39149         exponent.
39150         * math/libm-test.inc (erfc_test): Add more tests.
39151         * sysdeps/i386/fpu/libm-test-ulps: Update.
39152         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39154
39155 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39156
39157         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39158         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39159         containing bit-fields.
39160         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39161         * soft-fp/single.h (_FP_UNION_S): Likewise.
39162         * soft-fp/double.h (_FP_UNION_D): Likewise.
39163
39164 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39165
39166         [BZ #13786]
39167         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39168         not include ../strcmp.S.
39169         [USE_AS_STRNCASECMP_L]: Likewise.
39170         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39171         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39172         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39173         (__strncasecmp_l_ia32): Define as alias to
39174         __strncasecmp_l_nonascii.
39175
39176         [BZ #5794]
39177         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39178         * sysdeps/i386/fpu/libm-test-ulps: Update.
39179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39180
39181         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39183
39184 2012-02-29  Jeff Law  <law@redhat.com>
39185
39186         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39187         out of bounds read.
39188
39189 2012-02-29  Marek Polacek  <polacek@redhat.com>
39190
39191         [BZ #13706]
39192         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39193         * elf/Makefile: Add rules to run tst-unused-dep.out.
39194
39195 2012-02-28  David S. Miller  <davem@davemloft.net>
39196
39197         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39198         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39199         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39200         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39201         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39202         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39203
39204 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39205
39206         * math/libm-test.inc (llround_test): Move one test from
39207         lround_test.  Use TEST_f_L in moved test.
39208         (lround_test): Move misplaced test to llround_test.  Add testcase
39209         from bug 2561.
39210
39211 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39212
39213         * sysdeps/x86_64/fpu/e_expf.S: New file.
39214         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39215
39216 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39217
39218         [BZ #13637]
39219         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39220         of remain_len that may cause incomplete multi-byte character and
39221         false match.
39222         * posix/bug-regex33.c: New file.
39223         * posix/Makefile (tests): Add bug-regex33.
39224
39225 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39226
39227         * manual/macros.texi: New file.
39228         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39229         * manual/libc.texinfo: Include macros.texi.
39230         * manual/creatute.texi: Likewise.
39231         * manual/install.texi: Likewise.
39232         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39233         @glibcadj{} in references to the GNU C Library.
39234         * manual/charset.texi: Likewise.
39235         * manual/conf.texi: Likewise.
39236         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39237         when not using those macros.
39238         * manual/creature.texi: Likewise.
39239         * manual/crypt.texi: Likewise.
39240         * manual/errno.texi: Likewise.
39241         * manual/filesys.texi: Likewise.
39242         * manual/header.texi: Likewise.
39243         * manual/install.texi: Likewise.
39244         * manual/intro.texi: Likewise.
39245         * manual/io.texi: Likewise.
39246         * manual/job.texi: Likewise.
39247         * manual/lang.texi: Likewise.
39248         * manual/libc.texiinfo: Likewise.
39249         * manual/llio.texi: Likewise.
39250         * manual/locale.texi: Likewise.
39251         * manual/maint.texi: Likewise.
39252         * manual/math.texi: Likewise.
39253         * manual/memory.texi: Likewise.
39254         * manual/message.texi: Likewise.
39255         * manual/nss.texi: Likewise.
39256         * manual/pattern.texi: Likewise.
39257         * manual/process.texi: Likewise.
39258         * manual/resource.texi: Likewise.
39259         * manual/search.texi: Likewise.
39260         * manual/setjmp.texi: Likewise.
39261         * manual/signal.texi: Likewise.
39262         * manual/socket.texi: Likewise.
39263         * manual/startup.texi: Likewise.
39264         * manual/stdio.texi: Likewise.
39265         * manual/string.texi: Likewise.
39266         * manual/sysinfo.texi: Likewise.
39267         * manual/syslog.texi: Likewise.
39268         * manual/terminal.texi: Likewise.
39269         * manual/time.texi: Likewise.
39270         * manual/users.texi: Likewise.
39271         * INSTALL: Regenerated.
39272         * NOTES: Regenerated.
39273         * sysdeps/gnu/errlist.c: Regenerated.
39274
39275 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39276
39277         * include/dirent.h: Include <dirstream.h> before
39278         <dirent/dirent.h>.
39279
39280 2012-02-28  David S. Miller  <davem@davemloft.net>
39281
39282         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39283         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39284         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39285         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39286
39287 2012-02-27  David S. Miller  <davem@davemloft.net>
39288
39289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39291         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39292         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39293
39294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39295         frame pointer instead of stack pointer relative arg slot.
39296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39297         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39298         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39299
39300 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39301
39302         [BZ #3992]
39303         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39304
39305 2012-02-27  David S. Miller  <davem@davemloft.net>
39306
39307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39311         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39312         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39313         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39314         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39315
39316 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39317
39318         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39319         later.  Allow versions 5-9.
39320         * configure: Regenerated.
39321         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39322         required minimum version and 4.6 as recommended version.  Do not
39323         mention bugs in GCC 2.7 and 2.8.
39324         * INSTALL: Regenerated.
39325
39326 2012-02-27  David S. Miller  <davem@davemloft.net>
39327
39328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39332         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39333         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39334         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39335         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39336
39337         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39338         manipulate bits before adding and subtracting TWO112[sx].
39339         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39340
39341 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39342
39343         [BZ #13775]
39344         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39345         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39346         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39347         being in POSIX, because they are in 1003.1-2008.
39348
39349         * rt/tst-aio.c: Include <fcntl.h>.
39350         * rt/tst-aio7.c: Likewise.
39351         * rt/tst-aio64.c: Likewise.
39352
39353         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39354
39355 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39356
39357         * manual/install.texi (--with-headers): Describe headers as
39358         interface headers, not private headers.
39359         (Specific advice for GNU/Linux systems): Describe use of headers
39360         from "make headers_install", not private headers from older
39361         kernels.
39362         * INSTALL: Regenerated.
39363         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39364         Change to 2.6.19.
39365         * sysdeps/unix/sysv/linux/configure: Regenerated.
39366
39367         * manual/llio.texi (fclean): Remove documentation.
39368
39369         * manual/Makefile (libc-texi-generated): New variable.  Include
39370         version.texi.
39371         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39372         $(libc-texi-generated), not duplicated list of files.
39373         (version.texi, stamp-version): New rules.
39374         (realclean): Remove $(libc-texi-generated), not individual files
39375         from that list.  Do not remove dir-add.texinfo.
39376         * manual/libc.texinfo: Comment out uses of edition numbers and
39377         references to printed manual.  Remove last-updated dates.
39378         (EDITION): Comment out.
39379         (ISBN): Likewise.
39380         (VERSION, UPDATED): Remove.
39381         (version.texi): Include.
39382
39383 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39384
39385         * sysdeps/posix/spawni.c: Include <signal.h>.
39386         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39387         * sysdeps/pthread/aio_fsync.c: Likewise.
39388
39389 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39390
39391         * conform/Makefile (tests): Run only when not cross-compiling and
39392         when fast-check is not defined.
39393
39394         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39395         * conform/data/limits.h-data: Fixes for POSIX2008.
39396         * conform/run-conformtest.sh: Run all tests.
39397         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39398         headers.
39399         * include/bits/dlfcn.h: Likewise.
39400         * include/langinfo.h: Likewise.
39401         * include/monetary.h: Likewise.
39402         * include/sys/poll.h: Likewise.
39403
39404         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39405         for __USE_GNU.
39406         * posix/spawn.h: Define __need_sigset_t.
39407         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39408         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39409         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39410         to get sigevent_t only.
39411         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39412         only for __USE_GNU.
39413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39414         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39415         process_vm_writev only for __USE_GNU.
39416         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39417
39418         * conform/Makefile: For now ignore errors from run-conformtest.
39419         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39420         POSIX to avoid namespace pollution.  Don't prepend headers.
39421         * conform/data/aio.h-data: Fixes for POSIX testing.
39422         * conform/data/fcntl.h-data: Likewise.
39423         * conform/data/glob.h-data: Likewise.
39424         * conform/data/grp.h-data: Likewise.
39425         * conform/data/pthread.h-data: Likewise.
39426         * conform/data/pwd.h-data: Likewise.
39427         * conform/data/signal.h-data: Likewise.
39428         * conform/data/spawn.h-data: Likewise.
39429         * conform/data/stdio.h-data: Likewise.
39430         * conform/data/stdlib.h-data: Likewise.
39431         * conform/data/stropts.h-data: Likewise.
39432         * conform/data/sys/mman.h-data: Likewise.
39433         * conform/data/sys/stat.h-data: Likewise.
39434         * conform/data/sys/types.h-data: Likewise.
39435         * conform/data/sys/wait.h-data: Likewise.
39436         * conform/data/time.h-data: Likewise.
39437         * conform/data/unistd.h-data: Likewise.
39438         * conform/data/utime.h-data: Likewise.
39439
39440         * io/sys/stat.h: fchmod was always in POSIX.
39441         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39442         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39443         * rt/aio.h: Define __need_timespec before including <time.h>.
39444         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39445         struct.  Add forward declaration of pthread_attr_t and use it in
39446         sigevent.
39447         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39448         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39449         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39450         always remove CLK_TCK definition.
39451
39452 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39453
39454         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39455
39456 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39457
39458         * conform/run-conformtest.sh: New file.
39459         * conform/Makefile: Run run-conformtest for tests.
39460         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39461         support.
39462
39463         * conform/data/uchar.h-data: New file.
39464         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39465         * conform/data/arpa/inet.h-data: Likewise.
39466         * conform/data/assert.h-data: Likewise.
39467         * conform/data/complex.h-data: Likewise.
39468         * conform/data/cpio.h-data: Likewise.
39469         * conform/data/ctype.h-data: Likewise.
39470         * conform/data/dirent.h-data: Likewise.
39471         * conform/data/dlfcn.h-data: Likewise.
39472         * conform/data/errno.h-data: Likewise.
39473         * conform/data/fcntl.h-data: Likewise.
39474         * conform/data/float.h-data: Likewise.
39475         * conform/data/fmtmsg.h-data: Likewise.
39476         * conform/data/fnmatch.h-data: Likewise.
39477         * conform/data/ftw.h-data: Likewise.
39478         * conform/data/glob.h-data: Likewise.
39479         * conform/data/grp.h-data: Likewise.
39480         * conform/data/iconv.h-data: Likewise.
39481         * conform/data/inttypes.h-data: Likewise.
39482         * conform/data/langinfo.h-data: Likewise.
39483         * conform/data/libgen.h-data: Likewise.
39484         * conform/data/limits.h-data: Likewise.
39485         * conform/data/locale.h-data: Likewise.
39486         * conform/data/math.h-data: Likewise.
39487         * conform/data/monetary.h-data: Likewise.
39488         * conform/data/mqueue.h-data: Likewise.
39489         * conform/data/ndbm.h-data: Likewise.
39490         * conform/data/net/if.h-data: Likewise.
39491         * conform/data/netdb.h-data: Likewise.
39492         * conform/data/netinet/in.h-data: Likewise.
39493         * conform/data/nl_types.h-data: Likewise.
39494         * conform/data/poll.h-data: Likewise.
39495         * conform/data/pthread.h-data: Likewise.
39496         * conform/data/pwd.h-data: Likewise.
39497         * conform/data/regex.h-data: Likewise.
39498         * conform/data/sched.h-data: Likewise.
39499         * conform/data/search.h-data: Likewise.
39500         * conform/data/semaphore.h-data: Likewise.
39501         * conform/data/setjmp.h-data: Likewise.
39502         * conform/data/signal.h-data: Likewise.
39503         * conform/data/spawn.h-data: Likewise.
39504         * conform/data/stdarg.h-data: Likewise.
39505         * conform/data/stdio.h-data: Likewise.
39506         * conform/data/stdlib.h-data: Likewise.
39507         * conform/data/string.h-data: Likewise.
39508         * conform/data/strings.h-data: Likewise.
39509         * conform/data/stropts.h-data: Likewise.
39510         * conform/data/sys/ipc.h-data: Likewise.
39511         * conform/data/sys/mman.h-data: Likewise.
39512         * conform/data/sys/msg.h-data: Likewise.
39513         * conform/data/sys/resource.h-data: Likewise.
39514         * conform/data/sys/select.h-data: Likewise.
39515         * conform/data/sys/sem.h-data: Likewise.
39516         * conform/data/sys/shm.h-data: Likewise.
39517         * conform/data/sys/socket.h-data: Likewise.
39518         * conform/data/sys/stat.h-data: Likewise.
39519         * conform/data/sys/statvfs.h-data: Likewise.
39520         * conform/data/sys/time.h-data: Likewise.
39521         * conform/data/sys/timeb.h-data: Likewise.
39522         * conform/data/sys/times.h-data: Likewise.
39523         * conform/data/sys/types.h-data: Likewise.
39524         * conform/data/sys/uio.h-data: Likewise.
39525         * conform/data/sys/un.h-data: Likewise.
39526         * conform/data/sys/utsname.h-data: Likewise.
39527         * conform/data/sys/wait.h-data: Likewise.
39528         * conform/data/syslog.h-data: Likewise.
39529         * conform/data/tar.h-data: Likewise.
39530         * conform/data/termios.h-data: Likewise.
39531         * conform/data/utime.h-data: Likewise.
39532         * conform/data/utmpx.h-data: Likewise.
39533         * conform/data/varargs.h-data: Likewise.
39534         * conform/data/wchar.h-data: Likewise.
39535         * conform/data/wctype.h-data: Likewise.
39536         * conform/data/wordexp.h-data: Likewise.
39537
39538         * include/stropts.h: New file.
39539         * include/uchar.h: New file.
39540         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39541         * include/assert.h: Likewise.
39542         * include/ctype.h: Likewise.
39543         * include/dirent.h: Likewise.
39544         * include/dlfcn.h: Likewise.
39545         * include/fcntl.h: Likewise.
39546         * include/fnmatch.h: Likewise.
39547         * include/glob.h: Likewise.
39548         * include/grp.h: Likewise.
39549         * include/libio.h: Likewise.
39550         * include/locale.h: Likewise.
39551         * include/math.h: Likewise.
39552         * include/net/if.h: Likewise.
39553         * include/netdb.h: Likewise.
39554         * include/netinet/in.h: Likewise.
39555         * include/pthread.h: Likewise.
39556         * include/pwd.h: Likewise.
39557         * include/regex.h: Likewise.
39558         * include/sched.h: Likewise.
39559         * include/search.h: Likewise.
39560         * include/setjmp.h: Likewise.
39561         * include/signal.h: Likewise.
39562         * include/stdio.h: Likewise.
39563         * include/stdlib.h: Likewise.
39564         * include/string.h: Likewise.
39565         * include/sys/cdefs.h: Likewise.
39566         * include/sys/mman.h: Likewise.
39567         * include/sys/msg.h: Likewise.
39568         * include/sys/resource.h: Likewise.
39569         * include/sys/select.h: Likewise.
39570         * include/sys/socket.h: Likewise.
39571         * include/sys/stat.h: Likewise.
39572         * include/sys/statvfs.h: Likewise.
39573         * include/sys/time.h: Likewise.
39574         * include/sys/times.h: Likewise.
39575         * include/sys/uio.h: Likewise.
39576         * include/sys/utsname.h: Likewise.
39577         * include/sys/wait.h: Likewise.
39578         * include/termios.h: Likewise.
39579         * include/time.h: Likewise.
39580         * include/ulimit.h: Likewise.
39581         * include/unistd.h: Likewise.
39582         * include/utime.h: Likewise.
39583         * include/wchar.h: Likewise.
39584         * include/wctype.h: Likewise.
39585         * include/wordexp.h: Likewise.
39586
39587         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39588
39589         * time/time.h: TIME_UTC must be a macro.
39590         Make timespec_get available for ISO C11 only as well.
39591
39592 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39593
39594         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39595         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39596
39597 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39598
39599         * configure.in: Use -o not -a in test for unsupported multi-arch.
39600
39601 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39602
39603         * manual/texinfo.tex: Update to version 2012-01-19.16.
39604
39605 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39606
39607         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39608
39609 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39610
39611         [BZ #13738]
39612         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39613         * manual/fdl-1.3.texi: New file.
39614         * manual/fdl-1.1.texi: File removed.
39615
39616         [BZ #13738]
39617         * manual/libc.texinfo (FDL_VERSION): New @set.
39618         Use it for mention of FDL in cover text.
39619         (Documentation License): Use it in @include file name.
39620
39621 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39622             Roland McGrath  <roland@hack.frob.com>
39623
39624         [BZ #5461]
39625         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39626         (not LONG_LONG_MAX and LONG_LONG_MIN.
39627         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39628         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39629         name.
39630         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39631
39632 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39633
39634         [BZ #2547]
39635         [BZ #11365]
39636         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39637         manipulate bits before adding and subtracting TWO23[sx].
39638         * math/libm-test.inc (nearbyint_test): Add more tests.
39639
39640 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39641
39642         [BZ #2548]
39643         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39644         bits before adding and subtracting TWO23[sx].
39645         * math/libm-test.inc (rint_test): Add more tests.
39646         (rint_test_tonearest): Likewise.
39647         (rint_test_towardzero): Likewise.
39648         (rint_test_downward): Likewise.
39649         (rint_test_upward: Likewise.
39650
39651 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39652
39653         [BZ #10110]
39654         * include/stdc-predef.h: New file.  Extracted from features.h.
39655         * include/features.h: Include stdc-predef.h.
39656         * Makefile (headers): Add stdc-predef.h.
39657         * CONFORMANCE (Compiler limitations): Update.
39658
39659 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39660
39661         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39662
39663 2012-02-21  David S. Miller  <davem@davemloft.net>
39664
39665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39666         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39667
39668 2012-02-20  David S. Miller  <davem@davemloft.net>
39669
39670         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39671         using a normal save/restore sequence, rather than allocating a
39672         dummy stack frame just to store a frame pointer and restore.
39673         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39674
39675 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39676
39677         * manual/install.texi: Fix stray word in line-wrapped comment.
39678
39679 2012-02-20  David S. Miller  <davem@davemloft.net>
39680
39681         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39682         both binutils and gcc support GOTDATA.
39683
39684         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39685         "rd %pc" in the PIC register setup sequences.
39686
39687         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39688         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39689         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39690         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39691         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39692         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39693         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39694         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39696         (SYSCALL_ERROR_HANDLER): Likewise.
39697         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39698         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39700         (SYSCALL_ERROR_HANDLER): Likewise.
39701
39702         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39703         (HAVE_GCC_GOTDATA): New.
39704         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39705         relocation support in both binutils and gcc.
39706         * sysdeps/sparc/elf/configure: Regenerate.
39707
39708         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39709         * sysdeps/sparc/sparc32/elf/configure: Delete.
39710         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39711         * sysdeps/sparc/sparc64/elf/configure: Delete.
39712         * sysdeps/sparc/elf/configure.in: New file.
39713         * sysdeps/sparc/elf/configure: Generate.
39714
39715         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39716         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39717         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39718         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39719         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39720
39721 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39722
39723         * manual/install.texi: Do not mention specific glibc version
39724         numbers.
39725         * manual/libc.texinfo (VERSION, UPDATED): Update.
39726         (@copying): Use @copyright{} and range of years.
39727
39728 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39729
39730         [BZ #13695]
39731         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39732         [crti.S not in sysdirs] (generated): Do not append.
39733         [crti.S not in sysdirs] (omit-deps): Likewise.
39734         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39735         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39736         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39737         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39738         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39739         Likewise.
39740         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39741         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39742         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39743         * csu/defs.awk: Remove file.
39744         * sysdeps/generic/initfini.c: Likewise.
39745         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39746         variable.
39747         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39748         Likewise.
39749
39750 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39751
39752         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39753         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39754         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39755         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39756         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39757         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39758         <bits/epoll.h>.
39759         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39760         (__EPOLL_PACKED): Define to empty if not defined by
39761         <bits/epoll.h>.
39762         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39764         bits/epoll.h.
39765
39766 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39767
39768         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39769         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39770         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39771         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39772         <bits/timerfd.h>.
39773         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39775         bits/timerfd.h.
39776
39777 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39778
39779         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39780         in C locale.
39781         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39782         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39783         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39785
39786 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39787
39788         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39789         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39790
39791 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39792
39793         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39794         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39795         defined.
39796         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39797         Likewise.
39798         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39799         entry for 2.16.
39800
39801 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39802
39803         * math/w_acos.c: Use non-signaling floating-point comparisons.
39804         * math/w_acosf.c: Likewise.
39805         * math/w_acosh.c: Likewise.
39806         * math/w_acoshf.c: Likewise.
39807         * math/w_acoshl.c: Likewise.
39808         * math/w_acosl.c: Likewise.
39809         * math/w_asin.c: Likewise.
39810         * math/w_asinf.c: Likewise.
39811         * math/w_asinl.c: Likewise.
39812         * math/w_atanh.c: Likewise.
39813         * math/w_atanhf.c: Likewise.
39814         * math/w_atanhl.c: Likewise.
39815         * math/w_exp2.c: Likewise.
39816         * math/w_exp2f.c: Likewise.
39817         * math/w_exp2l.c: Likewise.
39818         * math/w_j0.c: Likewise.
39819         * math/w_j0f.c: Likewise.
39820         * math/w_j0l.c: Likewise.
39821         * math/w_j1.c: Likewise.
39822         * math/w_j1f.c: Likewise.
39823         * math/w_j1l.c: Likewise.
39824         * math/w_jn.c: Likewise.
39825         * math/w_jnf.c: Likewise.
39826         * math/w_log.c: Likewise.
39827         * math/w_log10.c: Likewise.
39828         * math/w_log10f.c: Likewise.
39829         * math/w_log10l.c: Likewise.
39830         * math/w_log2.c: Likewise.
39831         * math/w_log2f.c: Likewise.
39832         * math/w_log2l.c: Likewise.
39833         * math/w_logf.c: Likewise.
39834         * math/w_logl.c: Likewise.
39835         * math/w_sqrt.c: Likewise.
39836         * math/w_sqrtf.c: Likewise.
39837         * math/w_sqrtl.c: Likewise.
39838         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39839         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39840         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39841         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39842         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39843
39844 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39845
39846         [BZ #9739]
39847         * manual/string.texi (strnlen): Use correct parameter name in
39848         equivalent expression.
39849
39850 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39851
39852         [BZ #11174]
39853         * manual/users.texi (seteuid): Consistently use neweuid for
39854         argument name.
39855
39856 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39857
39858         [BZ #13704]
39859         * manual/nss.texi (Services in the NSS configuration): Correct
39860         list of services in example configuration file.
39861
39862 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39863
39864         [BZ #11322]
39865         * manual/arith.texi: Remove statements about negative zero
39866         behaving identically to zero.
39867
39868 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39869
39870         [BZ #5993]
39871         * manual/install.texi: Do not document upgrading from libc5.
39872
39873 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39874
39875         [BZ #4596]
39876         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39877
39878 2012-02-18  David S. Miller  <davem@davemloft.net>
39879
39880         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39881         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39882         %o7 across the call.
39883         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39884         instead.
39885         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39886         SETUP_PIC_REG_LEAF.
39887         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39888         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39889         * sysdeps/sparc/crtn.S: Likewise.
39890
39891 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39892
39893         * aout/Makefile: Remove.
39894
39895 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39896
39897         [BZ #13058]
39898         * manual/examples/argp-ex1.c (main): Format definition in GNU
39899         style.
39900         * manual/examples/argp-ex2.c (main): Likewise.
39901         * manual/examples/argp-ex3.c (main): Likewise.
39902         * manual/examples/argp-ex4.c (main): Likewise.
39903         * manual/examples/longopt.c (main): Use new-style prototype
39904         definition.
39905         * manual/examples/strncat.c (main): Specify return type and use
39906         (void) for arguments.
39907         * manual/examples/subopt.c (main): Use char **argv argument.
39908
39909 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39910
39911         [BZ #5077]
39912         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39913         rounding modes.
39914
39915 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39916
39917         [BZ #6907]
39918         * manual/string.texi (strchr): Change when strchrnul is
39919         recommended.
39920
39921 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39922
39923         [BZ #174]
39924         * manual/locale.texi (setlocale): Document LOCPATH.
39925
39926 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39927
39928         [BZ #10210]
39929         * manual/process.texi (execle): Move @dots{} before last argument.
39930
39931 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39932
39933         [BZ #12047]
39934         * manual/charset.texi (Generic Charset Conversion): Fix typo
39935         (LC_TYPE -> LC_CTYPE).
39936
39937 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39938
39939         [BZ #5805]
39940         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39941         (scalbnf): Likewise.
39942         (scalbnl): Likewise.
39943         (scalbln): Likewise.
39944         (scalblnf): Likewise.
39945         (scalblnl): Likewise.
39946         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39947         (vwarnx): Likewise.
39948         (verr): Likewise.
39949         (verrx): Likewise.
39950         * manual/filesys.texi (telldir): Use braces around return type.
39951         * manual/llio.texi (mmap): Add space after comma.
39952         (mmap64): Likewise.
39953         * manual/math.texi (jn): Use @var{} on parameter names.
39954         (jnf): Likewise.
39955         (jnl): Likewise.
39956         (yn): Likewise.
39957         (ynf): Likewise.
39958         (ynl): Likewise.
39959         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39960         line.
39961         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39962         "...".
39963         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39964         (sched_get_priority_max): Likewise.
39965         * manual/signal.texi (sigvec): Add space after comma.
39966         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39967         names.
39968         (if_indextoname): Likewise.
39969         (if_freenameindex): Likewise.
39970         (sendto): Use ',' instead of '.' in prototype.
39971         * manual/startup.texi (syscall): Use @dots{} instead of literal
39972         "...".
39973         * manual/stdio.texi (__fpending): Separate initial words of
39974         paragraph from @deftypefun line.
39975         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39976         "...".
39977         (vsyslog): Use @var{} on parameter names.
39978         * manual/terminal.texi (stty): Use @var{} on parameter names.
39979         * manual/users.texi (getutmp): Use @var{} on parameter names.
39980         (getutmpx): Likewise.
39981
39982 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39983
39984         [BZ #6884]
39985         * manual/stdio.texi (fopen): Fix typos in description of
39986         ",ccs=STRING".
39987
39988 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39989
39990         [BZ #4026]
39991         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39992         get clock_id definition.
39993
39994 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39995
39996         [BZ #4822]
39997         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39998         (madvise): Cast every argument to void on its own.
39999
40000 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40001
40002         [BZ #9902]
40003         * manual/startup.texi (Exit Status): Fix typo.
40004
40005 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40006
40007         [BZ #10140]
40008         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40009         * manual/examples/argp-ex2.c: Likewise.
40010         * manual/examples/argp-ex3.c: Likewise.
40011
40012 2012-02-16  Richard Henderson  <rth@redhat.com>
40013
40014         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40015         * sysdeps/s390/s390-32/initfini.c: Remove.
40016         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40017         * sysdeps/s390/s390-64/initfini.c: Remove.
40018
40019 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40020
40021         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40022         compiler output for sysdeps/generic/initfini.c.
40023         * sysdeps/sh/elf/initfini.c: Remove file.
40024
40025 2012-02-16  David S. Miller  <davem@davemloft.net>
40026
40027         [BZ #11494]
40028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40029
40030         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40031         * sysdeps/sparc/crti.S: New file.
40032         * sysdeps/sparc/crtn.S: New file.
40033         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40034         * sysdeps/sparc/sparc64/Makefile: Likewise.
40035
40036 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40037
40038         [BZ #3335]
40039         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40040
40041 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40042
40043         [BZ #4822]
40044         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40045
40046         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40047         (write, read, close): Likewise.
40048         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40049
40050 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40051
40052         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40053         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40054         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40055         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40056         <bits/signalfd.h>.
40057         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40059         bits/signalfd.h.
40060
40061 2012-02-14  Marek Polacek  <polacek@redhat.com>
40062
40063         * sysdeps/x86_64/crti.S: New file.
40064         * sysdeps/x86_64/crtn.S: New file.
40065         * sysdeps/x86_64/elf/initfini.c: Remove file.
40066
40067 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40068
40069         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40070         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40071         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40072         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40073         <bits/inotify.h>.
40074         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40076         bits/inotify.h.
40077
40078 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40079
40080         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40081         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40082         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40083         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40084         <bits/eventfd.h>.
40085         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40087         bits/eventfd.h.
40088
40089 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40090
40091         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40092         __feraiseexcept instead of feraiseexcept.
40093
40094         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40095         nanosleep invocations.
40096         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40097         strings, and add error checking for a nanosleep invocations.
40098
40099 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40100
40101         Replace FSF snail mail address with URLs, as per GNU coding standards.
40102         Most of the snail mail addresses were wrong anyway, and omitting
40103         them makes the source code easier to maintain.  Almost all of the
40104         changes are to license notices and to locale LC_IDENTIFICATION
40105         addresses, except for this one:
40106         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40107         not its snail mail address.
40108
40109 2012-02-09  Richard Henderson  <rth@twiddle.net>
40110
40111         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40112         of kernel-features.h.
40113
40114         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40115
40116 2012-02-08  Marek Polacek  <polacek@redhat.com>
40117
40118         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40119         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40120         * sysdeps/gnu/_G_config.h: Likewise.
40121         * sysdeps/generic/_G_config.h: Likewise.
40122
40123 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40124
40125         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40126         tests.
40127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40128
40129         * sysdeps/powerpc/powerpc32/crti.S: New file.
40130         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40131         * sysdeps/powerpc/powerpc64/crti.S: New file.
40132         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40133
40134         * Makeconfig (have-initfini): Don't set.
40135         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40136         * configure.in (nopic_initfini): Don't substitute.
40137         * config.h.in (HAVE_INITFINI): Don't #undef.
40138         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40139         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40140
40141 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40142
40143         Support crti.S and crtn.S provided directly by architectures.
40144         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40145         [crti.S in sysdirs] (omit-deps): Likewise.
40146         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40147         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40148         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40149         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40150         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40151         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40152         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40153         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40154         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40155         compiler output for sysdeps/generic/initfini.c.
40156         * sysdeps/i386/elf/Makefile: Remove file.
40157         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40158
40159 2012-02-07  Marek Polacek  <polacek@redhat.com>
40160
40161         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40162         * sysdeps/gnu/_G_config.h: Likewise.
40163         * sysdeps/mach/hurd/_G_config.h: Likewise.
40164
40165 2012-02-07  Marek Polacek  <polacek@redhat.com>
40166
40167         * math/Makefile (tests): Add tst-CMPLX2.
40168         * math/tst-CMPLX2.c: New file.
40169
40170 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40171
40172         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40173
40174         * math/libm-test.inc (jn_test): Add missing L suffix.
40175
40176 2012-02-06  Marek Polacek  <polacek@redhat.com>
40177
40178         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40179         * sysdeps/i386/fpu/e_powf.S: Likewise.
40180         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40181         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40182         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40183         * sysdeps/i386/fpu/e_pow.S: Likewise.
40184         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40185         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40186         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40187         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40188         * sysdeps/i386/fpu/e_log2.S: Likewise.
40189         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40190         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40191         * sysdeps/i386/fpu/e_powl.S: Likewise.
40192         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40193         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40194         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40195         * sysdeps/i386/fpu/e_logl.S: Likewise.
40196         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40197         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40198         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40199         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40200         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40201         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40202         * sysdeps/i386/fpu/e_log.S: Likewise.
40203         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40204         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40205         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40206         * sysdeps/i386/fpu/e_logf.S: Likewise.
40207         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40208         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40209         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40210         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40211         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40212         * sysdeps/i386/fpu/e_log10.S: Likewise.
40213         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40214         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40215         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40216         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40217         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40218         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40219         * sysdeps/i386/asm-syntax.h: Likewise.
40220         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40221         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40222         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40223         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40224         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40225         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40226         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40227         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40228         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40229         * sysdeps/powerpc/sysdep.h: Likewise.
40230         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40231         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40232
40233 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40234
40235         [BZ #411]
40236         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40237
40238 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40239
40240         * sysdeps/i386/sysdep.h: Include <features.h>.
40241         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40242         version.
40243
40244 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40245
40246         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40247         Define.
40248         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40249         LOAD_PIC_REG_STR.
40250
40251 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40252
40253         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40254         (SETUP_PIC_REG): Use GET_PC_THUNK.
40255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40256         macro.
40257
40258 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40259
40260         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40261         for non-PIC compilation.
40262         (SETUP_PIC_REG): Add .p2align directive.
40263         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40264         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40265         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40266         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40267         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40269         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40270         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40271         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40272         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40273         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40274         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40275         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40276         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40277         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40278         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40279         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40280         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40281         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40282         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40283         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40284         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40285         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40286         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40289         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40291         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40292         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40293         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40294         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40295         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40296         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40297         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40298         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40299         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40300         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40301         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40302         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40303         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40304
40305 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40306
40307         * math/tst-CMPLX.c: Include <stdio.h>.
40308
40309 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40310
40311         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40312         float.
40313         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40314         * sysdeps/sparc/bits/mathdef.h: Likewise.
40315
40316 2012-01-31  Marek Polacek  <polacek@redhat.com>
40317
40318         * libio/libio.h: Don't define _PARAMS.
40319         * locale/programs/config.h: Don't define PARAMS.
40320         * stdlib/strtol_l.c: Likewise.
40321         (__strtol_l): Remove PARAMS from the prototype.
40322
40323 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40324
40325         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40326         names.  Just use the correct names.  Remove unnecessary wrapper
40327         functions.
40328         * malloc/arena.c: Likewise.
40329         * malloc/hooks.c: Likewise.
40330
40331         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40332         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40333         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40334
40335 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40336
40337         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40338         into tail calls.
40339         (update_get_addr): New function.
40340         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40341         GET_ADDR_MODULE parameter.
40342
40343 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40344
40345         * crypt/cert.c: Remove __STDC__ conditionals.
40346         * crypt/crypt-entry.c: Likewise.
40347         * crypt/crypt_util.c: Likewise.
40348         * libio/filedoalloc.c: Likewise.
40349         * libio/fileops.c: Likewise.
40350         * libio/genops.c: Likewise.
40351         * libio/iofclose.c: Likewise.
40352         * libio/iofdopen.c: Likewise.
40353         * libio/iofopen.c: Likewise.
40354         * libio/iofopen64.c: Likewise.
40355         * libio/iogetdelim.c: Likewise.
40356         * libio/iopopen.c: Likewise.
40357         * libio/obprintf.c: Likewise.
40358         * libio/oldfileops.c: Likewise.
40359         * libio/oldiofclose.c: Likewise.
40360         * libio/oldiofdopen.c: Likewise.
40361         * libio/oldiofopen.c: Likewise.
40362         * libio/oldiopopen.c: Likewise.
40363         * libio/wfiledoalloc.c: Likewise.
40364         * libio/wgenops.c: Likewise.
40365         * locale/programs/xmalloc.c: Likewise.
40366         * misc/syslog.c: Likewise.
40367         * stdio-common/xbug.c: Likewise.
40368         * string/memchr.c: Likewise.
40369         * string/memcmp.c: Likewise.
40370         * string/memrchr.c: Likewise.
40371         * string/rawmemchr.c: Likewise.
40372         * sysdeps/posix/getcwd.c: Likewise.
40373         * time/strftime_l.c: Likewise.
40374
40375 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40376
40377         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40378         * config.make.in (config-cflags-sse2avx): Define.
40379         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40380         Fix typo.
40381
40382 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40383
40384         * scripts/config.guess: Update from upstream config git repository.
40385         * scripts/config.sub: Likewise.
40386
40387 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40388
40389         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40390         (EM_NUM): Update.
40391         (R_TILEPRO_*, R_TILEGX_*): New macros.
40392
40393         * scripts/firstversions.awk: Fix bug in version range handling.
40394
40395         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40396
40397         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40398
40399         * include/sys/epoll.h: New file.
40400         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40401         libc_hidden_def.
40402
40403 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40404
40405         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40406         Avoid unnecessary __WORDSIZE == 64 test.
40407         (fmaxf): Use VEX format if possible.
40408         (fmax): Likewise.
40409         (fminf): Likewise.
40410         (fmin): Likewise.
40411
40412         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40413         * math/math_private.h: Remove libc_fegetround* and
40414         libc_fesetround*.
40415         * sysdeps/i386/configure.in: Check for -msse2avx.
40416         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40417         also if SSE2AVX is defined.
40418         Remove libc_fegetround* and libc_fesetround*.
40419         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40420         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40421         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40422         of HAS_YMM_USABLE.
40423         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40424         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40425         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40426         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40427         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40428
40429         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40430
40431 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40432
40433         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40434         size is not set.
40435         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40436
40437 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40438
40439         [BZ #13618]
40440         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40441         relocation.
40442         * Makeconfig (libm): Define.
40443         * elf/Makefile: Add rules to build and run tst-relsort1.
40444         * elf/tst-relsort1.c: New file.
40445         * elf/tst-relsort1mod1.c: New file.
40446         * elf/tst-relsort1mod2.c: New file.
40447
40448 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40449
40450         * math/s_ldexp.c: Remove __STDC__ conditionals.
40451         * math/s_ldexpf.c: Likewise.
40452         * math/s_ldexpl.c: Likewise.
40453         * math/s_nextafter.c: Likewise.
40454         * math/s_nexttowardf.c: Likewise.
40455         * math/s_significand.c: Likewise.
40456         * math/s_significandf.c: Likewise.
40457         * math/s_significandl.c: Likewise.
40458         * math/w_jnl.c: Likewise.
40459         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40460         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40461         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40462         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40463         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40465         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40466         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40467         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40468         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40469         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40470         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40471         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40472         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40473         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40474         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40475         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40476         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40478         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40479         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40480         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40481         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40482         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40483         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40484         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40485         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40486         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40487         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40488         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40489         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40490         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40491         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40492         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40493         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40494         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40495         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40496         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40497         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40498         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40499         * sysdeps/ieee754/k_standard.c: Likewise.
40500         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40501         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40502         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40503         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40504         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40505         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40506         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40507         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40508         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40509         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40510         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40511         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40512         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40513         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40514         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40515         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40516         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40517         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40518         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40519         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40520         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40521         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40522         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40523         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40529         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40530         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40531         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40532         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40535         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40536         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40537         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40538         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40539         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40540         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40541         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40542         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40543         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40544         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40545         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40547         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40548         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40549         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40550         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40553         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40554         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40555         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40556         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40557         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40558         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40559         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40560         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40561         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40562         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40563         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40564         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40566         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40567         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40568         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40569         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40570         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40571         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40572         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40573         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40574         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40575         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40576         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40577         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40578         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40579         * sysdeps/ieee754/s_matherr.c: Likewise.
40580         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40581         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40582         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40583         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40584
40585 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40586
40587         * crypt/md5.h: Remove __STDC__ conditionals.
40588         * libio/libioP.h: Likewise.
40589         * locale/programs/config.h: Likewise.
40590         * sysdeps/generic/sysdep.h: Likewise.
40591         * sysdeps/i386/asm-syntax.h: Likewise.
40592         * sysdeps/s390/asm-syntax.h: Likewise.
40593         * sysdeps/unix/sysdep.h: Likewise.
40594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40596
40597 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40598
40599         * libio/libio.h: Remove __STDC__ conditionals.
40600         * malloc/obstack.h: Likewise.
40601         * math/complex.h: Likewise.
40602         * math/math.h: Likewise.
40603         * sysdeps/generic/_G_config.h: Likewise.
40604         * sysdeps/gnu/_G_config.h: Likewise.
40605         * sysdeps/mach/hurd/_G_config.h: Likewise.
40606         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40607         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40608         * sysdeps/sparc/bits/mathdef.h: Likewise.
40609
40610 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40611
40612         [BZ #13583]
40613         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40614         Clean up HAS_* macros.
40615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40616         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40617         possible.
40618         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40619         HAS_AVX.
40620         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40621         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40622         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40623         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40624         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40625
40626 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40627
40628         * elf/tst-unique3.cc (gets): Remove declaration.
40629         * elf/tst-unique3lib.cc (gets): Likewise.
40630         * elf/tst-unique3lib2.cc (gets): Likewise.
40631         * elf/tst-unique4.cc (gets): Likewise.
40632
40633 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40634
40635         * include/stdio.h: Add C++ protection.  Add gets declarations and
40636         definitions.
40637         * debug/tst-chk1.c: Don't declare gets here.
40638         * stdio-common/tst-gets.c: Likewise.
40639
40640 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40641
40642         * posix/glob: Remove directory.
40643
40644 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40645
40646         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40647
40648 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40649
40650         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40651         of the non-standard EPFNOSUPPORT.
40652
40653 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40654
40655         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40656         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40657         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40658
40659 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40660
40661         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40662
40663 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40664
40665         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40666         transient errors.
40667         * nscd/grpcache.c (cache_addgr): Likewise.
40668         * nscd/hstcache.c (cache_addhst): Likewise.
40669         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40670         * nscd/pwdcache.c (cache_addpw): Likewise.
40671         * nscd/servicescache.c (cache_addserv): Likewise.
40672
40673 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40674
40675         * malloc/malloc.c: Various cleanups.
40676         * malloc/hooks.c: Likewise.
40677
40678         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40679         * stdlib/bug-fmtmsg1.c: New file.
40680
40681         * stdlib/fmtmsg.c (init): Add missing unlock.
40682         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40683
40684 2012-01-12  Marek Polacek  <polacek@redhat.com>
40685
40686         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40687         and _GNU_SOURCE.
40688
40689 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40690
40691         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40692         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40693         macro to ensure uniqueness of label name.
40694         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40695         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40696
40697 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40698
40699         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40700
40701         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40702         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40703         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40704         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40705
40706 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40707
40708         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40709
40710         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40711         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40712         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40713
40714         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40715
40716         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40717         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40718         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40719         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40720
40721         * math/bits/math-finite.h: Add ldexp support.
40722
40723 2012-01-10  Marek Polacek  <polacek@redhat.com>
40724
40725         * locale/programs/localedef.h (show_archive_content): Add noreturn
40726         attribute.
40727
40728 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40729
40730         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40731
40732 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40733
40734         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40735
40736         * io/Makefile (headers): Add bits/poll2.h.
40737
40738 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40739
40740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40741         typo #include statement.
40742
40743 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40744
40745         * include/sys/cdefs.h: Define __attribute_alloc_size.
40746         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40747         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40748         * elf/pldd.c: Likewise.
40749         * iconv/iconv_charmap.c: Likewise.
40750         * iconv/iconvconfig.c: Likewise.
40751         * iconv/strtab.c: Likewise.
40752         * locale/programs/locale.c: Likewise.
40753         * locale/programs/localedef.h: Likewise.
40754         * locale/programs/simple-hash.c: Likewise.
40755         * nscd/nscd.h: Likewise.
40756         * nss/makedb.c: Likewise.
40757         * sysdeps/generic/ldconfig.h: Likewise.
40758         * locale/programs/localedef.c: Remove xmalloc prototype.
40759         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40760
40761 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40762
40763         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40764         appropriate.
40765
40766 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40767
40768         * math/Makefile (tests): Add tst-CMPLX.
40769         * math/tst-CMPLX.c: New file.
40770
40771         * math/complex.h (CMPLXL): Fix typo.
40772
40773         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40774         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40775         GLIBC_2.16.
40776         * debug/tst-chk1.c: Add poll and ppoll tests.
40777         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40778         * include/sys/poll.h: Add hidden proto for ppoll.
40779         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40780         * sysdeps/mach/hurd/ppoll.c: Likewise.
40781         * io/ppoll.c: Likewise.
40782         * debug/poll_chk.c: New file.
40783         * debug/ppoll_chk.c: New file.
40784         * include/bits/poll2.h: New file.
40785         * io/bits/poll2.h: New file.
40786
40787         [BZ #1350]
40788         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40789
40790         * configure.in: static is always set to yes.  Remove.
40791         * config.make.in: Don't set build-static.
40792         * Makeconfig: Remove use of build-static.
40793         * dlfcn/Makefile: Likewise.
40794         * elf/Makefile: Likewise.
40795         * math/Makefile: Likewise.
40796         * misc/Makefile: Likewise.
40797         * nptl/Makefile: Likewise.
40798         * sysdeps/mach/hurd/Makefile: Likewise.
40799
40800         * configure.in: PWD_P is not used anymore.
40801         * config.make.in: Remove PWD_P entry.
40802
40803         * configure.in: Remove last remnants of RANLIB.
40804         No need to check for signed size_t anymore.
40805         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40806         and IA-64.
40807         Remove __builtin_expect test because we require at least gcc 3.4.
40808         * aclocal.m4: Likewise.
40809
40810         * wcsmbs/mbrtoc16.c: Implement using towc function.
40811         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40812         * wcsmbs/wcsmbsload.c: Likewise.
40813         * iconv/gconv_simple.c: Likewise.
40814         * iconv/gconv_int.h: Likewise.
40815         * iconv/gconv_builtin.h: Likewise.
40816         * iconv/iconv_prog.c: Remove CHAR16 handling.
40817
40818         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40819
40820         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40821
40822         * configure.in: Remove --with-elf and --enable-bounded options.
40823         Dont set base_machine for ia64.  More non-ELF conditions removed.
40824         Remove testing and setting of leading underscore information.
40825         * config.make.in (build-bounded): Set to no.
40826         * config.h.in: Remove NO_UNDERSCORES entry.
40827         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40828         them.
40829         * csu/start.c: Remove !NO_UNDERSCORE code.
40830         * locale/localeinfo.h: Likewise.
40831         * sysdeps/generic/machine-gmon.h: Likewise.
40832         * sysdeps/generic/sysdep.h: Likewise.
40833         * sysdeps/i386/sysdep.h: Likewise.
40834         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40835         * sysdeps/mach/sysdep.h: Likewise.
40836         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40837         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40838         * sysdeps/sh/sysdep.h: Likewise.
40839         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40840         * sysdeps/unix/i386/sysdep.S: Likewise.
40841         * sysdeps/unix/sparc/start.c: Likewise.
40842         * sysdeps/unix/sparc/sysdep.S: Likewise.
40843         * sysdeps/unix/sparc/sysdep.h: Likewise.
40844         * sysdeps/unix/start.c: Likewise.
40845         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40846         * sysdeps/x86_64/sysdep.h: Likewise.
40847
40848 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40849
40850         [BZ #13553]
40851         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40852         for non-gcc.
40853         * argp/argp-fmtstream.h: Use const instead __const.
40854         * argp/argp.h: Likewise.
40855         * assert/assert.h: Likewise.
40856         * bits/fenv.h: Likewise.
40857         * bits/sched.h: Likewise.
40858         * bits/sigset.h: Likewise.
40859         * bits/sigthread.h: Likewise.
40860         * catgets/nl_types.h: Likewise.
40861         * conform/data/pthread.h-data: Likewise.
40862         * crypt/crypt-private.h: Likewise.
40863         * crypt/crypt.h: Likewise.
40864         * crypt/crypt_util.c: Likewise.
40865         * ctype/ctype.h: Likewise.
40866         * debug/execinfo.h: Likewise.
40867         * debug/mbsnrtowcs_chk.c: Likewise.
40868         * debug/mbsrtowcs_chk.c: Likewise.
40869         * debug/wcsnrtombs_chk.c: Likewise.
40870         * debug/wcsrtombs_chk.c: Likewise.
40871         * debug/wcstombs_chk.c: Likewise.
40872         * dirent/dirent.h: Likewise.
40873         * dlfcn/dlfcn.h: Likewise.
40874         * elf/neededtest4.c: Likewise.
40875         * grp/grp.h: Likewise.
40876         * gshadow/gshadow.h: Likewise.
40877         * iconv/gconv.h: Likewise.
40878         * iconv/gconv_int.h: Likewise.
40879         * iconv/gconv_simple.c: Likewise.
40880         * iconv/iconv.h: Likewise.
40881         * iconv/loop.c: Likewise.
40882         * iconv/skeleton.c: Likewise.
40883         * include/aio.h: Likewise.
40884         * include/aliases.h: Likewise.
40885         * include/argz.h: Likewise.
40886         * include/arpa/inet.h: Likewise.
40887         * include/assert.h: Likewise.
40888         * include/dirent.h: Likewise.
40889         * include/dlfcn.h: Likewise.
40890         * include/execinfo.h: Likewise.
40891         * include/fcntl.h: Likewise.
40892         * include/fenv.h: Likewise.
40893         * include/glob.h: Likewise.
40894         * include/grp.h: Likewise.
40895         * include/libintl.h: Likewise.
40896         * include/mntent.h: Likewise.
40897         * include/netdb.h: Likewise.
40898         * include/pwd.h: Likewise.
40899         * include/rpc/netdb.h: Likewise.
40900         * include/sched.h: Likewise.
40901         * include/search.h: Likewise.
40902         * include/shadow.h: Likewise.
40903         * include/signal.h: Likewise.
40904         * include/stdio.h: Likewise.
40905         * include/stdlib.h: Likewise.
40906         * include/string.h: Likewise.
40907         * include/sys/socket.h: Likewise.
40908         * include/sys/stat.h: Likewise.
40909         * include/sys/statfs.h: Likewise.
40910         * include/sys/statvfs.h: Likewise.
40911         * include/sys/syslog.h: Likewise.
40912         * include/sys/time.h: Likewise.
40913         * include/sys/uio.h: Likewise.
40914         * include/time.h: Likewise.
40915         * include/unistd.h: Likewise.
40916         * include/utmp.h: Likewise.
40917         * include/wchar.h: Likewise.
40918         * include/wctype.h: Likewise.
40919         * inet/aliases.h: Likewise.
40920         * inet/arpa/inet.h: Likewise.
40921         * inet/netinet/ether.h: Likewise.
40922         * inet/netinet/in.h: Likewise.
40923         * intl/libintl.h: Likewise.
40924         * io/bits/fcntl2.h: Likewise.
40925         * io/fcntl.h: Likewise.
40926         * io/ftw.h: Likewise.
40927         * io/sys/poll.h: Likewise.
40928         * io/sys/stat.h: Likewise.
40929         * io/sys/statfs.h: Likewise.
40930         * io/sys/statvfs.h: Likewise.
40931         * io/utime.h: Likewise.
40932         * libio/bits/stdio.h: Likewise.
40933         * libio/bits/stdio2.h: Likewise.
40934         * libio/libio.h: Likewise.
40935         * libio/libioP.h: Likewise.
40936         * libio/stdio.h: Likewise.
40937         * locale/lc-ctype.c: Likewise.
40938         * locale/locale.h: Likewise.
40939         * login/utmp.h: Likewise.
40940         * malloc/arena.c: Likewise.
40941         * malloc/malloc.c: Likewise.
40942         * malloc/malloc.h: Likewise.
40943         * malloc/mcheck.c: Likewise.
40944         * malloc/mtrace.c: Likewise.
40945         * math/bits/mathcalls.h: Likewise.
40946         * math/fenv.h: Likewise.
40947         * math/math_private.h: Likewise.
40948         * misc/bits/error.h: Likewise.
40949         * misc/bits/syslog.h: Likewise.
40950         * misc/err.h: Likewise.
40951         * misc/error.h: Likewise.
40952         * misc/fstab.h: Likewise.
40953         * misc/mntent.h: Likewise.
40954         * misc/regexp.h: Likewise.
40955         * misc/search.h: Likewise.
40956         * misc/sgtty.h: Likewise.
40957         * misc/sys/mman.h: Likewise.
40958         * misc/sys/syslog.h: Likewise.
40959         * misc/sys/uio.h: Likewise.
40960         * misc/sys/xattr.h: Likewise.
40961         * misc/ttyent.h: Likewise.
40962         * nis/rpcsvc/ypclnt.h: Likewise.
40963         * nss/nss.h: Likewise.
40964         * posix/bits/unistd.h: Likewise.
40965         * posix/fnmatch.h: Likewise.
40966         * posix/glob.h: Likewise.
40967         * posix/sched.h: Likewise.
40968         * posix/spawn.h: Likewise.
40969         * posix/sys/wait.h: Likewise.
40970         * posix/unistd.h: Likewise.
40971         * posix/wordexp.h: Likewise.
40972         * pwd/pwd.h: Likewise.
40973         * resolv/netdb.h: Likewise.
40974         * resource/sys/resource.h: Likewise.
40975         * rt/aio.h: Likewise.
40976         * rt/bits/mqueue2.h: Likewise.
40977         * rt/mqueue.h: Likewise.
40978         * shadow/shadow.h: Likewise.
40979         * signal/signal.h: Likewise.
40980         * socket/send.c: Likewise.
40981         * socket/sendto.c: Likewise.
40982         * socket/sys/socket.h: Likewise.
40983         * stdio-common/printf.h: Likewise.
40984         * stdlib/bits/stdlib.h: Likewise.
40985         * stdlib/fmtmsg.h: Likewise.
40986         * stdlib/monetary.h: Likewise.
40987         * stdlib/stdlib.h: Likewise.
40988         * stdlib/ucontext.h: Likewise.
40989         * streams/stropts.h: Likewise.
40990         * string/argz.h: Likewise.
40991         * string/bits/string2.h: Likewise.
40992         * string/string.h: Likewise.
40993         * string/strings.h: Likewise.
40994         * sunrpc/rpc/auth.h: Likewise.
40995         * sunrpc/rpc/auth_des.h: Likewise.
40996         * sunrpc/rpc/clnt.h: Likewise.
40997         * sunrpc/rpc/netdb.h: Likewise.
40998         * sunrpc/rpc/pmap_clnt.h: Likewise.
40999         * sunrpc/rpc/xdr.h: Likewise.
41000         * sysdeps/generic/inttypes.h: Likewise.
41001         * sysdeps/generic/net/if.h: Likewise.
41002         * sysdeps/generic/sys/swap.h: Likewise.
41003         * sysdeps/gnu/net/if.h: Likewise.
41004         * sysdeps/gnu/utmpx.h: Likewise.
41005         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41006         * sysdeps/i386/i486/bits/string.h: Likewise.
41007         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41008         * sysdeps/s390/bits/string.h: Likewise.
41009         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41010         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41011         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41012         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41013         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41014         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41015         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41016         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41017         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41018         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41019         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41020         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41021         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41022         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41023         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41024         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41025         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41026         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41027         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41028         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41029         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41030         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41031         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41032         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41033         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41034         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41035         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41036         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41037         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41038         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41039         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41040         * sysvipc/sys/ipc.h: Likewise.
41041         * sysvipc/sys/msg.h: Likewise.
41042         * sysvipc/sys/sem.h: Likewise.
41043         * sysvipc/sys/shm.h: Likewise.
41044         * termios/termios.h: Likewise.
41045         * time/sys/time.h: Likewise.
41046         * time/time.h: Likewise.
41047         * wcsmbs/bits/wchar2.h: Likewise.
41048         * wcsmbs/uchar.h: Likewise.
41049         * wcsmbs/wchar.h: Likewise.
41050         * wctype/wctype.h: Likewise.
41051
41052         [BZ #13551]
41053         * Makeconfig: Remove all but ELF support including AIX support.
41054         * Makerules: Likewise.
41055         * config.h.in: Likewise.
41056         * config.make.in: Likewise.
41057         * configure: Likewise.
41058         * configure.in: Likewise.
41059         * csu/Makefile: Likewise.
41060         * csu/version.c: Likewise.
41061         * debug/Makefile: Likewise.
41062         * dlfcn/Makefile: Likewise.
41063         * elf/Makefile: Likewise.
41064         * extra-lib.mk: Likewise.
41065         * iconv/Makefile: Likewise.
41066         * include/libc-symbols.h: Likewise.
41067         * include/shlib-compat.h: Likewise.
41068         * resolv/Makefile: Likewise.
41069         * resolv/res_libc.c: Likewise.
41070         * rt/Makefile: Likewise.
41071         * sysdeps/i386/asm-syntax.h: Likewise.
41072         * sysdeps/i386/sysdep.h: Likewise.
41073         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41074         * sysdeps/mach/sysdep.h: Likewise.
41075         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41076         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41077         * sysdeps/s390/asm-syntax.h: Likewise.
41078         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41080         * sysdeps/sh/sysdep.h: Likewise.
41081         * sysdeps/unix/sparc/sysdep.h: Likewise.
41082         * sysdeps/wordsize-32/divdi3.c: Likewise.
41083         * sysdeps/x86_64/sysdep.h: Likewise.
41084
41085         * argp/Versions: Remove _argp_unlock_xxx.
41086
41087         [BZ #13559]
41088         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41089         * abilist/libBrokenLocale.abilist: Likewise.
41090         * abilist/libanl.abilist: Likewise.
41091         * abilist/libc.abilist: Likewise.
41092         * abilist/libcrypt.abilist: Likewise.
41093         * abilist/libdl.abilist: Likewise.
41094         * abilist/libm.abilist: Likewise.
41095         * abilist/libnsl.abilist: Likewise.
41096         * abilist/libpthread.abilist: Likewise.
41097         * abilist/libresolv.abilist: Likewise.
41098         * abilist/librt.abilist: Likewise.
41099         * abilist/libthread_db.abilist: Likewise.
41100         * abilist/libutil.abilist: Likewise.
41101         * abilist/libnss_db.abilist: New file.
41102
41103         * scripts/abilist.awk: Add support for indirect functions.
41104
41105         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41106
41107         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41108
41109         * shlib-versions: Remove entries for ports architectures.
41110
41111         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41112         files in ports.
41113         * elf/stackguard-macros.h: Remove support for IA-64.
41114         * elf/tst-auditmod1.c: Likewise.
41115         * sysdeps/generic/ldsodefs.h: Likewise.
41116
41117         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41118         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41119         configure files.
41120
41121         [BZ #13552]
41122         * configure.in: Remove --enable-omitfp support.
41123         * FAQ.in: Adjust.
41124         * config.make.in: Likewise.
41125         * Makeconfig: Likewise.
41126         * manual/install.texi: Likewise.
41127
41128         In case anyone cares, the IA-64 architecture could move to ports.
41129         * sysdeps/ia64/*: Removed.
41130         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41131         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41132
41133         [BZ #13555]
41134         * configure.in: Remove entries for unsupported architectures.
41135
41136         [BZ #13533]
41137         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41138         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41139         routines.
41140         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41141         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41142         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41143         fall back to using wcrtomb.
41144         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41145         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41146         renaming.
41147         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41148         * wcsmbs/tst-c16c32-1.c: New file.
41149
41150         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41151         local variable.
41152
41153         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41154
41155         * elf/tst-unique3.cc: Add explicit declaration of gets.
41156         * elf/tst-unique3lib.cc: Likewise.
41157         * elf/tst-unique3lib2.cc: Likewise.
41158         * elf/tst-unique4.cc: Likewise.
41159
41160         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41161
41162 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41163
41164         [BZ #13566]
41165         * assert/assert.h (static_assert): Don't define for C++.
41166         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41167         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41168
41169 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41170
41171         * iconv/loop.c (single loop): Fix assertion in storing of
41172         remaining bytes.
41173
41174         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41175
41176 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41177
41178         * posix/getconf.c: Update copyright year.
41179         * nss/getent.c: Likewise.
41180         * nss/makedb.c: Likewise.
41181         * iconv/iconvconfig.c: Likewise.
41182         * iconv/iconv_prog.c: Likewise.
41183         * elf/ldconfig.c: Likewise.
41184         * elf/pldd.c: Likewise.
41185         * elf/sotruss.ksh: Likewise.
41186         * catgets/gencat.c: Likewise.
41187         * csu/version.c: Likewise.
41188         * elf/ldd.bash.in: Likewise.
41189         * elf/sprof.c (print_version): Likewise.
41190         * locale/programs/locale.c: Likewise.
41191         * locale/programs/localedef.c: Likewise.
41192         * login/programs/pt_chown.c: Likewise.
41193         * nscd/nscd.c (print_version): Likewise.
41194         * debug/xtrace.sh: Likewise.
41195         * malloc/memusage.sh: Likewise.
41196         * malloc/mtrace.pl: Likewise.
41197         * debug/catchsegv.sh: Likewise.
41198
41199 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41200
41201         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41202         pure attribute.
41203
41204 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41205
41206         [BZ #13533]
41207         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41208         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41209         transformations.
41210         * iconv/gconv_int.h: Likewise.
41211         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41212         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41213         from libc for GLIBC_2.16.
41214         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41215         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41216         * wcsmbs/uchar.h: Really define mbstate_t.
41217         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41218         * wcsmbs/c16rtomb.c: New file.
41219         * wcsmbs/mbrtoc16.c: New file.
41220         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41221         for C/POSIX locale.
41222         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41223         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41224
41225         * wcsmbs/wchar.h: Add missing __restrict.
41226
41227 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41228
41229         [BZ #13532]
41230         * time/Makefile (routines): Add timespec_get.
41231         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41232         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41233         timespec for ISO C11.
41234         * time/timespec_get.c: New file.
41235         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41236         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41237
41238         [BZ #13531]
41239         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41240         * stdlib/stdlib.h: Declare aligned_alloc.
41241         * Versions.def: Add GLIBC_2.16 for libc.
41242         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41243
41244         [BZ 13527]
41245         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41246         ISO C11.
41247
41248         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41249         code.
41250
41251         [BZ #13528]
41252         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41253
41254         [BZ #13529]
41255         * assert/assert.h (static_assert): Define.
41256
41257         * version.h: Update for 2.16 development version.
41258
41259         [BZ #13526]
41260         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41261         _ISOC11_SOURCE.
41262
41263         * version.h (RELEASE): Bump for 2.15 release.
41264         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41265
41266         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41267         Patch by Marek Polacek <mpolacek@redhat.com>.
41268
41269         * bits/byteswap.h: Protect long long constants with __extension__.
41270         * sysdeps/i386/bits/byteswap.h: Likewise.
41271         * sysdeps/ia64/bits/byteswap.h: Likewise.
41272         * sysdeps/s390/bits/byteswap.h: Likewise.
41273         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41274
41275 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41276
41277         [BZ #13540]
41278         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41279         destination buffer.
41280         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41281
41282 2011-12-23  Marek Polacek  <polacek@redhat.com>
41283
41284         * elf/dl-addr.c (determine_info): Add inline keyword.
41285         * elf/tst-auditmod4b.c (check_avx): Likewise.
41286         * elf/tst-auditmod6b.c (check_avx): Likewise.
41287         * elf/tst-auditmod6c.c (check_avx): Likewise.
41288         * elf/tst-auditmod7b.c (check_avx): Likewise.
41289
41290 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41291
41292         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41293         !__SSE_MATH__.
41294
41295 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41296
41297         [BZ #13540]
41298         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41299         processing for last bytes.
41300
41301 2011-08-06  Bruno Haible  <bruno@clisp.org>
41302
41303         [BZ #13061]
41304         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41305         U+0385, not to U+1FEE.
41306
41307         [BZ #13062]
41308         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41309         entry for U+00A5 U+0301.
41310
41311 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41312
41313         [BZ #13166]
41314         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41315         buffer for the output is too small.
41316
41317         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41318         optimization.
41319
41320         [BZ #13185]
41321         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41322         SSE flags if possible.
41323
41324 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41325
41326         [BZ #13540]
41327         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41328         processing for last bytes.
41329
41330 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41331
41332         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41333         (syscall-list-default-options, syscall-list-default-condition)
41334         (syscall-list-includes): Define.
41335         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41336         list of ABIs and options and #if conditions for each ABI.  Do not
41337         handle common syscalls between ABIs specially.
41338         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41339         Remove.
41340         (syscall-list-variants, syscall-list-32bit-options)
41341         (syscall-list-32bit-condition, syscall-list-64bit-options)
41342         (syscall-list-64bit-condition): Define.
41343         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41344         (syscall-list-variants, syscall-list-32bit-options)
41345         (syscall-list-32bit-condition, syscall-list-64bit-options)
41346         (syscall-list-64bit-condition): Define.
41347         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41348         Remove.
41349         (syscall-list-variants, syscall-list-32bit-options)
41350         (syscall-list-32bit-condition, syscall-list-64bit-options)
41351         (syscall-list-64bit-condition): Define.
41352         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41353         Remove.
41354         (syscall-list-variants, syscall-list-32bit-options)
41355         (syscall-list-32bit-condition, syscall-list-64bit-options)
41356         (syscall-list-64bit-condition): Define.
41357
41358 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41359
41360         * locale/iso-639.def: Add brx entry.
41361
41362         [BZ #13328]
41363         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41364         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41365
41366         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41367         __feraiseexcept_renamed.
41368
41369 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41370
41371         [BZ #13538]
41372         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41373         EPOLLET with unsigned values.
41374         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41375         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41376
41377         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41378         to large cancellation.
41379         * math/s_cacoshf.c: Likewise.
41380         * math/s_cacoshl.c: Likewise.
41381
41382 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41383
41384         [BZ #13305]
41385         [BZ #12786]
41386         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41387         * math/s_cacoshf.c: Likewise.
41388         * math/s_cacoshl.c: Likewise.
41389
41390 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41391
41392         [BZ #13439]
41393         * iconv/gconv.h: Define __GCONV_SWAP.
41394         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41395         * iconvdata/utf-16.c: Likewise.
41396         * iconvdata/utf-32.c: Likewise.
41397
41398 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41399
41400         [BZ #13524]
41401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41402         numerator after shifting it by one limb.
41403
41404 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41405
41406         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41407         under [__USE_EXTERN_INLINES].
41408
41409 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41410
41411         [BZ #13446]
41412         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41413
41414 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41415
41416         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41417         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41418         optimized code.
41419         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41420         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41421         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41422         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41423         for strncasecmp/strncasecmp_l compilation.
41424         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41425         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41426
41427 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41428
41429         [BZ #13484]
41430         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41431         of __asm__.
41432
41433 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41434
41435         [BZ #13506]
41436         * time/tzfile.c (__tzfile_read): Check values from file header.
41437
41438 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41439
41440         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41441         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41442         * powerpc/powerpc32/dl-start.S: Likewise.
41443         * powerpc/powerpc32/elf/start.S: Likewise.
41444         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41445         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41446         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41447         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41448         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41449         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41450         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41451         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41452         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41453         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41454         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41455         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41456         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41457         * powerpc/powerpc32/memset.S: Likewise.
41458         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41459         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41460         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41461         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41462         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41463         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41464         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41465         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41466         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41467         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41468         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41469         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41470         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41471
41472 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41473
41474         * math/libm-test.inc: Added more nearbyint tests.
41475         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41476         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41477         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41478         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41479
41480 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41481
41482         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41483         FD_CLOEXEC.
41484
41485 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41486
41487         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41488         Add wcscpy-ssse3 wcscpy-c.
41489         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41490         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41491         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41492         * sysdeps/x86_64/wcschr.S: New file.
41493         * sysdeps/x86_64/wcsrchr.S: New file.
41494         * string/test-strcmp.c: Remove checking of wcscmp function for
41495         wrong alignments.
41496         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41497         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41498         wcsrchr-sse2 wcsrchr-c.
41499         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41500         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41501         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41502         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41503         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41504         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41505         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41506         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41507         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41508         * wcsmbc/wcschr.c (WCSCHR): New macro.
41509
41510 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41511
41512         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41513         * wcsmbs/test-wcsrchr.c: New file.
41514         * string/test-strrchr.c: Add wcsrchr support.
41515         (WIDE): New macro.
41516         * wcsmbs/test-wcscpy.c: New file.
41517         * string/test-strcpy.c: Add wcscpy support.
41518         (WIDE): New macro.
41519
41520 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41521
41522         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41523         the inner loop.
41524
41525 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41526
41527         [BZ #13472]
41528         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41529
41530 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41531
41532         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41533         Minor optimizations.
41534
41535         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41536         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41537         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41538
41539 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41540
41541         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41542         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41543         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41544         for gcc to avoid warnings.
41545         * inet/Makefile (tests): Add tst-checks.
41546         * inet/tst-checks.c: New file.
41547
41548         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41549         warning.
41550
41551         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41552         __wmemcmp_sse2.
41553
41554         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41555         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41556
41557         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41558
41559 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41560
41561         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41562         problem.
41563
41564         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41565
41566 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41567
41568         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41569         conditional on GCC version.
41570         (__arch_compare_and_exchange_val_8_acq)
41571         (__arch_compare_and_exchange_val_16_acq)
41572         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41573         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41574         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41575
41576 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41577
41578         * sysdeps/sh/backtrace.c: New file.
41579
41580 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41581
41582         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41583         parenthesis.
41584
41585 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41586
41587         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41588         falling back to utime.
41589
41590 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41591
41592         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41593         expectations for float.
41594
41595 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41596
41597         * locale/weight.h (findidx): Add parameter len.
41598         * locale/weightwc.h (findidx): Likewise.
41599         * posix/fnmatch_loop.c (FCT): Adjust caller.
41600         * posix/regcomp.c (build_equiv_class): Likewise.
41601         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41602         * posix/regexec.c (check_node_accept_bytes): Likewise.
41603         * string/strcoll_l.c (STRCOLL): Likewise.
41604         * string/strxfrm_l.c (STRXFRM): Likewise.
41605
41606 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41607
41608         * Makefile.in: Remove CVSOPT handling.
41609         * configure.in: Remove use of AC_REVISION.
41610         * iconvdata/Makefile (distribute): No need to filter out CVS.
41611         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41612         handling.
41613
41614 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41615
41616         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41617         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41618         [USE_AS_STRNCASECMP_L]: Likewise.
41619         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41620         NO_TLS_DIRECT_SEG_REFS.
41621         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41622         Fix argument offsets for non-PIC.
41623         [USE_AS_STRNCASECMP_L]: Likewise.
41624         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41625         NO_TLS_DIRECT_SEG_REFS.
41626
41627 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41628
41629         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41630         O_CLOEXEC.
41631         * locale/loadlocale.c (_nl_load_locale): Likewise.
41632
41633 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41634
41635         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41636         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41637         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41638         (SYSCALL_GETTIME): Set errno on error.
41639
41640         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41641         count references to noai6ai_cached.
41642
41643 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41644
41645         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41646
41647         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41648         FD_CLOEXEC for /proc/self/maps.
41649
41650         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41651         FD_CLOEXEC for /proc/meminfo.
41652
41653         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41654         gai.conf.
41655
41656         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41657         FD_CLOEXEC for given file.
41658
41659         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41660
41661         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41662         FD_CLOEXEC for /etc/hosts.
41663         (_gethtent): Likewise.
41664
41665         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41666
41667         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41668         cancellation and set FD_CLOEXEC for /etc/netgroup.
41669
41670         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41671         reading /etc/publickey.
41672
41673         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41674         allow cancellation when reading /etc/group.
41675
41676         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41677         cancellation.
41678         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41679
41680         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41681         when using data file.
41682
41683         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41684
41685         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41686         (write_nis_obj): Use "c" and "e" in fopen.
41687
41688         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41689
41690         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41691
41692         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41693
41694         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41695
41696         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41697         locale.alias.
41698
41699         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41700
41701         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41702
41703         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41704
41705         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41706         file parsing and set FD_CLOEXEC.
41707
41708 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41709
41710         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41711
41712 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41713
41714         * malloc/arena.c (arena_get2): Don't call reused_arena when
41715         _int_new_arena failed.
41716
41717 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41718
41719         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41720         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41721         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41722         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41723         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41725         to compile strcasecmp and strncasecmp.
41726         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41727         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41728
41729         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41730
41731 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41732
41733         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41734         locale-defines.sym to gen-as-const-headers.
41735         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41736         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41738         to compile strcasecmp and strncasecmp.
41739         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41740         strcasecmp_l and strncasecmp_l.
41741         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41742         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41743         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41744         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41745         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41746         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41747         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41748         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41749         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41750         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41751         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41752
41753 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41754
41755         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41756         result of SYSDEP_GETTIME_CPU to retval.
41757         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41758         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41759
41760         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41761         variable.
41762
41763         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41764         mantissa words.
41765         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41766
41767         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41768         from unused variable.
41769
41770         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41771         DWARF definitions.
41772         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41773         for assembling.
41774
41775         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41776         over namespaces.
41777
41778         * sunrpc/rpc_prot.c (rejected): Fix case value.
41779
41780         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41781         unsigned long long int to avoid warnings in shift.
41782
41783         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41784         of use of trans.
41785         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41786         variable tmp.
41787
41788         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41789         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41790         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41791
41792         * nis/nis_table.c (nis_list): Use variable of correct type for
41793         result of __follow_path call.
41794
41795 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41796
41797         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41798         of math functions ceil, trunc, floor, round, and sqrt, when
41799         avaliable on the platform.
41800         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41801         name clash.
41802         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41803         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41804         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41805
41806 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41807
41808         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41809         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41810
41811 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41812
41813         * include/unistd.h: Fix __readlink return type.
41814         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41815
41816 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41817
41818         * stdlib/ucontext.h: Undo last change for makecontext.
41819
41820 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41821
41822         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41823
41824         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41825         * setjmp/setjmp.h: Mark functions as non-leaf.
41826         * setjmp/bits/setjmp2.h: Likewise.
41827         * stdlib/ucontext.h: Likewise.
41828
41829 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41830
41831         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41832         (reused_arena): Don't check arena limit.
41833         (arena_get2): Atomically check arena limit.
41834
41835 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41836
41837         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41838         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41839
41840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41841         instructions.
41842
41843 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41844
41845         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41846         handler when locking.
41847
41848         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41849         Fix size of allocated buffer.
41850
41851 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41852
41853         [BZ #10103]
41854         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41855         declarations for long double functions.
41856         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41857
41858         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41859
41860 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41861
41862         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41863         installed.
41864
41865         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41866         is disabled.
41867
41868 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41869
41870         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41871
41872 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41873
41874         * include/alloca.h (stackinfo_alloca_round): Define.
41875         (extend_alloca): Use it.
41876         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41877         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41878         here.
41879
41880         * scripts/check-local-headers.sh: Ignore libaudit.h.
41881
41882         * nscd/Makefile (extra-objs): Make recursively expanded.
41883
41884 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41885
41886         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41887         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41888
41889         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41890         * posix/tst-rfc3484-2.c: Likewise.
41891         * posix/tst-rfc3484-3.c: Likewise.
41892
41893         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41894         process_vm_writev.
41895         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41896         process_vm_writev.
41897         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41898         process_vm_writev from libc using GLIBC_2.15 version.
41899
41900         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41901
41902 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41903
41904         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41905         stack usage.
41906
41907 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41908
41909         [BZ #13367]
41910         * nss/getent.c (initgroups_keys): Show error message in case no group
41911         names are given.
41912
41913         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41914         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41915         __bump_nl_timestamp.
41916         * nscd/connections (nscd_init): When host database is served open
41917         netlink socket and request notification about configuration changes.
41918         (main_loop_poll): Track netlink file descriptor and bump timestamp
41919         in case data becomes available.
41920         (main_loop_epoll): Likewise.
41921         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41922         (database_pers_head): Add extra_data fileds.
41923         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41924         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41925         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41926         Adjust caller.
41927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41928         in6ai data, call __free_in6ai.
41929         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41930         Add -DHAVE_NETLINK.
41931         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41932         interface information.  Reuse previous data if netlink timestamp
41933         is not changed.
41934         (__bump_nl_timestamp): New function.
41935         (__free_in6ai): New function.
41936
41937 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41938
41939         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41940         close_not_cancel_no_status here.
41941         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41942
41943 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41944
41945         [BZ #13276]
41946         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41947         return value.
41948
41949         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41950         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41951         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41952
41953 2011-07-03  Andreas Jaeger  <aj@suse.de>
41954
41955         [BZ #10709]
41956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41957         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41958         * math/libm-test.inc (sin_test): Add test case.
41959
41960 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41961
41962         [BZ #13337]
41963         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41964         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41965
41966         * elf/chroot_canon.c (chroot_canon): Cleanups.
41967
41968         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41969
41970         [BZ #13335]
41971         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41972         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41973
41974         * string/test-strchr.c: Make usable for strchrnul testing.
41975         * string/test-strchrnul.c: New file.
41976         * string/Makefile (strop-tests): Add strchrnul.
41977
41978         * po/it.po: Update from translation team.
41979         * po/es.po: Likewise.
41980
41981 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41982
41983         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41984         the three constants needed as parameters.  Drop the others.
41985         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41986         __m128i_strloadu_tolower.
41987         Create and initialize variable zero and use it in all the places
41988         where _mm_setzero_si128 was used.
41989
41990         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41991         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41992         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41993         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41994         anymore.
41995         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41996         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41997         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41998         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41999         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42000         __mpranred, __mptan.
42001         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42002         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42003         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42004         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42005         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42006         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42007         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42008         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42009         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42010
42011 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42012
42013         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42014         redefine if SHARED.
42015         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42016
42017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42018         wide char related routines to wcsmbs subdir.
42019
42020 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42021
42022         [BZ #13344]
42023         * misc/sys/cdefs.h (__THROWNL): Define.
42024         * posix/unistd.h: Use __THREADNL instead of __THREAD
42025         for memory synchronization functions.
42026
42027 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42028
42029         [BZ #13349]
42030         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42031         doesn't exist.
42032         * manual/stdio.texi (Obstack Streams): Node removed.
42033
42034 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42035
42036         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42037         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42038         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42039
42040         * math/math_private.h (math_force_eval): Allow non-addressable
42041         arguments.
42042         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42043
42044 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42045
42046         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42047         file is not needed.
42048
42049         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42050         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42051         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42052         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42053         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42054         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42055         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42056         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42057         Add AVX variants.
42058         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42059         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42060         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42061         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42062         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42063         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42064         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42065         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42066         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42067         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42068         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42069         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42070         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42071         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42072         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42073         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42074         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42075         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42076         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42077
42078         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42079         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42080
42081         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42082         place.  Use VEX encoding when compiling for AVX.
42083
42084 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42085
42086         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42087         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42088
42089         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42090
42091 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42092
42093         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42094         useless if() expression.
42095         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42096         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42097         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42098         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42099         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42100         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42101         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42102         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42103         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42104         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42105         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42106         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42107         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42108         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42109         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42110         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42111         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42112         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42113         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42114
42115         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42116
42117 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42118
42119         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42120         condition.
42121         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42122
42123 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42124
42125         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42126         .text section.  Avoid duplicate constants.
42127         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42128         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42129         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42131         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42133         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42134         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42135         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42136         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42137         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42138         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42139         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42140         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42141         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42142         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42143         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42144         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42145         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42146         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42147         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42148         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42149         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42150         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42151         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42152         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42153         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42154         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42155         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42156         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42157         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42158         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42159         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42160         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42161         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42162         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42163         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42164         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42165         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42166         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42167         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42168         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42169         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42170         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42171         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42172
42173 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42174
42175         * sysdeps/x86_64/dla.h: Move to ...
42176         * sysdeps/x86_64/fpu/dla.h: ...here.
42177         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42178         situations.  Use __builtin_fma only for gcc 4.6 and up.
42179
42180         * config.make.in: Add have-mfma4 entry.
42181         * configure.in: Substitute libc_cv_cc_fma4.
42182         * math/Makefile (dbl-only-routines): Add sincostab.
42183         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42184         Use __sincostab not sincos.
42185         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42186         name is a macro.
42187         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42190         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42191         using __copysign.
42192         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42193         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42194         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42195         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42196         and __inv.
42197         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42198         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42199         __copysign.
42200         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42201         define aliases when function name is a macro.
42202         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42203         sysdeps/ieee754/dbl-64/sincos.tbl.
42204         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42205         fma4-enabled routines.
42206         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42207         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42208         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42209         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42210         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42211         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42212         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42213         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42214         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42215         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42216         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42217         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42218         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42219         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42220         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42221         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42222         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42223         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42224         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42225         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42226         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42227         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42228         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42229         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42230         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42231         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42232         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42233         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42234         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42235         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42236
42237         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42238         rename.
42239         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42240         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42241         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42242         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42244         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42247
42248 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42249
42250         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42251
42252 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42253
42254         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42255
42256         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42257         prediction.
42258         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42259
42260         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42261         Remove unused variable magic_bits.
42262         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42263
42264         * string/strnlen.c: Define and use STRNLEN macro.
42265         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42266         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42267         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42268         * wcsmbs/wcslen.c: Define and use WCSLEN.
42269         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42270         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42271         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42272         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42273         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42274         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42275         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42276
42277 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42278
42279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42280         strnlen-sse2-no-bsf.
42281         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42282         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42283         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42284         Add strnlen support.
42285         (USE_AS_STRNLEN): New macro.
42286         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42287         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42288         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42289         * sysdeps/x86_64/wcslen.S: New file.
42290
42291 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42292
42293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42294         XMM-moves are used for copying on small sizes.
42295
42296 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42297
42298         * wcsmbs/Makefile (strop-tests): Add wcschr.
42299         * wcsmbs/test-wcschr.c: New file.
42300         * string/test-strchr.c: Update.
42301         Add wcschr support.
42302         (WIDE): New macro.
42303
42304 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42305
42306         * wcsmbs/Makefile (strop-tests): Add wcslen.
42307         * wcsmbs/test-wcslen.c: New file.
42308         * string/test-strlen.c: Update.
42309         Add wcslen support.
42310         (WIDE): New macro.
42311
42312 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42313
42314         * po/it.po: Update from translation team.
42315
42316 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42317
42318         * sysdeps/x86_64/wcscmp.S: Update.
42319         Fix wrong comparison semantics.
42320         wcscmp shall use signed comparison not unsigned.
42321         Don't use substraction to avoid overflow bug.
42322         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42323         * wcsmbc/wcscmp.c: Likewise.
42324         * string/test-strcmp.c: Likewise.
42325         Add new tests to check cases with negative values.
42326
42327 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42328
42329         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42330         * sysdeps/x86_64/dla.h: ...here.  New file.
42331         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42332         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42333         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42336         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42337         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42338         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42339         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42340
42341 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42342
42343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42344         __ynl_finite aliases.
42345
42346 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42347
42348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42349
42350         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42351         define DLA_FMA.
42352         [DLA_FMA] (EMULV): Use DLA_FMA.
42353         [DLA_FMA] (MUL12): Use EMULV.
42354         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42355         that are not needed.
42356         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42358         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42359         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42361         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42362         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42363
42364 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42365
42366         * math/s_nan.c: Undef __nan.
42367         * math/s_nanf.c: Undef __nanf.
42368         * math/s_nanl.c: Undef __nanl.
42369         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42370         "math_private.h".
42371
42372 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42373
42374         * math/s_catan.c: Add branch predictions.
42375         * math/s_catanf.c: Likewise.
42376         * math/s_catanh.c: Likewise.
42377         * math/s_catanhf.c: Likewise.
42378         * math/s_catanhl.c: Likewise.
42379         * math/s_catanl.c: Likewise.
42380         * math/s_cexp.c: Likewise.
42381         * math/s_cexpf.c: Likewise.
42382         * math/s_cexpl.c: Likewise.
42383         * math/s_clog.c: Likewise.
42384         * math/s_clog10.c: Likewise.
42385         * math/s_clog10f.c: Likewise.
42386         * math/s_clog10l.c: Likewise.
42387         * math/s_clogf.c: Likewise.
42388         * math/s_clogl.c: Likewise.
42389         * math/s_csqrt.c: Likewise.
42390         * math/s_csqrtf.c: Likewise.
42391         * math/s_csqrtl.c: Likewise.
42392         * math/s_ctanf.c: Likewise.
42393         * math/s_ctanh.c: Likewise.
42394         * math/s_ctanhf.c: Likewise.
42395         * math/s_ctanhl.c: Likewise.
42396         * math/s_ctanl.c: Likewise.
42397
42398         * math/math_private.h: Define __nan, __nanf, __nanl.
42399         * math/s_cacosh.c: Include <math_private.h>.
42400         * math/s_cacoshl.c: Likewise.
42401         * math/s_casinh.c: Likewise.
42402         * math/s_casinhf.c: Likewise.
42403         * math/s_casinhl.c: Likewise.
42404         * math/s_ccos.c: Rely entire on ccosh.
42405         * math/s_ccosf.c: Rely entire on ccoshf.
42406         * math/s_ccosl.c: Rely entirely on ccoshl.
42407         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42408         Remove tests for FE_INVALID.
42409         * math/s_ccoshf.c: Likewise.
42410         * math/s_ccoshl.c: Likewise.
42411         * math/s_csin.c: Likewise.
42412         * math/s_csinf.c: Likewise.
42413         * math/s_csinh.c Likewise.
42414         * math/s_csinhf.c: Likewise.
42415         * math/s_csinhl.c: Likewise.
42416         * math/s_csinl.c: Likewise.
42417         * math/s_ctan.c: Likewise.
42418         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42419         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42420         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42421
42422 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42423
42424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42425         compilation problems.
42426
42427         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42428         __builtin_expect.
42429
42430 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42431
42432         * sysdeps/i386/configure.in: Test for -mfma4 option.
42433         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42434         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42435         COMMON_CPUID_INDEX_80000001.
42436         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42437         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42438         use it if FMA3 is not supported.
42439         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42440
42441         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42442         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42443
42444 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42445
42446         [BZ #12892]
42447         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42448         it would create a cycle with a link time dependency.
42449
42450 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42451
42452         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42453         instruction.
42454         * string/Makefile (strop-tests): Add rawmemchr.
42455         * string/test-rawmemchr.c: New file.
42456
42457         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42458         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42459         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42460         when compiling str{,n}casecmp and when AVX is available.  Hook up
42461         new optimized code in initializers.
42462
42463 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42464
42465         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42466         __feraiseexcept instead of feraiseexcept.
42467
42468 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42469
42470         * math/math_private.h: Define defaults for libc_fetestexcept and
42471         libc_feupdateenv.
42472         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42473         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42474         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42475         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42476         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42477         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42478         libc_fetestexcept and libc_feupdateenv.
42479
42480         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42481         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42482         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42483         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42484         libc_feholdexcept_setround.
42485
42486         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42487         Add s_nearbyint-c and s_nearbyintf-c.
42488         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42489         nearbyintf inlines.
42490         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42491         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42492         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42493         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42494
42495         * math/math_private.h: Define defaults for libc_fegetround,
42496         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42497         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42498         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42499         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42500         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42501         standard functions.
42502         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42503         Remove comments and hacks for old compiler versions.
42504         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42505         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42506         libc_feholdexceptl.
42507
42508 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42509
42510         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42511         (__feraiseexcept_renamed): Add __NTH.
42512         (feraiseexcept): Add __NTH.  Rename local variables to fix
42513         namespace violations.
42514
42515 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42516
42517         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42518
42519         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42520
42521         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42522         recently added interfaces.
42523         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42524
42525         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42526         about macro parameter expansion.
42527
42528         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42529         __NO_MATH_INLINES is defined.  Cleanups.
42530
42531         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42532         and __floorf is target has SSE4.1.
42533         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42534         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42535         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42536         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42537
42538         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42539         name.
42540         (floorf): Likewise.
42541
42542         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42543
42544 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42545
42546         * misc/sys/cdefs.h: Fix last change.
42547
42548         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42549         database lookup.
42550
42551 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42552
42553         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42554
42555         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42556         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42557         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42558         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42559         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42560         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42561         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42562         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42563         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42564         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42565         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42566         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42567         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42568         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42569         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42570         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42571         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42572         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42573         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42574         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42575         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42576         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42577
42578         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42579         ceil, ceilf, floor, floorf.
42580
42581         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42582         Perform IRELATIVE relocations last.
42583
42584         * elf/do-rel.h: Add another parameter nrelative, replacing the
42585         local variable with the same name.  Change name of the function
42586         to end in Rel or Rela (uppercase).
42587         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42588         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42589         elf_dynamic_do_##reloc function.
42590
42591 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42592
42593         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42594         is sufficient, at least on modern CPUs.
42595
42596         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42597
42598         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42599         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42600
42601         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42602         __expl_finite.
42603         * math/bits/math-finite.h: Add entries for exp.
42604         * math/e_expl.c: Add __*_finite alias.
42605         * sysdeps/i386/fpu/e_exp.S: Likewise.
42606         * sysdeps/i386/fpu/e_expf.S: Likewise.
42607         * sysdeps/i386/fpu/e_expl.c: Likewise.
42608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42609         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42610         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42611         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42612         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42613         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42614         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42615
42616         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42617         is sufficient, at least on modern CPUs.
42618
42619         * ctype/ctype-info.c (__ctype_init): Define.
42620         * include/ctype.h (__ctype_init): Declare.
42621         (__ctype_b_loc): The variable is always initialized.
42622         (__ctype_toupper_loc): Likewise.
42623         (__ctype_tolower_loc): Likewise.
42624         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42625         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42626
42627 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42628
42629         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42630
42631         * configure.in: Also look in $cxxmachine/include for C++ system
42632         headers.
42633
42634 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42635
42636         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42637         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42638         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42639         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42640         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42641         (USE_AS_WMEMCMP): New macro.
42642         Fixing indents.
42643         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42644         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42645         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42646         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42647         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42648         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42649         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42650         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42651         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42652         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42653         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42654         (USE_AS_WMEMCMP): New macro.
42655         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42656         * sysdeps/string/test-memcmp.c: Update.
42657         Fix simple_wmemcmp.
42658         Add new tests.
42659         * wcsmbs/wmemcmp.c: Update.
42660         (WMEMCMP): New macro.
42661         Fix overflow bug.
42662
42663 2011-10-12  Andreas Jaeger  <aj@suse.de>
42664
42665         [BZ #13268]
42666         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42667
42668 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42669
42670         * libio/iofwide.c (do_length): Avoid warning.
42671
42672         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42673
42674 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42675
42676         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42677
42678         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42679         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42680         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42681         * sysdeps/i386/i686/fpu/e_log.S: New file.
42682         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42683         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42684
42685         * ctype/ctype.h: Add support for inlined isXXX functions when
42686         compiling C++ code.
42687
42688 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42689
42690         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42691
42692         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42693
42694 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42695
42696         [BZ #13291]
42697         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42698
42699 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42700
42701         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42702         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42703         feraiseexcept.
42704
42705         * sysdeps/x86_64/memrchr.S: Check for zero size.
42706
42707         * string/stratcliff.c: Add memrchr tests.
42708
42709 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42710
42711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42712         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42713         rawmemchr-sse2 rawmemchr-sse2-bsf.
42714         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42715         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42716         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42717         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42718         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42719         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42720         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42721         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42722         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42723         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42724         * string/memrchr.c (MEMRCHR): New macro.
42725
42726 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42727
42728         Add integration with gcc's -ffinite-math-only and optimize wrapper
42729         functions in libm.
42730         * Versions.def: Define GLIBC_2.15 version for libm.
42731         * math/Makefile (headers): Add bits/math-finite.h.
42732         * math/bits/math-finite.h: New file.
42733         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42734         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42735         * math/e_acoshl.c: Add __*_finite alias.
42736         * math/e_acosl.c: Likewise.
42737         * math/e_asinl.c: Likewise.
42738         * math/e_atan2l.c: Likewise.
42739         * math/e_atanhl.c: Likewise.
42740         * math/e_coshl.c: Likewise.
42741         * math/e_exp10.c: Likewise.
42742         * math/e_exp10f.c: Likewise.
42743         * math/e_exp10l.c: Likewise.
42744         * math/e_exp2l.c: Likewise.
42745         * math/e_fmodl.c: Likewise.
42746         * math/e_gammal_r.c: Likewise.
42747         * math/e_hypotl.c: Likewise.
42748         * math/e_j0l.c: Likewise.
42749         * math/e_j1l.c: Likewise.
42750         * math/e_jnl.c: Likewise.
42751         * math/e_lgammal_r.c: Likewise.
42752         * math/e_log10l.c: Likewise.
42753         * math/e_log2l.c: Likewise.
42754         * math/e_logl.c: Likewise.
42755         * math/e_powl.c: Likewise.
42756         * math/e_sinhl.c: Likewise.
42757         * math/e_sqrtl.c: Likewise.
42758         * math/e_scalb.c: Completely rewritten and optimized.
42759         * math/e_scalbf.c: Likewise.
42760         * math/e_scalbl.c: Likewise.
42761         * math/w_acos.c: Likewise.
42762         * math/w_acosf.c: Likewise.
42763         * math/w_acosl.c: Likewise.
42764         * math/w_acosh.c: Likewise.
42765         * math/w_acoshf.c: Likewise.
42766         * math/w_acoshl.c: Likewise.
42767         * math/w_asin.c: Likewise.
42768         * math/w_asinf.c: Likewise.
42769         * math/w_asinl.c: Likewise.
42770         * math/w_atan2.c: Likewise.
42771         * math/w_atan2f.c: Likewise.
42772         * math/w_atan2l.c: Likewise.
42773         * math/w_atanh.c: Likewise.
42774         * math/w_atanhf.c: Likewise.
42775         * math/w_atanhl.c: Likewise.
42776         * math/w_exp10.c: Likewise.
42777         * math/w_exp10f.c: Likewise.
42778         * math/w_exp10l.c: Likewise.
42779         * math/w_fmod.c: Likewise.
42780         * math/w_fmodf.c: Likewise.
42781         * math/w_fmodl.c: Likewise.
42782         * math/w_j0.c: Likewise.
42783         * math/w_j0f.c: Likewise.
42784         * math/w_j0l.c: Likewise.
42785         * math/w_j1.c: Likewise.
42786         * math/w_j1f.c: Likewise.
42787         * math/w_j1l.c: Likewise.
42788         * math/w_jn.c: Likewise.
42789         * math/w_jnf.c: Likewise.
42790         * math/w_log.c: Likewise.
42791         * math/w_logf.c: Likewise.
42792         * math/w_logl.c: Likewise.
42793         * math/w_log10.c: Likewise.
42794         * math/w_log10f.c: Likewise.
42795         * math/w_log10l.c: Likewise.
42796         * math/w_log2.c: Likewise.
42797         * math/w_log2f.c: Likewise.
42798         * math/w_log2l.c: Likewise.
42799         * math/w_pow.c: Likewise.
42800         * math/w_powf.c: Likewise.
42801         * math/w_powl.c: Likewise.
42802         * math/w_remainder.c: Likewise.
42803         * math/w_remainderf.c: Likewise.
42804         * math/w_remainderl.c: Likewise.
42805         * math/w_scalb.c: Likewise.
42806         * math/w_scalbf.c: Likewise.
42807         * math/w_scalbl.c: Likewise.
42808         * math/w_sqrt.c: Likewise.
42809         * math/w_sqrtf.c: Likewise.
42810         * math/w_sqrtl.c: Likewise.
42811         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42812         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42813         used.
42814         * math/math_private.h: Declare __kernel_standard_f.
42815         * math/w_cosh.c: Remove cruft and optimize a bit.
42816         * math/w_coshf.c: Likewise.
42817         * math/w_coshl.c: Likewise.
42818         * math/w_exp2.c: Likewise.
42819         * math/w_exp2f.c: Likewise.
42820         * math/w_exp2l.c: Likewise.
42821         * math/w_hypot.c: Likewise.
42822         * math/w_hypotf.c: Likewise.
42823         * math/w_hypotl.c: Likewise.
42824         * math/w_lgamma.c: Likewise.
42825         * math/w_lgamma_r.c: Likewise.
42826         * math/w_lgammaf.c: Likewise.
42827         * math/w_lgammaf_r.c: Likewise.
42828         * math/w_lgammal.c: Likewise.
42829         * math/w_lgammal_r.c: Likewise.
42830         * math/w_sinh.c: Likewise.
42831         * math/w_sinhf.c: Likewise.
42832         * math/w_sinhl.c: Likewise.
42833         * math/w_tgamma.c: Likewise.
42834         * math/w_tgammaf.c: Likewise.
42835         * math/w_tgammal.c: Likewise.
42836         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42837         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42838         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42839         Minor optimizations.  Pretty printing.  Remove cruft.
42840         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42841         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42842         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42843         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42844         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42845         * sysdeps/i386/fpu/e_asin.S: Likewise.
42846         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42847         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42848         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42849         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42850         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42851         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42852         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42853         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42854         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42855         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42856         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42857         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42858         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42859         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42860         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42861         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42862         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42863         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42864         * sysdeps/i386/fpu/e_log.S: Likewise.
42865         * sysdeps/i386/fpu/e_log10.S: Likewise.
42866         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42867         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42868         * sysdeps/i386/fpu/e_log2.S: Likewise.
42869         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42870         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42871         * sysdeps/i386/fpu/e_logf.S: Likewise.
42872         * sysdeps/i386/fpu/e_logl.S: Likewise.
42873         * sysdeps/i386/fpu/e_pow.S: Likewise.
42874         * sysdeps/i386/fpu/e_powf.S: Likewise.
42875         * sysdeps/i386/fpu/e_powl.S: Likewise.
42876         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42877         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42878         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42879         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42880         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42881         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42882         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42883         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42884         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42885         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42886         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42889         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42890         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42891         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42892         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42894         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42895         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42896         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42898         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42899         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42901         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42902         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42903         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42904         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42905         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42906         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42907         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42908         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42909         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42910         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42911         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42912         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42913         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42914         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42915         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42916         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42917         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42918         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42919         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42920         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42921         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42922         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42923         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42924         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42925         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42926         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42927         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42928         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42929         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42930         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42931         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42932         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42933         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42934         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42935         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42936         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42937         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42938         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42939         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42940         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42941         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42942         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42943         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42944         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42945         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42946         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42947         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42948         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42949         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42950         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42951         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42952         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42953         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42954         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42955         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42956         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42957         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42958         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42959         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42960         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42961         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42963         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42964         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42965         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42966         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42967         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42969         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42970         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42971         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42972         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42973         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42974         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42975         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42976         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42977         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42978         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42979         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42980         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42981         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42982         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42983         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42984         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42985         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42986         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42987         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42988         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42989         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42990         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42991         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42992         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42993         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42994         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42995         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42996         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42997         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42998         (__isnanf): Likewise.
42999         (__isinf_ns): Likewise.
43000         (__isinf_nsf): Likewise.
43001         (__finite): Likewise.
43002         (__finitef): Likewise.
43003         (__ieee754_sqrt): Define as macro.
43004         (__ieee754_sqrtf): Define as macro.
43005         (__ieee754_sqrtl): Define as macro.
43006         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43007         inlined copy.
43008         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43009         __FINITE_MATH_ONLY__ consistent.
43010         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43011
43012 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43013
43014         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43015         of rawmemchr.
43016
43017         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43018
43019 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43020
43021         * po/ja.po: Update from translation team.
43022
43023 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43024
43025         * locale/programs/locarchive.c (prepare_address_space): New function.
43026         (create_archive, enlarge_archive, open_archive): Use it.
43027
43028         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43029         inside [SHARED], where it is used.
43030
43031         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43032
43033         * nss/getent.c (netgroup_keys): Remove unused variable.
43034         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43035
43036 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43037
43038         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43039         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43041         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43042         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43043         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43044         * math/Makefile (libm-calls): Add s_isinf_ns.
43045         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43046         * math/multc3.c: Likewise.
43047         * math/s_casin.c: Likewise.
43048         * math/s_casinf.c: Likewise.
43049         * math/s_casinl.c: Likewise.
43050         * math/s_ccos.c: Likewise.
43051         * math/s_ccosf.c: Likewise.
43052         * math/s_ccosl.c: Likewise.
43053         * math/s_ctan.c: Likewise.
43054         * math/s_ctanf.c: Likewise.
43055         * math/s_ctanh.c: Likewise.
43056         * math/s_ctanhf.c: Likewise.
43057         * math/s_ctanhl.c: Likewise.
43058         * math/s_ctanl.c: Likewise.
43059         * math/w_fmod.c: Likewise.
43060         * math/w_fmodf.c: Likewise.
43061         * math/w_fmodl.c: Likewise.
43062         * math/w_remainder.c: Likewise.
43063         * math/w_remainderf.c: Likewise.
43064         * math/w_remainderl.c: Likewise.
43065         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43066         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43067         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43068         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43069         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43070         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43071         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43072         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43073
43074         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43075         of the number.
43076         * stdio-common/printf_fphex.c: Likewise.
43077         * stdio-common/printf_size.c: Likewise.
43078
43079         * math/e_exp10.c: Include math_private.h using <...> not "...".
43080         * math/e_exp10f.c: Likewise.
43081         * math/e_exp10l.c: Likewise.
43082         * math/e_exp2l.c: Likewise.
43083         * math/e_j0l.c: Likewise.
43084         * math/e_j1l.c: Likewise.
43085         * math/e_jnl.c: Likewise.
43086         * math/e_lgammal_r.c: Likewise.
43087         * math/e_rem_pio2l.c: Likewise.
43088         * math/e_scalb.c: Likewise.
43089         * math/e_scalbf.c: Likewise.
43090         * math/e_scalbl.c: Likewise.
43091         * math/k_cosl.c: Likewise.
43092         * math/k_sinl.c: Likewise.
43093         * math/k_tanl.c: Likewise.
43094         * math/s_cacoshf.c: Likewise.
43095         * math/s_catan.c: Likewise.
43096         * math/s_catanf.c: Likewise.
43097         * math/s_catanh.c: Likewise.
43098         * math/s_catanhf.c: Likewise.
43099         * math/s_catanhl.c: Likewise.
43100         * math/s_catanl.c: Likewise.
43101         * math/s_ccosh.c: Likewise.
43102         * math/s_ccoshf.c: Likewise.
43103         * math/s_ccoshl.c: Likewise.
43104         * math/s_cexp.c: Likewise.
43105         * math/s_cexpf.c: Likewise.
43106         * math/s_cexpl.c: Likewise.
43107         * math/s_clog.c: Likewise.
43108         * math/s_clog10.c: Likewise.
43109         * math/s_clog10f.c: Likewise.
43110         * math/s_clog10l.c: Likewise.
43111         * math/s_clogf.c: Likewise.
43112         * math/s_clogl.c: Likewise.
43113         * math/s_csin.c: Likewise.
43114         * math/s_csinf.c: Likewise.
43115         * math/s_csinh.c: Likewise.
43116         * math/s_csinhf.c: Likewise.
43117         * math/s_csinhl.c: Likewise.
43118         * math/s_csinl.c: Likewise.
43119         * math/s_csqrt.c: Likewise.
43120         * math/s_csqrtf.c: Likewise.
43121         * math/s_csqrtl.c: Likewise.
43122         * math/s_ctan.c: Likewise.
43123         * math/s_ctanf.c: Likewise.
43124         * math/s_ctanh.c: Likewise.
43125         * math/s_ctanhf.c: Likewise.
43126         * math/s_ctanhl.c: Likewise.
43127         * math/s_ctanl.c: Likewise.
43128         * math/s_ldexp.c: Likewise.
43129         * math/s_ldexpf.c: Likewise.
43130         * math/s_ldexpl.c: Likewise.
43131         * math/s_significand.c: Likewise.
43132         * math/s_significandf.c: Likewise.
43133         * math/s_significandl.c: Likewise.
43134         * math/w_acos.c: Likewise.
43135         * math/w_acosf.c: Likewise.
43136         * math/w_acosh.c: Likewise.
43137         * math/w_acoshf.c: Likewise.
43138         * math/w_acoshl.c: Likewise.
43139         * math/w_acosl.c: Likewise.
43140         * math/w_asin.c: Likewise.
43141         * math/w_asinf.c: Likewise.
43142         * math/w_asinl.c: Likewise.
43143         * math/w_atan2.c: Likewise.
43144         * math/w_atan2f.c: Likewise.
43145         * math/w_atan2l.c: Likewise.
43146         * math/w_atanh.c: Likewise.
43147         * math/w_atanhf.c: Likewise.
43148         * math/w_atanhl.c: Likewise.
43149         * math/w_cosh.c: Likewise.
43150         * math/w_coshf.c: Likewise.
43151         * math/w_coshl.c: Likewise.
43152         * math/w_dremf.c: Likewise.
43153         * math/w_exp10.c: Likewise.
43154         * math/w_exp10f.c: Likewise.
43155         * math/w_exp10l.c: Likewise.
43156         * math/w_exp2.c: Likewise.
43157         * math/w_exp2f.c: Likewise.
43158         * math/w_fmod.c: Likewise.
43159         * math/w_fmodf.c: Likewise.
43160         * math/w_fmodl.c: Likewise.
43161         * math/w_hypot.c: Likewise.
43162         * math/w_hypotf.c: Likewise.
43163         * math/w_hypotl.c: Likewise.
43164         * math/w_j0.c: Likewise.
43165         * math/w_j0f.c: Likewise.
43166         * math/w_j0l.c: Likewise.
43167         * math/w_j1.c: Likewise.
43168         * math/w_j1f.c: Likewise.
43169         * math/w_j1l.c: Likewise.
43170         * math/w_jn.c: Likewise.
43171         * math/w_jnf.c: Likewise.
43172         * math/w_jnl.c: Likewise.
43173         * math/w_lgamma.c: Likewise.
43174         * math/w_lgamma_r.c: Likewise.
43175         * math/w_lgammaf.c: Likewise.
43176         * math/w_lgammaf_r.c: Likewise.
43177         * math/w_lgammal.c: Likewise.
43178         * math/w_lgammal_r.c: Likewise.
43179         * math/w_log.c: Likewise.
43180         * math/w_log10.c: Likewise.
43181         * math/w_log10f.c: Likewise.
43182         * math/w_log10l.c: Likewise.
43183         * math/w_log2.c: Likewise.
43184         * math/w_log2f.c: Likewise.
43185         * math/w_log2l.c: Likewise.
43186         * math/w_logf.c: Likewise.
43187         * math/w_logl.c: Likewise.
43188         * math/w_pow.c: Likewise.
43189         * math/w_powf.c: Likewise.
43190         * math/w_powl.c: Likewise.
43191         * math/w_remainder.c: Likewise.
43192         * math/w_remainderf.c: Likewise.
43193         * math/w_remainderl.c: Likewise.
43194         * math/w_scalb.c: Likewise.
43195         * math/w_scalbf.c: Likewise.
43196         * math/w_scalbl.c: Likewise.
43197         * math/w_sinh.c: Likewise.
43198         * math/w_sinhf.c: Likewise.
43199         * math/w_sinhl.c: Likewise.
43200         * math/w_sqrt.c: Likewise.
43201         * math/w_sqrtf.c: Likewise.
43202         * math/w_sqrtl.c: Likewise.
43203         * math/w_tgamma.c: Likewise.
43204         * math/w_tgammaf.c: Likewise.
43205         * math/w_tgammal.c: Likewise.
43206
43207         * po/ja.po: Update from translation team.
43208
43209 2011-09-29  Andreas Jaeger  <aj@suse.de>
43210
43211         [BZ #13179]
43212         * sunrpc/netname.c (netname2host): Fix logic.
43213
43214         [BZ #6779]
43215         [BZ #6783]
43216         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43217         correctly.
43218         * math/w_remainder.c (__remainder): Likewise.
43219         * math/w_remainderf.c (__remainderf): Likewise.
43220         * math/libm-test.inc (remainder_test): Add test cases.
43221
43222 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43223
43224         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43225         sdiv_qrnnd.
43226
43227 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43228
43229         * string/test-memcmp.c: Avoid unncessary #defines.
43230         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43231
43232 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43233
43234         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43235         Use new sse2 version for core i3 - i7 as it's faster
43236         than sse42 version.
43237         (bit_Prefer_PMINUB_for_stringop): New.
43238         * sysdeps/x86_64/rawmemchr.S: Update.
43239         Replace with faster SSE2 version.
43240         * sysdeps/x86_64/memrchr.S: New file.
43241         * sysdeps/x86_64/memchr.S: Update.
43242         Replace with faster SSE2 version.
43243
43244 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43245
43246         * elf/dl-load.c (lose): Add cast to avoid warning.
43247
43248 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43249
43250         * po/ca.po: Update from translation team.
43251
43252         * inet/getnetgrent_r.c: Hook up nscd.
43253         * nscd/Makefile (routines): Add nscd_netgroup.
43254         (nscd-modules): Add netgroupcache.
43255         (CFLAGS-netgroupcache.c): Define.
43256         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43257         (cache_search): Add const to second parameter.
43258         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43259         INNETGR.
43260         (dbs): Add netgrdb entry.
43261         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43262         (verify_persistent_db): Handle netgrdb.
43263         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43264         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43265         GETFDNETGR.
43266         (netgroup_response_header): Define.
43267         (innetgroup_response_header): Define.
43268         (datahead): Add netgroup_response_header and innetgroup_response_header
43269         elements.
43270         * nscd/nscd.conf: Add entries for netgroup cache.
43271         * nscd/nscd.h (dbtype): Add netgrdb.
43272         (_PATH_NSCD_NETGROUP_DB): Define.
43273         (netgroup_iov_disabled): Declare.
43274         (xmalloc, xcalloc, xrealloc): Move declarations here.
43275         (cache_search): Adjust prototype.
43276         Add netgroup-related prototypes.
43277         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43278         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43279         (__nscd_innetgr): Declare.
43280         * nscd/selinux.c (perms): Use access_vector_t as element type and
43281         add netgroup-related initializers.
43282         * nscd/netgroupcache.c: New file.
43283         * nscd/nscd_netgroup.c: New file.
43284         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43285         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43286         For four parameters use innetgr.
43287         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43288         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43289         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43290         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43291
43292         * nscd/connections.c (register_traced_file): Don't register file
43293         for disabled databases.
43294
43295 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43296
43297         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43298
43299         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43300         from tree and freeing node.
43301
43302 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43303
43304         * nss/nsswitch.c (__nss_database_lookup): Handle
43305         nss_parse_service_list out of memory case.
43306
43307 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43308
43309         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43310         out of memory case.
43311
43312 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43313
43314         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43315         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43316         pass it down.
43317         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43318         elf_machine_rela, elf_machine_lazy_rel.
43319         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43320         (ELF_DYNAMIC_DO_REL): Likewise.
43321         (ELF_DYNAMIC_DO_RELA): Likewise.
43322         (ELF_DYNAMIC_RELOCATE): Likewise.
43323         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43324         to ELF_DYNAMIC_DO_REL.
43325         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43326         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43327         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43328         elf_machine_rela.
43329         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43330         skip_ifunc, don't call ifunc function if non-zero.
43331         (elf_machine_rela): Likewise.
43332         (elf_machine_lazy_rel): Likewise.
43333         (elf_machine_lazy_rela): Likewise.
43334         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43335         (elf_machine_lazy_rel): Likewise.
43336         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43337         Likewise.
43338         (elf_machine_lazy_rel): Likewise.
43339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43340         Likewise.
43341         (elf_machine_lazy_rel): Likewise.
43342         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43343         (elf_machine_lazy_rel): Likewise.
43344         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43345         (elf_machine_lazy_rel): Likewise.
43346         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43347         (elf_machine_lazy_rel): Likewise.
43348         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43349         (elf_machine_lazy_rel): Likewise.
43350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43351         (elf_machine_lazy_rel): Likewise.
43352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43353         (elf_machine_lazy_rel): Likewise.
43354
43355 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43356
43357         * nss/nss_files/files-init.c (_nss_files_init): Use static
43358         initialization for all the *_traced_file variables.
43359
43360 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43361
43362         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43363
43364 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43365
43366         [BZ #13226]
43367         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43368
43369 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43370
43371         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43372         Reread the line before reparsing it.
43373
43374 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43375
43376         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43377
43378 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43379             Maxim Kuvyrkov  <maxim@codesourcery.com>
43380             Joseph Myers  <joseph@codesourcery.com>
43381
43382         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43383         if needed for __stack_chk_guard.
43384
43385 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43386
43387         * sysdeps/posix/spawni.c (script_execute): Always define it.
43388         It will be optimized away if unused.
43389         (maybe_script_execute): New function.
43390         (__spawni): Call it.
43391
43392         * Makerules: Don't include tls.make.
43393         (config-tls): Always set to thread.
43394         * tls.make.c: File removed.
43395
43396 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43397
43398         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43399         * config.make.in (CPPFLAGS-config): New substituted variable.
43400
43401 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43402
43403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43404
43405         [BZ #13192]
43406         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43407         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43408
43409 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43410
43411         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43412         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43413         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43414         (CALL_FAIL): Likewise.
43415         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43416         (CALL_FAIL): Macro removed.
43417         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43418
43419 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43420
43421         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43422         for __FINITE_MATH_ONLY__ == 1.
43423
43424 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43425
43426         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43427         __ieee754_sqrt instead of sqrt.
43428         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43429         __ieee754_sqrtf instead of sqrtf.
43430         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43431         __floorf instead of floorf.
43432         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43433         __floorf, __truncf instead of floorf, truncf.
43434
43435 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43436
43437         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43438
43439         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43440         __extern_always_inline.
43441         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43442         32-bit.
43443
43444 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43445
43446         * elf/rtld.c (dl_main): Also relocate in dependency order when
43447         doing symbol dependency testing.
43448
43449 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43450
43451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43452         Always define `refsym'.
43453
43454 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43455
43456         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43457         (__FD_ELT): Renamed from __FDELT.
43458         * misc/bits/select2.h (__FD_ELT): Likewise.
43459         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43460         __FD_MASK instead of __FDELT, __FDMASK.
43461         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43462         Likewise.
43463         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43464         Likewise.
43465
43466         * elf/Makefile (gen-ldd): Fix pattern.
43467
43468         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43469         (init_tls): Likewise.
43470
43471 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43472
43473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43474
43475 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43476
43477         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43478         `struct cmsghdr *' instead of `void *'.
43479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43480         Likewise.
43481
43482 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43483
43484         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43485         if non-absolute.
43486         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43487         ldd_rewrite_script.
43488
43489 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43490
43491         * configure.in: Remove --with-tls option.
43492         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43493         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43494         out in case it is missing.
43495         * sysdeps/ia64/elf/configure.in: Likewise.
43496         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43497         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43498         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43499         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43500         * sysdeps/sh/elf/configure.in: Likewise.
43501         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43502         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43503         * sysdeps/x86_64/elf/configure.in: Likewise.
43504         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43505         * sysdeps/mach/hurd/tls.h: Likewise.
43506
43507         [BZ #13067]
43508         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43509
43510         [BZ #13090]
43511         * configure.in: Fix use of AC_INIT.
43512
43513         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43514
43515 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43516
43517         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43518         __set_errno.
43519         * malloc/hooks.c: Likewise.
43520
43521         [BZ #11929]
43522         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43523         variables statically.
43524         (narenas): Initialize.
43525         (list_lock): Initialize.
43526         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43527         initializtion of main_arena and list_lock.  Small cleanups.
43528         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43529         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43530         Add initializers to main_arena and mp_.
43531         (malloc_state): Remove pagesize member.  Change all users to use
43532         GLRO(dl_pagesize).
43533
43534         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43535         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43536         is always initialized.
43537
43538         * malloc/malloc.c: Removed unused configurations and dead code.
43539         * malloc/arena.c: Likewise.
43540         * malloc/hooks.c: Likewise.
43541         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43542
43543         * include/tls.h: Removed.  USE___THREAD must always be defined.
43544         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43545         * elf/dl-libc.c: Likewise.
43546         * elf/dl-tsd.c: Likewise.
43547         * include/errno.h: Likewise.
43548         * include/netdb.h: Likewise.
43549         * include/resolv.h: Likewise.
43550         * inet/herrno-loc.c: Likewise.
43551         * inet/herrno.c: Likewise.
43552         * malloc/arena.c: Likewise.
43553         * malloc/hooks.c: Likewise.
43554         * malloc/malloc.c: Likewise.
43555         * resolv/res-state.c: Likewise.
43556         * resolv/res_libc.c: Likewise.
43557         * sysdeps/i386/dl-machine.h: Likewise.
43558         * sysdeps/ia64/dl-machine.h: Likewise.
43559         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43560         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43561         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43562         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43563         * sysdeps/sh/dl-machine.h: Likewise.
43564         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43565         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43566         * sysdeps/unix/i386/sysdep.S: Likewise.
43567         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43568         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43569         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43573         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43577         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43578         * sysdeps/x86_64/dl-machine.h: Likewise.
43579         * tls.make.c: Likewise.
43580
43581         * configure.in: Remove --with-__thread option.  Make tests for
43582         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43583         tls_model attribute fail if no support is available.  Remove
43584         USE_IN_LIBIO.
43585         * Makeconfig: Adjust for dropped configure option.  All features are
43586         now mandatory.
43587         * Makerules: Likewise.
43588         * Versions.def: Likewise.
43589         * argp/argp-fmtstream.c: Likewise.
43590         * argp/argp-fmtstream.h: Likewise.
43591         * argp/argp-help.c: Likewise.
43592         * assert/assert.c: Likewise.
43593         * config.h.in: Likewise.
43594         * config.make.in: Likewise.
43595         * configure: Likewise.
43596         * configure.in: Likewise.
43597         * csu/Versions: Likewise.
43598         * csu/init.c: Likewise.
43599         * elf/tst-audit2.c: Likewise.
43600         * elf/tst-tls10.c: Likewise.
43601         * elf/tst-tls10.h: Likewise.
43602         * elf/tst-tls11.c: Likewise.
43603         * elf/tst-tls12.c: Likewise.
43604         * elf/tst-tls14.c: Likewise.
43605         * elf/tst-tlsmod11.c: Likewise.
43606         * elf/tst-tlsmod12.c: Likewise.
43607         * elf/tst-tlsmod13.c: Likewise.
43608         * elf/tst-tlsmod13a.c: Likewise.
43609         * elf/tst-tlsmod14a.c: Likewise.
43610         * elf/tst-tlsmod15b.c: Likewise.
43611         * elf/tst-tlsmod16a.c: Likewise.
43612         * elf/tst-tlsmod16b.c: Likewise.
43613         * elf/tst-tlsmod7.c: Likewise.
43614         * elf/tst-tlsmod8.c: Likewise.
43615         * elf/tst-tlsmod9.c: Likewise.
43616         * gmon/gmon.c: Likewise.
43617         * grp/fgetgrent_r.c: Likewise.
43618         * grp/putgrent.c: Likewise.
43619         * hurd/fopenport.c: Likewise.
43620         * include/libc-symbols.h: Likewise.
43621         * include/tls.h: Likewise.
43622         * intl/gettextP.h: Likewise.
43623         * intl/loadinfo.h: Likewise.
43624         * locale/global-locale.c: Likewise.
43625         * locale/localeinfo.h: Likewise.
43626         * mach/devstream.c: Likewise.
43627         * malloc/arena.c: Likewise.
43628         * malloc/set-freeres.c: Likewise.
43629         * misc/err.c: Likewise.
43630         * misc/getttyent.c: Likewise.
43631         * misc/mntent_r.c: Likewise.
43632         * posix/getopt.c: Likewise.
43633         * posix/wordexp.c: Likewise.
43634         * pwd/fgetpwent_r.c: Likewise.
43635         * resolv/Versions: Likewise.
43636         * resolv/res_hconf.c: Likewise.
43637         * shadow/fgetspent_r.c: Likewise.
43638         * shadow/putspent.c: Likewise.
43639         * stdio-common/printf_fphex.c: Likewise.
43640         * stdio-common/tmpfile.c: Likewise.
43641         * stdlib/abort.c: Likewise.
43642         * stdlib/fmtmsg.c: Likewise.
43643         * sunrpc/auth_unix.c: Likewise.
43644         * sunrpc/clnt_perr.c: Likewise.
43645         * sunrpc/clnt_tcp.c: Likewise.
43646         * sunrpc/clnt_udp.c: Likewise.
43647         * sunrpc/clnt_unix.c: Likewise.
43648         * sunrpc/openchild.c: Likewise.
43649         * sunrpc/svc_simple.c: Likewise.
43650         * sunrpc/svc_tcp.c: Likewise.
43651         * sunrpc/svc_udp.c: Likewise.
43652         * sunrpc/svc_unix.c: Likewise.
43653         * sunrpc/xdr.c: Likewise.
43654         * sunrpc/xdr_array.c: Likewise.
43655         * sunrpc/xdr_rec.c: Likewise.
43656         * sunrpc/xdr_ref.c: Likewise.
43657         * sunrpc/xdr_stdio.c: Likewise.
43658
43659 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43660
43661         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43662
43663 2011-07-03  Andreas Jaeger  <aj@suse.de>
43664
43665         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43666         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43667         regenerate with gen-libm-tests.pl.
43668
43669 2010-05-12  Petr Baudis  <pasky@suse.cz>
43670
43671         [BZ #11589]
43672         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43673         around j0() zero points by switching to j1().
43674         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43675         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43677         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43678
43679 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43680
43681         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43682         instead of 0.
43683         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43684         instead of 0.
43685         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43686         Patch in part by Pavel Roskin <proski@gnu.org>.
43687
43688         [BZ #13138]
43689         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43690         realloc.
43691         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43692         Free memory block if necessary.
43693
43694         [BZ #12847]
43695         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43696         be NULL.  Don't lock in this case.
43697
43698 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43699
43700         * elf/elf.h (ELFOSABI_GNU): New macro.
43701         (ELFOSABI_LINUX): Define to that.
43702
43703 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43704
43705         * string/strncat.c (strncat): Undef the symbol in case it has been
43706         defined in bits/string.h.
43707
43708 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43709
43710         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43711
43712         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43713         link map.
43714
43715 2011-08-17  Andreas Jaeger  <aj@suse.de>
43716
43717         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43718
43719 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43720             Ian Lance Taylor  <iant@google.com>
43721
43722         * math/libm-test.inc (lround_test): New testcase.
43723         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43724
43725 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43726
43727         * Makefile: Remove support for automatic cvs check-ins.
43728         * Makerules: Likewise.
43729         * config.make.in: Likewise.
43730         * configure.in: Likewise.
43731         * intl/Makefile: Likewise.
43732         * locale/Makefile: Likewise.
43733         * po/Makefile: Likewise.
43734         * posix/Makefile: Likewise.
43735         * sysdeps/gnu/Makefile: Likewise.
43736         * sysdeps/mach/hurd/Makefile: Likewise.
43737         * sysdeps/sparc/sparc32/Makefile: Likewise.
43738
43739         [BZ #13118]
43740         * posix/Makefile (bug-regex32-ENV): Define.
43741         Patch by John Stanley <jpsinthemix@verizon.net>.
43742
43743         * misc/Makefile (headers): Add bits/select2.h.
43744         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43745         * misc/bits/select2.h: New file.
43746         * include/bits/select2.h: New file.
43747         * debug/Makefile (routines): Add fdelt_chk.
43748         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43749         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43750         FD_ISSET.
43751         * debug/fdelt_chk.c: New file.
43752
43753         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43754         * wcsmbs/test-wmemcmp.c: Likewise.
43755         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43756         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43757
43758 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43759
43760         * string/Makefile (strop-tests): Add memcmp.
43761         * string/test-wmemcmp.c: New file.
43762         * string/test-memcmp.c: Add wmemcmp support.
43763
43764 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43765
43766         [BZ #13153]
43767         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43768         2011-07-19 change.
43769
43770         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43771         garbage value in a __mach_port_mod_refs call in the cases of the
43772         task-self and thread-self ports.
43773
43774 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43775
43776         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43777
43778 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43779
43780         * elf/dl-load.c (lose): Check for non-null L.
43781
43782 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43783
43784         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43785
43786         * elf/dl-libc.c (dlerror_run): Pass back error code from
43787         dl_catch_error.
43788
43789         [BZ #13123]
43790         * elf/dl-load.c (lose): Free l_origin if it is valid.
43791
43792         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43793         names.
43794         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43795         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43796         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43797         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43798         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43799         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43800
43801 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43802
43803         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43804         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43805         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43806         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43807         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43808         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43809         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43810         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43811         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43812         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43813
43814 2011-08-15  Alan Modra  <amodra@gmail.com>
43815
43816         [BZ #13092]
43817         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43818         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43819         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43820         ppc_mcount to static-only-routines.
43821         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43822         __mcount_internal.
43823         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43824         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43825
43826 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43827
43828         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43829         for finite and infinity parameters.
43830
43831 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43832
43833         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43834         and add nop instructions for throughput optimization.
43835         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43836
43837 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43838
43839         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43840         aligned copy for power7 with vector-scalar instructions.
43841         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43842
43843 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43844
43845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43846         AVX check.
43847
43848 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43849
43850         [BZ #13144]
43851         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43852         last change.
43853
43854 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43855
43856         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43857         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43858         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43859         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43860         clock_gettime.
43861
43862 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43863
43864         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43865         Forgot to demangle the pointer.
43866
43867         * sysdeps/i386/sysdep.h: Define atom_text_section.
43868         * sysdeps/x86_64/sysdep.h: Likewise.
43869         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43870         section with atom_text_section.
43871         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43872         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43873         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43874         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43875         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43876
43877         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43878         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43879         already be defined.  Change to take two parameters and don't assign
43880         result to variable.  Adjust all users.
43881         Define INTERNAL_GETTIME if not already defined.
43882         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43883         call.
43884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43885         HAVE_CLOCK_GETTIME_VSYSCALL.
43886         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43887
43888         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43889         gettimeofday vsyscall, just use time.
43890
43891 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43892
43893         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43894         <errno.h>.
43895
43896 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43897
43898         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43899         syscall on x86-64.
43900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43901         syscall.
43902         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43903         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43904         syscall if possible.
43905
43906 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43907
43908         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43909         e_ident.  Don't pass to find_mapsXX.
43910         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43911
43912 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43913
43914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43915         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43916         * sysdeps/x86_64/multiarch/strchr.S: Update.
43917         Check bit_slow_BSF bit.
43918         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43919         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43920         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43921
43922 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43923
43924         [BZ #13134]
43925         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43926         before glibc 2.15.
43927         (tryshell): Define.
43928         (__spawni): Change last parameter to be flag.  Test
43929         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43930         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43931         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43932         * posix/spawni.c: Likewise.
43933         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43934         * posix/spawnp.c: Likewise.  Change normal version to use
43935         SPAWN_XFLAGS_USE_PATH.
43936         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43937         SPAWN_XFLAGS_TRY_SHELL.
43938
43939         [BZ #13150]
43940         * posix/glob.h: Remove gcc 1.x support.
43941
43942         [BZ #13068]
43943         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43944
43945 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43946
43947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43948         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43949         strrchr-sse2-bsf
43950         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43951         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43952         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43953         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43954         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43955         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43956
43957 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43958
43959         * sysdeps/x86_64/wcscmp.S: New file.
43960
43961         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43962         wcscmp-c wcscmp-sse2
43963         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43964         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43965         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43966         * wcsmbs/wcscmp.c: Allow renaming.
43967
43968 2011-09-05  David S. Miller  <davem@davemloft.net>
43969
43970         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43971         stack slot, rather than the struct return pointer slot.
43972         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43973         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43975         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43976
43977 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43978
43979         * po/ja.po: Update from translation team.
43980
43981         [BZ #13144]
43982         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43983         kernel in 64-bit binaries.
43984
43985 2011-09-01  David S. Miller  <davem@davemloft.net>
43986
43987         * elf/elf.h (HWCAP_SPARC_*): Move to..
43988         * sysdeps/sparc/sysdep.h: this new file and add new values.
43989         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43990         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43991         _DL_HWCAP_COUNT to 24.
43992         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43993         entries.
43994         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43995         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43996         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43997         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43998         instead of magic constants.
43999         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44000
44001 2011-08-31  David S. Miller  <davem@davemloft.net>
44002
44003         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44004         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44005         Reimplement to do errno handling inline.
44006         (SYSCALL_ERROR_HANDLER): New macro.
44007         (__SYSCALL_STRING): Do not do errno handling in asm.
44008         (__CLONE_SYSCALL_STRING): Delete.
44009         (__INTERNAL_SYSCALL_STRING): Delete.
44010         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44011         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44012         (PSEUDO): Reimplement to do errno handling inline.
44013         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44014         (SYSCALL_ERROR_HANDLER): New macro.
44015         (__SYSCALL_STRING): Do not do errno handling in asm.
44016         (__CLONE_SYSCALL_STRING): Delete.
44017         (__INTERNAL_SYSCALL_STRING): Delete.
44018         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44019         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44020         i386.
44021         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44022         (inline_syscall*): Add 'err' argument.
44023         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44024         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44025         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44026         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44027
44028         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44029         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44030
44031 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44032
44033         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44034
44035 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44036
44037         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44038         directive.
44039
44040 2011-08-24  David S. Miller  <davem@davemloft.net>
44041
44042         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44043
44044 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44045
44046         * elf/Makefile: Add rules to build and run unload8 test.
44047         * elf/unload8.c: New file.
44048         * elf/unload8mod1.c: New file.
44049         * elf/unload8mod1x.c: New file.
44050         * elf/unload8mod2.c: New file.
44051         * elf/unload8mod3.c: New file.
44052
44053         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44054         it wasn't used.
44055
44056 2011-08-23  David S. Miller  <davem@davemloft.net>
44057
44058         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44059         subtract stack bias.
44060         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44061         %sp not %fp in calculations.
44062         (_JMPBUF_UNWINDS_ADJ): Likewise.
44063
44064         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44065         (aio_suspend): Call it to force an exception region around the
44066         AIO_MISC_WAIT() invocation.
44067
44068 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44069
44070         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44071         backslash.
44072
44073 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44074
44075         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44076         protection macro.
44077         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44078         and <dl-machine.h>.
44079         (Elf64_FuncDesc): Remove.
44080
44081 2011-08-22  David S. Miller  <davem@davemloft.net>
44082
44083         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44084         sigaltstack check, add missing cfi directives.
44085         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44086         missing cfi directives, and sigaltstack handling.
44087
44088 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44089
44090         [BZ #11724]
44091         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44092         object is seen twice.
44093         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44094
44095         * elf/Makefile (distribute): Add tst-initorder2.c.
44096         (tests): Add tst-initorder2.
44097         (modules-names): Add tst-initorder2a tst-initorder2b
44098         tst-initorder2c tst-initorder2d.  Add rules to build them.
44099         ($(objpfx)tst-initorder2.out): New rule.
44100         * elf/tst-initorder2.c: New file.
44101         * elf/tst-initorder2.exp: New file.
44102
44103 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44104
44105         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44106
44107         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44108         dependencies back to end of function.
44109
44110         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44111         $(elfobjdir)/ld.so.
44112
44113 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44114
44115         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44116         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44117         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44118         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44119         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44120         of __vdso_gettimeofday.
44121         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44122         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44123         attribute_hidden.
44124         (_libc_vdso_platform_setup): Remove initialization of
44125         __vdso_gettimeofday and __vdso_time.
44126
44127 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44128
44129         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44130         and fgetc_unlocked.
44131         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44132         getc_unlocked.
44133
44134         * elf/dl-open.c (add_to_global): Report additions to the global scope
44135         for LD_DEBUG=scopes.
44136         (dl_open_worker): Also print scope of newly loaded dependencies.
44137         (_dl_show_scope): Indicate if there is no scope.
44138
44139         [BZ #13114]
44140         * stdio-common/Makefile (tests): Add bug24.
44141         * stdio-common/bug24.c: New file.
44142
44143 2011-08-19  Andreas Jaeger  <aj@suse.de>
44144
44145         [BZ #13114]
44146         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44147         non-existant file when using close-on-exec mode.
44148
44149 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44150
44151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44152         the very first instruction.
44153
44154         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44155         the CFI state in the end.
44156         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44157         inclusion of dl-trampoline.h.
44158         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44159
44160 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44161
44162         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44163         expectations for long double.
44164
44165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44166         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44167
44168 2011-08-14  David S. Miller  <davem@davemloft.net>
44169
44170         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44171         artificual limit depends upon the system page size.
44172
44173 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44174
44175         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44176         * resolv/Makefile: Define CFLAGS-libresolv.
44177
44178 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44179
44180         * nss/makedb.c (compute_tables): Make variables used in nested
44181         function static.
44182
44183 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44184
44185         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44186         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44187         if buffer was too small.
44188
44189         * elf/pldd.c (main): Attach to all threads in the process.
44190         Rewrite /proc handling to use *at functions.
44191
44192 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44193
44194         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44195         specifies first scope to show.
44196         (dl_open_worker): Update callers.  Move printing scope of new
44197         object to before the relocation.
44198         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44199         * sysdeps/generic/ldsodefs.h: Update declaration.
44200
44201         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44202         string for the scope number.
44203
44204 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44205
44206         * nscd/servicescache.c (cache_addserv): Make sure written is always
44207         initialized.
44208
44209 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44210
44211         * sysdeps/i386/i486/bits/atomic.h
44212         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44213         statement expression, so as to suppress "set but not used" warning.
44214         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44215
44216         * string/strncat.c (STRNCAT): Use prototype definition.
44217
44218         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44219         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44220         -Iprograms here.
44221         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44222         (localedef-modules): Add localedef.
44223         (locale-modules): Add locale.
44224
44225         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44226         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44227         to avoid a warning.
44228
44229 2011-08-14  David S. Miller  <davem@davemloft.net>
44230
44231         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44232         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44233
44234 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44235
44236         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44237         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44238         * elf/rtld.c (dl_main): Set l_name of vDSO.
44239         Call _dl_show_scope when DL_DEBUG_SCOPES.
44240         (process_dl_debug): Recognize scopes flag and also set it for all.
44241         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44242         Declare _dl_show_scope.
44243
44244         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44245         (do_dlopen): Pass caller_dlopen to dl_open.
44246         (__libc_dlopen_mode): Initialize caller_dlopen.
44247
44248         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44249         of libc.  Make tolower call locale-independent.  Optimize a bit by
44250         using isdigit instead of isalnum.
44251         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44252
44253 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44254
44255         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44256         was a dependency or dynamically loaded.
44257
44258 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44259
44260         * intl/l10nflist.c: Allow architecture-specific pop function.
44261         * sysdeps/x86_64/l10nflist.c: New file.
44262
44263         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44264         classification.
44265
44266 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44267
44268         * include/dirent.h: Add libc_hidden_proto for scandirat and
44269         scandirat64.  Don't declare __scandirat64.
44270         * dirent/scandirat.c: Add libc_hidden_def.
44271         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44272         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44273
44274 2011-08-10  David S. Miller  <davem@davemloft.net>
44275
44276         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44277         enum.
44278         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44279         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44280         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44281
44282 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44283
44284         * Versions.def [libc]: Add GLIBC_2.15.
44285         * dirent/Makefile (routines): Add scandirat and scandirat64.
44286         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44287         GLIBC_2.15.
44288         * dirent/dirent.h: Declare scandirat and scandirat64.
44289         * dirent/scandirat.c: New file.
44290         * dirent/scandirat64.c: New file.
44291         * sysdeps/wordsize-64/scandirat.c: New file.
44292         * sysdeps/wordsize-64/scandirat64.c: New file.
44293         * dirent/opendir.c: Define opendirat.
44294         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44295         using scandirat.
44296         * dirent/scandir64.c: Adjust for scandir.c change.
44297         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44298         __scandirat64, and __scandir_cancel_handler.
44299         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44300         additional parameter and use openat instead of open (outside of ld.so).
44301         Add new __opendir as wrapper around __opendirat.
44302         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44303         here without requiring old scandirat implementation.
44304
44305 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44306
44307         * dirent/scandir.c (cancel_handler): Renamed to
44308         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44309         defined.  Adjust users.
44310         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44311         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44312
44313 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44314
44315         * string/test-string.h (IMPL): Use __STRING to expand name and then
44316         stringify it.
44317
44318         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44319         of cleanups.
44320
44321 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44322
44323         * string/Makefile: Update.
44324         (strop-tests): Append strncat.
44325         * string/test-wcscmp.c: New file.
44326         New comprehensive test for wcscmp.
44327         * string/test-strcmp.c: Update.
44328         (WIDE): New define.
44329
44330 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44331
44332         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44333         line.
44334
44335 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44336
44337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44338         encoding to ACE if AI_IDN.
44339
44340 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44341
44342         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44343         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44344
44345 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44346
44347         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44348         Fix overflow bug in strncat.
44349         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44350
44351         * string/test-strncat.c: Update.
44352         Add new tests for checking overflow bugs.
44353
44354 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44355
44356         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44357         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44358         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44359         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44360         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44361         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44362         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44363         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44364         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44365
44366         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44367         (USE_AS_STRCAT): Define.
44368         Add strcat and strncat support.
44369         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44370
44371 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44372
44373         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44374         __n bigger than INT_MAX+1.
44375         (__strncmp_g): Likewise.
44376
44377 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44378
44379         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44380         * libio/stido.h: Likewise.
44381
44382         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44383         (AF_NFC): Define.
44384         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44385         (AF_NFC): Define.
44386
44387         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44388         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44389         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44390         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44391         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44392
44393         [BZ #13021]
44394         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44395         installed.
44396
44397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44398         typo.
44399         (_dl_x86_64_save_sse): Likewise.
44400
44401 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44402
44403         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44404         OSXSAVE.
44405         (_dl_x86_64_save_sse): Likewise.
44406
44407         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44408
44409         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44410
44411 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44412
44413         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44414         change.
44415         (_dl_x86_64_save_sse): Use correct AVX check.
44416
44417 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44418
44419         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44420         bug in strncpy/strncat.
44421         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44422
44423 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44424
44425         * string/tester.c (test_strcat): Add tests for different alignments
44426         of source and destination.
44427         (test_strncat): Likewise.
44428
44429 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44430
44431         [BZ #12852]
44432         * posix/glob.c (glob): Check passed in values before using them in
44433         expressions to avoid some overflows.
44434         (glob_in_dir): Likewise.
44435
44436         [BZ #13007]
44437         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44438         check for AVX enablement so that we don't crash with old kernels and
44439         new hardware.
44440         * elf/tst-audit4.c: Add same checks here.
44441         * elf/tst-audit6.c: Likewise.
44442
44443         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44444
44445 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44446
44447         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44448
44449 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44450
44451         * po/cs.po: Update from translation team.
44452         * po/bg.po: Likewise.
44453
44454 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44455
44456         * misc/sys/cdefs.h: Add support for const attribute.
44457         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44458         to gnu_dev_{major,minor,makedev} functions.
44459
44460 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44461
44462         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44463
44464 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44465
44466         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44467         strlen results.
44468
44469 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44470
44471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44472         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44473         register in order to avoid conflicts with the soft frame pointer
44474         being held in r11 when necessary.
44475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44476         (INTERNAL_VSYSCALL_NCS): Likewise.
44477
44478 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44479
44480         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44481         * elf/dl-fini.c (_dl_fini): Adjust caller.
44482         * elf/dl-close.c (_dl_close_worker): Likewise.
44483         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44484
44485 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44486
44487         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44488         "aux_cache->nlibs < 0".
44489
44490         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44491         in the reload-count case.
44492
44493 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44494
44495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44496         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44497         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44498         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44499         * sysdeps/x86_64/multiarch/strcat.S: New file.
44500         * sysdeps/x86_64/multiarch/strncat.S: New file.
44501         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44502         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44503         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44504         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44505         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44506         (USE_AS_STRCAT): Define.
44507         Add strcat and strncat support.
44508         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44509         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44510         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44511         * string/strncat.c: Update.
44512         (USE_AS_STRNCAT): Define.
44513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44514         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44515         and i7.
44516         * sysdeps/x86_64/multiarch/init-arch.h
44517         (bit_Prefer_PMINUB_for_stringop): New.
44518         (index_Prefer_PMINUB_for_stringop): Likewise.
44519         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44520         bit_Prefer_PMINUB_for_stringop.
44521
44522 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44523
44524         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44525         buffer64.
44526         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44527         of casting of buffer.
44528         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44529         buffer32 and buffer64.
44530         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44531         writes instead of casting of buffer.
44532         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44533         buffer32.
44534         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44535         casting of buffer.
44536
44537 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44538
44539         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44540
44541 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44542
44543         * nscd/nscd.c (termination_handler): Don't do anything for a database
44544         if it has not yet been initialized.
44545
44546 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44547
44548         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44549
44550 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44551
44552         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44553
44554 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44555
44556         * po/nl.po: Update from translation team.
44557         * po/sv.po: Likewise.
44558
44559 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44560
44561         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44562         now disallowed by GCC.
44563
44564         * configure.in (use-default-link): Default to yes if a test -shared
44565         link meets our qualifications.
44566         * configure: Regenerated.
44567
44568         * config.make.in (output-format): New variable.
44569         * configure.in: Check for ld --print-output-format support.
44570         * configure: Regenerated.
44571         * Makerules ($(common-objpfx)format.lds)
44572         [$(output-format) != unknown]: Just use $(output-format),
44573         instead of the linker-script munging.
44574
44575 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44576
44577         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44578         of $(common-objpfx)shlib.lds.
44579         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44580
44581         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44582         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44583
44584         * configure.in (-z relro check): Adjust test code to add a large
44585         writable data section after it.
44586         * configure: Regenerated.
44587
44588 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44589
44590         * configure.in (-z relro check): Fix test code to make the variable
44591         truly const.
44592         * configure: Regenerated.
44593
44594 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44595
44596         * nscd/nscd.h (struct traced_file): Define.
44597         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44598         elements.  Add traced_files.
44599         (inotify_fd): Declare.
44600         (register_traced_file): Declare.
44601         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44602         (inotify_fd): Export.
44603         (resolv_conf_descr): Remove.
44604         (nscd_init): Move inotify descriptor creation to main.
44605         Don't register files for notification here.
44606         (register_traced_file): New function.
44607         (invalidate_cache): Don't use reset_res to determine whether to call
44608         res_init, go through the list of registered files.
44609         (main_loop_poll): The inotify descriptors are now stored in the
44610         structures for the traced files.
44611         (main_loop_epoll): Likewise
44612         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44613         to __nss_disable_nscd.
44614         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44615         for a database anymore.  Check the records for all the registered
44616         files instead.
44617         * nss/Makefile (libnss_files-routines): Add files-init.
44618         (libnss_db-routines): Add db-init.
44619         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44620         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44621         * nss/nss_db/db-init.c: New file.
44622         * nss/nss_files/files-init.c: New file.
44623         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44624         __nss_lookup_function.
44625         (__nss_lookup_function): Call nss_load_library.
44626         (nss_load_all_libraries): New function.
44627         (__nss_disable_nscd): Take parameter with callback function for files
44628         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44629         used for the cached services.
44630         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44631         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44632         options for features to all the files in nscd.
44633
44634         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44635
44636 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44637
44638         * csu/elf-init.c (__libc_csu_init): Comment typo.
44639
44640 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44641
44642         * po/pl.po: Update from translation team.
44643         * po/ja.po: Likewise.
44644         * po/ru.po: Likewise.
44645         * po/ko.po: Likewise.
44646         * po/fr.po: Likewise.
44647
44648 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44649
44650         * configure.in (.ctors/.dtors header and trailer check):
44651         Use an empirical test on a built program.
44652         * configure: Regenerated.
44653
44654         * configure.in (-z relro check): Use an empirical test on a built DSO.
44655         Detect, but do not require, on ia64.
44656         * configure: Regenerated.
44657
44658         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44659         Update tests that use readelf to use $READELF instead.
44660         * configure: Regenerated.
44661
44662 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44663
44664         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44665         if the result is not used.
44666
44667 2011-07-05  Andreas Jaeger  <aj@suse.de>
44668
44669         [BZ#9696]
44670         * stdlib/tst-strtod.c: Add testcase.
44671
44672 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44673
44674         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44675         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44676         The latter has a higher limit.  Take additional parameter to pass to
44677         the new function.
44678         (__pathconf): Pass file to __statfs_link_max.
44679         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44680         __statfs_link_max.
44681         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44682         __statfs_link_max.
44683
44684         [BZ #12868]
44685         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44686         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44687         Handle Lustre.
44688         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44689         (__statfs_filesize_max): Likewise.
44690         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44691
44692 2011-07-05  Andreas Jaeger  <aj@suse.de>
44693
44694         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44695
44696 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44697
44698         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44699         `status' variable.
44700         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44701         Likewise.
44702
44703 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44704
44705         * Makefile (strop-tests): Add strncat.
44706         * string/test-strncat.c: New file.
44707
44708 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44709
44710         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44711
44712 2011-06-21  Andreas Jaeger  <aj@suse.de>
44713
44714         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44715         Copy rule from iconvdata/Makefile.
44716
44717 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44718
44719         [BZ #12922]
44720         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44721         but no long options are defined, just return 'W'.
44722
44723 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44724
44725         [BZ #9696]
44726         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44727
44728 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44729
44730         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44731         netgroups to read.
44732         (innetgr): Likewise.
44733
44734 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44735
44736         * config.make.in (install_root): Default to $(DESTDIR).
44737
44738 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44739
44740         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44741
44742 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44743
44744         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44745
44746         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44747         containing directory rather than embedding absolute directory names.
44748
44749         * scripts/check-local-headers.sh: Rewritten using awk.
44750         Match by word, not by line.  Print error messages for matches.
44751         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44752
44753         * Makerules [shlib-lds-flags empty]:
44754         ($(common-objpfx)libc_pic.opts): New target.
44755         ($(common-objpfx)libc_pic.os.clean): New target.
44756         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44757
44758         * config.make.in (OBJCOPY): New variable.
44759         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44760         * configure: Regenerated.
44761
44762         * config.make.in (use-default-link): New variable.
44763         * configure.in (use_default_link): Grok --with-default-link to set it.
44764         * configure: Regenerated.
44765         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44766         (shlib-lds, shlib-lds-flags): Define to empty.
44767
44768         * Makerules (shlib-lds): New variable.
44769         (shlib-lds-flags): New variable.
44770         (build-shlib, build-moduile, build-module-asneeded): Use it.
44771         ($(common-objpfx)libc.so): Use $(shlib-lds).
44772         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44773         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44774
44775         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44776         DT_FLAGS/DT_FLAGS_1 with zero flags.
44777
44778         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44779         linker script munging.
44780
44781 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44782
44783         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44784         as 128-bit value.
44785         * crypt/sha512.c (sha512_process_block): Perform total addition using
44786         128-bit if possible.
44787         (__sha512_finish_ctx): Likewise.
44788         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44789         as 64-bit value.
44790         * crypt/sha256.c (SWAP64): Define.
44791         (sha256_process_block): Perform total addition using 64-bit if
44792         possible.
44793         (__sha256_finish_ctx): Likewise.
44794
44795 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44796
44797         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44798         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44799         * nscd/hstcache.c (cache_addhst): Likewise.
44800         * nscd/grpcache.c (cache_addgr): Likewise.
44801         * nscd/aicache.c (addhstaiX): Likewise
44802         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44803
44804 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44805
44806         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44807         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44808         * nscd/hstcache.c (cache_addhst): Likewise.
44809         * nscd/grpcache.c (cache_addgr): Likewise.
44810         * nscd/aicache.c (addhstaiX): Likewise
44811
44812 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44813
44814         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44815         domain only when needed.
44816
44817 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44818
44819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44820         is always restored.
44821
44822 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44823
44824         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44825         are re-adding the entry.
44826         * nscd/servicescache.c (cache_addserv): Likewise.
44827
44828 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44829
44830         * sysdeps/generic/dl-irel.h: fix protection against multiple
44831         inclusions.
44832         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44833
44834 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44835
44836         [BZ #12935]
44837         * malloc/memusage.sh: Fix quoting in message.
44838         * debug/xtrace.sh: Likewise.
44839
44840         * configure.in: Remove support for --experimental-malloc option, make
44841         it the default.
44842         * config.make.in: Likewise.
44843         * malloc/Makefile: Likewise.
44844
44845 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44846
44847         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44848         two-byte characters.
44849
44850 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44851
44852         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44853         AC_CACHE_CHECK invocation.
44854         * configure: Regenerated.
44855
44856         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44857
44858 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44859
44860         [BZ #12350]
44861         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44862         bit from old_res_options.
44863
44864         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44865
44866         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44867         value type for setfct.
44868
44869 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44870
44871         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44872         __gettimeofday instead of gettimeofday.
44873
44874 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44875
44876         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44877
44878 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44879
44880         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44881
44882         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44883         info.
44884
44885 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44886
44887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44888         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44889         strcpy-sse2-unaligned strncpy-sse2-unaligned
44890         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44891         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44892         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44893         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44894         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44895         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44896         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44897         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44898         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44899         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44900         (STRCPY): Support SSE2 and SSSE3 versions.
44901
44902 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44903
44904         [BZ #12874]
44905         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44906         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44907         kernels which artificially limit size of requests.
44908
44909 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44910
44911         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44912         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44913         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44914         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44915         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44916         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44917         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44918         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44919         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44921         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44922         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44923         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44924         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44925         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44927         Enable unaligned load optimization for Intel Core i3, i5 and i7
44928         processors.
44929         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44930         Define.
44931         (index_Fast_Unaligned_Load): Define.
44932         (HAS_FAST_UNALIGNED_LOAD): Define.
44933
44934 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44935
44936         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44937
44938 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44939
44940         [BZ #12907]
44941         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44942         until it is clear that the information is realy needed.
44943         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44944
44945 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44946
44947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44948
44949 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44950
44951         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44952         /sys/devices/system/cpu/online if it is usable.
44953
44954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44955         reading the information from the /proc filesystem to once a second.
44956
44957 2011-06-21  Andreas Jaeger  <aj@suse.de>
44958
44959         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44960         NULL after inclusion of kernel headers.
44961
44962 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44963
44964         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44965         calls to internal_setent.
44966
44967         [BZ #12885]
44968         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44969         addresses using gethostbyname4_r ignore IPv4 addresses.
44970
44971         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44972         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44973
44974         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44975
44976 2011-06-20  David S. Miller  <davem@davemloft.net>
44977
44978         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44979         inclusions.
44980         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44981
44982         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44983         (elf_irel): Use it.
44984         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44985         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44986         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44987         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44988         * sysdeps/x86_64/dl-irel.h: Likewise.
44989
44990         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44991         * elf/dl-sym.c: Likewise.
44992
44993 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44994
44995         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44996         need to dereference resplen2.
44997
44998 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44999
45000         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45001
45002 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45003
45004         * Makeconfig: Define vardbdir and inst_vardbdir.
45005         * nss/Makefile: Add rules to install db-Makefile.
45006
45007         * nss/nss_db/db-XXX.c: Cleanup.
45008
45009         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45010         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45011         GLIBC_PRIVATE.
45012         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45013         * nss/makedb.c: Implement -g option to specify that value strings
45014         are generated and should not be added to table iterated over for
45015         get*ent calls.
45016         * nss/nss_db/db-initgroups.c: New file.
45017
45018         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45019         interface.
45020
45021         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45022         (internal_getgrouplist): Adjust to name change.
45023         Update use_initgroups_entry if this is not the first call.
45024         * nss/databases.def: Add initgroups entry.
45025
45026         * nss/makedb.c (compute_tables): Check result of multiple hash table
45027         sizes to minimize maximum chain length.
45028
45029 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45030
45031         * Versions.def: Add entry for libnss_db.
45032         * shlib-versions: Likewise.
45033         * nss/Makefile: Add rules to build libnss_db.
45034         * nss/Versions: Add libnss_db information.  Organize libnss_files
45035         entries better.
45036         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45037         makedb progra.  Some minor improvements to generate smaller files.
45038         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45039         here from...
45040         * nss/makedb.c: ...here.
45041         Improve database format to be smaller and require less memory at
45042         runtime.
45043         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45044         db anymore.
45045         * nss/nss_db/db-netgrp.c: Likewise.
45046         * nss/nss_db/db-open.c: Likewise.
45047         * nss/nss_files/flies-XXX.x: Adjust comments.
45048         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45049         * nss/nss_files/files-grp.c: Likewise.
45050         * nss/nss_files/files-hosts.c: Likewise.
45051         * nss/nss_files/files-network.c: Likewise.
45052         * nss/nss_files/files-proto.c: Likewise.
45053         * nss/nss_files/files-pwd.c: Likewise.
45054         * nss/nss_files/files-rpc.c: Likewise.
45055         * nss/nss_files/files-service.c: Likewise.
45056         * nss/nss_files/files-sgrp.c: Likewise.
45057         * nss/nss_files/files-spwd.c: Likewise.
45058         * nss/nss_db/db-alias.c: Removed.
45059         * nss/nss_db/dummy-db.h: Removed.
45060
45061 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45062
45063         * nss/makedb.c: Rewritten to not use database library.
45064         * nss/Makefile: Update to build new makedb program.
45065
45066 2011-06-14  Andreas Jaeger  <aj@suse.de>
45067
45068         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45069         memset declaration.
45070
45071 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45072
45073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45074         tmpbuf.
45075
45076 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45077
45078         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45079         * elf/Makefile ($(objpfx)ld.so): Likewise.
45080
45081         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45082         Don't list ld.so twice in dependencies.
45083
45084         * posix/bug-regex31.c: Include <stdlib.h>.
45085
45086         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45087
45088         * nis/nss_compat/compat-spwd.c
45089         (getspent_next_nss_netgr): Remove unused variable.
45090         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45091
45092         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45093         nonmembers" output to use the right array.
45094
45095         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45096
45097         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45098
45099         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45100         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45101         * catgets/gencat.c (read_input_file): Likewise.
45102         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45103
45104         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45105         variable definition inside #if's controlling its use.
45106
45107         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45108
45109         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45110
45111         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45112
45113         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45114         unreachable code.
45115
45116         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45117
45118         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45119         * configure: Regenerated.
45120
45121         * Makerules: Revert last change.
45122         * elf/Makefile: Likewise.
45123
45124 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45125
45126         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45127         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45128         (reloc-link): Likewise.
45129
45130 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45131
45132         * elf/Makefile: Add rules to build pldd.
45133         * elf/pldd.c: New file.
45134         * elf/pldd-xx.c: New file.
45135
45136 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45137
45138         * version.h: Update for 2.15 development version.
45139
45140 2011-06-07  David S. Miller  <davem@davemloft.net>
45141
45142         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45143         ifuncs.
45144         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45145         elf_machine_lazy_rel): Likewise.
45146         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45147         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45148         elf_machine_lazy_rel): Likewise.
45149         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45150         dl_hwcap via passed in argument.
45151         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45152         Likewise.
45153
45154 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45155
45156         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45157
45158 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45159
45160         [BZ #12849]
45161         * manual/fdl-1.1.texi: New file, verbatim from:
45162         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45163         * manual/lgpl-2.1.texi: New file, verbatim from:
45164         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45165         * manual/Makefile (licenses): New variable, list those new file names.
45166         (texis): Use it.
45167         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45168
45169         * manual/fdl.texi: File removed.
45170         * manual/lesser.texi: File removed.
45171         * manual/libc.texinfo (Copying, Documentation License):
45172         Use new @include file names, put @appendix directive before @include.
45173
45174 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45175
45176         [BZ #12841]
45177         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45178         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45179         (mq_open): Add __NTH.
45180
45181 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45182
45183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45184         Assume Intel Core i3/i5/i7 processor if AVX is available.
45185
45186 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45187
45188         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45189         typo.
45190
45191 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45192
45193         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45194         memory.  Use alloca_account.  Fix memory leak when retrying.
45195
45196 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45197
45198         * version.h (RELEASE): Bump for 2.14 release.
45199         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45200
45201         * config.make.in (RANLIB): Remove entry.
45202
45203 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45204
45205         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45206         (libc.pot): Work around missing support for .ksh extension in xgettext.
45207
45208         [BZ #12684]
45209         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45210         if both request failed.
45211         (send_dg): In case of server errors clear resplen or *resplen2.
45212
45213         [BZ #12454]
45214         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45215         when there are multiple maps.
45216         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45217         (_dl_fini): Remove test here.
45218
45219         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45220
45221 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45222
45223         [BZ #12350]
45224         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45225         bit from old_res_options.
45226         (gaih_inet): Likewise.
45227
45228         [BZ #11099]
45229         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45230         as signed.
45231
45232         * resolv/res_init.c (res_setoptions): Make the code more compact.
45233
45234         [BZ #11558]
45235         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45236         set RES_USEVC.
45237
45238         [BZ #11634]
45239         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45240
45241         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45242
45243         [BZ #11781]
45244         * malloc/malloc.h: Declare malloc hook variables as volatile.
45245
45246         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45247         in last patch.
45248
45249         [BZ #11799]
45250         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45251         raise in the comment.
45252         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45253         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45254         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45255
45256 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45257
45258         [BZ #12811]
45259         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45260         grow the buffers more if it already has to be sufficient.
45261         (build_wcs_upper_buffer): Likewise.
45262         * posix/regexec.c (check_matching): Likewise.
45263         (clean_state_log_if_needed): Likewise.
45264         (extend_buffers): Don't enlarge buffers beyond size of the input
45265         buffer.
45266         Patches mostly by Emil Wojak <emil@wojak.eu>.
45267         * posix/bug-regex32.c: New file.
45268         * posix/Makefile (tests): Add bug-regex32.
45269
45270         * locale/findlocale.c (_nl_find_locale): Return right away if
45271         _nl_explode_name failed.
45272         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45273
45274         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45275
45276         * debug/xtrace.sh: Unify messages.
45277         * malloc/memusage.sh: Likewise.
45278
45279         [BZ #12813]
45280         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45281         time symbol from vDSO.  Substitute with vsyscall if not available.
45282         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45283         __vdso_time.
45284
45285         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45286         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45287         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45288         Add sendmmsg and internal_sendmmsg.
45289         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45290         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45291         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45292
45293         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45294         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45295         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45296
45297 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45298
45299         [BZ #12813]
45300         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45301         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45302         available.
45303         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45304         __vdso_getcpu.
45305
45306         [BZ #12814]
45307         * iconvdata/Makefile (tests): Add bug-iconv9.
45308         * iconvdata/bug-iconv9.c: New file.
45309
45310 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45311
45312         [BZ #12814]
45313         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45314
45315 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45316
45317         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45318         (struct user_regs_struct): Change intcs field back to cs.
45319
45320 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45321
45322         * po/ja.po: Update from translation team.
45323
45324 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45325
45326         [BZ #12795]
45327         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45328         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45329
45330 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45331
45332         * stdlib/longlong.h: Update from GCC.
45333
45334 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45335
45336         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45337         parameter name.
45338         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45339         Add parameter name.
45340         (__sysconf): Pass it down.
45341
45342 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45343
45344         [BZ #12671]
45345         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45346         some situations.
45347         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45348         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45349         add in in __libc_use_alloca calls.  Adjust callers.
45350         (glob): Use malloc in some situations.
45351
45352         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45353         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45354         pltexit.
45355
45356 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45357
45358         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45359         and CLOCK_BOOTTIME_ALARM.
45360
45361         [BZ #12782]
45362         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45363         is returned.
45364
45365         * string/_strerror.c (__strerror_r): Print negative errors as signed
45366         numbers.
45367
45368         [BZ #12777]
45369         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45370         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45371         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45372
45373         * configure.in: Fix typo in redirection and correct removal of test
45374         files in two cases.
45375
45376         [BZ #12788]
45377         * locale/setlocale.c (new_composite_name): Fix test to check for
45378         identical name of all categories.
45379
45380         [BZ #12792]
45381         * libio/filedoalloc.c (local_isatty): New function.
45382         (_IO_file_doallocate): Use local_isatty.
45383         * stdio-common/perror.c (perror): In case a new stream is used
45384         forward the stream error.
45385         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45386         error flag.
45387
45388 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45389
45390         [BZ #11869]
45391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45392         alloca.
45393         * include/alloca.h (extend_alloca_account): Define.
45394
45395         [BZ #11857]
45396         * posix/regex.h: Fix comments with documentation of user-accessible
45397         fields after compilation and describe correct free'ing of pattern
45398         after re_compile_pattern.
45399         Patch by Reuben Thomas <rrt@sc3d.org>.
45400
45401 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45402
45403         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45404         and -mno-altivec to prevent the compiler from using Altivec and/or
45405         VSX instructions when the corresponding registers are not available.
45406
45407 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45408
45409         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45410
45411 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45412
45413         * libio/freopen.c (freopen): Use __dup2, not dup2.
45414         * libio/freopen64.c (freopen64): Likewise.
45415
45416 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45417
45418         [BZ #12775]
45419         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45420         * math/Makefile (tests): Add test-powl.
45421         (CFLAGS-test-powl.c): Define.
45422         * math/test-powl.c: New file.
45423
45424 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45425
45426         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45427
45428 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45429
45430         [BZ #11837]
45431         * iconvdata/gb18030.c: Update to GB18020-2005.
45432
45433 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45434
45435         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45436         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45437         Patch by Aharon Robbins <arnold@skeeve.com>.
45438
45439         [BZ #11892]
45440         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45441         on the stack.
45442
45443         [BZ #11895]
45444         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45445         through underflows.
45446
45447         [BZ #12766]
45448         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45449         point to strings before performing equality test for error_one_per_line
45450         mode.
45451
45452         [BZ #11697]
45453         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45454
45455         [BZ #11820]
45456         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45457         (struct user_fpregs_struct): Avoid __uint*_t types.
45458
45459         [BZ #6420]
45460         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45461         symbol info.  Use it instead of calling _dl_addr locally.
45462         (lock_and_info): New function.
45463         (tr_freehook): Call lock_and_info and pass symbol info as additional
45464         parameter to tr_where.
45465         (tr_mallochook): Likewise.
45466         (tr_reallochook): Likewise.
45467         (tr_memalignhook): Likewise.
45468
45469         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45470         used and couldn't be at all thread-safe.
45471
45472 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45473
45474         * libio/freopen.c (freopen): Don't close old file descriptor
45475         before the new one is opened.  Instead dup the new file descriptor
45476         to the old one after the new stream is created.
45477         * libio/freopen64.c (freopen64): Likewise.
45478         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45479         * libio/fileops.c (_IO_new_file_close_it): Handle new
45480         _IO_FLAGS2_NOCLOSE flag.
45481         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45482         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45483         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45484         _IO_FLAGS2_NOCLOSE flag.
45485         * include/unistd.h: Add hidden_proto for dup3.
45486         Define __have_dup3.
45487         * io/dup3.c: Define hidden symbol.
45488         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45489
45490         [BZ #7101]
45491         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45492         when an incomplete long option is used.
45493         * posix/tst-getopt_long1.c: New file.
45494         * posix/Makefile (tests): Add tst-getopt_long1.
45495
45496         [BZ #10138]
45497         * scripts/config.guess: Update from autoconf-2.68.
45498         * scripts/config.sub: Likewise.
45499
45500         [BZ #10157]
45501         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45502         tests into ...
45503         (has_cpuclock): ...this.  New function.
45504         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45505         macro here based on has_cpuclock code.
45506
45507         [BZ #10149]
45508         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45509         First byte (not low byte) is now always NUL.
45510         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45511
45512         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45513         Use non-cancelable interfaces.
45514
45515         [BZ #9809]
45516         * locale/iso-639.def: Add entry for Sorani.
45517
45518         [BZ #11901]
45519         * include/stdlib.h: Move include protection to the right place.
45520         Define abort_msg_s.  Declare __abort_msg with it.
45521         * stdlib/abort.c (__abort_msg): Adjust type.
45522         * assert/assert.c (__assert_fail_base): New function.  Majority
45523         of code from __assert_fail.  Allocate memory for __abort_msg with
45524         mmap.
45525         (__assert_fail): Now call __assert_fail_base.
45526         * assert/assert-perr.c: Remove bulk of implementation.  Use
45527         __assert_fail_base.
45528         * include/assert.hL Declare __assert_fail_base.
45529         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45530         mmap.
45531         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45532
45533 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45534
45535         [BZ #11952]
45536         [BZ #12453]
45537         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45538         until all modules are registered in the DTV.
45539         * elf/Makefile: Add rules to build and run tst-tls19.
45540         * elf/tst-tls19.c: New file.
45541         * elf/tst-tls19mod1.c: New file.
45542         * elf/tst-tls19mod2.c: New file.
45543         * elf/tst-tls19mod3.c: New file.
45544         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45545
45546         [BZ #12083]
45547         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45548         correctly.
45549
45550         [BZ #12601]
45551         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45552         two-byte sequence errors.
45553         * iconvdata/Makefile (tests): Add bug-iconv8.
45554         * iconvdata/bug-iconv8.c: New file.
45555
45556         [BZ #12626]
45557         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45558         buf2 definition.
45559
45560         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45561
45562         [BZ #12432]
45563         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45564         (dummy_getcfa): New function.
45565         (init): Get _Unwind_GetCFA address, use dummy if not found.
45566         (backtrace_helper): In recursion check, also check whether CFA changes.
45567         (__backtrace): Completely initialize arg.
45568
45569         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45570         storing incomplete byte sequence in state object.  Avoid testing for
45571         guaranteed too small input if we know there is enough data available.
45572
45573 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45574
45575         * Makeconfig (+link-pie): Indent.
45576         * Rules (binaries-pie): Define if $(have-fpie) and
45577         $(build-shared).
45578         (binaries-shared): Also filter out $(binaries-pie).
45579         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45580         * nscd/Makefile (others-pie): Add nscd.
45581         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45582         ($(objpfx)nscd): Remove command override.
45583         * login/Makefile (others-pie): Add pt_chown.
45584         ($(objpfx)pt_chown): Remove command override.
45585         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45586         remove command overrides.
45587
45588 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45589
45590         * libio/tst_putwc.c: Fix error messages.
45591
45592         [BZ #12724]
45593         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45594         currently writing and seek to current position when not.
45595         * libio/Makefile (tests): Add bug-fclose1.
45596         * libio/bug-fclose1.c: New file.
45597
45598 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45599
45600         [BZ #12511]
45601         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45602         don't set DF_1_NODELETE here.
45603         (do_lookup_x): When entering new entry test for copy relocation
45604         and if necessary set DF_1_NODELETE flag.
45605         * elf/tst-unique4.cc: New file.
45606         * elf/tst-unique4.h: New file.
45607         * elf/tst-unique4lib.cc: New file.
45608         * elf/Makefile: Add rules to build and run tst-unique4.
45609         Patch by Piotr Bury <pbury@goahead.com>.
45610
45611 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45612
45613         [BZ #12052]
45614         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45615
45616         [BZ #12625]
45617         * misc/mntent_r.c (addmntent): Flush the stream after the output
45618
45619         [BZ #12393]
45620         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45621         (is_trusted_path_normalize): Skip initial colon.  Append slash
45622         to empty buffer.  Duplicate is_trusted_path code but allow
45623         constructed patch to be prefix.
45624         (is_dst): Allow $ORIGIN followed by /.
45625         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45626         Correct testing of result of is_trusted_path_normalize
45627         (decompose_rpath): Fix warning.
45628
45629 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45630
45631         [BZ #11257]
45632         * grp/initgroups.c (internal_getgrouplist): When we found the service
45633         list through the initgroups entry in nsswitch.conf do not always
45634         continue on a successful lookup.  Don't always use the
45635         __nss_group_database value if it is set.
45636         * nss/nsswitch.conf (initgroups): Change action for successful db
45637         lookup to continue for compatibility.
45638
45639 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45640
45641         [BZ #11532]
45642         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45643         and CP774 modules.
45644         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45645         and CP774 modules.
45646         * iconvdata/tst-tables.sh: Likewise.
45647         * iconvdata/cp770.c: New file.
45648         * iconvdata/cp771.c: New file.
45649         * iconvdata/cp772.c: New file.
45650         * iconvdata/cp773.c: New file.
45651         * iconvdata/cp774.c: New file.
45652         * iconvdata/testdata/CP770: New file.
45653         * iconvdata/testdata/CP770..UTF8: New file.
45654         * iconvdata/testdata/CP771: New file.
45655         * iconvdata/testdata/CP771..UTF8: New file.
45656         * iconvdata/testdata/CP772: New file.
45657         * iconvdata/testdata/CP772..UTF8: New file.
45658         * iconvdata/testdata/CP773: New file.
45659         * iconvdata/testdata/CP773..UTF8: New file.
45660         * iconvdata/testdata/CP774: New file.
45661         * iconvdata/testdata/CP774..UTF8: New file.
45662
45663         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45664         END CHARMAP line.
45665         * iconvdata/gen-8bit-gap.sh: Likewise.
45666         * iconvdata/gen-8bit.sh: Likewise.
45667
45668         * locale/iso-639.def: Add ary entry.
45669
45670         [BZ #11258]
45671         * locale/C-translit.h.in: Add U20A1 transliteration.
45672
45673         [BZ #12178]
45674         * locale/iso-639.def: Add wae entry.
45675         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45676
45677         [BZ #12545]
45678         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45679         for n.
45680
45681         [BZ #12711]
45682         * locale/C-translit.h.in: Add entry for U20B9.
45683         Patch by pravin.d.s@gmail.com.
45684
45685 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45686
45687         [BZ #12713]
45688         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45689         ENAMETOOLONG use generic getcwd.
45690         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45691         in rtld.  Use *stat64.
45692         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45693         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45694         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45695         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45696         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45697         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45698         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45699         __fstatat64 macros.
45700         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45701         * dirent/rewinddir.c: Add libc_hidden_def.
45702         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45703         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45704
45705         * include/dirent.h (__alloc_dir): Add flags parameter.
45706         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45707         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45708         __alloc_dir.
45709         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45710         from fdopendir if O_CLOEXEC is already set.
45711
45712 2011-03-15  Alan Modra  <amodra@gmail.com>
45713
45714         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45715         l_tls_firstbyte_offset non-zero.  Save padding offset in
45716         l_tls_firstbyte_offset for later use.
45717         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45718         freeing static tls block.
45719
45720 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45721
45722         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45723         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45724         being defined by the kernel headers.
45725
45726 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45727
45728         [BZ #12734]
45729         * resolv/resolv.h: Define RES_NOTLDQUERY.
45730         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45731         no-tld-query and set RES_NOTLDQUERY.
45732         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45733         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45734         modern BIND to search name as TLD unless forbidden.
45735
45736 2011-05-07  Petr Baudis  <pasky@suse.cz>
45737             Ulrich Drepper  <drepper@gmail.com>
45738
45739         [BZ #12393]
45740         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45741         (is_trusted_path): ...to here.
45742         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45743         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45744         using is_trusted_path_normalize() in setuid scripts.
45745
45746 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45747
45748         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45749         __BEGIN/__END_DECLS.
45750
45751 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45752
45753         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45754         NSS_STATUS_NOTFOUND if no record was found.
45755
45756 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45757
45758         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45759         (headers-not-in-tirpc): Remove rpc/netdb.h
45760         * resolv/netdb.h: Revert last change.
45761
45762 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45763
45764         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45765         circular dependency between libgcc.a and libc.a.
45766
45767 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45768
45769         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45770         * nis/Makefile: Don't install rpcsvc/*.
45771         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45772         instead of <rpc/types.h>.
45773         (MAXHOSTNAMELEN): Define.
45774
45775 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45776
45777         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45778
45779 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45780
45781         [BZ #12714]
45782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45783         gethostbyname4_r when IPv6 results are possible.
45784
45785 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45786
45787         [BZ #12723]
45788         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45789         _PC_PIPE_BUF handling.
45790
45791 2011-04-30  Bruno Haible  <bruno@clisp.org>
45792
45793         [BZ #12717]
45794         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45795         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45796         to 'int'.
45797         * inet/getnameinfo.c (getnameinfo): Likewise.
45798
45799 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45800
45801         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45802         to groups setting in database lookup.
45803         * nss/nsswitch.conf: Add initgroups entry.
45804
45805 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45806
45807         [BZ #12685]
45808         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45809         mode string.
45810         Patch by Eric Blake <eblake@redhat.com>.
45811
45812 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45813
45814         * sunrpc/Makefile (need-export-routines): Add svc_run.
45815         (routines): Remove svc_run.
45816         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45817         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45818         * sunrpc/svc_run.c (svc_run): Likewise.
45819         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45820
45821 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45822
45823         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45824         problem in reallocation in last patch.
45825
45826 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45827
45828         * sunrpc/Makefile: Move inclusion of Rules.
45829
45830 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45831
45832         * nss/nss_files/files-initgroups.c: New file.
45833         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45834         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45835         _nss_files_initgroups_dyn.
45836
45837 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45838
45839         * elf/elf.h (R_ARM_IRELATIVE): Define.
45840
45841 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45842
45843         * po/ru.po: Update from translation team.
45844
45845 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45846
45847         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45848         dependencies.
45849
45850 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45851
45852         [BZ #12653]
45853         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45854         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45855         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45857         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45858
45859 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45860
45861         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45862         differing bytes.
45863         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45864         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45865         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45866
45867 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45868
45869         [BZ #12420]
45870         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45871         storing it.
45872         * stdlib/bug-getcontext.c: New file.
45873         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45874
45875 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45876
45877         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45878         instructions into .machine "z9-109".
45879         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45880         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45881
45882 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45883
45884         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45885         between environment variables and auxiliary vector.
45886
45887 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45888
45889         * Makefile: Add rules to build linkobj/libc.so.
45890         * include/libc-symbols.h: Define libc_hidden_nolink.
45891         * include/rpc/auth.h: Mark functions which are to be hidden.
45892         * include/rpc/auth_des.h: Likewise.
45893         * include/rpc/auth_unix.h: Likewise.
45894         * include/rpc/clnt.h: Likewise.
45895         * include/rpc/des_crypt.h: Likewise.
45896         * include/rpc/key_prot.h: Likewise.
45897         * include/rpc/pmap_clnt.h: Likewise.
45898         * include/rpc/pmap_prot.h: Likewise.
45899         * include/rpc/pmap_rmt.h: Likewise.
45900         * include/rpc/rpc_msg.h: Likewise.
45901         * include/rpc/svc.h: Likewise.
45902         * include/rpc/svc_auth.h: Likewise.
45903         * include/rpc/xdr.h: Likewise.
45904         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45905         * nss/Makefile: Likewise.
45906         * sunrpc/Makefile: Don't install headers.  Build library with normal
45907         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45908         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45909         for the compat linking library.  Remove use of INTDEF/INTUSE.
45910         * sunrpc/auth_none.c: Likewise.
45911         * sunrpc/auth_unix.c: Likewise.
45912         * sunrpc/authdes_prot.c: Likewise.
45913         * sunrpc/authuxprot.c: Likewise.
45914         * sunrpc/clnt_gen.c: Likewise.
45915         * sunrpc/clnt_perr.c: Likewise.
45916         * sunrpc/clnt_raw.c: Likewise.
45917         * sunrpc/clnt_simp.c: Likewise.
45918         * sunrpc/clnt_tcp.c: Likewise.
45919         * sunrpc/clnt_udp.c: Likewise.
45920         * sunrpc/clnt_unix.c: Likewise.
45921         * sunrpc/des_crypt.c: Likewise.
45922         * sunrpc/des_soft.c: Likewise.
45923         * sunrpc/get_myaddr.c: Likewise.
45924         * sunrpc/key_call.c: Likewise.
45925         * sunrpc/key_prot.c: Likewise.
45926         * sunrpc/netname.c: Likewise.
45927         * sunrpc/pm_getmaps.c: Likewise.
45928         * sunrpc/pm_getport.c: Likewise.
45929         * sunrpc/pmap_clnt.c: Likewise.
45930         * sunrpc/pmap_prot.c: Likewise.
45931         * sunrpc/pmap_prot2.c: Likewise.
45932         * sunrpc/pmap_rmt.c: Likewise.
45933         * sunrpc/publickey.c: Likewise.
45934         * sunrpc/rpc_cmsg.c: Likewise.
45935         * sunrpc/rpc_common.c: Likewise.
45936         * sunrpc/rpc_dtable.c: Likewise.
45937         * sunrpc/rpc_prot.c: Likewise.
45938         * sunrpc/rpc_thread.c: Likewise.
45939         * sunrpc/rtime.c: Likewise.
45940         * sunrpc/svc.c: Likewise.
45941         * sunrpc/svc_auth.c: Likewise.
45942         * sunrpc/svc_authux.c: Likewise.
45943         * sunrpc/svc_raw.c: Likewise.
45944         * sunrpc/svc_run.c: Likewise.
45945         * sunrpc/svc_simple.c: Likewise.
45946         * sunrpc/svc_tcp.c: Likewise.
45947         * sunrpc/svc_udp.c: Likewise.
45948         * sunrpc/svc_unix.c: Likewise.
45949         * sunrpc/svcauth_des.c: Likewise.
45950         * sunrpc/xcrypt.c: Likewise.
45951         * sunrpc/xdr.c: Likewise.
45952         * sunrpc/xdr_array.c: Likewise.
45953         * sunrpc/xdr_float.c: Likewise.
45954         * sunrpc/xdr_intXX_t.c: Likewise.
45955         * sunrpc/xdr_mem.c: Likewise.
45956         * sunrpc/xdr_rec.c: Likewise.
45957         * sunrpc/xdr_ref.c: Likewise.
45958         * sunrpc/xdr_sizeof.c: Likewise.
45959         * sunrpc/xdr_stdio.c: Likewise.
45960
45961 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45962
45963         [BZ #12650]
45964         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45965         * sysdeps/ia64/dl-tls.h: Likewise.
45966         * sysdeps/powerpc/dl-tls.h: Likewise.
45967         * sysdeps/s390/dl-tls.h: Likewise.
45968         * sysdeps/sh/dl-tls.h: Likewise.
45969         * sysdeps/sparc/dl-tls.h: Likewise.
45970         * sysdeps/x86_64/dl-tls.h: Likewise.
45971         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45972
45973 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45974
45975         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45976         rpath element also skip the following colon.
45977         (expand_dynamic_string_token): Add is_path parameter and pass
45978         down to DL_DST_REQUIRED and _dl_dst_substitute.
45979         (decompose_rpath): Call expand_dynamic_string_token with
45980         non-zero is_path.  Ignore empty rpaths.
45981         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45982         with zero is_path.
45983
45984 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45985
45986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45987         Make cancelable.
45988
45989 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45990
45991         [BZ #12655]
45992         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45993         Patch by Filipe David Manana <fdmanana@apache.org>.
45994
45995 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45996
45997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45998         Maintain aligned stack.
45999         (CHECK_RSP): Remove unused macro.
46000
46001 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46002
46003         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46004         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46005
46006 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46007
46008         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46009
46010         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46011
46012 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46013
46014         [BZ #12518]
46015         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46016         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46017         * sysdeps/x86_64/memmove.c: New file.
46018         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46019         (memcpy): Renamed to ...
46020         (__new_memcpy): This.
46021         (memcpy): Provide GLIBC_2_14 memcpy.
46022         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46023         (memcpy): Provide GLIBC_2_2_5 memcpy.
46024
46025 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46026
46027         [BZ #12631]
46028         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46029
46030 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46031
46032         * misc/syncfs.c: New file.
46033         * misc/Makefile (routines): Add syncfs.
46034         * posix/unistd.h: Declare syncfs.
46035         * sysdeps/unix/syscalls.list: Add syncfs.
46036
46037 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46038
46039         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46040         open_by_handle_at.
46041         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46042         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46043         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46044         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46046         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46047         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46048
46049 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46050
46051         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46052         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46053         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46054         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46055         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46057         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46058
46059         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46060         sync_file_range.c with -fexceptions.
46061         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46062         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46063         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46064         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46065         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46066         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46067         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46068         sync_file_range as cancellation point
46069         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46070         now a wrapper around __call_sync_file_range with cancellation handling.
46071         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46072         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46073         function name to __call_sync_file_range.
46074         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46075         Add call_sync_file_range.
46076
46077 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46078
46079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46080         bits/timex.h.
46081
46082 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46083
46084         * iconv/iconv.h: Fix typo in comment.
46085         * io/fcntl.h: Likewise.
46086         * libio/stdio.h: Likewise.
46087         * posix/spawn.h: Likewise.
46088         * posix/unistd.h: Likewise.
46089         * stdlib/stdlib.h: Likewise.
46090         * time/time.h: Likewise.
46091         * wcsmbs/wchar.h: Likewise.
46092
46093         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46094         open_by_handle): Add.
46095         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46096         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46097         Augment a few comments.
46098         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46099         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46100         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46102         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46103         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46104         open_by_handle.
46105
46106         * io/fcntl.h (AT_EMPTY_PATH): Define.
46107
46108 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46109
46110         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46111         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46112         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46113         to...
46114         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46115         * Versions.def: Add GLIBC_2.14.
46116         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46117         Export.
46118
46119 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46120
46121         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46122         round counter.
46123         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46124
46125 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46126
46127         [BZ #12597]
46128         * string/test-strncmp.c (do_page_test): New function.
46129         (check2): Likewise.
46130         (test_main): Call check2.
46131         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46132
46133 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46134
46135         [BZ #12587]
46136         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46137         Handle cache information in CPU leaf 4.
46138         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46139
46140 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46141
46142         [BZ #12583]
46143         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46144         character representation.
46145         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46146
46147 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46148
46149         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46150         END(__isnan) to END(__isnanf) to match function entry point/label
46151         EALIGN(__isnanf,...).
46152
46153 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46154
46155         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46156
46157 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46158
46159         [BZ #12510]
46160         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46161         copy from the symbol referenced in the relocation to initialize the
46162         used variable.
46163         Patch by Piotr Bury <pbury@goahead.com>.
46164         * elf/Makefile: Add rules to build and tst-unique3.
46165         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46166         * elf/tst-unique3.cc: New file.
46167         * elf/tst-unique3.h: New file.
46168         * elf/tst-unique3lib.cc: New file.
46169         * elf/tst-unique3lib2.cc: New file.
46170
46171         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46172
46173 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46174
46175         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46176         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46177         to _start.
46178
46179 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46180
46181         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46182         to-be-loaded object along a path to loader is ld.so.
46183
46184 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46185             Ulrich Drepper  <drepper@gmail.com>
46186
46187         * sysdeps/x86_64/memset.S: After aligning destination, code
46188         branches to different locations depending on the value of
46189         misalignment, when multiarch is enabled. Fix this.
46190
46191 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46192
46193         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46194         Set _x86_64_preferred_memory_instruction for AMD processsors.
46195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46196         Set bit_Prefer_SSE_for_memop for AMD processors.
46197
46198 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46199
46200         * libio/fmemopen.c (fmemopen): Optimize a bit.
46201
46202 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46203
46204         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46205
46206 2011-03-03  Roland McGrath  <roland@redhat.com>
46207
46208         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46209
46210 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46211
46212         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46213         __bzero_ultra1 instead of __memset_ultra1.
46214
46215 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46216             Ulrich Drepper  <drepper@gmail.com>
46217
46218         [BZ #12509]
46219         * include/link.h (struct link_map): Add l_orig_initfini.
46220         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46221         returning unsuccessfully.
46222         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46223         close of a file loaded at startup, restore the original l_initfini
46224         list.
46225         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46226         list, store the pointer.
46227         * elf/Makefile ($(objpfx)noload-mem): New rule.
46228         (noload-ENV): Define.
46229         (tests): Add $(objpfx)noload-mem.
46230         * elf/noload.c: Include <memcheck.h>.
46231         (main): Call mtrace.  Close all opened handles.
46232
46233 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46234
46235         [BZ #12454]
46236         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46237         dependencies are missing.
46238
46239 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46240
46241         Fix __if_freereq crash: Unlike the generic version which uses free,
46242         Hurd needs munmap.
46243         * sysdeps/mach/hurd/ifreq.h: New file.
46244
46245 2011-01-27  Petr Baudis  <pasky@suse.cz>
46246             Ulrich Drepper  <drepper@gmail.com>
46247
46248         [BZ 12445]#
46249         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46250         to extend_alloca().
46251         * stdio-common/bug23.c: New file.
46252         * stdio-common/Makefile (tests): Add bug23.
46253
46254 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46255             Ulrich Drepper  <drepper@gmail.com>
46256
46257         [BZ #12489]
46258         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46259         before performing relro protection.  At old place add assertion
46260         to make sure nothing changed.
46261
46262 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46263             Glauber de Oliveira Costa  <glommer@gmail.com>
46264
46265         * elf/elf.h: Add new ARM TLS relocs.
46266
46267 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46268
46269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46270         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46271         cast from r3.
46272         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46273         'tests' variable.
46274         * sysdeps/wordsize-64/tst-writev.c: New file.
46275
46276 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46277
46278         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46279         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46280         insns in _dl_start to prevent a TOC reference before relocs are
46281         resolved.
46282
46283 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46284
46285         [BZ #12469]
46286         * Makeconfig: Remove RANLIB definition.
46287         * Makerules: Don't use RANLIB.
46288         * aclocal.m4: Remove ranlib test.
46289         * configure.in: No need to check for ranlib.
46290         * elf/rtld-Rules: Don't use RANLIB.
46291
46292 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46293
46294         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46295         protection macro.
46296         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46297         inclusion protection macro.
46298
46299         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46300         SIGRTMIN and SIGRTMAX and print information in that case only when
46301         SIGRTMIN is defined.
46302
46303 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46304
46305         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46306         arginfo fn returning -1.
46307
46308         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46309         and thousands string is zero terminated.
46310
46311 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46312
46313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46314         sysdeps/unix/sysv/linux/bits/socket.h.
46315
46316 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46317
46318         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46319         (__CPU_COUNT): Remove old macros.
46320         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46321         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46322         (__CPU_ALLOC, __CPU_FREE): Add macros.
46323         (__sched_cpualloc, __sched_cpufree): Add declarations.
46324
46325 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46326
46327         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46328         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46329         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46330         (readdhstai): Return value of addhstaiX call.
46331         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46332         (addgrbyX): Return value returned by cache_addgr.
46333         (readdgrbyname): Return value returned by addgrbyX.
46334         (readdgrbygid): Likewise.
46335         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46336         (addpwbyX): Return value returned by cache_addpw.
46337         (readdpwbyname): Return value returned by addhstbyX.
46338         (readdpwbyuid): Likewise.
46339         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46340         (addservbyX): Return value returned by cache_addserv.
46341         (readdservbyname): Return value returned by addservbyX:
46342         (readdservbyport): Likewise.
46343         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46344         (addhstbyX): Return value returned by cache_addhst.
46345         (readdhstbyname): Return value returned by addhstbyX.
46346         (readdhstbyaddr): Likewise.
46347         (readdhstbynamev6): Likewise.
46348         (readdhstbyaddrv6): Likewise.
46349         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46350         (readdinitgroups): Return value returned by addinitgroupsX.
46351         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46352         (prune_cache): Keep track of timeout value of re-added entries.
46353         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46354         * nscd/nscd.h: Adjust prototypes of readd* functions.
46355
46356 2011-02-04  Roland McGrath  <roland@redhat.com>
46357
46358         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46359         (nis_stats): Likewise.
46360         * nis/nis_modify.c (nis_modify): Likewise.
46361         * nis/nis_remove.c (nis_remove): Likewise.
46362         * nis/nis_add.c (nis_add): Likewise.
46363
46364         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46365
46366         * posix/fnmatch_loop.c: Add some consts.
46367
46368         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46369
46370 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46371
46372         [BZ #12460]
46373         * config.make.in (config-cflags-novzeroupper): Define.
46374         * configure.in: Substitute libc_cv_cc_novzeroupper.
46375         * elf/Makefile (AVX-CFLAGS): Define.
46376         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46377         (CFLAGS-tst-auditmod4a.c): Likewise.
46378         (CFLAGS-tst-auditmod4b.c): Likewise.
46379         (CFLAGS-tst-auditmod6b.c): Likewise.
46380         (CFLAGS-tst-auditmod6c.c): Likewise.
46381         (CFLAGS-tst-auditmod7b.c): Likewise.
46382         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46383
46384 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46385
46386         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46387         function to the callback.
46388         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46389
46390 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46391
46392         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46393         of errno.
46394
46395 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46396
46397         [BZ #11724]
46398         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46399         of constructors.
46400         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46401         of destructors.
46402         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46403
46404         [BZ #11724]
46405         * elf/Makefile: Add rules to build and run new test.
46406         * elf/tst-initorder.c: New file.
46407         * elf/tst-initorder.exp: New file.
46408         * elf/tst-initordera1.c: New file.
46409         * elf/tst-initordera2.c: New file.
46410         * elf/tst-initordera3.c: New file.
46411         * elf/tst-initordera4.c: New file.
46412         * elf/tst-initorderb1.c: New file.
46413         * elf/tst-initorderb2.c: New file.
46414         * elf/tst-order-a1.c: New file.
46415         * elf/tst-order-a2.c: New file.
46416         * elf/tst-order-a3.c: New file.
46417         * elf/tst-order-a4.c: New file.
46418         * elf/tst-order-b1.c: New file.
46419         * elf/tst-order-b2.c: New file.
46420         * elf/tst-order-main.c: New file.
46421         New test case by George Gensure <werkt0@gmail.com>.
46422
46423 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46424
46425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46426         decoding ACE if AI_CANONIDN.
46427
46428 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46429
46430         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46431
46432 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46433
46434         * version.h (RELEASE): Bump for 2.13 release.
46435         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46436
46437         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46438
46439         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46440         MADV_NOHUGEPAGE.
46441         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46442         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46443         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46444         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46445         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46446         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46447
46448         * posix/getconf.c: Update copyright year.
46449         * catgets/gencat.c: Likewise.
46450         * csu/version.c: Likewise.
46451         * debug/catchsegv.sh: Likewise.
46452         * debug/xtrace.sh: Likewise.
46453         * elf/ldconfig.c: Likewise.
46454         * elf/ldd.bash.in: Likewise.
46455         * elf/sprof.c (print_version): Likewise.
46456         * iconv/iconv_prog.c: Likewise.
46457         * iconv/iconvconfig.c: Likewise.
46458         * locale/programs/locale.c: Likewise.
46459         * locale/programs/localedef.c: Likewise.
46460         * malloc/memusage.sh: Likewise.
46461         * malloc/mtrace.pl: Likewise.
46462         * nscd/nscd.c (print_version): Likewise.
46463         * nss/getent.c: Likewise.
46464
46465         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46466         PF_CAIF, and PF_ALG.
46467         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46468
46469 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46470
46471         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46472         (modules-names): Use them.
46473         (ifunc-test-modules, ifunc-pie-tests): Define.
46474         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46475         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46476         (test-extras): Likewise.
46477         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46478         $(compile-command.c).
46479         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46480         (all-built-dso): Define.
46481         (check-textrel.out, check-execstack.out): Depend on it.
46482
46483         * configure.in: Don't override --enable-multi-arch.
46484
46485 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46486
46487         [BZ #6812]
46488         * nscd/hstcache.c (tryagain): Define.
46489         (cache_addhst): Return tryagain not notfound for temporary errors.
46490         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46491         failed.
46492
46493 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46494
46495         [BZ #10563]
46496         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46497         to make the syscall.
46498         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46499
46500         [BZ #12378]
46501         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46502         and fall back to matching as normal character if the string ends before
46503         the matching ']' is found.  This is what POSIX requires.
46504         * posix/testfnm.c: Adjust test result.
46505         * posix/globtest.sh: Adjust test result.  Add new test.
46506         * posix/tst-fnmatch.input: Likewise.
46507         * posix/tst-fnmatch2.c: Add new test.
46508
46509 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46510
46511         * elf/Makefile (check-execstack): Revert last change.  Depend on
46512         check-execstack.h.
46513         (check-execstack.h): New target.
46514         (generated): Add check-execstack.h.
46515         * elf/check-execstack.c: Include "check-execstack.h".
46516         (main): Revert last change.
46517         (handle_file): Return zero if GNU_STACK is absent and
46518         DEFAULT_STACK_PERMS doesn't include PF_X.
46519
46520 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46521
46522         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46523         in child fails because the descriptor is already closed.
46524         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46525         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46526         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46527
46528         [BZ #12397]
46529         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46530         syscall.
46531
46532         [BZ #10484]
46533         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46534         temporary buffer used to handle multi lookups locally.
46535         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46536
46537 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46538
46539         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46540         loader is ld.so.
46541
46542 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46543
46544         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46545         alignment for SSE2.
46546
46547 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46548
46549         [BZ #12394]
46550         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46551         characters.  When rounding increased number of integer digits recompute
46552         number of groups.
46553         * stdio-common/tst-grouping.c: New file.
46554         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46555
46556 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46557
46558         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46559         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46560
46561         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46562         void.
46563         * bits/select.h: Likewise.
46564
46565 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46566
46567         * po/ja.po: Update from translation team.
46568
46569 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46570
46571         [BZ #11155]
46572         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46573         implementation just like for lxstat, fxstatat, et al.
46574
46575 2010-12-27  Jim Meyering  <meyering@redhat.com>
46576
46577         [BZ #12348]
46578         * posix/regexec.c (build_trtable): Return failure indication upon
46579         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46580
46581 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46582
46583         [BZ #12201]
46584         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46585         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46586         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46587         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46588
46589         [BZ #12207]
46590         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46591
46592         [BZ #12204]
46593         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46594         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46595
46596 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46597
46598         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46599         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46600         script has SORT_BY_INIT_PRIORITY.
46601         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46602         NO_CTORS_DTORS_SECTIONS is defined.
46603         * elf/soinit.c: Likewise.
46604         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46605         NO_CTORS_DTORS_SECTIONS is defined.
46606         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46607         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46608         * sysdeps/sh/init-first.c: Likewise.
46609         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46610
46611 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46612
46613         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46614         always use the slow path.
46615
46616 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46617
46618         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46619         similar rule which adds the sysdep directories to the header search in
46620         order to pick up the correct platform stackinfo.h.
46621         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46622         perform test if it is, otherwise return successfully without testing.
46623         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46624         DEFAULT_STACK_PERMS define in stackinfo.h.
46625         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46626         defined in stackinfo.h.
46627         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46628         DEFAULT_STACK_PERMS defined in stackinfo.h.
46629         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46630         * sysdeps/ia64/stackinfo.h: Likewise.
46631         * sysdeps/s390/stackinfo.h: Likewise.
46632         * sysdeps/sh/stackinfo.h: Likewise.
46633         * sysdeps/sparc/stackinfo.h: Likewise.
46634         * sysdeps/x86_64/stackinfo.h: Likewise.
46635         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46636         PF_X for powerpc64.  Retain PF_X for powerpc32.
46637
46638 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46639
46640         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46641         accurately.
46642         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46643         GETDENTS_64BIT_ALIGNED.
46644
46645 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46646
46647         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46648
46649 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46650
46651         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46652         _GNU_SOURCE.
46653
46654         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46655         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46656         Remove __restrict.
46657         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46658         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46659
46660 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46661
46662         [BZ #11655]
46663         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46664         are initialized.
46665
46666 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46667
46668         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46669
46670 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46671
46672         * po/it.po: Update from translation team.
46673
46674 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46675
46676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46677         unused codes.
46678
46679 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46680
46681         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46682
46683 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46684
46685         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46686         specially.
46687         (gaih_getanswer_slice): Likewise.
46688
46689 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46690
46691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46692
46693 2010-05-31  Petr Baudis  <pasky@suse.cz>
46694
46695         [BZ #11149]
46696         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46697         silently even in the chroot mode.
46698
46699 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46700
46701         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46702         last patch a bit.  Pretty printing
46703
46704 2010-05-31  Petr Baudis <pasky@suse.cz>
46705
46706         [BZ #10085]
46707         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46708         initialization of skip_initgroups_dyn.
46709
46710 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46711
46712         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46713         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46714
46715 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46716
46717         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46718
46719 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46720
46721         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46722         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46723         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46724         ($(objpfx)tst-fnmatch-mem): New rule.
46725         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46726         * posix/tst-fnmatch.c (main): Call mtrace.
46727
46728 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46729
46730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46731         Support Intel processor model 6 and model 0x2c.
46732
46733 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46734
46735         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46736           signed comparison.
46737
46738 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46739
46740         [BZ #12205]
46741         * string/test-strncasecmp.c (check_result): New function.
46742         (do_one_test): Use it.
46743         (check1): New function.
46744         (test_main): Use it.
46745         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46746         Support strcasecmp and strncasecmp.
46747
46748 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46749
46750         [BZ #12194]
46751         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46752         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46753
46754 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46755
46756         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46757         IFUNC support.
46758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46759         memset-x86-64.
46760         * sysdeps/x86_64/multiarch/bzero.S: New file.
46761         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46762         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46763         * sysdeps/x86_64/multiarch/memset.S: New file.
46764         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46766         Set bit_Prefer_SSE_for_memop for Intel processors.
46767         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46768         Define.
46769         (index_Prefer_SSE_for_memop): Define.
46770         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46771
46772 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46773
46774         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46775         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46776
46777 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46778
46779         [BZ #12191]
46780         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46781         (__x86_64_raw_data_cache_size_half): Likewise.
46782         (__x86_64_raw_shared_cache_size): Likewise.
46783         (__x86_64_raw_shared_cache_size_half): Likewise.
46784
46785         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46786         (__x86_64_raw_data_cache_size_half): Likewise.
46787         (__x86_64_raw_shared_cache_size): Likewise.
46788         (__x86_64_raw_shared_cache_size_half): Likewise.
46789         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46790         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46791         and __x86_64_raw_shared_cache_size_half.  Round
46792         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46793         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46794         to multiple of 256 bytes.
46795
46796 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46797
46798         [BZ #12167]
46799         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46800         of inacessible symlinks.  Verify result of symlink before returning it.
46801         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46802         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46803
46804 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46805
46806         * math/math.h (isinf): Fix typo in comment.
46807
46808 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46809
46810         * po/da.po: Update from translation team.
46811
46812 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46813
46814         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46815         is added to the list.
46816
46817 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46818             Ulrich Drepper  <drepper@gmail.com>
46819
46820         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46821         the global list here.  Move code to...
46822         (_dl_add_to_namespace_list): ...here.  New function.
46823         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46824         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46825         * elf/dl-load.c (lose): Don't remove the element from the list.
46826         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46827         (_dl_map_object): Likewise.
46828
46829 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46830
46831         [BZ #12159]
46832         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46833         into all bytes of SSE register.
46834         Patch by Richard Li <richardpku@gmail.com>.
46835
46836 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46837
46838         [BZ #12140]
46839         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46840         perturbing.
46841
46842 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46843
46844         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46845         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46846         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46847         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46849         submachine.
46850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46851
46852 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46853
46854         * include/dlfcn.h (__RTLD_SECURE): Define.
46855         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46856         mode & __RTLD_SECURE instead.
46857         (open_path): Rename preloaded parameter to secure.
46858         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46859         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46860         * elf/dl-deps.c (openaux): Likewise.
46861         * elf/rtld.c (struct map_args): Remove is_preloaded.
46862         (map_doit): Don't use it.
46863         (dl_main): Likewise.
46864         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46865         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46866
46867 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46868
46869         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46870         (sysd-rules-targets): Remove duplicates.
46871         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46872         rtld-%.$o dependency.
46873
46874 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46875
46876         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46877         _dl_map_object do it.
46878
46879 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46880
46881         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46882         fast fma builtins, define the macros in the C99 standard.
46883         (FP_FAST_FMAF): Likewise.
46884         (FP_FAST_FMAL): Likewise.
46885         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46886
46887         * bits/mathdef.h: Update copyright year.
46888         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46889
46890 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46891
46892         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46893         builtins, define the macros in the C99 standard.
46894         (FP_FAST_FMAF): Likewise.
46895         (FP_FAST_FMAL): Likewise.
46896         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46897         multiply/add.
46898         (FP_FAST_FMAF): Likewise.
46899
46900 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46901
46902         [BZ #3268]
46903         * math/libm-test.inc (fma_test): Some new testcases.
46904         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46905         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46906         y and infinite z.  Do multiplication by C already in long double.
46907         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46909         y and infinite z.  Do bitwise or of inexact bit into u.d.
46910         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46911         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46912         * sysdeps/i386/fpu/s_fma.S: Removed.
46913         * sysdeps/i386/fpu/s_fmal.S: Removed.
46914
46915 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46916
46917         [BZ #3268]
46918         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46920         computation is not scheduled after fetestexcept.  Fix value
46921         of minimum denormal long double.
46922
46923 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46924
46925         [BZ #3268]
46926         * math/libm-test.inc (fma_test): Add some more tests.
46927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46928         correctly.
46929
46930 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46931
46932         * scripts/data/localplt-s390-linux-gnu.data: New file.
46933         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46934
46935 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46936
46937         [BZ #3268]
46938         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46939         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46940         instead of dbl-64.
46941         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46942         inlines.
46943         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46945         if one of x and y is very large and the other is subnormal.
46946         * sysdeps/s390/fpu/s_fmaf.c: New file.
46947         * sysdeps/s390/fpu/s_fma.c: New file.
46948         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46949         * sysdeps/powerpc/fpu/s_fma.S: New file.
46950         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46951         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46952         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46953
46954 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46955
46956         [BZ #3268]
46957         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46958         fma tests.
46959         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46960         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46961         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46962         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46963         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46964         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46965         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46966
46967 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46968
46969         [BZ #12078]
46970         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46971         * posix/bug-regex31.input: Add test case.
46972
46973 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46974
46975         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46976         * posix/bug-regex31.input: New file.
46977
46978         [BZ #12078]
46979         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46980         (parse_sub_exp): Fix last change, use postorder.
46981
46982         * posix/bug-regex31.c: New file.
46983         * posix/Makefile: Add rules to build and run bug-regex31.
46984
46985         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46986
46987         [BZ #12078]
46988         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46989
46990         [BZ #12108]
46991         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46992         to have entries in sys_siglist.
46993
46994         [BZ #12093]
46995         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46996         be NULL.
46997
46998 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46999
47000         [BZ #3268]
47001         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47002         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47003         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47004         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47005         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47006         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47007         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47008         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47009         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47010         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47011         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47012         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47013         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47014         * math/ftestexcept.c (fetestexcept): Likewise.
47015         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47016         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47017         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47018         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47019         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47020         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47021         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47022
47023 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47024
47025         [BZ #12107]
47026         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47027         newline.
47028
47029 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47030
47031         * string/bug-strstr1.c: New file.
47032         * string/Makefile: Add rules to build and run bug-strstr1.
47033
47034 2010-10-05  Eric Blake  <eblake@redhat.com>
47035
47036         [BZ #12092]
47037         * string/str-two-way.h (two_way_long_needle): Always clear memory
47038         when skipping input due to the shift table.
47039
47040 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47041
47042         [BZ #12005]
47043         * malloc/mcheck.c: Handle large requests.
47044
47045         [BZ #12077]
47046         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47047         for strncmp and strncasecmp.
47048         * string/stratcliff.c: Add tests for strcmp and strncmp.
47049         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47050
47051 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47052
47053         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47054         __set_fpscr.
47055
47056 2010-09-30  Andreas Jaeger  <aj@suse.de>
47057
47058         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47059         (CGROUP_SUPER_MAGIC): Define.
47060         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47061         Handle btrfs and cgroup file systems.
47062         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47063         Likewise.
47064
47065 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47066
47067         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47068         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47069
47070 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47071
47072         [BZ #12067]
47073         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47074         trying to locate the ELF header.
47075
47076 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47077
47078         [BZ #11611]
47079         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47080         Mask out sign-bit copies when constructing f_fsid.
47081
47082 2010-09-24  Petr Baudis <pasky@suse.cz>
47083
47084         * debug/stack_chk_fail_local.c: Add missing licence exception.
47085         * debug/warning-nop.c: Likewise.
47086
47087 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47088
47089         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47090         implementing getdents64 using getdents syscall, set d_type if
47091         __ASSUME_GETDENTS32_D_TYPE.
47092
47093 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47094
47095         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47096         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47097
47098 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47099
47100         [BZ #12037]
47101         * posix/unistd.h: Undo change of feature selection for ftruncate from
47102         2010-01-11.
47103
47104 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47105
47106         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47107         detection.
47108
47109 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47110
47111         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47112         fanotify_mark.
47113         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47114
47115 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47116
47117         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47118         variables after CHECK_SP call.
47119         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47120
47121 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47122             Ulrich Drepper  <drepper@redhat.com>
47123
47124         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47125         re-relocationg ld.so.
47126         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47127         _dl_init_paths call.
47128         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47129         here anymore.
47130
47131 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47132
47133         * resolv/res_init.c (__res_vinit): Count the default server we added.
47134
47135 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47136             Ulrich Drepper  <drepper@redhat.com>
47137
47138         [BZ #11968]
47139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47140         (____longjmp_chk): Use %ebx for saving value across system call.
47141         Add unwind info.
47142
47143 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47144
47145         * manual/Makefile: Don't mix pattern rules with normal rules.
47146
47147 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47148
47149         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47150         operation.
47151         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47152         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47153         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47154         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47156         Likewise.
47157
47158 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47159
47160         [BZ #11979]
47161         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47162         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47163
47164 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47165
47166         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47167         * sysdeps/x86_64/addmul_1.S: Likewise.
47168         * sysdeps/x86_64/lshift.S: Likewise.
47169         * sysdeps/x86_64/mul_1.S: Likewise.
47170         * sysdeps/x86_64/rshift.S: Likewise.
47171         * sysdeps/x86_64/sub_n.S: Likewise.
47172         * sysdeps/x86_64/submul_1.S: Likewise.
47173
47174 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47175
47176         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47177         Define __sched_param instead of SCHED_* and sched_param when
47178         <bits/sched.h> is included with __need_schedparam defined.
47179         * bits/sched.h [__need_schedparam]
47180         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47181         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47182         (__defined_schedparam): Define to 1.
47183         (__sched_param): New structure, identical to sched_param.
47184         (__need_schedparam): Undefine.
47185
47186 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47187
47188         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47189         (epoll_create1): Declare.
47190
47191         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47192
47193 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47194
47195         [BZ #7066]
47196         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47197         shifting retval into place.
47198
47199 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47200
47201         * nis/rpcsvc/nis.h: Update copyright notice.
47202         * nis/rpcsvc/nis.x: Likewise.
47203         * nis/rpcsvc/nis_callback.h: Likewise.
47204         * nis/rpcsvc/nis_callback.x: Likewise.
47205         * nis/rpcsvc/nis_object.x: Likewise.
47206         * nis/rpcsvc/nis_tags.h: Likewise.
47207         * nis/rpcsvc/yp.h: Likewise.
47208         * nis/rpcsvc/yp.x: Likewise.
47209         * nis/rpcsvc/ypupd.h: Likewise.
47210         * nis/yp_xdr.c: Likewise.
47211         * nis/ypupdate_xdr.c: Likewise.
47212
47213         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47214         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47215         (pmap_getport): Use __libc_rpc_getport.
47216         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47217         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47218         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47219
47220 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47221
47222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47223         fanotify_mark.
47224
47225 2010-08-27  Roland McGrath  <roland@redhat.com>
47226
47227         * sysdeps/i386/i686/multiarch/Makefile
47228         (CFLAGS-varshift.c): New variable.
47229
47230 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47231
47232         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47233         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47234
47235         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47236
47237         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47238
47239 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47240
47241         * sysdeps/x86_64/strlen.S: Unroll the loop.
47242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47243         strlen-sse2 strlen-sse2-bsf.
47244         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47245         __strlen_no_bsf if bit_Slow_BSF is set.
47246         (__strlen_sse42): Removed.
47247         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47248         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47249
47250 2010-08-25  Roland McGrath  <roland@redhat.com>
47251
47252         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47253         * sysdeps/x86_64/multiarch/varshift.c: New file.
47254         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47255         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47256         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47257         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47258
47259 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47260
47261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47262         strlen-sse2 strlen-sse2-bsf.
47263         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47264         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47265         (__strlen_sse2): Removed.
47266         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47267         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47269         bit_Slow_BSF for Atom.
47270         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47271         (index_Slow_BSF): Define.
47272         (HAS_SLOW_BSF): Define.
47273
47274 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47275
47276         [BZ #10851]
47277         * resolv/res_init.c (__res_vinit): When no server address at all
47278         is given default to loopback.
47279
47280 2010-08-24  Roland McGrath  <roland@redhat.com>
47281
47282         * configure.in: Remove config-name.h generation.
47283         * configure: Regenerated.
47284         * config-name.in: File removed.
47285         * scripts/config-uname.sh: New file.
47286         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47287         ($(objdir)config-name.h): New target.
47288
47289         * sunrpc/rpc_parse.h: Avoid nested comment.
47290
47291 2010-08-24  Richard Henderson  <rth@redhat.com>
47292             Ulrich Drepper  <drepper@redhat.com>
47293             H.J. Lu  <hongjiu.lu@intel.com>
47294
47295         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47297         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47298         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47299         _mm_alignr_epi8 with _mm_loadu_si128.
47300         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47301         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47302         (__m128i_shift_right): Removed.
47303         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47304         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47305         * sysdeps/x86_64/multiarch/varshift.h: New file.
47306         * sysdeps/x86_64/multiarch/varshift.S: New file.
47307
47308 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47309
47310         * configure.in: Move assembler checks to before sysdep dir checking.
47311
47312 2010-08-20  Petr Baudis  <pasky@suse.cz>
47313
47314         * LICENSES: Sync the sunrpc license.
47315
47316 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47317
47318         * sunrpc/auth_des.c: Update copyright notice once again.
47319         * sunrpc/auth_none.c: Likewise.
47320         * sunrpc/auth_unix.c: Likewise.
47321         * sunrpc/authdes_prot.c: Likewise.
47322         * sunrpc/authuxprot.c: Likewise.
47323         * sunrpc/bindrsvprt.c: Likewise.
47324         * sunrpc/clnt_gen.c: Likewise.
47325         * sunrpc/clnt_perr.c: Likewise.
47326         * sunrpc/clnt_raw.c: Likewise.
47327         * sunrpc/clnt_simp.c: Likewise.
47328         * sunrpc/clnt_tcp.c: Likewise.
47329         * sunrpc/clnt_udp.c: Likewise.
47330         * sunrpc/clnt_unix.c: Likewise.
47331         * sunrpc/des_crypt.c: Likewise.
47332         * sunrpc/des_soft.c: Likewise.
47333         * sunrpc/get_myaddr.c: Likewise.
47334         * sunrpc/getrpcport.c: Likewise.
47335         * sunrpc/key_call.c: Likewise.
47336         * sunrpc/key_prot.c: Likewise.
47337         * sunrpc/openchild.c: Likewise.
47338         * sunrpc/pm_getmaps.c: Likewise.
47339         * sunrpc/pm_getport.c: Likewise.
47340         * sunrpc/pmap_clnt.c: Likewise.
47341         * sunrpc/pmap_prot.c: Likewise.
47342         * sunrpc/pmap_prot2.c: Likewise.
47343         * sunrpc/pmap_rmt.c: Likewise.
47344         * sunrpc/rpc/auth.h: Likewise.
47345         * sunrpc/rpc/auth_unix.h: Likewise.
47346         * sunrpc/rpc/clnt.h: Likewise.
47347         * sunrpc/rpc/des_crypt.h: Likewise.
47348         * sunrpc/rpc/key_prot.h: Likewise.
47349         * sunrpc/rpc/netdb.h: Likewise.
47350         * sunrpc/rpc/pmap_clnt.h: Likewise.
47351         * sunrpc/rpc/pmap_prot.h: Likewise.
47352         * sunrpc/rpc/pmap_rmt.h: Likewise.
47353         * sunrpc/rpc/rpc.h: Likewise.
47354         * sunrpc/rpc/rpc_des.h: Likewise.
47355         * sunrpc/rpc/rpc_msg.h: Likewise.
47356         * sunrpc/rpc/svc.h: Likewise.
47357         * sunrpc/rpc/svc_auth.h: Likewise.
47358         * sunrpc/rpc/types.h: Likewise.
47359         * sunrpc/rpc/xdr.h: Likewise.
47360         * sunrpc/rpc_clntout.c: Likewise.
47361         * sunrpc/rpc_cmsg.c: Likewise.
47362         * sunrpc/rpc_common.c: Likewise.
47363         * sunrpc/rpc_cout.c: Likewise.
47364         * sunrpc/rpc_dtable.c: Likewise.
47365         * sunrpc/rpc_hout.c: Likewise.
47366         * sunrpc/rpc_main.c: Likewise.
47367         * sunrpc/rpc_parse.c: Likewise.
47368         * sunrpc/rpc_parse.h: Likewise.
47369         * sunrpc/rpc_prot.c: Likewise.
47370         * sunrpc/rpc_sample.c: Likewise.
47371         * sunrpc/rpc_scan.c: Likewise.
47372         * sunrpc/rpc_scan.h: Likewise.
47373         * sunrpc/rpc_svcout.c: Likewise.
47374         * sunrpc/rpc_tblout.c: Likewise.
47375         * sunrpc/rpc_util.c: Likewise.
47376         * sunrpc/rpc_util.h: Likewise.
47377         * sunrpc/rpcinfo.c: Likewise.
47378         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47379         * sunrpc/rpcsvc/key_prot.x: Likewise.
47380         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47381         * sunrpc/rpcsvc/mount.x: Likewise.
47382         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47383         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47384         * sunrpc/rpcsvc/rex.x: Likewise.
47385         * sunrpc/rpcsvc/rstat.x: Likewise.
47386         * sunrpc/rpcsvc/rusers.x: Likewise.
47387         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47388         * sunrpc/rpcsvc/spray.x: Likewise.
47389         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47390         * sunrpc/rtime.c: Likewise.
47391         * sunrpc/svc.c: Likewise.
47392         * sunrpc/svc_auth.c: Likewise.
47393         * sunrpc/svc_authux.c: Likewise.
47394         * sunrpc/svc_raw.c: Likewise.
47395         * sunrpc/svc_run.c: Likewise.
47396         * sunrpc/svc_simple.c: Likewise.
47397         * sunrpc/svc_tcp.c: Likewise.
47398         * sunrpc/svc_udp.c: Likewise.
47399         * sunrpc/svc_unix.c: Likewise.
47400         * sunrpc/svcauth_des.c: Likewise.
47401         * sunrpc/xcrypt.c: Likewise.
47402         * sunrpc/xdr.c: Likewise.
47403         * sunrpc/xdr_array.c: Likewise.
47404         * sunrpc/xdr_float.c: Likewise.
47405         * sunrpc/xdr_mem.c: Likewise.
47406         * sunrpc/xdr_rec.c: Likewise.
47407         * sunrpc/xdr_ref.c: Likewise.
47408         * sunrpc/xdr_sizeof.c: Likewise.
47409         * sunrpc/xdr_stdio.c: Likewise.
47410
47411         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47412         handling.
47413
47414 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47415
47416         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47417
47418 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47419
47420         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47421         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47422         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47423         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47424         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47425         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47426         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47427         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47428         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47429         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47430         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47431         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47432         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47433         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47434
47435 2010-07-26  Anton Blanchard  <anton@samba.org>
47436
47437         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47438         * malloc/arena.c (heap_trim): Likewise.
47439
47440 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47441
47442         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47443         here.  Not...
47444         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47445         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47446
47447 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47448
47449         * sysdeps/i386/elf/Makefile: New file.
47450
47451 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47452
47453         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47454         from fanotify_init.
47455         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47456         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47457
47458 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47459
47460         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47461         of strncasecmp_l.
47462         * sysdeps/multiarch/strcmp.S: Likewise.
47463
47464 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47465
47466         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47467         strncase_l-nonascii.
47468         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47469         Add strncase_l-ssse3.
47470         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47471         * sysdeps/x86_64/strcmp.S: Likewise.
47472         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47473         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47474         * sysdeps/x86_64/strncase.S: New file.
47475         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47476         * sysdeps/x86_64/strncase_l.S: New file.
47477         * string/Makefile (strop-tests): Add strncasecmp.
47478         * string/test-strncasecmp.c: New file.
47479
47480         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47481         warning.
47482
47483         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47484         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47485
47486 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47487
47488         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47489
47490 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47491
47492         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47493         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47494         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47495
47496 2010-05-01  Alan Modra  <amodra@gmail.com>
47497
47498         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47499         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47500         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47501         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47502         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47503         tidying.  Don't tail-call __sigjmp_save for static lib.
47504         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47505         save location.
47506         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47507         (CALL_MCOUNT): Add eh info, and nop after bl.
47508         (TAIL_CALL_SYSCALL_ERROR): New macro.
47509         (PSEUDO_RET): Use it.
47510         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47511         Correct save location of integer regs and cr.
47512         (_dl_profile_resolve): Correct cr save location.  Delete nops
47513         after bl when SHARED.  Reduce cfi size a little by better
47514         placement of cfi directives.
47515         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47516         make a stack frame.  Instead use parm save area as a temp.
47517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47518         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47520         Don't make a stack frame for parent, use parm save area.
47521         Increase child stack frame to 112 bytes.  Don't save unused reg,
47522         and adjust reg usage.  Set up cfi on error recovery and
47523         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47525         (__makecontext): Add dummy nop after jump to exit.
47526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47527         Use correct parm save area and cr save, reduce stack frame.
47528         Correct cfi for possible PSEUDO_RET frame setup.
47529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47530         Branch to local label emitted by PSEUDO_RET rather than
47531         __syscall_error.
47532
47533 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47534
47535         [BZ #11904]
47536         * locale/programs/locale.c (print_assignment): New function.
47537         (show_locale_vars): Use it.
47538
47539 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47540
47541         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47542         field.
47543         (struct statfs64): Likewise.
47544         (_STATFS_F_FLAGS): Define.
47545         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47546         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47547         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47548         (ST_VALID): Define locally.
47549         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47550         __statvfs_getflags, use the provided value.
47551         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47552         __ASSUME_STATFS_F_FLAGS.
47553
47554         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47555
47556         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47557         Add sys/fanotify.h.
47558         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47559         fanotify_mask for GLIBC_2.13.
47560         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47561         fanotify_init and fanotify_mark.
47562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47563         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47564
47565         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47566         Add prlimit.
47567         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47568         prlimit64 for GLIBC_2.13.
47569         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47570         prlimit64.
47571         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47572         syscall.
47573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47574         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47575         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47576         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47577         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47578         add prlimit alias.
47579         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47580
47581         [BZ #11903]
47582         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47583         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47584
47585         * nss/Makefile: Add rules to build and run tst-nss-test1.
47586         * shlib-versions: Add entry for libnss_test1.
47587         * nss/nss_test1.c: New file.
47588         * nss/tst-nss-test1.c: New file.
47589
47590         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47591         (__nss_configure_lookup): Set appropriate entry in
47592         __nss_configure_lookup to true.
47593         * nss/nsswitch.h: Define enum with indeces of databases in
47594         databases and __nss_database_custom arrays.  Declare
47595         __nss_database_custom.
47596         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47597         to avoid using nscd when custom rules are installed.
47598         * nss/getXXbyYY_r.c: Likewise.
47599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47600
47601         * nss/nss_files/files-parse.c: Whitespace fixes.
47602
47603 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47604
47605         [BZ #11883]
47606         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47607         * posix/fnmatch_loop.c: Likewise.
47608
47609 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47610
47611         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47612         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47613         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47614         * Versions.def [GLIBC_2.13]: Add.
47615
47616 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47617
47618         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47619         Also fail if tpwd after pwuid call is NULL.
47620
47621 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47622
47623         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47624         when converting to ms.
47625
47626 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47627
47628         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47629         EOPNOTSUPP errors with ENOTTY.
47630         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47631         EOPNOTSUPP errors with ENOTTY.
47632
47633 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47634
47635         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47636         Add strcasecmp_l-ssse3.
47637         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47638         strcasecmp.
47639         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47640         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47641         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47642
47643 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47644
47645         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47646
47647         * string/Makefile (strop-tests): Add strcasecmp.
47648         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47649         strcasecmp_l-nonascii.
47650         (gen-as-const-headers): Add locale-defines.sym.
47651         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47652         * sysdeps/x86_64/strcasecmp.S: New file.
47653         * sysdeps/x86_64/strcasecmp_l.S: New file.
47654         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47655         * sysdeps/x86_64/locale-defines.sym: New file.
47656         * string/test-strcasecmp.c: New file.
47657
47658         * string/test-strcasestr.c: Test both ends of the range of characters.
47659         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47660
47661 2010-07-29  Roland McGrath  <roland@redhat.com>
47662
47663         [BZ #11856]
47664         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47665
47666 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47667
47668         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47669         for ld.so.
47670
47671 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47672
47673         * manual/memory.texi (Malloc Tunable Parameters): Document
47674         M_PERTURB.
47675
47676 2010-07-26  Roland McGrath  <roland@redhat.com>
47677
47678         [BZ #11840]
47679         * configure.in (-fgnu89-inline check): Set and substitute
47680         gnu89_inline, not libc_cv_gnu89_inline.
47681         * configure: Regenerated.
47682         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47683
47684 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47685
47686         * string/test-strnlen.c: New file.
47687         * string/Makefile (strop-tests): Add strnlen.
47688         * string/tester.c (test_strnlen): Add a few more test cases.
47689         * string/tst-strlen.c: Better error reporting.
47690
47691         * sysdeps/x86_64/strnlen.S: New file.
47692
47693 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47694
47695         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47696         lower-latency instructions.
47697
47698 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47699
47700         * string/test-strcasestr.c: New file.
47701         * string/test-strstr.c: New file.
47702         * string/Makefile (strop-tests): Add strstr and strcasestr.
47703         * string/str-two-way.h: Don't undefine MAX.
47704         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47705
47706 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47707
47708         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47709         strcasestr-nonascii.
47710         (CFLAGS-strcasestr-nonascii.c): Define.
47711         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47712         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47713         Remove unused attribute.
47714
47715 2010-07-20  Roland McGrath  <roland@redhat.com>
47716
47717         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47718         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47719         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47720         like LD_HWCAP_MASK can disable hwcaps.
47721
47722 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47723
47724         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47725
47726 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47727
47728         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47729         call in strcasestr.
47730         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47731         __strcasestr_sse42_nonascii.
47732         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47733         strcasestr-nonascii.c.
47734         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47735
47736 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47737
47738         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47739         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47740         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47741         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47742
47743 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47744
47745         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47746         fcntl.
47747
47748 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47749
47750         [BZ #11577]
47751         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47752         dl_signal_cerror.
47753
47754 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47755
47756         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47757         _PC_PIPE_BUF using F_GETPIPE_SZ.
47758
47759 2010-07-05  Roland McGrath  <roland@redhat.com>
47760
47761         * manual/arith.texi (Rounding Functions): Fix rint description
47762         implicit in round description.
47763
47764 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47765
47766         * elf/Makefile: Fix linking for a few tests to make recent linker
47767         happy.
47768
47769 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47770
47771         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47772         $(common-objpfx)libc_nonshared.a.
47773
47774 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47775
47776         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47777         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47778         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47779         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47780         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47781         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47782         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47783         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47798         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47799         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47800         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47801         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47802         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47803         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47804         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47805         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47806         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47807         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47808         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47809         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47824
47825 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47826
47827         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47828         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47829         * string/memmove.c (memmove): Renamed to ...
47830         (MEMMOVE): ...this.  Default to memmove.
47831         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47832         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47833         (END_CHK): Define.
47834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47835         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47836         mempcpy-ssse3-back memmove-ssse3-back.
47837         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47838         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47839         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47840         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47841         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47842         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47843         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47844         * sysdeps/x86_64/multiarch/memmove.c: New file.
47845         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47846         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47847         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47848         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47849         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47850         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47851         Define.
47852         (index_Fast_Copy_Backward): Define.
47853         (HAS_ARCH_FEATURE): Define.
47854         (HAS_FAST_REP_STRING): Define.
47855         (HAS_FAST_COPY_BACKWARD): Define.
47856
47857 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47858
47859         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47860         Restore proper fallback handling.
47861
47862 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47863
47864         [BZ #11701]
47865         * posix/group_member.c (__group_member): Correct checking loop.
47866
47867         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47868         OOM in getpwuid_r correctly.  Return error number when the caller
47869         should return, otherwise -1.
47870         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47871         call returning > 0 value.
47872         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47873
47874 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47875
47876         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47877         libc_nonshared.a from targets in modules-names.
47878
47879 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47880
47881         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47882         requires it.
47883
47884 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47885
47886         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47887         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47888         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47889         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47890
47891 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47892
47893         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47894
47895 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47896
47897         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47898         and F_GETPIPE_SZ.
47899         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47901         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47903         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47904         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47905
47906 2010-06-14  Roland McGrath  <roland@redhat.com>
47907
47908         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47909
47910 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47911
47912         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47913         __REDIRECT followed by __THROW.
47914         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47915         * posix/getopt.h (getopt): Likewise.
47916
47917 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47918
47919         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47920         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47921         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47922         in AT_FLAGS.
47923         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47924         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47925
47926 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47927
47928         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47929
47930 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47931
47932         [BZ #11640]
47933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47934         Properly check family and model.
47935
47936 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47937
47938         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47939
47940 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47941
47942         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47943
47944 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47945
47946         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47947         symbol reference.
47948
47949 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47950
47951         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47952         symbol reference.
47953
47954 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47955
47956         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47957         and internal_recvmmsg.
47958         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47959         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47960         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47961         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47962
47963         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47964         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47965         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47966
47967 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47968
47969         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47970
47971 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47972
47973         POWER7 optimizations.
47974         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47975         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47976
47977 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47978
47979         * version.h: Update for 2.13 development version.
47980
47981 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47982
47983         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47984         exceptions.  Return 0.
47985
47986 2010-05-07  Roland McGrath  <roland@redhat.com>
47987
47988         * elf/ldconfig.c (main): Add a const.
47989
47990 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47991
47992         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47993         (args_options): Add no-idn option.
47994         (ahosts_keys_int): Add idn_flags to ai_flags.
47995         (parse_option): Handle 'i' option to clear idn_flags.
47996
47997         * malloc/malloc.c (_int_free): Possible race in the most recently
47998         added check.  Only act on the data if no current modification
47999         happened.
48000
48001 See ChangeLog.17 for earlier changes.