Correctly attribute the mktime.c change to Paul Eggert
[glibc.git] / ChangeLog
blob4bb6eb4ef6c6908a4f13611c440cd587a45b97d9
1 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * debug/memmove_chk.c: Remove pagecopy.h include.
5 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
7         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8         identical to gnulib mktime.
10 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12         * configure.ac: Do not test for machine being rs6000.  Do not test
13         for powerpc*-*soft.
14         * configure: Regenerated.
16         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17         test.
18         * configure: Regenerated.
19         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
20         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
21         Remove configure test.
22         * sysdeps/arm/configure: Regenerated.
23         * sysdeps/nptl/configure.ac: Do not check
24         libc_cv_asm_cfi_directives.
25         * sysdeps/nptl/configure: Regenerated.
26         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27         * sysdeps/x86_64/nptl/configure: Remove generated file.
28         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
29         unconditional.
30         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
32 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
36         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37         it is defined.
39         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
40         instead of whether it is defined.
41         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42         * sysdeps/hppa/dl-machine.h: Likewise.
43         * sysdeps/ia64/dl-machine.h: Likewise.
44         * sysdeps/m68k/dl-machine.h: Likewise.
45         * sysdeps/microblaze/dl-machine.h: Likewise.
46         * sysdeps/mips/dl-machine.: Likewise.
47         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51         * sysdeps/sh/dl-machine.h: Likewise.
52         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54         * sysdeps/tile/dl-machine.h: Likewise.
55         * sysdeps/x86_64/dl-machine.h: Likewise.
57         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
58         code.
59         (verify_persistent_db): Likewise.
61 2014-06-26  Roland McGrath  <roland@hack.frob.com>
63         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
64         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
65         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
66         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
67         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
68         Moved ...
69         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
70         ... here.
71         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
72         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
73         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
74         Identical file removed.
75         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
76         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
77         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
78         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
79         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
80         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
81         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
82         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
83         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
84         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
85         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
86         Moved ...
87         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
88         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
89         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
90         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
91         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
92         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
93         Moved ...
94         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
95         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
96         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
97         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
98         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
99         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
100         Identical file removed.
101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
102         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
104         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
106         Moved ...
107         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
108         ... here.
109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
110         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
112         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
114         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
116         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
118         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
120         Moved ...
121         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
123         Moved ...
124         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
126         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
128         Moved ...
129         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
131         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
133         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
134         folded into ...
135         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
136         * sysdeps/unix/sysv/linux/s390/Versions
137         (libpthread: GLIBC_2.19): New version set.
138         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
139         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
140         (librt: GLIBC_2.3.3): New version set.
141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
142         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
143         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
144         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
145         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
146         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
147         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
148         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
149         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
150         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
151         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
152         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
153         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
154         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
155         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
156         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
157         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
158         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
159         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
160         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
161         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
162         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
163         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
164         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
165         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
166         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
167         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
168         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
169         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
170         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
171         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
172         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
173         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
176         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
177         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
178         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
179         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
180         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
181         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
182         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
183         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
185         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
187         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
188         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
189         (__libc_vfork): Define the function under this name.
190         [!NOT_IN_libc] (__vfork): Make this an alias.
191         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
192         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
193         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
194         (__libc_vfork): Define the function under this name.
195         [!NOT_IN_libc] (__vfork): Make this an alias.
196         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
197         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
198         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
200         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
201         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
203         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
204         code that was previously under [RESET_PID].
205         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
206         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
209         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
210         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
211         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
212         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
213         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
214         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
215         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
216         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
217         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
218         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
219         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
220         Moved ...
221         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
222         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
223         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
224         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
225         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
226         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
227         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
228         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
229         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
230         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
231         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
232         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
233         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
234         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
235         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
236         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
237         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
238         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
239         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
240         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
241         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
242         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
243         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
244         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
245         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
246         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
247         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
248         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
249         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
251 2014-06-25  Roland McGrath  <roland@hack.frob.com>
253         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
254         that was previously under [RESET_PID].
255         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
257 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
259         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
260         not undefine and redefine.
261         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
262         [O_CLOEXEC]: Make code unconditional.
263         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
264         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
265         <kernel-features.h>.
266         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
267         conditional variable definition.
268         (shm_open) [O_CLOEXEC]: Make code unconditional.
269         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
270         code.
272         * configure.ac (USE_REGPARMS): Don't define here.
273         * configure: Regenerated.
274         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
275         * sysdeps/i386/configure: Regenerated.
277         * nptl/createthread.c: Don't include kernel-features.h.
278         * nptl/pthread_cancel.c: Likewise.
279         * nptl/pthread_condattr_setclock.c: Likewise.
280         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
281         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
282         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
283         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
284         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
285         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
286         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
289         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
290         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
291         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
292         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
293         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
294         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
295         * nscd/gai.c: Likewise.
296         * nss/nss_db/db-open.c: Likewise.
297         * sysdeps/generic/ldsodefs.h: Likewise.
298         * sysdeps/sh/nptl/tls.h: Likewise.
299         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
300         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
301         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
302         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
303         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
304         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
305         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
306         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
307         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
308         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
309         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
310         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
311         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
312         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
313         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
314         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
315         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
316         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
317         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
318         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
319         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
321         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
322         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
323         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
324         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
326         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
327         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
328         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
329         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
330         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
331         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
332         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
333         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
334         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
335         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
336         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
337         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
338         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
339         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
340         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
341         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
342         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
343         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
344         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
345         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
346         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
347         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
348         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
349         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
350         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
351         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
352         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
353         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
354         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
355         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
356         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
379         * sysdeps/unix/sysv/linux/pread.c: Likewise.
380         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
381         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
382         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
383         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
384         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
385         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
386         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
387         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
388         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
389         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
390         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
391         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
392         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
393         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
394         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
395         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
396         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
397         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
398         * sysdeps/unix/sysv/linux/system.c: Likewise.
399         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
400         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
401         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
402         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
403         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
404         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
405         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
407         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
408         * configure: Regenerated.
409         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
411         * configure.ac (base_machine): Do not set specially for particular
412         machines here.
413         * configure: Regenerated.
414         * sysdeps/powerpc/preconfigure: Move machine and base_machine
415         settings from configure.ac.
416         * sysdeps/i386/preconfigure: New file.
417         * sysdeps/s390/preconfigure: Likewise.
418         * sysdeps/sh/preconfigure: Likewise.
419         * sysdeps/sparc/preconfigure: Likewise.
421 2014-06-25  Roland McGrath  <roland@hack.frob.com>
423         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
424         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
425         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
426         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
427         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
428         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
429         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
430         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
431         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
432         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
433         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
434         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
435         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
436         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
437         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
438         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
439         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
440         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
441         * sysdeps/sparc/sparc64/Makefile: ... appended here.
443         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
444         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
445         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
446         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
447         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
448         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
449         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
450         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
451         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
452         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
453         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
454         * sysdeps/sparc/sparc32/sem_post.c: ... here.
455         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
456         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
457         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
458         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
459         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
460         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
461         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
462         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
463         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
464         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
465         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
466         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
467         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
468         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
469         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
470         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
472         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
473         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
474         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
475         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
476         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
477         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
478         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
479         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
480         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
483         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
485         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
487         Moved ...
488         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
489         ... here.
490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
491         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
493         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
495         Moved ...
496         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
498         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
500         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
502         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
504         Moved ...
505         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
507         Moved ...
508         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
510         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
512         Moved ...
513         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
515         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
517         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
518         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
519         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
520         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
521         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
522         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
523         Moved ...
524         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
525         ... here.
526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
527         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
529         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
531         Moved ...
532         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
534         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
536         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
537         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
538         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
539         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
540         Moved ...
541         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
543         Moved ...
544         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
545         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
546         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
548         Moved ...
549         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
551         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
553         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
555 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
557         * timezone/checktab.awk: Update from tzcode 2014e.
558         * timezone/private.h: Likewise.
559         * timezone/tzfile.h: Likewise.
560         * timezone/zdump.c: Likewise.
561         * timezone/zic.c: Likewise.
563         * sysdeps/unix/sysv/linux/kernel-features.h
564         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
565         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
566         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
567         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
568         Remove conditional code.
570 2014-06-25  Will Newton  <will.newton@linaro.org>
572         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
573         (_dl_arm_cap_flags): Add HWCAP2 values.
574         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
575         (_DL_HWCAP_COUNT): Increase to 37.
576         (_DL_HWCAP_LAST): New define.
577         (_DL_HWCAP2_LAST): New define.
578         (_dl_procinfo): Add support for printing
579         AT_HWCAP2 entries.
580         (_dl_string_hwcap): Use _dl_hwcap_string.
582 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
586 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
588         * README: Do not mention ports directory.
590         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
591         Remove macro.
592         * sysdeps/unix/sysv/linux/futimes.c: Do not include
593         <kernel-features.h>.
594         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
595         conditional variable definition.
596         (__futimes): Update comment.
597         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
598         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
600         [BZ #16560]
601         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
602         arguments close to 0.
603         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
604         Likewise.
605         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
606         Likewise.
607         * math/auto-libm-test-in: Add more tests of exp10.
608         * math/auto-libm-test-out: Regenerated.
609         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
611         * sysdeps/unix/sysv/linux/kernel-features.h
612         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
613         * sysdeps/unix/sysv/linux/readv.c: Do not include
614         <kernel-features.h>.
615         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
616         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
617         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
618         unconditional.
619         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
620         conditional code.
621         * sysdeps/unix/sysv/linux/writev.c: Do not include
622         <kernel-features.h>.
623         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
624         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
625         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
626         unconditional.
627         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
628         conditional code.
630 2014-06-25  Will Newton  <will.newton@linaro.org>
632         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
633         comment changes throughout the file.  Remove checks
634         for HAVE_*_H definitions that are not required.
635         (__gen_tempname): Call abort if an unknown kind value is
636         passed.
638 2014-06-25  Andreas Schwab  <schwab@suse.de>
640         [BZ #17086]
641         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
642         scalbln, scalblnf, scalblnl in libc.
644 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
646         [BZ #17086]
647         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
648         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
649         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
651 2014-06-24  Roland McGrath  <roland@hack.frob.com>
653         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
654         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
655         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
656         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
657         Update #include.
658         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
659         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
660         Update #include.
661         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
662         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
663         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
664         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
665         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
666         * sysdeps/x86/bits/pthreadtypes.h: ... here.
667         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
668         * sysdeps/x86/bits/semaphore.h: ... here.
669         * sysdeps/x86/nptl/elide.h: Moved ...
670         * sysdeps/x86/elide.h: ... here.
671         * sysdeps/x86_64/nptl/Implies: File removed.
672         * sysdeps/i386/nptl/Implies: File removed.
674 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
676         [BZ #16539]
677         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
678         return the argument for normal arguments with exponent below -64.
679         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
680         Likewise.
681         * math/auto-libm-test-in: Add another test of expm1.
682         * math/auto-libm-test-out: Regenerated.
684         [BZ #16287]
685         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
686         calling __erfcl for arguments at least 16.
687         * math/auto-libm-test-in: Add more tests of erf.
688         * math/auto-libm-test-out: Regenerated.
690         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
691         individual architectures.
692         * sysdeps/unix/sysv/linux/configure: Regenerated.
693         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
694         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
695         * sysdeps/unix/sysv/linux/powerpc/configure.ac
696         (ldd_rewrite_script): Define variable.
697         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
699         file.
700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
701         generated file.
702         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
703         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
704         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
705         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
706         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
707         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
708         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
709         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
711 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
713         [BZ #17084]
714         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
715         Rename member __data.d to __data.__elision_data.
717 2014-06-24  Wilco  <wdijkstr@arm.com>
719         * NEWS: Add 16918 to fixed bug list.
721 2014-06-24  Wilco  <wdijkstr@arm.com>
723         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
725 2014-06-24  Wilco  <wdijkstr@arm.com>
727         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
728         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
729         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
730         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
731         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
732         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
733         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
734         Use _FPU_MASK_RM.
736 2014-06-24  Wilco  <wdijkstr@arm.com>
738         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
740 2014-06-24  Wilco  <wdijkstr@arm.com>
742         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
743         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
744         * sysdeps/arm/fesetround.c (fesetround): Remove space.
745         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
747 2014-06-24  Wilco  <wdijkstr@arm.com>
749         [BZ #16918]
750         * sysdeps/arm/feupdateenv.c (feupdateenv):
751         Rewrite to reduce FPSCR accesses and fix return value.
753 2014-06-24  Wilco  <wdijkstr@arm.com>
755         * sysdeps/arm/fclrexcpt.c (feclearexcept):
756         Optimize to avoid unnecessary FPSCR writes.
757         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
758         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
759         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
760         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
762 2014-06-24  Wilco  <wdijkstr@arm.com>
764         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
765         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
766         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
767         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
768         Call libc_fetestexcept_vfp.
769         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
770         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
771         __SOFTFP__ ifdef so that they can be built for softfp.
773 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
775         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
776         argument type signed char.
778         * Makerules (check-abi): Dump diff of symlist if the test
779         fails.
781 2014-06-23  Roland McGrath  <roland@hack.frob.com>
783         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
784         using abort.
786         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
787         Remove unused variable ST.
789 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
791         [BZ #16354]
792         [BZ #17061]
793         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
794         small arguments before calling __expm1.
795         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
796         small arguments before calling __expm1f.
797         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
798         small arguments before calling __expm1l.
799         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
800         Likewise.
801         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
802         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
803         spurious underflow for some cosh tests.
804         * math/auto-libm-test-out: Regenerated.
805         * sysdeps/i386/fpu/libm-test-ulps: Update.
807         [BZ #17050]
808         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
809         (__ieee754_y1): Set errno if return value overflows.
810         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
811         (__ieee754_y1f): Set errno if return value overflows.
812         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
813         (__ieee754_y1l): Set errno if return value overflows.
814         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
815         (__ieee754_y1l): Set errno if return value overflows.
816         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
817         * math/auto-libm-test-out: Regenerated.
819         * math/gen-auto-libm-tests.c: Document use of
820         ignore-zero-inf-sign.
821         (input_flag_type): Add value flag_ignore_zero_inf_sign.
822         (input_flags): Add ignore-zero-inf-sign.
823         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
824         * math/gen-libm-test.pl (generate_testfile): Handle
825         ignore-zero-inf-sign.
826         * math/auto-libm-test-in: Mark some cpow tests with
827         ignore-zero-inf-sign and some with xfail-rounding.
828         * math/auto-libm-test-out: Regenerated.
829         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
830         * sysdeps/i386/fpu/libm-test-ulps: Update.
831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
833         [BZ #16315]
834         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
835         overflowing or underflowing operations take place with sign of
836         result.
837         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
838         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
839         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
840         (__ieee754_pow): Recompute overflowing and underflowing results in
841         original rounding mode.
842         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
843         (__powl_helper): Allow negative argument X and scale negated value
844         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
845         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
846         overflowing or underflowing operations take place with sign of
847         result.
848         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
849         Include <math.h>.
850         * math/auto-libm-test-in: Add more tests of pow.
851         * math/auto-libm-test-out: Regenerated.
852         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
853         (pow_tonearest_test_data): Remove.
854         (pow_test_tonearest): Likewise.
855         (pow_towardzero_test_data): Likewise.
856         (pow_test_towardzero): Likewise.
857         (pow_downward_test_data): Likewise.
858         (pow_test_downward): Likewise.
859         (pow_upward_test_data): Likewise.
860         (pow_test_upward): Likewise.
861         (main): Don't call removed functions.
862         * sysdeps/i386/fpu/libm-test-ulps: Update.
863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
865 2014-06-23  Roland McGrath  <roland@hack.frob.com>
867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
868         Moved ...
869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
871         Moved ...
872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
874         Moved ...
875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
877         Moved ...
878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
880         File removed.
881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
882         File removed.
883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
884         File removed.
885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
886         File removed.
887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
888         File removed.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
890         File removed.
891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
892         File removed.
893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
894         File removed.
895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
896         File removed.
897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
898         File removed.
899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
900         File removed.
901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
902         File removed.
903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
904         Moved ...
905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
907         Moved ...
908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
909         ... here.
910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
911         Moved ...
912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
914         Moved ...
915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
917         Moved ...
918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
920         Moved ...
921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
923         Moved ...
924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
926         Moved ...
927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
929         Moved ...
930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
933         ... here.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
935         Moved ...
936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
938         Moved ...
939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
940         ... here.
941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
942         Moved ...
943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
944         ... here.
945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
946         Moved ...
947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
948         ... here.
949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
950         Moved ...
951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
953         Moved ...
954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
958         Moved ...
959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
960         ... here.
961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
962         Moved ...
963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
964         ... here.
965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
966         Moved ...
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
969         Moved ...
970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
972         Moved ...
973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
975         Moved ...
976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
978         Moved ...
979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
980         ... here.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
982         Moved ...
983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
985         Moved ...
986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
988         Moved ...
989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
991         Moved ...
992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
996         Moved ...
997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
999         Moved ...
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1002         Moved ...
1003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1004         ... here.
1005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1006         Moved ...
1007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1008         ... here.
1009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1010         Moved ...
1011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1012         ... here.
1013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1014         Moved ...
1015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1017         Moved ...
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1020         Moved ...
1021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1023         Moved ...
1024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1025         ... here.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1027         Moved ...
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1029         ... here.
1030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1031         Moved ...
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1033         ... here.
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1035         Moved ...
1036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1038         Moved ...
1039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1041 2014-06-23  Will Newton  <will.newton@linaro.org>
1042             Wilco  <wdijkstr@arm.com>
1044         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1045         implementation.  Include get-rounding-mode.h.
1046         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1047         [!libc_feholdsetround_noex_ctx]: Define
1048         libc_feholdsetround_noex_ctx.
1049         [!libc_feholdsetround_noexf_ctx]: Define
1050         libc_feholdsetround_noexf_ctx.
1051         [!libc_feholdsetround_noexl_ctx]: Define
1052         libc_feholdsetround_noexl_ctx.
1053         (libc_feholdsetround_ctx): New function.
1054         (libc_feresetround_ctx): New function.
1055         (libc_feholdsetround_noex_ctx): New function.
1056         (libc_feresetround_noex_ctx): New function.
1058 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1060         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1061         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1062         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1063         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1064         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1065         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1067         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1068         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1069         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1070         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1071         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1072         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1073         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1074         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1075         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1076         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1077         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1078         Moved ...
1079         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1080         ... here.
1081         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1082         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1083         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1084         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1085         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1086         Moved ...
1087         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1088         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1089         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1091         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1092         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1093         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1094         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1095         Moved ...
1096         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1098         Moved ...
1099         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1100         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1101         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1103         Moved ...
1104         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1106         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1107         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1108         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1109         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1110         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1111         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1112         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1113         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1114         Moved ...
1115         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1116         ... here.
1117         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1118         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1119         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1120         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1122         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1123         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1124         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1125         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1126         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1127         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1128         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1130         Moved ...
1131         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1132         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1133         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1135         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1136         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1137         Moved ...
1138         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1140         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1141         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1142         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1144         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1145         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1146         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1147         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1148         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1149         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1150         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1151         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1152         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1153         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1154         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1155         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1156         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1157         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1158         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1159         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1160         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1161         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1162         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1163         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1164         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1165         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1166         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1167         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1168         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1169         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1170         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1171         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1173 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1175         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1176         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1177         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1178         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1179         (IPV6_PMTUDISC_INTERFACE): Likewise.
1180         (IPV6_PMTUDISC_OMIT): Likewise.
1182 2014-06-23  Andreas Schwab  <schwab@suse.de>
1184         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1185         Remove unused errout label.
1187 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1189         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1190         macro: hardware supports Vector Crypto instructions.
1192 2014-06-23  Will Newton  <will.newton@linaro.org>
1194         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1195         rather than __builtin_expect.
1197         * elf/dl-lookup.c (undefined_msg): Remove variable.
1198         (_dl_lookup_symbol_x): Replace undefined_msg with string
1199         literal.
1201         * elf/dl-lookup.c (do_lookup_unique): New function.
1202         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1203         to a separate function.
1205 2014-06-23  Andreas Schwab  <schwab@suse.de>
1207         [BZ #17079]
1208         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1209         before reading the next line.
1211 2014-06-23  Will Newton  <will.newton@linaro.org>
1213         * test-skeleton.c (signal_handler): Use printf and %m
1214         rather than perror.  Use printf rather than fprintf to
1215         stderr.  Use puts rather than fputs to stderr.
1216         (main): Likewise.
1218 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1220         * nscd/nscd.c (thread_info_t): Remove typedef.
1221         (thread_info): Remove variable.
1223 2014-06-21  Allan McRae  <allan@archlinux.org>
1225         * NEWS: Mention CVE-2014-4043.
1227 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1229         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1230         * nptl/smp.h: ... here.
1232         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1234         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1235         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1236         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1237         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1239         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1240         * nptl/stack-aliasing.h: New file.
1241         * sysdeps/i386/i686/stack-aliasing.h: New file.
1242         * sysdeps/i386/i686/nptl/Makefile: File removed.
1243         * sysdeps/x86_64/stack-aliasing.h: New file.
1244         * sysdeps/x86_64/nptl/Makefile
1245         (CFLAGS-pthread_create.c): Variable removed.
1247         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1248         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1249         old file.
1250         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1251         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1252         old file.
1254 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1256         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1257         (__ASSUME_SIGFRAME_V2): Remove macro.
1258         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1259         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1260         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1261         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1262         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1263         Declare as function.  Remove conditional macro definitions.
1264         (__default_rt_sa_restorer): Likewise.
1265         (__default_sa_restorer_v1): Remove declaration.
1266         (__default_sa_restorer_v2): Likewise.
1267         (__default_rt_sa_restorer_v1): Likewise.
1268         (__default_rt_sa_restorer_v2): Likewise.
1269         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1270         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1271         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1273 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1275         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1276         (libpthread-routines): Add sysdep.
1277         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1278         * sysdeps/unix/sysv/linux/sparc/Versions
1279         (libpthread: GLIBC_2.3.3): New version set.
1280         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1281         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1282         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1283         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1284         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1285         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1286         Moved ...
1287         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1288         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1289         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1290         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1291         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1292         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1293         * sysdeps/sparc/nptl/sem_init.c: ... here.
1294         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1295         * sysdeps/sparc/nptl/sem_post.c: ... here.
1296         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1297         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1298         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1299         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1300         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1301         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1302         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1303         (libpthread-routines): Add cpu_relax.
1304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1305         File removed.
1306         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1307         (librt: GLIBC_2.3.3): New version set.
1308         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1309         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1310         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1311         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1312         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1314         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1316         Moved ...
1317         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1319         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1321         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1322         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1323         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1324         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1325         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1326         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1327         Moved ...
1328         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1329         Update #include.
1330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1331         Moved ...
1332         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1333         Update #include.
1334         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1335         Moved ...
1336         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1337         Update #include.
1338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1339         Moved ...
1340         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1341         Update #include.
1342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1343         Moved ...
1344         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1345         Update #include.
1346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1347         Moved ...
1348         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1349         Update #include.
1350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1351         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1355         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1357         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1359         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1361         Moved ...
1362         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1364         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1366         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1368 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1370         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1371         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1372         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1373         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1374         * nscd/nscd.c: Likewise.
1375         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1376         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1377         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1378         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1380         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1381         <kernel-features.h>.
1382         (init_mq_netlink): Remove conditional have_sock_cloexec
1383         definitions.  Remove code conditional on have_sock_cloexec < 0.
1384         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1385         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1386         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1387         <kernel-features.h>.
1388         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1389         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1391 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1393         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1394         Add tests for memset_chk and memset.
1396         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1397         with AVX2_Usable.
1399 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1401         [BZ #16046]
1402         * elf/tst-dl-iter-static.c: New file.
1403         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1405         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1406         error.
1408 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1410         * sysdeps/unix/sysv/linux/kernel-features.h
1411         (__ASSUME_F_GETOWN_EX): Remove macro.
1412         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1413         <kernel-features.h>.
1414         (miss_F_GETOWN_EX): Remove variable or macro.
1415         (do_fcntl): Do not check miss_F_GETOWN_EX.
1416         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1419         Remove macro.
1420         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1421         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1422         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1424         * sysdeps/unix/sysv/linux/kernel-features.h
1425         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1426         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1427         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1428         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1430 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1432         [BZ #17075]
1433         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1434         Fix calculation of the symbol's value.
1435         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1436         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1437         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1438         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1439         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1440         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1441         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1442         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1443         (modules-names): Add `tst-armtlsdescmod',
1444         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1445         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1446         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1447         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1448         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1449         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1450         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1451         ($(objpfx)tst-armtlsdescloc): New dependency.
1452         ($(objpfx)tst-armtlsdescextnow): Likewise.
1453         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1454         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1455         TLS scheme support.
1456         * sysdeps/arm/configure: Regenerate.
1458 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1460         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1461         (__atfct_seterrno_2): Likewise.
1462         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1463         <kernel-features.h>.
1464         (__ASSUME_ATFCTS): Do not undefine and redefine.
1465         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1466         (__have_atfcts): Remove conditional definition.
1467         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1468         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1469         unreachable if [__ASSUME_ATFCTS].
1470         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1471         not undefine and redefine.
1472         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1473         <kernel-features.h>.
1474         (faccessat) [__NR_faccessat]: Make code unconditional.
1475         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1476         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1477         <kernel-features.h>.
1478         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1479         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1480         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1481         <kernel-features.h>.
1482         (fchownat) [__NR_fchownat]: Make code unconditional.
1483         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1484         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1485         <kernel-features.h>.
1486         (futimesat) [__NR_futimesat]: Make code unconditional.
1487         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1488         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1489         <kernel-features.h>.
1490         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1491         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1492         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1493         <kernel-features.h>.
1494         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1495         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1496         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1497         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1498         <kernel-features.h>.
1499         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1500         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1501         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1502         <kernel-features.h>.
1503         (linkat) [__NR_linkat]: Make code unconditional.
1504         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1505         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1506         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1507         <kernel-features.h>.
1508         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1509         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1510         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1511         <kernel-features.h>.
1512         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1513         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1514         * sysdeps/unix/sysv/linux/openat.c: Do not include
1515         <kernel-features.h>.
1516         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1517         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1518         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1519         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1520         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1521         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1522         <kernel-features.h>.
1523         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1524         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1525         result of INLINE_SYSCALL directly, not via int variable.
1526         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1527         <kernel-features.h>.
1528         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1529         (renameat) [__NR_renameat]: Make code unconditional.
1530         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1531         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1532         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1533         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1534         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1535         (__ASSUME_ATFCTS): Do not undefine and redefine.
1536         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1537         <kernel-features.h>.
1538         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1539         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1540         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1541         <kernel-features.h>.
1542         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1543         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1544         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1545         (__ASSUME_ATFCTS): Do not undefine and redefine.
1546         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1547         <kernel-features.h>.
1548         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1549         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1550         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1551         <kernel-features.h>.
1552         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1553         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1555 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1557         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1559 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1561         [BZ #17069]
1562         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1563         constructed tree before returning error.
1564         * posix/bug-regexp36.c: Expand test case.
1566 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1568         [BZ #6803]
1569         * math/libm-test.inc (scalbln_test_date):
1570         Add errno expectations.
1571         * math/w_scalblnf.c: New File.
1572         Add wrapper which checks for setting errno to ERANGE.
1573         Add weak_alias for corresponding scalbln function.
1574         * math/w_scalbln.c: Likewise.
1575         * math/w_scalblnl.c: Likewise.
1576         * math/Makefile (libm-calls): Add w_scalbln.
1577         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1578         Remove weak_alias for corresponding scalbln function.
1579         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1580         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1581         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1582         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1583         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1584         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1585         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1586         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1587         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1588         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1589         Remove long_double_symbol for scalblnl function in libm, libc.
1590         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1591         Add wrapper which checks for setting errno to ERANGE.
1592         Add long_double_symbol for scalblnl function in libm, libc.
1593         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1594         Remove long_double_symbol for scalblnl in libm.
1595         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1596         Add wrapper which checks for setting errno to ERANGE.
1597         Add long_double_symbol for scalblnl function in libm.
1598         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1599         Do not use wrapper because of own implementation.
1601 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1603         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1604         3 bytes for __pad1 for x32.
1605         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1607 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1608             H.J. Lu  <hongjiu.lu@intel.com>
1610         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1611         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1612         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1613         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1614         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1616 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1618         [BZ #17069]
1619         * posix/regcomp.c (parse_expression): Deallocate partially
1620         constructed tree before returning error.
1621         * posix/Makefile.c (tests): Add bug-regex36.
1622         (generated): Add bug-regex36.mtrace.
1623         (tests-special): Add $(objpfx)bug-regex36-mem.out
1624         (bug-regex36-ENV): New variable.
1625         ($(objpfx)bug-regex36-mem.out): New rule.
1626         * posix/bug-regex36.c: New file.
1628 2014-06-19  Will Newton  <will.newton@linaro.org>
1630         * malloc/malloc.c (systrim): If extra is zero then return
1631         early.
1633 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1635         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1637 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1639         * sysdeps/aarch64/strchr.S: New file.
1641 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1643         [BZ #17022]
1644         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1645         from arguments -2 or below.
1646         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1647         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1649 2014-06-18  Andreas Schwab  <schwab@suse.de>
1651         [BZ #17062]
1652         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1653         of a bracket expr not to run off the end of the string.
1654         * posix/Makefile (tests): Add tst-fnmatch3.
1655         * posix/tst-fnmatch3.c: New file.
1657 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1659         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1660         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1661         [$(cross-compiling) = no]: Likewise.
1662         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1663         [$(cross-compiling) = no]: Likewise.
1665 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1667         [BZ #17031]
1668         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1669         double, adjusted for any remainder from the high double.
1670         * math/libm-test.inc (nearbyint): Add tests.
1671         (rint): Likewise.
1673 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1675         * nptl/sysdeps/powerpc/Makefile: Moved ...
1676         * sysdeps/powerpc/nptl/Makefile: ... here.
1677         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1678         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1679         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1680         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1681         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1682         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1683         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1684         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1685         * nptl/sysdeps/powerpc/tls.h: Moved ...
1686         * sysdeps/powerpc/nptl/tls.h: ... here.
1688 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1690         [BZ #16681]
1691         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1692         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1693         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1694         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1695         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1696         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1697         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1698         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1699         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1701 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1703         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1705 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1707         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1708         defined operator.
1710         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1711         $TIMEOUTFACTOR.
1713 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1715         [BZ #17058]
1716         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1717         non-executed part of the test.
1719 2014-06-16  Andreas Schwab  <schwab@suse.de>
1721         * string/bits/string2.h (strdup, strndup): Update feature guard.
1723 2014-06-14  David S. Miller  <davem@davemloft.net>
1725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1727 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1729         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1730         that was previously under [RESET_PID].
1731         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1733         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1734         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1735         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1736         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1737         (__libc_vfork): New strong alias.
1738         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1740 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1742         * sysdeps/generic/elide.h: New file.
1744 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1746         * Makefile (installed-headers): Adjust path of pthread.h header.
1748 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1750         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1751         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1752         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1753         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1755         * nptl/sysdeps/s390/Makefile: Moved ...
1756         * sysdeps/s390/nptl/Makefile: ... here.
1757         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1758         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1759         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1760         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1761         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1762         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1763         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1764         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1765         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1766         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1767         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1768         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1769         * nptl/sysdeps/s390/tls.h: Moved ...
1770         * sysdeps/s390/nptl/tls.h: ... here.
1772         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1773         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1775 2014-06-13  David S. Miller  <davem@davemloft.net>
1777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1779         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1780         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1784         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1785         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1786         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1787         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1788         Remove RESET_PID cpp guards.
1789         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1790         Remove RESET_PID cpp guards.
1791         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1793 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1795         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1796         __sp to uintptr_t.
1798 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1800         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1801         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1803         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1804         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1805         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1806         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1807         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1808         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1809         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1810         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1811         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1815         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1816         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1817         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1818         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1819         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1821         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1822         (pthread_rwlock_rdlock): Add elision.
1823         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1824         (pthread_rwlock_wrlock): Add elision.
1825         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1826         (pthread_rwlock_trywrlock): Add elision.
1827         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1828         (pthread_rwlock_tryrdlock): Add elision.
1829         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1830         (pthread_rwlock_tryrdlock): Add elision unlock.
1831         * nptl/sysdeps/pthread/pthread.h:
1832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1833         (PTHREAD_RWLOCK_INITIALIZER,
1834         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1835         Handle new elision field.
1836         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1837         * sysdeps/arm/nptl/bits/pthreadtypes.h
1838         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1839         * sysdeps/sh/nptl/bits/pthreadtypes.h
1840         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1841         * sysdeps/tile/nptl/bits/pthreadtypes.h
1842         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1843         * sysdeps/a/nptl/bits/pthreadtypes.h
1844         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1845         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1846         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1847         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1848         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1849         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1850         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1851         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1853         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1854         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1855         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1857         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1858         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1859         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1860         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1861         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1862         (elision_init): Set try_xbegin to zero when no RTM.
1863         * sysdeps/x86/nptl/bits/pthreadtypes.h
1864         (pthread_rwlock_t): Change __pad1 to __rwelision.
1865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1867 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1869         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1870         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1871         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1872         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1874 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1876         [BZ #16996]
1877         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1878         that the cached result has been set before returning it.
1880 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1882         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1883         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1884         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1885         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1886         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
1887         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
1889         * nptl/sysdeps/sparc/Makefile: Moved ...
1890         * sysdeps/sparc/nptl/Makefile: ... here.
1891         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
1892         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
1893         * nptl/sysdeps/sparc/tls.h: Moved ...
1894         * sysdeps/sparc/nptl/tls.h: ... here.
1895         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
1896         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
1897         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
1898         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
1899         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
1900         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
1901         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
1902         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
1903         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
1904         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
1905         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
1906         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
1907         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
1908         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
1909         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
1910         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
1911         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
1912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
1913         Update #include.
1914         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
1915         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
1916         Update #include.
1917         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
1918         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
1919         Update #include.
1920         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
1921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
1922         Update #include.
1924         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1926         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
1927         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
1929         * sysdeps/pthread/posix-timer.h: Include <list.h>.
1930         (struct list_links): Type removed.
1931         (struct thread_node, struct timer_node): Replace struct list_links
1932         with struct list_head.
1933         (list_unlink_ip): Likewise.
1934         * sysdeps/pthread/timer_routines.c
1935         (timer_free_list, thread_free_list, thread_active_list): Likewise.
1936         (list_append, list_insbefore): Likewise.
1937         (list_init): Function removed.
1938         (thread_init, init_module): Use INIT_LIST_HEAD instead.
1939         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
1940         * sysdeps/pthread/Makefile: ... here, new file.
1942         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
1943         * sysdeps/nptl/Implies: ... here.
1944         * sysdeps/unix/sysv/linux/Implies: Add nptl.
1945         * nptl/sysdeps/pthread/list.h: Moved ...
1946         * include/list.h: ... here.
1947         * nptl/sysdeps/pthread/createthread.c: Moved ...
1948         * nptl/createthread.c: ... here.
1949         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
1950         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
1951         * nptl/pt-longjmp.c: ... here.
1952         * nptl/sysdeps/pthread/Makefile: Moved ...
1953         * sysdeps/nptl/Makefile: ... here.
1954         * nptl/sysdeps/pthread/Subdirs: Moved ...
1955         * sysdeps/nptl/Subdirs: ... here.
1956         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
1957         * sysdeps/nptl/aio_misc.h: ... here.
1958         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
1959         * sysdeps/nptl/bits/libc-lock.h: ... here.
1960         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
1961         * sysdeps/nptl/bits/libc-lockP.h: ... here.
1962         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
1963         * sysdeps/nptl/bits/stdio-lock.h: ... here.
1964         * nptl/sysdeps/pthread/configure: Moved ...
1965         * sysdeps/nptl/configure: ... here.
1966         * nptl/sysdeps/pthread/configure.ac: Moved ...
1967         * sysdeps/nptl/configure.ac: ... here.
1968         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
1969         * sysdeps/nptl/gai_misc.h: ... here.
1970         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
1971         * sysdeps/nptl/librt-cancellation.c: ... here.
1972         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
1973         * sysdeps/nptl/malloc-machine.h: ... here.
1974         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
1975         * sysdeps/nptl/pthread-functions.h: ... here.
1976         * nptl/sysdeps/pthread/pthread.h: Moved ...
1977         * sysdeps/nptl/pthread.h: ... here.
1978         * nptl/sysdeps/pthread/setxid.h: Moved ...
1979         * sysdeps/nptl/setxid.h: ... here.
1980         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
1981         * sysdeps/nptl/sigfillset.c: ... here.
1982         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
1983         * sysdeps/nptl/tcb-offsets.h: ... here.
1984         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
1985         * sysdeps/nptl/tst-mqueue8x.c: ... here.
1986         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
1987         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
1988         * nptl/sysdeps/pthread/allocalim.h: Moved ...
1989         * sysdeps/pthread/allocalim.h: ... here.
1990         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
1991         * sysdeps/pthread/bits/sigthread.h: ... here.
1992         * nptl/sysdeps/pthread/flockfile.c: Moved ...
1993         * sysdeps/pthread/flockfile.c: ... here.
1994         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
1995         * sysdeps/pthread/ftrylockfile.c: ... here.
1996         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
1997         * sysdeps/pthread/funlockfile.c: ... here.
1998         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
1999         * sysdeps/pthread/posix-timer.h: ... here.
2000         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2001         * sysdeps/pthread/timer_create.c: ... here.
2002         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2003         * sysdeps/pthread/timer_delete.c: ... here.
2004         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2005         * sysdeps/pthread/timer_getoverr.c: ... here.
2006         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2007         * sysdeps/pthread/timer_gettime.c: ... here.
2008         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2009         * sysdeps/pthread/timer_routines.c: ... here.
2010         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2011         * sysdeps/pthread/timer_settime.c: ... here.
2012         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2013         * sysdeps/pthread/tst-timer.c: ... here.
2014         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2015         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2017         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2018         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2020         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2021         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2022         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2023         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2024         Update #include target.
2025         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2026         * sysdeps/i386/i686/nptl/Makefile: ... here.
2027         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2028         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2029         Update #include target.
2030         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2031         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2032         * nptl/sysdeps/i386/Makefile: Moved ...
2033         * sysdeps/i386/nptl/Makefile: ... here.
2034         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2035         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2036         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2037         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2038         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2039         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2040         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2041         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2042         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2043         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2044         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2045         * nptl/sysdeps/i386/tls.h: Moved ...
2046         * sysdeps/i386/nptl/tls.h: ... here.
2048         * sysdeps/sh/Makefile [$(subdir) = csu]
2049         (gen-as-const-headers): Add tcb-offsets.sym.
2050         * nptl/sysdeps/sh/Makefile: File removed.
2051         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2052         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2053         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2054         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2055         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2056         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2057         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2058         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2059         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2060         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2061         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2062         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2063         * nptl/sysdeps/sh/tls.h: Moved ...
2064         * sysdeps/sh/nptl/tls.h: ... here.
2065         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2066         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2067         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2068         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2069         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2070         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2071         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2072         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2073         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2074         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2075         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2076         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2077         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2078         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2079         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2080         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2081         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2082         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2083         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2084         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2085         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2086         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2087         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2088         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2089         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2090         Moved ...
2091         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2092         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2093         Moved ...
2094         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2095         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2098         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2099         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2100         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2101         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2102         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2103         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2104         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2105         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2106         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2107         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2108         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2109         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2110         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2111         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2112         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2114 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2116         * posix/spawn_faction_addopen.c: Include string.h.
2118 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2120         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2121         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2122         * nptl/sysdeps/x86_64/Makefile: Moved ...
2123         * sysdeps/x86_64/nptl/Makefile: ... here.
2124         * nptl/sysdeps/x86_64/configure: Moved ...
2125         * sysdeps/x86_64/nptl/configure: ... here.
2126         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2127         * sysdeps/x86_64/nptl/configure.ac: ... here.
2128         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2129         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2130         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2131         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2132         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2133         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2134         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2135         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2136         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2137         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2138         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2139         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2140         * nptl/sysdeps/x86_64/tls.h: Moved ...
2141         * sysdeps/x86_64/nptl/tls.h: ... here.
2142         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2143         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2144         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2145         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2147         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2149 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2153 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2155         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2156         type.
2157         [POSIX] (off_t): Likewise.
2158         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2159         [POSIX] (S_ISBLK): Require macro.
2160         [POSIX] (S_ISCHR): Likewise.
2161         [POSIX] (S_ISDIR): Likewise.
2162         [POSIX] (S_ISFIFO): Likewise.
2163         [POSIX] (S_ISREG): Likewise.
2164         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2165         optional-macro.
2166         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2167         type.
2168         [POSIX] (time_t): Likewise.
2169         [POSIX] (timer_t): Likewise.
2171 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2173         [BZ #17048]
2174         * posix/spawn_int.h (struct __spawn_action): Make the path string
2175         non-const to support deallocation.
2176         * posix/spawn_faction_addopen.c
2177         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2178         * posix/spawn_faction_destroy.c
2179         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2180         path in all spawn_do_open actions.
2181         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2182         posix_spawn_file_actions_addopen.
2184 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2186         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2187         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2188         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2189         conditional code always true.
2190         (__libc_vfork): New alias.
2192 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2194         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2195         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2197         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2199         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2200         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2202         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2203         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2205         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2206         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2208 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2210         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2211         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2212         multiarch strcmp for PPC64.
2213         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2214         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2216         multiarch optimizations.
2217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2218         (__libc_ifunc_impl_list): Likewise.
2220 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2222         * benchtests/scripts/validate_benchout.py: New script.
2223         * benchtests/Makefile (bench-func): Call it.
2224         * benchtests/scripts/benchout.schema.json: New file.
2226 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2228         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2229         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2230         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2231         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2232         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2233         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2234         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2235         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2236         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2237         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2238         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2239         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2240         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2241         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2242         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2243         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2245         Moved ...
2246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2247         ... here.
2248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2249         Moved ...
2250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2252         Moved ...
2253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2254         ... here.
2255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2256         Moved ...
2257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2258         ... here.
2259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2260         Moved ...
2261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2263         Moved ...
2264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2265         ... here.
2266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2267         Moved ...
2268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2269         ... here.
2270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2271         Moved ...
2272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2274         Moved ...
2275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2276         ... here.
2277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2278         Moved ...
2279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2280         ... here.
2281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2282         Moved ...
2283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2284         ... here.
2285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2286         Moved ...
2287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2289         Moved ...
2290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2291         ... here.
2292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2293         Moved ...
2294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2295         ... here.
2296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2297         Moved ...
2298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2299         ... here.
2300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2301         Moved ...
2302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2304         Moved ...
2305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2306         ... here.
2307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2308         Moved ...
2309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2310         ... here.
2311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2312         Moved ...
2313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2315         Moved ...
2316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2317         ... here.
2318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2319         Moved ...
2320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2322         Moved ...
2323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2325         Moved ...
2326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2327         ... here.
2328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2329         Moved ...
2330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2331         ... here.
2332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2333         Moved ...
2334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2335         ... here.
2336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2337         Moved ...
2338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2340         Moved ...
2341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2342         ... here.
2343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2344         Moved ...
2345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2346         ... here.
2347         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2348         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2349         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2350         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2351         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2352         Moved ...
2353         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2354         ... here.
2355         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2356         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2357         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2358         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2359         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2360         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2361         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2362         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2363         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2364         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2368         Moved ...
2369         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2371         Moved ...
2372         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2374         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2376         Moved ...
2377         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2379         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2380         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2381         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2382         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2383         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2385 2014-06-10  Wilco  <wdijkstr@arm.com>
2387         * math/test-fenv-return.c: New file.
2388         * math/Makefile: Add new test test-fenv-return.
2390 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2392         [BZ #17042]
2393         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2394         when x - 1 is zero.
2395         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2396         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2397         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2398         0.0L for an argument of 1.0L.
2399         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2400         Likewise.
2401         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2402         value when x - 1 is zero.
2403         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2404         * sysdeps/i386/fpu/libm-test-ulps: Update.
2405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2407 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2409         [BZ #15119]
2410         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2412 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2414         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2415         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2417 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2419         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2420         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2422         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2423         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2425         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2426         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2428         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2429         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2431         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2432         if not already defined.
2433         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2434         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2435         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2436         (TLS_INIT_TP): Use it.
2437         (TLS_DEFINE_INIT_TP): New macro.
2438         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2440 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2442         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2443         constant.
2444         [POSIX] (IXANY): Likewise.
2445         [POSIX] (OLCUC): Likewise.
2446         [POSIX || POSIX2008] (CBAUD): Do not allow.
2447         [POSIX || POSIX2008] (DEFECHO): Likewise.
2448         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2449         [POSIX || POSIX2008] (ECHOKE): Likewise.
2450         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2451         [POSIX || POSIX2008] (EXTA): Likewise.
2452         [POSIX || POSIX2008] (EXTB): Likewise.
2453         [POSIX || POSIX2008] (FLUSHO): Likewise.
2454         [POSIX || POSIX2008] (LOBLK): Likewise.
2455         [POSIX || POSIX2008] (PENDIN): Likewise.
2456         [POSIX || POSIX2008] (SWTCH): Likewise.
2457         [POSIX || POSIX2008] (VDISCARD): Likewise.
2458         [POSIX || POSIX2008] (VDSUSP): Likewise.
2459         [POSIX || POSIX2008] (VLNEXT): Likewise.
2460         [POSIX || POSIX2008] (VREPRINT): Likewise.
2461         [POSIX || POSIX2008] (VSTATUS): Likewise.
2462         [POSIX || POSIX2008] (VWERASE): Likewise.
2463         (B*): Change to B[0123456789]*.
2464         * conform/data/time.h-data [POSIX || UNIX98]
2465         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2466         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2467         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2468         [POSIX] (tm_*): Do not allow.
2470 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2472         * Makefile (install): Don't set LANGUAGE.
2473         * Makefile.in (install): Likewise.
2474         * assert/Makefile (test-assert-ENV): Remove variable.
2475         (test-assert-perr-ENV): Likewise.
2476         * elf/Makefile (neededtest4-ENV): Likewise.
2477         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2478         [$(cross-compiling) = no]: Don't set LANGUAGE.
2479         * io/ftwtest-sh (LANG): Remove variable.
2480         * libio/Makefile (tst-widetext-ENV): Likewise.
2481         * manual/install.texi (Running make install): Don't refer to
2482         environment settings for make install.
2483         * INSTALL: Regenerated.
2484         * nptl/tst-tls6.sh: Don't set LANG.
2485         * posix/globtest.sh (LANG): Remove variable.
2486         * string/Makefile (tester-ENV): Likewise.
2487         (inl-tester-ENV): Likewise.
2488         (noinl-tester-ENV): Likewise.
2489         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2490         [$(cross-compiling) = no]: Don't set LANGUAGE.
2491         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2492         without explicit environment settings.
2494 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2496         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2497         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2498         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2499         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2501 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2503         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2504         other files in the crypt directory.
2505         * crypt/crypt.c: Remove duplicate includes.
2506         * crypt/crypt-entry.c: Likewise.
2507         * crypt/crypt_util.c: Likewise.
2509 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2511         * Makeconfig (run-program-env): New variable.
2512         (run-program-prefix-before-env): Likewise.
2513         (run-program-prefix-after-env): Likewise.
2514         (run-program-prefix): Define in terms of new variables.
2515         (built-program-cmd-before-env): New variable.
2516         (built-program-cmd-after-env): Likewise.
2517         (built-program-cmd): Define in terms of new variables.
2518         (test-program-prefix-before-env): New variable.
2519         (test-program-prefix-after-env): Likewise.
2520         (test-program-prefix): Define in terms of new variables.
2521         (test-program-cmd-before-env): New variable.
2522         (test-program-cmd-after-env): Likewise.
2523         (test-program-cmd): Define in terms of new variables.
2524         * Rules (make-test-out): Use $(run-program-env).
2525         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2526         (help): Do not mention environment variables.  Mention
2527         --timeoutfactor option.
2528         (timeoutfactor): New variable.
2529         (blacklist_exports): Remove function.
2530         (exports): Remove variable.
2531         (command): Do not include ${exports}.
2532         * manual/install.texi (Configuring and compiling): Do not mention
2533         test wrappers preserving environment variables.  Mention that last
2534         assignment to a variable must take precedence.
2535         * INSTALL: Regenerated.
2536         * benchtests/Makefile (run-bench): Use $(run-program-env).
2537         * catgets/Makefile ($(objpfx)test1.cat): Use
2538         $(built-program-cmd-before-env), $(run-program-env) and
2539         $(built-program-cmd-after-env).
2540         ($(objpfx)test2.cat): Do not specify environment variables
2541         explicitly.
2542         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2543         $(run-program-env) and $(built-program-cmd-after-env).
2544         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2545         $(run-program-env) and $(test-program-cmd-after-env).
2546         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2547         explicitly.
2548         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2549         run_program_env and test_program_cmd_after_env arguments.
2550         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2551         * elf/tst-pathopt.sh: Use run_program_env argument.
2552         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2553         $(test-wrapper-env) and $(run-program-env).
2554         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2555         run_program_env arguments.
2556         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2557         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2558         $(test-program-prefix-before-env), $(run-program-env) and
2559         $(test-program-prefix-after-env).
2560         ($(objpfx)tst-gettext2.out): Likewise.
2561         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2562         run_program_env and test_program_prefix_after_env arguments.
2563         * intl/tst-gettext2.sh: Likewise.
2564         * intl/tst-gettext4.sh: Do not set environment variables
2565         explicitly.
2566         * intl/tst-gettext6.sh: Likewise.
2567         * intl/tst-translit.sh: Likewise.
2568         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2569         $(test-program-prefix-before-env), $(run-program-env) and
2570         $(test-program-prefix-after-env).
2571         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2572         run_program_env and test_program_prefix_after_env arguments.
2573         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2574         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2575         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2576         explicitly with each use of ${test_wrapper_env}.
2577         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2578         $(test-program-prefix-before-env), $(run-program-env) and
2579         $(test-program-prefix-after-env).
2580         * posix/tst-getconf.sh: Do not set environment variables
2581         explicitly.
2582         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2583         run_program_env and test_program_prefix_after_env arguments.
2584         * stdio-common/tst-printf.sh: Do not set environment variables
2585         explicitly.
2586         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2587         $(test-program-prefix-before-env), $(run-program-env) and
2588         $(test-program-prefix-after-env).
2589         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2590         run_program_env and test_program_prefix_after_env arguments.
2591         Split $test calls into $test_pre and $test.
2592         * timezone/Makefile (build-testdata): Use
2593         $(built-program-cmd-before-env), $(run-program-env) and
2594         $(built-program-cmd-after-env).
2596 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2598         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2599         strlen for non SHARED builds.
2601 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2603         * nptl/allocatestack.c (check_list): Inlined function...
2604         (__reclaim_stacks): ... here.
2606 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2608         [BZ #15698]
2609         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2610         memory overrun.
2612 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2614         * Rules (make-test-out): Include
2615         LOCPATH=$(common-objpfx)localedata in default environment.
2616         * debug/Makefile (tst-chk1-ENV): Remove variable.
2617         (tst-chk2-ENV): Likewise.
2618         (tst-chk3-ENV): Likewise.
2619         (tst-chk4-ENV): Likewise.
2620         (tst-chk5-ENV): Likewise.
2621         (tst-chk6-ENV): Likewise.
2622         (tst-lfschk1-ENV): Likewise.
2623         (tst-lfschk2-ENV): Likewise.
2624         (tst-lfschk3-ENV): Likewise.
2625         (tst-lfschk4-ENV): Likewise.
2626         (tst-lfschk5-ENV): Likewise.
2627         (tst-lfschk6-ENV): Likewise.
2628         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2629         (tst-iconv7-ENV): Likewise.
2630         * intl/Makefile (LOCPATH-ENV): Likewise.
2631         (tst-codeset-ENV): Likewise.
2632         (tst-gettext3-ENV): Likewise.
2633         (tst-gettext5-ENV): Likewise.
2634         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2635         (tst-fopenloc-ENV): Likewise.
2636         (tst-fgetws-ENV): Remove variable.
2637         (tst-ungetwc1-ENV): Likewise.
2638         (tst-ungetwc2-ENV): Likewise.
2639         (bug-ungetwc2-ENV): Likewise.
2640         (tst-swscanf-ENV): Likewise.
2641         (bug-ftell-ENV): Likewise.
2642         (tst-fgetwc-ENV): Likewise.
2643         (tst-fseek-ENV): Likewise.
2644         (tst-ftell-partial-wide-ENV): Likewise.
2645         (tst-ftell-active-handler-ENV): Likewise.
2646         (tst-ftell-append-ENV): Likewise.
2647         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2648         (tst-regexloc-ENV): Likewise.
2649         (bug-regex1-ENV): Likewise.
2650         (tst-regex-ENV): Likewise.
2651         (tst-regex2-ENV): Likewise.
2652         (bug-regex5-ENV): Likewise.
2653         (bug-regex6-ENV): Likewise.
2654         (bug-regex17-ENV): Likewise.
2655         (bug-regex18-ENV): Likewise.
2656         (bug-regex19-ENV): Likewise.
2657         (bug-regex20-ENV): Likewise.
2658         (bug-regex22-ENV): Likewise.
2659         (bug-regex23-ENV): Likewise.
2660         (bug-regex25-ENV): Likewise.
2661         (bug-regex26-ENV): Likewise.
2662         (bug-regex30-ENV): Likewise.
2663         (bug-regex32-ENV): Likewise.
2664         (bug-regex33-ENV): Likewise.
2665         (bug-regex34-ENV): Likewise.
2666         (bug-regex35-ENV): Likewise.
2667         (tst-rxspencer-ENV): Likewise.
2668         (tst-rxspencer-no-utf8-ENV): Likewise.
2669         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2670         (tst-sscanf-ENV): Likewise.
2671         (tst-swprintf-ENV): Likewise.
2672         (tst-swscanf-ENV): Likewise.
2673         (test-vfprintf-ENV): Likewise.
2674         (scanf13-ENV): Likewise.
2675         (bug14-ENV): Likewise.
2676         (tst-grouping-ENV): Likewise.
2677         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2678         (tst-strtod3-ENV): Likewise.
2679         (tst-strtod4-ENV): Likewise.
2680         (tst-strtod5-ENV): Likewise.
2681         (testmb2-ENV): Likewise./
2682         * string/Makefile (tst-strxfrm-ENV): Likewise.
2683         (tst-strxfrm2-ENV): Likewise.
2684         (bug-strcoll1-ENV): Likewise.
2685         (test-strcasecmp-ENV): Likewise.
2686         (test-strncasecmp-ENV): Likewise.
2687         * time/Makefile (tst-strptime-ENV): Likewise.
2688         (tst-ftime_l-ENV): Likewise.
2689         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2690         (tst-mbrtowc-ENV): Likewise.
2691         (tst-wcrtomb-ENV): Likewise.
2692         (tst-mbrtowc2-ENV): Likewise.
2693         (tst-c16c32-1-ENV): Likewise.
2694         (tst-mbsnrtowcs-ENV): Likewise.
2696 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2698         * manual/resource.texi (How to get information about the memory
2699         subsystem?): Fix typo.
2700         Reported by Peon de la Parra Ivan <peon@keba.com>
2702 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2704         [BZ #16882]
2705         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2706         (pthread_spin_lock): Branch out of spin loop to proper location.
2707         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2708         (pthread_spin_lock): Likewise.
2710         * nptl/tst-spin4.c: New test.
2711         * nptl/Makefile (tests): Add tst-spin4.
2713 2014-06-03  Andreas Schwab  <schwab@suse.de>
2715         [BZ #15946]
2716         * resolv/res_send.c (send_dg): Reload file descriptor after
2717         calling reopen.
2719 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2721         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2723 2014-06-03  Richard Henderson  <rth@redhat.com>
2725         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2726         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2727         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2728         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2729         in the SAVE_PID block.
2730         (__libc_vfork): New alias.
2731         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2733         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2734         child in registers, not on the stack.  Remove RESET_PID conditionals.
2735         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2737 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2739         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2741 2014-06-03  Wilco  <wdijkstr@arm.com>
2743         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2744         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2745         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2746         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2747         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2748         Likewise.
2750 2014-06-03  Wilco  <wdijkstr@arm.com>
2752         * sysdeps/aarch64/fpu/math_private.h
2753         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2754         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2755         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2756         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2757         Fix declarations.
2759 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2761         * crypt/crypt-private.h: Include ufc-crypt.h.
2762         (__b64_from_24bit): Declare extern.
2763         * crypt/crypt_util.c(__b64_from_24bit): New function.
2764         (b64t): New static const variable.
2765         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2766         (b64t): Remove variable.
2767         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2768         * crypt/sha256-crypt.c: Include crypt-private.h.
2769         (b64t): Remove variable.
2770         (__sha256_crypt_r): Remove b64_from_24bit and replace
2771         with __b64_from_24bit.
2772         * crypt/sha512-crypt.c: Likewise.
2774 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2776         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2777         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2778         Label the code __libc_vfork rather than __vfork.
2779         [!NOT_IN_libc] (vfork): Define as weak alias.
2780         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2781         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2782         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2784 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2786         * malloc/malloc.c (malloc_info): Fix format specifier for
2787         n_mmaps.
2789 2014-06-02  Wilco  <wdijkstr@arm.com>
2791         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2792         FPCR write.
2794 2014-06-02  Wilco  <wdijkstr@arm.com>
2796         [BZ #17009]
2797         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2798         Rewrite to reduce FPCR/FPSR accesses.
2800 2014-06-01  David S. Miller  <davem@davemloft.net>
2802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2804 2014-05-31  David S. Miller  <davem@davemloft.net>
2806         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2807         to occur in round to nearest mode when |x| >= 2.0
2809 2014-05-30  Richard Henderson  <rth@twiddle.net>
2811         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2812         (PSEUDO_RET_NOERRNO): Remove.
2813         (ret): Don't redefine.
2814         (ret_NOERRNO): Define in terms of ret.
2815         (ret_ERRVAL): Likewise.
2817         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2818         use of PSEUDO_RET; perform the error check directly.
2820 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2822         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2823         with __int128_t.
2825 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2827         * malloc/malloc (malloc_info): Fix formatting.
2829 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2830             Roland McGrath  <roland@hack.frob.com>
2832         * malloc/malloc (malloc_info): Also print mmapped statistics.
2834 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2836         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2837         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2839 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2841         * malloc/malloc.c (malloc_info): Inline mi_arena.
2843 2014-05-29  Richard Henderson  <rth@twiddle.net>
2845         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2846         Remove comma before expanding ASM_ARGS_##nr.
2847         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2848         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2849         of ASM_ARGS_##nr.
2850         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2851         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2852         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2853         (ASM_ARGS_1): Add leading comma.
2855         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2856         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2857         to __errno_location.
2858         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2859         Remove the expected plt for __errno_location.
2861         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2862         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2863         call to __read_tp.
2865         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2866         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2867         it and break it down.
2868         (DOCARGS_0, DOCARGS_1): Do nothing.
2869         (DOCARGS_2): Update to store into the new stack frame.
2870         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2871         (UNDOCARGS_1): Update to restore from the new stack frame.
2872         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2873         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2875         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2876         (SINGLE_THREAD_P): New parameter for result regno.
2877         (PSEUDO): Update to match; use cbz instead of beq.
2879         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2880         Use ENTRY to define the _nocancel entry point.  Share the syscall
2881         and syscall error check paths with the cancel path.
2882         (PSEUDO_END): New.
2884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2885         whitespace; tabs before and after asm mnemonics.
2887 2014-05-29  Eric Wong  <normalperson@yhbt.net>
2889         [BZ #15132]
2890         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
2891         Call fstat64 or stat64 internally, depending on arguments passed.
2892         Replace stat buffer argument with file descriptor argument.
2893         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
2894         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2895         Pass fd to __internal_statvfs instead of calling fstat64.
2896         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
2897         Pass fd to __internal_statvfs64 instead of calling fstat64.
2898         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
2899         Pass -1 to __internal_statvfs instead of calling stat64.
2900         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
2901         Pass -1 to __internal_statvfs64 instead of calling stat64.
2903 2014-05-28  Roland McGrath  <roland@hack.frob.com>
2905         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
2906         that was previously under [RESET_PID].
2907         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
2909         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
2910         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
2912 2014-05-27  Roland McGrath  <roland@hack.frob.com>
2914         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
2916         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
2917         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
2919 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
2921         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
2923 2014-05-27  Andreas Schwab  <schwab@suse.de>
2925         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
2926         TLS_INIT_TP macro.
2927         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
2928         * elf/rtld.c (init_tls, dl_main): Likewise.
2929         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
2930         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
2931         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
2932         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
2933         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
2934         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
2935         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
2936         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
2937         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
2938         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
2939         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
2940         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
2941         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
2942         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
2943         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
2944         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
2945         * sysdeps/generic/tls.h: Update description.
2947 2014-05-27  Will Newton  <will.newton@linaro.org>
2949         [BZ #16990]
2950         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
2951         and restore r2 rather than just restoring.
2953 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2955         [BZ #16724]
2956         * libio/tst-ftell-append.c: New test case.
2957         * libio/Makefile (tests): Add test case.
2958         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
2959         append mode.
2960         * libio/wfileops.c (do_ftell_wide): Likewise.
2962 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2966         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
2967         ...
2968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
2969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2970         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
2971         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
2972         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
2973         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
2974         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
2975         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
2976         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2977         Moved ...
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
2979         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2980         Moved ...
2981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
2982         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
2983         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
2984         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
2985         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
2986         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
2987         ...
2988         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
2989         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
2990         Moved ...
2991         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
2992         here.
2993         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
2994         ...
2995         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
2996         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
2997         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
2999         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3000         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3001         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3002         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3004         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3005         merge into ...
3006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3008         ...
3009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3011         ...
3012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3013         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3014         Moved ...
3015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3016         here.
3017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3018         Moved ...
3019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3020         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3021         Moved ...
3022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3025         conditional [RESET_PID].
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3027         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3028         removed.
3029         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3030         removed.
3032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3033         <tcb-offsets.h>.
3034         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3035         (__libc_vfork): New strong alias.
3036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3037         removed.
3038         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3039         Removed.
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3042         <tcb-offsets.h>.
3043         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3044         (__libc_vfork): New strong alias.
3045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3046         removed.
3047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3048         removed.
3050 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3052         * malloc/malloc.c (mi_arena): New function.
3053         (malloc_info): Remove nested function mi_arena. Call non-nosted
3054         function mi_arena.
3056 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3058         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3059         by insrwi.
3060         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3061         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3062         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3063         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3064         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3065         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3066         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3068 2014-05-26  Andreas Schwab  <schwab@suse.de>
3070         [BZ #16984]
3071         * locale/programs/repertoire.c (repertoire_read): Add slash
3072         between I18NPATH element and file name.
3073         * locale/programs/locfile.c (locfile_read): Likewise.
3075 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3077         * nptl/pthread_mutexattr_settype.c
3078         (__pthread_mutexattr_settype):
3079         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3081 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3083         * nptl/tst-mutex5 (do_test):
3084         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3086 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3088         * benchtests/README: Document 'init' directive.
3089         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3090         BENCH_INIT.
3091         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3092         (parse_file): Recognize 'init' directive.
3094 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3096         [BZ #16796]
3097         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3098         alignment of struct pthread.
3100 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3102         [BZ #16878]
3103         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3104         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3105         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3106         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3108 2014-05-25  Richard Henderson  <rth@twiddle.net>
3110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3111         (SINGLE_THREAD_P_PIC): Remove.
3112         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3113         (SINGLE_THREAD_P_PIC): Remove.
3115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3116         branch to syscall error ...
3117         (PSEUDO): ... here.
3118         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3119         from __local_syscall_error to .Lsyscall_error.
3120         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3121         (SYSCALL_ERROR): Update label name.
3123         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3124         Do not use DOARGS/UNDOARGS.
3125         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3126         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3127         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3128         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3129         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3131         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3132         block comment.
3134         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3135         define if !NOT_IN_libc.
3136         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3137         define with non-default symbol versions.
3139 2014-05-23  Richard Henderson  <rth@twiddle.net>
3141         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3142         (vfork, __vfork): Define via compat_symbol.
3144         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3145         [!HAVE_IFUNC] (vfork_compat): Remove.
3146         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3148 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3150         [BZ #16978]
3151         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3152         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3153         variable.
3155 2014-05-23  Richard Henderson  <rth@twiddle.net>
3157         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3158         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3159         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3160         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3162         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3163         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3164         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3165         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3166         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3167         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3168         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3169         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3170         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3171         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3172         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3173         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3174         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3175         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3176         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3177         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3178         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3179         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3180         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3181         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3182         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3183         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3184         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3185         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3186         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3187         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3188         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3189         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3190         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3191         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3192         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3193         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3194         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3195         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3196         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3197         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3198         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3199         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3200         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3201         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3202         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3203         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3204         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3205         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3206         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3207         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3209         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3210         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3211         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3212         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3213         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3214         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3215         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3216         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3217         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3219         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3220         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3221         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3222         before exiting on error.
3223         (__libc_vfork): New strong alias.
3224         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3225         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3227         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3228         that was previously under [RESET_PID].
3229         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3231         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3233 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3235         [BZ #16977]
3236         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3237         value when x - 1 is zero.
3238         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3239         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3240         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3241         0.0L for an argument of 1.0L.
3242         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3243         Likewise.
3244         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3245         value when x - 1 is zero.
3246         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3247         * sysdeps/i386/fpu/libm-test-ulps: Update.
3248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3250 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3252         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3253         alphasort and versionsort.
3255 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3257         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3258         macro.
3259         [copysignf]: Likewise.
3261 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3263         * crypt/md5-crypt.c: Fix formatting.
3265 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3267         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3268         (b64_from_24bit): New function.
3270 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3272         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3273         libc_hidden_builtin_def to ifunc.
3274         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3275         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3277 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3279         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3280         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3282 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3284         * nscd/Depend (linuxthreads): Remove.
3285         (nptl): Add.
3286         * resolv/Depend (linuxthreads): Remove.
3287         * rt/Depend (linuxthreads): Remove.
3289         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3290         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3291         $(common-objpfx)elf/.
3292         (link-libc-before-gnulib): Likewise.
3293         (elfobjdir): Remove variable.
3294         * Makefile (install): Use $(elf-objpfx) instead of
3295         $(common-objpfx)elf/.
3296         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3297         $(elfobjdir)/.
3298         (link-libc-deps): Likewise.
3299         ($(common-objpfx)libc.so): Likewise.
3300         ($(common-objpfx)linkobj/libc.so): Likewise.
3301         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3302         instead of $(common-objpfx)elf/.
3303         (symbolic-link-list): Likewise.
3304         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3305         [$(cross-compiling) = no]: Likewise.
3306         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3307         $(elfobjdir)/.
3308         (static-gnulib-arch): Likewise.
3309         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3310         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3311         $(common-objpfx)elf/.
3313 2014-05-21  Richard Henderson  <rth@redhat.com>
3315         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3316         (SINGLE_THREAD_P): Use the correct width load.  Fold
3317         into the ldr offset.
3319         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3320         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3322 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3324         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3325         (libgcc_s_resume): Use __attribute_used__.
3326         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3327         Likewise.
3329 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3331         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3332         optimization when used with float constants.
3334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3336 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3338         [BZ #16915]
3339         * locale/nl_langinfo_l.c: Make direct reference to every
3340         _nl_current_CATEGORY symbol.
3341         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3342         (tests-static): Add tst-langinfo-static.
3343         (tests-special): Add tst-langinfo-static.out.
3344         ($(objpfx)tst-langinfo.out): Redirect output.
3345         ($(objpfx)tst-langinfo-static.out): New.
3346         * localedata/tst-langinfo.sh: Send output to stdout.
3347         * localedata/tst-langinfo-static.c: New file.
3349         [BZ #16965]
3350         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3351         when the shift amount is modulo the limb size.
3353 2014-05-20  Richard Henderson  <rth@redhat.com>
3355         [BZ #16967]
3356         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3357         Change type of sa_flags from unsigned int to int.
3359         [BZ #16966]
3360         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3362         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3364 2014-05-20  Will Newton  <will.newton@linaro.org>
3366         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3367         Test the return value of the system call in the nocancel case.
3369 2014-05-20  Will Newton  <will.newton@linaro.org>
3370             Yvan Roux  <yvan.roux@linaro.org>
3372         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3373         #include of asm/ptrace.h.
3374         (PTRACE_GET_THREAD_AREA): Remove #undef.
3375         (PTRACE_GETHBPREGS): Likewise.
3376         (PTRACE_SETHBPREGS): Likewise.
3377         (struct user_regs_struct): New structure.
3378         (struct user_fpsimd_struct): New structure.
3379         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3380         #include of asm/ptrace.h and second #include of sys/user.h.
3381         (PTRACE_GET_THREAD_AREA): Remove #undef.
3382         (PTRACE_GETHBPREGS): Likewise.
3383         (PTRACE_SETHBPREGS): Likewise.
3384         (ELF_NGREG): Use new struct user_regs_struct.
3385         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3387 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3392 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3394         [BZ #16958]
3395         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3396         membar to avoid block loads/stores to overlap previous stores.
3398 2014-05-17  Richard Henderson  <rth@redhat.com>
3400         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3401         Create the __##syscall_name##_nocancel entry point.
3402         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3403         Remove; let the sysdep-cancel.h code create it.
3405 2014-05-17  David S. Miller  <davem@davemloft.net>
3407         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3408         Protect with __USE_GNU.
3409         (TIOCSET_TEMPT): Likewise.
3410         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3411         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3412         these are already provided in bits/ioctl-types.h
3414 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3416         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3417         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3419         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3420         Use wait4 regardless of [__NR_waitpid].
3422 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3424         PR libgcc/60166
3425         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3426         (_FP_NANSIGN_Q): Set the quiet bit.
3428 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3430         * benchtests/Makefile
3431         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3432         not $(common-objpfx)math/libm.so.
3433         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3434         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3435         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3436         $(common-objpfx)dlfcn/libdl.so.
3437         ($(objpfx)tst-audit8): Depend on $(libm), not
3438         $(common-objpfx)math/libm.so.
3439         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3440         not $(common-objpfx)dlfcn/libdl.so.
3441         * math/Makefile
3442         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3443         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3444         [$(build-shared) = yes].
3445         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3446         $(common-objpfx)nptl/libpthread.so.
3447         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3448         $(common-objpfx)math/libm.so$(libm.so-version) or
3449         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3450         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3451         $(common-objpfx)dlfcn/libdl.so.
3452         * setjmp/Makefile (link-libm): Remove variable.
3453         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3454         * stdio-common/Makefile (link-libm): Remove variable.
3455         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3456         * stdlib/Makefile (link-libm): Remove variable.
3457         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3458         ($(objpfx)tst-strtod-round): Likewise.
3459         ($(objpfx)tst-tininess): Likewise.
3460         ($(objpfx)tst-strtod-underflow): Likewise.
3461         ($(objpfx)tst-strtod6): Likewise.
3462         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3463         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3464         $(common-objpfx)dlfcn/libdl.so.
3466 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3468         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3469         BSD terminal modes definitions.
3471 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3473         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3474         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3476         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3477         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3478         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3479         Don't do #include_next.
3480         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3481         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3482         Don't do #include_next.
3483         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3484         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3485         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3486         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3488 2014-05-16  Allan McRae  <allan@archlinux.org>
3490         * po/sv.po: Update Swedish translation from translation project.
3492         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3493         in sed expression.
3495 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3497         [BZ #16917]
3498         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3499         errno if the TIOCGPTN ioctl fails with an error different than
3500         EINVAL.
3501         * login/tst-ptsname.c: New file.
3502         * login/Makefile (tests): Add tst-ptsname.
3504         [BZ #16943]
3505         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3506         and prlimit64.
3508 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3510         [BZ #16849]
3511         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3512         herrno to return EAI_AGAIN.
3514 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3516         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3517         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3518         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3519         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3520         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3521         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3522         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3523         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3525         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3526         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3527         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3528         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3529         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3530         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3531         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3532         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3533         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3534         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3535         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3536         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3537         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3538         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3539         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3540         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3541         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3542         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3543         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3544         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3545         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3547         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3549         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3551         Moved ...
3552         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3554         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3556         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3558         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3559         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3560         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3562         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3564         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3566         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3567         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3568         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3570         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3571         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3572         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3574         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3575         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3576         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3577         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3578         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3580         Moved ...
3581         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3583         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3585         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3587         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3589         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3591         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3593         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3595         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3597         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3598         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3599         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3600         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3601         Moved ...
3602         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3604         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3606         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3607         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3608         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3609         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3610         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3611         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3612         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3613         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3614         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3615         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3616         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3617         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3618         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3619         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3620         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3621         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3622         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3623         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3624         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3625         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3626         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3627         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3628         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3629         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3630         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3631         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3632         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3633         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3634         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3635         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3636         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3638         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3639         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3641         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3642         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3643         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3644         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3645         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3646         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3647         Moved ...
3648         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3649         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3650         Moved ...
3651         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3652         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3653         Moved ...
3654         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3655         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3656         Moved ...
3657         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3658         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3659         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3660         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3661         Moved ...
3662         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3663         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3664         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3665         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3666         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3667         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3668         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3669         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3670         Moved ...
3671         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3672         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3673         Moved ...
3674         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3675         ... here.
3676         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3677         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3678         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3679         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3680         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3681         Moved ...
3682         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3683         ... here.
3684         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3685         Moved ...
3686         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3687         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3688         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3689         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3690         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3691         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3692         Moved ...
3693         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3694         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3695         Moved ...
3696         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3697         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3698         Moved ...
3699         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3700         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3701         Moved ...
3702         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3703         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3704         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3705         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3706         Moved ...
3707         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3708         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3709         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3710         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3711         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3712         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3713         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3714         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3715         Moved ...
3716         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3717         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3718         Moved ...
3719         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3720         ... here.
3721         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3722         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3723         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3724         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3725         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3726         Moved ...
3727         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3728         ... here.
3729         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3730         Moved ...
3731         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3732         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3733         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3734         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3735         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3736         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3737         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3738         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3739         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3740         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3741         Moved ...
3742         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3743         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3744         Moved ...
3745         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3746         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3747         Moved ...
3748         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3749         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3750         Moved ...
3751         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3752         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3753         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3754         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3755         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3756         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3757         Moved ...
3758         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3759         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3760         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3761         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3762         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3763         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3764         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3765         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3766         Moved ...
3767         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3768         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3769         Moved ...
3770         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3771         ... here.
3772         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3773         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3774         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3775         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3777         Moved ...
3778         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3779         ... here.
3780         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3781         Moved ...
3782         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3783         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3784         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3785         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3786         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3787         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3788         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3789         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3790         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3791         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3792         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3794         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3795         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3797         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3798         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3800         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3801         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3802         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3803         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3804         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3805         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3806         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3807         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3808         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3809         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3810         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3811         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3812         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3813         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3814         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3815         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3816         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3818         Moved ...
3819         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3821         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3822         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3823         Moved ...
3824         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3828         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3829         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3830         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3831         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3832         Moved ...
3833         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3834         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3835         Moved ...
3836         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3837         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3842         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3843         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3844         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3846         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3848         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3849         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3850         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3851         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3852         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3854         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3855         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3856         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3857         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3858         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3860         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3861         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3862         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3863         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3864         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3865         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3866         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3867         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3868         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3869         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3874         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3875         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3876         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3877         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3878         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3879         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3880         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3881         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3882         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3883         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3884         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3885         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3886         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
3887         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
3888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
3889         Update #include.
3890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
3891         Likewise.
3892         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3893         Likewise.
3894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3895         Likewise.
3896         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3897         Likewise.
3898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
3899         Likewise.
3900         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
3901         Likewise.
3902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3903         Likewise.
3904         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
3905         Likewise.
3906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
3907         Likewise.
3908         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
3909         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
3910         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
3911         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
3912         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
3913         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
3914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
3915         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
3916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
3917         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
3918         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
3919         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
3920         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
3921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
3922         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
3924         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
3925         that was previously under [RESET_PID].
3926         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3927         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
3928         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
3930         * sysdeps/i386/nptl/Implies: New file.
3931         * sysdeps/x86_64/nptl/Implies: New file.
3932         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
3933         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3934         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
3935         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
3937         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
3938         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3939         (__libc_vfork): New strong alias.
3940         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
3941         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
3943         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
3944         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3945         (__libc_vfork): New strong alias.
3946         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
3947         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
3949         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
3950         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3951         (__libc_vfork): New strong alias.
3952         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
3953         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
3954         * nptl/pt-vfork.c: New file.
3955         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
3956         (libpthread: GLIBC_2.20): New version set (empty).
3958 2014-05-14  Will Newton  <will.newton@linaro.org>
3960         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
3961         rather than #if.
3963 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
3965         [BZ #16564]
3966         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
3967         arguments with exponent 65 or above.
3968         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
3969         arguments 0x1p113L or above.
3970         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
3971         to arguments 0x1p107L or above.
3972         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
3973         positive arguments with exponent 65 or above.
3974         * math/auto-libm-test-in: Add more tests of log1p.
3975         * math/auto-libm-test-out: Regenerated.
3977         [BZ #16928]
3978         * math/s_cacos.c (__cacos): Ensure zero real part of result from
3979         non-finite arguments is +0.
3980         * math/s_cacosf.c (__cacosf): Likewise.
3981         * math/s_cacosl.c (__cacosl): Likewise.
3982         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
3983         * sysdeps/i386/fpu/libm-test-ulps: Update.
3984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986         [BZ #16927]
3987         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
3988         value.
3989         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
3990         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
3991         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
3992         for explicit high bit of mantissa when testing for argument equal
3993         to 1.
3994         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
3995         * sysdeps/i386/fpu/libm-test-ulps: Update.
3996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3998         [BZ #16516]
3999         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4000         (__erf): Scale by 16 instead of 8 in potentially underflowing
4001         case.  Ensure exception if result actually underflows.
4002         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4003         (__erff): Scale by 16 instead of 8 in potentially underflowing
4004         case.  Ensure exception if result actually underflows.
4005         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4006         (efx8): Remove variable.
4007         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4008         case.  Ensure exception if result actually underflows.
4009         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4010         (efx8): Remove variable.
4011         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4012         case.  Ensure exception if result actually underflows.
4013         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4014         (efx8): Remove variable.
4015         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4016         case.  Ensure exception if result actually underflows.
4017         * math/auto-libm-test-in: Add more tests of erf.
4018         * math/auto-libm-test-out: Regenerated.
4020 2014-05-14  Andreas Schwab  <schwab@suse.de>
4022         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4023         Remove code conditionalized on USE___THREAD.
4025         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4026         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4027         not definedness.
4029 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4031         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4032         Define unconditionally.
4033         (__ASSUME_O_CLOEXEC): Likewise.
4034         (__ASSUME_SOCK_CLOEXEC): Likewise.
4035         (__ASSUME_IN_NONBLOCK): Likewise.
4036         (__ASSUME_PIPE2): Likewise.
4037         (__ASSUME_EVENTFD2): Likewise.
4038         (__ASSUME_SIGNALFD4): Likewise.
4039         (__ASSUME_DUP3): Likewise.
4040         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4041         (__ASSUME_DUP3): Do not define.
4042         (__ASSUME_EVENTFD2): Likewise.
4043         (__ASSUME_IN_NONBLOCK): Likewise.
4044         (__ASSUME_O_CLOEXEC): Likewise.
4045         (__ASSUME_PIPE2): Likewise.
4046         (__ASSUME_SIGNALFD4): Likewise.
4047         (__ASSUME_SOCK_CLOEXEC): Likewise.
4048         (__ASSUME_UTIMES): Undefine.
4049         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4050         (__ASSUME_UTIMES): Do not define.
4051         (__ASSUME_O_CLOEXEC): Likewise.
4052         (__ASSUME_SOCK_CLOEXEC): Likewise.
4053         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4054         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4055         0x020621].
4056         (__ASSUME_PIPE2): Likewise.
4057         (__ASSUME_EVENTFD2): Likewise.
4058         (__ASSUME_SIGNALFD4): Likewise.
4059         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4060         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4061         Do not define.
4062         (__ASSUME_EVENTFD2): Likewise.
4063         (__ASSUME_SIGNALFD4): Likewise.
4064         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4065         (__ASSUME_32BITUIDS): Likewise.
4066         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4067         (__ASSUME_IPC64): Likewise.
4068         (__ASSUME_ST_INO_64_BIT): Likewise.
4069         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4070         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4071         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4072         (__ASSUME_UTIMES): Do not define.
4073         (__ASSUME_PSELECT): Likewise.
4074         (__ASSUME_PPOLL): Likewise.
4075         (__ASSUME_O_CLOEXEC): Likewise.
4076         (__ASSUME_SOCK_CLOEXEC): Likewise.
4077         (__ASSUME_IN_NONBLOCK): Likewise.
4078         (__ASSUME_PIPE2): Likewise.
4079         (__ASSUME_EVENTFD2): Likewise.
4080         (__ASSUME_SIGNALFD4): Likewise.
4081         (__ASSUME_DUP3): Likewise.
4082         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4083         (__ASSUME_UTIMES): Likewise.
4084         (__ASSUME_O_CLOEXEC): Likewise.
4085         (__ASSUME_SOCK_CLOEXEC): Likewise.
4086         (__ASSUME_IN_NONBLOCK): Likewise.
4087         (__ASSUME_PIPE2): Likewise.
4088         (__ASSUME_EVENTFD2): Likewise.
4089         (__ASSUME_SIGNALFD4): Likewise.
4090         (__ASSUME_DUP3): Likewise.
4091         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4092         (__ASSUME_UTIMES): Likewise.
4093         (__ASSUME_O_CLOEXEC): Likewise.
4094         (__ASSUME_SOCK_CLOEXEC): Likewise.
4095         (__ASSUME_IN_NONBLOCK): Likewise.
4096         (__ASSUME_PIPE2): Likewise.
4097         (__ASSUME_EVENTFD2): Likewise.
4098         (__ASSUME_SIGNALFD4): Likewise.
4099         (__ASSUME_DUP3): Likewise.
4100         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4101         Likewise.
4102         (__ASSUME_UTIMES): Likewise.
4103         (__ASSUME_EVENTFD2): Likewise.
4104         (__ASSUME_SIGNALFD4): Likewise.
4105         * sysdeps/unix/sysv/linux/tile/kernel-features.h
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         (__ASSUME_UTIMES): Undefine.
4115         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4116         feclearexcept.  Remove symbol versioning code.
4117         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4118         symbol versioning code.
4119         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4120         symbol versioning code.
4121         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4122         feupdateenv.  Remove symbol versioning code.
4123         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4124         fegetexceptflag.  Remove symbol versioning code.
4125         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4126         fesetexceptflag.  Remove symbol versioning code.
4127         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4128         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4129         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4130         (__posix_fadvise64_l32): Remove prototype.
4131         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4132         code.
4134 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4136         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4137         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4138         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4139         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4141 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4143         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4144         current working directory
4146 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4148         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4149         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4150         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4151         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4152         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4153         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4154         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4155         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4156         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4157         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4158         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4159         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4160         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4161         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4162         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4163         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4164         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4165         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4166         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4167         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4168         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4169         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4170         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4171         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4172         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4173         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4174         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4175         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4176         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4177         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4178         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4179         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4180         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4181         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4182         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4183         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4184         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4185         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4186         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4187         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4188         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4189         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4191         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4192         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4194         * sysdeps/unix/sysv/linux/arm/Makefile
4195         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4196         Add rt-aeabi_unwind_cpp_pr1.
4197         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4198         Add nptl-aeabi_unwind_cpp_pr1.
4199         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4200         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4201         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4202         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4203         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4204         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4206         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4207         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4208         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4209         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4211         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4212         Deconditionalize the code that was previously under [RESET_PID].
4213         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4215         * sysdeps/generic/exit-thread.h: New file.
4216         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4217         * include/unistd.h (__exit_thread): Remove declaration.
4218         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4219         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4220         * csu/libc-start.c: Include <exit-thread.h>.
4221         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4222         * nptl/pthread_create.c: Include <exit-thread.h>.
4223         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4224         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4225         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4226         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4227         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4228         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4229         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4230         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4231         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4232         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4233         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4234         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4235         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4236         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4237         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4238         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4239         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4241 2014-05-13  Andreas Schwab  <schwab@suse.de>
4243         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4245 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4247         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4248         (__ASSUME_UTIMES): Do not condition on kernel version.
4249         (__ASSUME_PSELECT): Define unconditionally.
4250         (__ASSUME_PPOLL): Likewise.
4251         (__ASSUME_ATFCTS): Likewise.
4252         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4253         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4254         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4255         (__ASSUME_UTIMENSAT): Define unconditionally.
4256         (__ASSUME_PRIVATE_FUTEX): Likewise.
4257         (__ASSUME_FALLOCATE): Likewise.
4258         (__ASSUME_O_CLOEXEC): Likewise.
4259         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4260         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4261         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4262         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4263         (__ASSUME_IN_NONBLOCK): Likewise.
4264         (__ASSUME_PIPE2): Likewise.
4265         (__ASSUME_EVENTFD2): Likewise.
4266         (__ASSUME_SIGNALFD4): Likewise.
4267         (__ASSUME_DUP3): Likewise.
4268         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4269         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4270         (__ASSUME_AT_RANDOM): Likewise.
4271         (__ASSUME_PREADV): Likewise.
4272         (__ASSUME_PWRITEV): Likewise.
4273         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4274         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4275         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4276         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4277         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4278         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4279         (__ASSUME_O_CLOEXEC): Define unconditionally.
4280         (__ASSUME_PSELECT): Do not undefine conditionally.
4281         (__ASSUME_PPOLL): Likewise.
4282         (__ASSUME_ATFCTS): Likewise.
4283         (__ASSUME_SET_ROBUST_LIST): Likewise.
4284         (__ASSUME_UTIMENSAT): Likewise.
4285         (__ASSUME_FDATASYNC): Define unconditionally.
4286         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4287         (__ASSUME_SIGFRAME_V2): Likewise.
4288         )__ASSUME_EVENTFD2): Likewise.
4289         (__ASSUME_SIGNALFD4): Likewise.
4290         (__ASSUME_PSELECT): Do not undefine conditionally.
4291         (__ASSUME_PPOLL): Likewise.
4292         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4293         (__ASSUME_PSELECT): Define unconditionally.
4294         (__ASSUME_PPOLL): Likewise.
4295         (__ASSUME_O_CLOEXEC): Likewise.
4296         (__ASSUME_SOCK_CLOEXEC): Likewise.
4297         (__ASSUME_IN_NONBLOCK): Likewise.
4298         (__ASSUME_PIPE2): Likewise.
4299         (__ASSUME_EVENTFD2): Likewise.
4300         (__ASSUME_SIGNALFD4): Likewise.
4301         (__ASSUME_DUP3): Likewise.
4302         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4303         (__ASSUME_O_CLOEXEC): Likewise.
4304         (__ASSUME_SOCK_CLOEXEC): Likewise.
4305         (__ASSUME_IN_NONBLOCK): Likewise.
4306         (__ASSUME_PIPE2): Likewise.
4307         (__ASSUME_EVENTFD2): Likewise.
4308         (__ASSUME_SIGNALFD4): Likewise.
4309         (__ASSUME_DUP3): Likewise.
4310         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4311         (__ASSUME_EVENTFD2): Likewise.
4312         (__ASSUME_SIGNALFD4): Likewise.
4313         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4315 2014-05-12  Andreas Schwab  <schwab@suse.de>
4317         [BZ #16932]
4318         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4319         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4320         than maximum RPC packet size.
4321         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4322         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4323         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4324         (_nss_nis_getservbyport_r): Likewise.
4326 2014-05-12  Will Newton  <will.newton@linaro.org>
4328         * malloc/Makefile (tests): Add tst-mallopt.
4329         * malloc/tst-mallopt.c: New file.
4331 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4333         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4334         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4336 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4338         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4339         (tst-tlsmod6.so): Likewise.
4341 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4343         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4345 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4347         [BZ #16064]
4348         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4349         and <dl-procinfo.h>.
4350         (__fegetenv): Save SSE state in envp->__eip if supported.
4351         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4352         envp->__eip if supported.
4353         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4354         and <dl-procinfo.h>.
4355         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4356         __data_offset and __data_selector in environment to 0.  Set SSE
4357         state if supported.
4358         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4359         test-fenv-sse.
4360         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4361         -mfpmath=sse.
4362         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4364 2014-05-09  Will Newton  <will.newton@linaro.org>
4366         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4367         and libc_relro_required for ARM.
4368         * sysdeps/arm/preconfigure: Regenerate.
4370 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4371             Stefan Liebler  <stli@linux.vnet.ibm.com>
4373         * config.make.in (enable-lock-elision): New Makefile variable.
4374         * configure.ac: Likewise.
4375         * configure: Regenerate.
4376         * sysdeps/s390/configure.ac:
4377         Add check for gcc transactions support.
4378         * sysdeps/s390/configure: Regenerate.
4379         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4380         Build elision files if enabled.
4381         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4382         Add lock elision support for s390.
4383         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4384         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4385         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4386         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4387         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4388         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4389         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4390         Likewise.
4391         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4392         Likewise.
4393         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4394         Likewise.
4395         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4396         Likewise.
4397         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4398         (__lll_timedlock_elision, __lll_lock_elision)
4399         (__lll_unlock_elision, __lll_trylock_elision)
4400         (lll_timedlock_elision, lll_lock_elision)
4401         (lll_unlock_elision, lll_trylock_elision): Add.
4402         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4403         (pthread_mutex_t): Add lock elision support for s390.
4405 2014-05-14  Wilco  <wdijkstr@arm.com>
4407         * sysdeps/arm/fclrexcpt.c: Cleanup.
4408         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4409         * sysdeps/arm/feenablxcpt.c: Cleanup.
4410         * sysdeps/arm/fegetenv.c: Cleanup.
4411         * sysdeps/arm/fegetexcept.c: Cleanup.
4412         * sysdeps/arm/fegetround.c: Cleanup.
4413         * sysdeps/arm/feholdexcpt.c: Cleanup.
4414         * sysdeps/arm/fesetenv.c: Cleanup.
4415         * sysdeps/arm/fesetround.c: Cleanup.
4416         * sysdeps/arm/feupdateenv.c: Cleanup.
4417         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4418         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4419         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4420         * sysdeps/arm/ftestexcept.c: Cleanup.
4421         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4422         * sysdeps/arm/setfpucw.c: Cleanup.
4424 2014-05-09  Will Newton  <will.newton@linaro.org>
4426         * sysdeps/arm/armv7/strcmp.S: New file.
4427         * NEWS: Mention addition of ARMv7 optimized strcmp.
4429 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4431         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4432         look for %.ac rather than %.in.
4434         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4435         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4436         * sysdeps/mach/hurd/configure: Regenerated.
4437         * sysdeps/unix/sysv/linux/configure: Regenerated.
4439         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4441 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4443         [BZ# 16922]
4444         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4445         (LONG_SUB): Ditto.
4446         (PTR_SUB): Ditto.
4448 2014-05-07  Andreas Schwab  <schwab@suse.de>
4450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4451         when skipping over non-matching result from nscd.
4453 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4455         [BZ #16876]
4456         * nptl/sockperf.c (client): Check socket return value.
4458         [BZ #16877]
4459         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4460         nscd security class.
4462 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4464         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4465         * sysdeps/arm/unwind.h: ... here.
4467 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4469         [BZ# 16916]
4470         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4471         Define.
4473 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4475         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4476         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4477         multiarch strncpy for PPC64.
4478         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4479         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4480         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4481         multiarch optimizations.
4482         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4483         (__libc_ifunc_impl_list): Likewise.
4484         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4485         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4486         multiarch stpncpy for PPC64.
4487         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4488         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4490 2014-05-06  Andreas Schwab  <schwab@suse.de>
4492         [BZ #16912]
4493         * gmon/mcount.c (_MCOUNT_DECL): Use
4494         atomic_compare_and_exchange_bool_acq instead of
4495         catomic_compare_and_exchange_bool_acq.
4497 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4499         * elf/Makefile (others, install-bin): Remove pldd.
4500         (pldd-modules): Variable removed.
4501         ($(objpfx)pldd): Target removed.
4502         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4503         (others, install-bin): Append pldd here.
4504         ($(objpfx)pldd): New target.
4506         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4507         to 0, so the first #if test emitted later doesn't see it undefined.
4508         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4509         * sysdeps/gnu/errlist.c: Regenerated.
4511 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4513         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4514         [libc_hidden_builtin_def]: Define to empty value.
4515         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4516         [libc_hidden_builtin_def]: Likewise.
4517         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4518         [libc_hidden_builtin_def]: Likewise.
4519         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4520         [libc_hidden_builtin_def]: Likewise.
4521         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4522         __redirect_memcpy and define ifunc as default hidden symbol.
4523         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4524         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4526 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4528         * locale/iso-4217.def: Reintroduce XDR currency.
4530 2014-05-04  Allan McRae  <allan@archlinux.org>
4532         * po/eo.po: Update Esperanto translation from translation project.
4534 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4536         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4537         and FEATURE_INDEX_MAX to 1.
4538         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4540 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4542         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4543         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4544         * iconvdata/big5.c (ONE_DIRECTION): Define.
4545         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4546         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4547         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4548         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4549         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4550         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4551         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4552         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4553         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4554         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4555         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4556         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4557         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4558         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4559         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4560         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4561         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4562         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4563         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4564         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4565         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4566         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4567         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4568         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4569         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4570         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4571         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4572         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4573         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4574         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4575         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4576         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4577         * iconvdata/johab.c (ONE_DIRECTION): Define.
4578         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4579         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4580         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4581         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4582         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4583         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4584         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4585         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4586         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4587         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4589 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4591         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4592         (_IO_JUMPS_OFFSET): Define to 0.
4594         * nptl/sysdeps/pthread/bits/libc-lock.h
4595         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4596         (__libc_lock_define_initialized_recursive): Always define using
4597         initializer.  Modern compilers treat uninitialized (implicit zero) and
4598         explicit zero initializers the same (i.e. put the datum in bss).
4600 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4602         * nscd/nscd-client.h: Include <string.h>.
4604 2014-05-01  David S. Miller  <davem@davemloft.net>
4606         [BZ #16885]
4607         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4608         multiple zero bytes exist at the end of a string.
4609         Reported by Aurelien Jarno <aurelien@aurel32.net>
4611         * string/test-strcmp.c (check): Add explicit test for situations where
4612         there are multiple zero bytes after the first.
4614 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4616         [BZ #16890]
4617         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4618         when compiling wprintf.
4619         * stdio-common/tstdiomisc.c (t3): New function.
4620         (main): Call it.
4622 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4624         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4625         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4626         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4627         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4629 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4631         * stdlib/longlong.h: Updated from GCC.
4633 2014-05-01  Will Newton  <will.newton@linaro.org>
4634             Bernard Ogden  <bernie.ogden@linaro.org>
4636         * NEWS: Update fixed bug list.
4638         [BZ #15119]
4639         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4641 2014-04-30  David S. Miller  <davem@davemloft.net>
4643         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4644         (libc_feholdexcept_setround_sparc_ctx): New function.
4645         (libc_fesetenv_sparc_ctx): Likewise.
4646         (libc_feupdateenv_sparc_ctx): Likewise.
4647         (libc_feholdsetround_sparc_ctx): Likewise.
4648         (libc_feholdexcept_setround_ctx): Define.
4649         (libc_feholdexcept_setroundf_ctx): Likewise.
4650         (libc_feholdexcept_setroundl_ctx): Likewise.
4651         (libc_fesetenv_ctx): Likewise.
4652         (libc_fesetenvf_ctx): Likewise.
4653         (libc_fesetenvl_ctx): Likewise.
4654         (libc_feupdateenv_ctx): Likewise.
4655         (libc_feupdateenvf_ctx): Likewise.
4656         (libc_feupdateenvl_ctx): Likewise.
4657         (libc_feresetround_ctx): Likewise.
4658         (libc_feresetroundf_ctx): Likewise.
4659         (libc_feresetroundl_ctx): Likewise.
4660         (libc_feholdsetround_ctx): Likewise.
4661         (libc_feholdsetroundf_ctx): Likewise.
4662         (libc_feholdsetroundl_ctx): Likewise.
4664         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4665         with __USE_GNU instead of XOPEN cpp guards.
4667         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4668         0.
4670         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4671         with XOPEN cpp guards.
4673 2014-04-30  Julian Brown  <julian@codesourcery.com>
4675         [BZ #16888]
4676         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4677         handling.
4679 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4681         [BZ #9894]
4682         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4683         Change to 2.6.32.
4684         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4685         * sysdeps/unix/sysv/linux/configure: Regenerated.
4686         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4687         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4688         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4689         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4690         * README: Update reference to required Linux kernel version.
4691         * manual/install.texi (Linux): Update reference to required Linux
4692         kernel headers version.
4693         * INSTALL: Regenerated.
4695         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4696         header inclusion.
4697         [POSIX] (limits.h): Likewise.
4698         [POSIX] (math.h): Likewise.
4699         [POSIX] (sys/wait.h): Likewise.
4700         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4701         function.
4702         [POSIX] (stddef.h): Do not allow header inclusion.
4704 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4706         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4708 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4710         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4711         Return immediately after lll_futex_wake.
4713 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4715         [BZ #16791]
4716         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4717         structure.
4718         (datahead_init_pos): Call datahead_init_common early.
4719         (datahead_init_neg): Likewise.
4721         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4722         datahead_init_neg): New functions.
4723         * nscd/aicache.c (addhstaiX): Use them.
4724         * nscd/grpcache.c (cache_addgr): Likewise.
4725         * nscd/hstcache.c (cache_addhst): Likewise.
4726         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4727         * nscd/netgroupcache.c (do_notfound): Likewise.
4728         (addgetnetgrentX): Likewise.
4729         (addinnetgrX): Likewise.
4730         * nscd/pwdcache.c (cache_addpw): Likewise.
4731         * nscd/servicescache.c (cache_addserv): Likewise.
4733 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4734             Atsushi Onoe  <atsushi@onoe.org>
4736         [BZ #14308]
4737         [BZ #12994]
4738         [BZ #13651]
4739         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4740         one response is valid.
4741         * resolv/res_send.c (send_dg): Check for validity of other
4742         response if the current response is a referral.
4744 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4746         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4748 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4750         [BZ #16823]
4751         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4752         Always divide by positive zero when computing -Inf result.
4753         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4754         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4756 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4758         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4759         FPSCR if value do not change.
4760         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4761         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4762         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4763         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4764         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4765         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4766         function.
4768 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4770         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4771         * sysdeps/unix/sysv/linux/hppa: Move directory from
4772         ports/systeps/unix/sysv/linux/hppa.
4773         * README: Update listing for hppa-*-linux-gnu.
4775 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4777         [BZ #16754]
4778         * manual/stdio.texi (Hook functions): Fix types of stream hook
4779         functions.
4780         [BZ #16854]
4781         * socket/sys/socket.h: Fix typo in comment.
4783 2014-04-28  Wilco  <wdijkstr@arm.com>
4785         * sysdeps/arm/fenv_private.h: New file.
4786         * sysdeps/arm/math_private.h: New file.
4787         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4789 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4791         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4792         with __int128_t.
4793         (La_x86_64_retval): Likewise.
4795 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4797         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4798         fpsr if value didn't change.
4799         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4800         to fpcr if value didn't change.
4801         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4802         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4803         fpsr or fpcr if value didn't change.
4804         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4805         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4806         fpcr if value didn't change.
4807         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4808         to fpsr if value didn't change.
4810 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4812         * nptl/tst-sem3.c: Use test-skeleton.c
4813         (main): Rename to do_test.  Use return instead of
4814         exit.
4815         * nptl/tst-sem4.c: Use test-skeleton.c
4816         (main): Rename to do_test.
4818 2014-04-22  David S. Miller  <davem@davemloft.net>
4820         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4821         (struct sigaction): New struct member __glibc_reserved0, change
4822         type of sa_flags to int.
4824 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4826         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4827         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4829 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4831         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4832         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4834 2014-04-22  Will Newton  <will.newton@linaro.org>
4835             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4837         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4838         (__longjmp): Add longjmp and longjmp_target SystemTap
4839         probes.
4840         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4841         (__sigsetjmp): Add setjmp SystemTap probe.
4843 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4845         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4846         match manual order.
4848 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4850         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4852         * sysdeps/powerpc/fpu/fenv_private.h
4853         (libc_feholdexcept_setroundl_ctx): Define to
4854         libc_feholdexcept_setround_ppc_ctx.
4855         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4856         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4857         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4858         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4860 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4862         * sysdeps/aarch64/math-tests.h: New file.
4864 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4866         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4867         New.
4868         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4869         Check and set bit_AVX2_Usable.
4870         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4871         macro.
4872         (bit_AVX2): Likewise.
4873         (index_AVX2_Usable): Likewise.
4874         (CPUID_AVX2): Likewise.
4875         (HAS_AVX2): Likewise.
4877 2014-04-17  Will Newton  <will.newton@linaro.org>
4879         * manual/setjmp.texi (System V contexts): Add note that
4880         calling setcontext on a context created by a call to a
4881         signal handler is undefined.  Update text to note that
4882         setcontext from a signal handler is possible but not
4883         recommended.
4885         [BZ #16629]
4886         * stdlib/tst-setcontext.c: Include signal.h.
4887         (main): Check that the signal stack before and
4888         after swapcontext is the same.
4890         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
4891         Re-implement to restore registers in user code and avoid
4892         rt_sigreturn system call.
4894 2014-04-17  Wilco  <wdijkstr@arm.com>
4896         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
4897         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
4898         * math/test-fenv.c: Skip exception trap tests on targets which only
4899         support non-stop mode.
4901 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4902             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4904         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
4905         (libc_feholdsetround_aarch64_ctx)
4906         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
4907         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
4908         (libc_feresetround_ctx, libc_feresetroundf_ctx)
4909         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
4910         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
4911         (libc_feresetround_noexl_ctx): Define.
4913 2014-04-16  Richard Henderson  <rth@redhat.com>
4915         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
4917         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
4918         unwind tables.
4920         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
4921         const from the non-libc, non-ldso copy.
4923         * sysdeps/alpha/libm-test-ulps: Regenerate.
4925 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
4926             Wilco Dijkstra  <wilco.dijkstra@arm.com>
4928         * sysdeps/aarch64/fpu/math_private.h: New file.
4930 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4932         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4934 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
4936         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
4937         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
4938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
4939         Intel MPX bound registers before _dl_profile_fixup.
4940         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
4941         registers after _dl_profile_fixup.  Save and restore bound
4942         registers bnd0/bnd1 when calling _dl_call_pltexit.
4943         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
4944         (LR_BND_OFFSET): Likewise.
4945         (LRV_BND0_OFFSET): Likewise.
4946         (LRV_BND1_OFFSET): Likewise.
4948 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4950         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
4951         to...
4952         * sysdeps/mach/hurd/i386/tls.h: ... here.
4953         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
4954         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
4955         fields.
4957 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4959         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
4961 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4963         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4965 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
4967         [BZ #14770]
4968         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
4969         * sysdeps/s390/configure: Regenerate.
4971         [BZ #16824]
4972         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
4973         Set round-to-nearest internally to reduce error accumulation.
4975 2014-04-16  Alan Modra  <amodra@gmail.com>
4977         [BZ #16740]
4978         [BZ #16619]
4979         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
4980         * math/libm-test.inc (frexp_test_data): Add tests.
4981         * NEWS: Update fixed bug list.
4983 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4985         * benchtests/Makefile: Depend on libraries in build directory.
4986         (bench-math): Separate out math tests.
4987         (bench-pthread): Separate out pthread tests.
4988         (bench): Include math and pthread tests.
4990 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
4992         [BZ #16831]
4993         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
4994         _dl_debug_initialize.
4996         * configure.ac: Remove SELinux header check.
4997         * configure: Regenerate.
4998         * nscd/selinux.c (perms): Array of const char* to permission names.
4999         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5000         default policy. Call string_to_security_class and string_to_av_perm to
5001         translate strings. Enforce default policy and call avs_has_perm with
5002         results of translated strings.
5004 2014-04-13  David S. Miller  <davem@davemloft.net>
5006         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5008 2014-04-12  Allan McRae  <allan@archlinux.org>
5010         [BZ #16838]
5011         * manual/string.texi (Collation Functions): Fix qsort argument
5012         order in example.
5013         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5015 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5017         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5018         Make the test a no-op if there are no exceptions defined.
5020 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5022         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5023         enable-hardcoded-path-in-tests
5025 2014-04-11  Will Newton  <will.newton@linaro.org>
5027         * benchtests/Makefile (extra-objs): Add json-lib.o.
5028         (bench-func): Tidy up JSON output.
5029         * benchtests/bench-skeleton.c: Include json-lib.h.
5030         (main): Use JSON library functions to do output of
5031         benchmark results.
5032         * benchtests/bench-timing-type.c (main): Output the
5033         timing type simply, leaving formatting to the user.
5034         * benchtests/json-lib.c: New file.
5035         * benchtests/json-lib.h: Likewise.
5037 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5039         [BZ #15215]
5040         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5041         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5042         memory barriers.  Add comments.
5043         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5044         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5045         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5046         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5047         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5048         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5050 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5052         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5053         * sysdeps/s390/s390-64/configure.ac: ... this ...
5054         * sysdeps/s390/configure.ac: ... to here.
5055         * sysdeps/s390/s390-32/configure: Delete file.
5056         * sysdeps/s390/s390-64/configure: Delete file.
5057         * sysdeps/s390/configure: Regenerate.
5059 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5061         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5063 2014-04-11  Will Newton  <will.newton@linaro.org>
5065         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5066         to zero if it is not defined elsewhere.  (mtrim): Test
5067         the value of MALLOC_DEBUG with #if rather than #ifdef.
5069 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5071         * benchtests/pthread_once-inputs: New file.
5072         * benchtests/pthread_once-source.c: New file.
5073         * benchtests/README: Update documentation.
5075 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5076             H.J. Lu  <hongjiu.lu@intel.com>
5078         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5079         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5080         * sysdeps/x86_64/configure: Regenerated.
5081         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5082         macro.
5083         (REGISTER_SAVE_RAX): Likewise.
5084         (REGISTER_SAVE_RCX): Likewise.
5085         (REGISTER_SAVE_RDX): Likewise.
5086         (REGISTER_SAVE_RSI): Likewise.
5087         (REGISTER_SAVE_RDI): Likewise.
5088         (REGISTER_SAVE_R8): Likewise.
5089         (REGISTER_SAVE_R9): Likewise.
5090         (REGISTER_SAVE_BND0): Likewise.
5091         (REGISTER_SAVE_BND1): Likewise.
5092         (REGISTER_SAVE_BND2): Likewise.
5093         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5094         bound registers when calling _dl_fixup.
5096 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5098         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5099         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5100         of its definition.
5101         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5102         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5103         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5104         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5105         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5106         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5107         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5109 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5111         [BZ #15514]
5112         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5113         pathconf(_PC_NAME_MAX).
5115 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5117         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5118         Remove macro usage.
5119         (__PTHREAD_SPINS): Move definition to ...
5120         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5121         (__PTHREAD_SPINS): ... here.
5122         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5123         (__PTHREAD_SPIN): Likewise.
5124         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5125         (__PTHREAD_SPIN): Likewise.
5126         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5127         (__PTHREAD_SPIN): Likewise.
5128         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5129         (__PTHREAD_SPIN): Likewise.
5130         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5131         (__PTHREAD_SPIN): Likewise.
5132         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5133         (__PTHREAD_SPIN): Likewise.
5134         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5135         (__PTHREAD_SPIN): Likewise.
5136         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5137         (__PTHREAD_SPIN): Likewise.
5138         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5139         (__PTHREAD_SPIN): Likewise.
5140         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5141         (__PTHREAD_SPIN): Likewise.
5142         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5143         (__PTHREAD_SPIN): Likewise.
5144         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5145         (__PTHREAD_SPIN): Likewise.
5147         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5148         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5149         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5150         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5151         imply folder.
5152         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5153         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5154         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5155         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5156         correct imply path.
5157         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5158         strlen symbol for non multi-arch builds.
5159         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5160         missing hidden_def and weak_alias.
5162 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5164         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5166 2014-04-07  Will Newton  <will.newton@linaro.org>
5168         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5169         and contents.  [!_LIBC] Remove #ifndef and contents.
5170         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5171         * string/memccpy.c (__memccpy): Use ANSI prototype.
5172         * string/memfrob.c (memfrob): Likewise.
5173         * string/strcoll.c (STRCOLL): Likewise.
5174         * string/strlen.c (strlen): Likewise.
5175         * string/strtok.c (STRTOK): Likewise.
5176         * string/strcat.c: Remove unused #include of memcopy.h.
5177         (strcat): Use ANSI prototype.
5178         * string/strchr.c: Remove unused #include of memcopy.h.
5179         (strchr): Use ANSI prototype.
5180         * string/strcmp.c: Remove unused #include of memcopy.h.
5181         (strcmp): Use ANSI prototype.
5182         * string/strcpy.c: Remove unused #include of memcopy.h.
5183         (strcpy): Use ANSI prototype.
5185 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5187         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5188         * config.make.in (config-extra-cppflags): Set it from
5189         libc_extra_cppflags.
5190         * configure.ac (libc_extra_cflags): Make it accumulate over
5191         configure fragments.
5192         (libc_extra_cppflags): New flag.
5193         * configure. Regenerate.
5194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5195         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5196         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5199         [BZ #16815]
5200         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5201         result for FE_DOWNWARD rounding mode.
5202         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5203         Likewise.
5204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5206 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5208         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5209         in function argument name.
5211 2014-04-03  David Svoboda  <svoboda@cert.org>
5213         [BZ #5666]
5214         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5215         explicitly.
5217 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5219         * elf/dl-unmap-segments.h: New file.
5220         * sysdeps/generic/ldsodefs.h
5221         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5222         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5223         * elf/dl-fptr.c: Likewise.
5224         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5225         * sysdeps/aarch64/tlsdesc.c: Likewise.
5226         * sysdeps/arm/tlsdesc.c: Likewise.
5227         * sysdeps/i386/tlsdesc.c: Likewise.
5228         * sysdeps/tile/dl-runtime.c: Likewise.
5229         * sysdeps/x86_64/tlsdesc.c: Likewise.
5230         * elf/dl-load.h: New file.
5231         * elf/dl-load.c: Include it.
5232         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5233         Macros moved to dl-load.h.
5234         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5235         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5236         Use _dl_unmap_segments in place of __munmap.
5237         Break out segment-mapping loop into ...
5238         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5240 2014-04-03  Will Newton  <will.newton@linaro.org>
5242         * elf/dl-lookup.c (do_lookup_x): Remove comment
5243         referring to nested function and move variable
5244         declarations down to before first use.
5246 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5248         [BZ #16799]
5249         [BZ #16800]
5250         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5251         with 0 numerator.
5252         * math/s_catanf.c (__catanf): Likewise.
5253         * math/s_catanh.c (__catanh): Likewise.
5254         * math/s_catanhf.c (__catanhf): Likewise.
5255         * math/s_catanhl.c (__catanhl): Likewise.
5256         * math/s_catanl.c (__catanl): Likewise.
5257         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5258         by positive zero when computing -Inf result.
5259         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5260         (catanh_test): Likewise.
5261         * sysdeps/i386/fpu/libm-test-ulps: Update.
5262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5264         [BZ #16789]
5265         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5266         instead of using underflowing value in computing result.
5267         * math/s_clog10.c (__clog10): Likewise.
5268         * math/s_clog10f.c (__clog10f): Likewise.
5269         * math/s_clog10l.c (__clog10l): Likewise.
5270         * math/s_clogf.c (__clogf): Likewise.
5271         * math/s_clogl.c (__clogl): Likewise.
5272         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5273         (clog10_test): Likewise.
5274         * sysdeps/i386/fpu/libm-test-ulps: Update.
5275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5277 2014-04-02  Alan Modra  <amodra@gmail.com>
5279         [BZ #16739]
5280         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5281         output when value is near a power of two.  Use int64_t for lx and
5282         remove casts.  Use decimal rather than hex exponent constants.
5283         Don't use long double multiplication when double will suffice.
5284         * math/libm-test.inc (nextafter_test_data): Add tests.
5285         * NEWS: Add 16739 and 16786 to bug list.
5287         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5289         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5291 2014-04-01  Will Newton  <will.newton@linaro.org>
5293         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5294         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5296 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5298         [BZ #13347]
5299         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5300         * nptl/tst-setuid2.c: New file.
5301         * nptl/Makefile (xtests): Add tst-setuid2.
5303 2014-04-01  Alan Modra  <amodra@gmail.com>
5305         [BZ #16786]
5306         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5308 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5310         [BZ #6803]
5311         [BZ #6804]
5312         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5313         set errno as appropriate.
5314         * math/w_scalbf.c (__scalbf): Likewise.
5315         * math/w_scalbl.c (__scalbl): Likewise.
5316         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5317         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5318         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5319         Add more NaN tests.
5321         [BZ #16349]
5322         * math/w_atan2.c: Include <errno.h>.
5323         (__atan2): Set errno for result underflowing to zero.
5324         * math/w_atan2f.c: Include <errno.h>.
5325         (__atan2f): Set errno for result underflowing to zero.
5326         * math/w_atan2l.c: Include <errno.h>.
5327         (__atan2l): Set errno for result underflowing to zero.
5328         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5329         tests.
5330         * math/auto-libm-test-out: Regenerated.
5332 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5334         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5335         Encode instruction correctly in little endian.
5336         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5337         Likewise.
5338         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5339         Likewise.
5340         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5341         Likewise.
5342         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5343         Likewise.
5345 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5347         [BZ #9894]
5348         * sysdeps/unix/sysv/linux/kernel-features.h
5349         [__sparc__ && !__arch64__ && !__sparc_v9__]
5350         (__ASSUME_SET_ROBUST_LIST): Do not define.
5351         [__sparc__ && !__arch64__ && !__sparc_v9__]
5352         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5353         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5354         Likewise.
5355         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5356         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5357         (__ASSUME_REQUEUE_PI): Likewise.
5358         (__ASSUME_SET_ROBUST_LIST): Likewise.
5359         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5360         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5361         Undefine.
5362         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5363         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5364         Likewise.
5365         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5366         Likewise.
5367         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5368         Likewise.
5369         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5370         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5371         Undefine.
5372         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5373         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5374         Likewise.
5376         [BZ #16648]
5377         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5378         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5379         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5381 2014-03-31  Will Newton  <will.newton@linaro.org>
5383         * benchtests/Makefile (bench): Add ffs and ffsll to list
5384         of tests.
5385         * benchtests/ffs-inputs: New file.
5386         * benchtests/ffsll-inputs: Likewise.
5388 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5390         [BZ #16770]
5391         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5392         too large before casting to int.
5393         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5394         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5395         * math/libm-test.inc (scalb_test_data): Add more tests.
5397 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5399         * benchtests/Makefile (DETAILED_OPT): New make option.
5400         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5401         set.
5402         * benchtests/bench-skeleton.c: Include stdbool.h.
5403         (main): Store and print timings per input.
5404         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5405         member to each argument value.
5406         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5407         (_print_arg_data): Initialize per-input timing to 0.
5409         * benchtests/Makefile (timing-type): New binary.
5410         (bench-clean): Also remove bench-timing-type.
5411         (bench): New target for timing-type.
5412         (bench-func): Print output in JSON format.
5413         * benchtests/bench-skeleton.c (main): Print output in JSON
5414         format.
5415         * benchtests/bench-timing-type.c: New file.
5416         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5417         (TIMING_PRINT_STATS): Remove.
5418         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5419         name separately.
5421         * benchtests/bench-modf.c: Remove.
5422         * benchtests/modf-inputs: New inputs file.
5424 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5426         [BZ #16362]
5427         * math/s_clog10.c (M_PI_LOG10E): New macro.
5428         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5429         imaginary parts are 0.
5430         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5431         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5432         imaginary parts are 0.
5433         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5434         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5435         imaginary parts are 0.
5436         * math/libm-test.inc (clog10_test_data): Update expected results
5437         for when real and imaginary parts are 0.
5439 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5441         * elf/dl-load.c: Finish conversion of __builtin_expect into
5442         __glibc_{un}likely.
5444 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5446         [BZ #16348]
5447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5448         1+x for argument with exponent below -67.
5449         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5450         Likewise.
5451         * math/auto-libm-test-in: Add more tests of exp.
5452         * math/auto-libm-test-out: Regenerated.
5454 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5456         [BZ #16759]
5457         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5458         (nscd_getnetgrent): Use it.
5460         [BZ #16760]
5461         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5462         of stpcpy.
5464 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5466         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5467         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5468         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5469         (lll_robust_unlock): Remove out of line section. Use cfi
5470         intrinsics.
5471         (LLL_STUB_UNWIND_INFO*): Remove.
5472         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5473         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5474         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5475         (lll_robust_unlock): Remove out of line section. Use cfi
5476         intrinsics.
5477         (LLL_STUB_UNWIND_INFO*): Remove.
5479 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5481         [BZ #16758]
5482         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5483         blank values.
5485 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5487         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5489 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5491         [BZ #16198]
5492         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5493         fnstenv.
5494         * math/test-fenv-preserve.c: New file.
5495         * math/Makefile (tests): Add test-fenv-preserve.
5497 2014-03-26  Will Newton <will.newton@linaro.org>
5499         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5501 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5503         * scripts/versionlist.awk: Partition the version sets and emit all
5504         GLIBC_* (sorted) before all others (sorted).
5506 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5508         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5509         GLIBC_2.2.5 version.
5511 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5513         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5514         calls.
5516         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5517         previous change.
5519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5521 2014-03-25  Andreas Schwab  <schwab@suse.de>
5523         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5524         label to be used after in6ailist is initialized.
5526 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5528         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5529         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5531 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5533         [BZ #16357]
5534         [BZ #16599]
5535         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5536         min_plus_half.
5537         (fp_formats): Update initializers.
5538         (init_fp_formats): Initialize new field.
5539         (output_for_one_input_case): Allow underflow for results up to
5540         min_plus_half.
5541         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5542         * math/auto-libm-test-in: Don't mark some underflows from asin and
5543         atanh as spurious.
5544         * math/auto-libm-test-out: Regenerated.
5545         * sysdeps/i386/fpu/libm-test-ulps: Update.
5546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5548 2014-03-25  Andreas Schwab  <schwab@suse.de>
5550         * libio/Makefile (tst-ftell-partial-wide-ENV)
5551         (tst-ftell-active-handler-ENV): Define.
5553 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5555         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5557 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5559         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5561 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5563         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5564         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5565         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5567 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5569         [BZ #16634]
5570         * elf/dl-load.c (open_verify): Add mode parameter.
5571         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5572         (open_path): Change from boolean 'secure' to complete flag 'mode'
5573         (_dl_map_object): Adjust.
5574         * elf/Makefile (tests): Add tst-dlopen-aout.
5575         * elf/tst-dlopen-aout.c: New test.
5577 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5579         [BZ #16714]
5580         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5581         (struct stat): Rename member pad0 to __glibc_reserved0.
5583         [BZ #16712]
5584         * sysdeps/s390/s390-32/bits/wordsize.h
5585         (__WORDSIZE32_SIZE_ULONG): New define.
5586         * sysdeps/s390/s390-64/bits/wordsize.h
5587         (__WORDSIZE32_SIZE_ULONG): Likewise.
5588         * sysdeps/generic/stdint.h (SIZE_MAX):
5589         Define as UL if __WORDSIZE32_SIZE_ULONG.
5591         [BZ #16713]
5592         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5593         (__glibc_reserved0): New variable.
5594         (sa_flags): Change type to int.
5596         * posix/Makefile (before-compile): Use += before-compile instead
5597         of a :=.
5599         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5600         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5602 2014-03-20  Andreas Schwab  <schwab@suse.de>
5604         [BZ #16743]
5605         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5606         non-matching result from nscd.
5608 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5610         * scripts/bench.py: Moved to ...
5611         * benchtests/scripts/bench.py: ... here.
5612         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5614 2014-03-24  Andreas Schwab  <schwab@suse.de>
5616         [BZ #16002]
5617         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5618         alloca_account and account alloca use for struct in6ailist.
5620 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5622         [BZ #16284]
5623         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5624         rounding mode to recompute results that overflow to infinity or
5625         underflow to zero.
5626         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5627         bug 16284.
5628         * math/auto-libm-test-out: Regenerated.
5629         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5630         (ccosh_test): Likewise.
5631         (csin_test_data): Use plus_oflow.
5632         (csin_test): Use ALL_RM_TEST.
5633         (csinh_test_data): Use plus_oflow.
5634         (csinh_test): Use ALL_RM_TEST.
5635         * sysdeps/i386/fpu/libm-test-ulps: Update.
5636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5638 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5640         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5641         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5642         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5644         [BZ #16731]
5645         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5646         when x - 1 is zero.
5647         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5648         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5649         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5650         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5651         argument is 1.
5652         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5653         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5654         zero.
5655         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5656         * sysdeps/i386/fpu/libm-test-ulps: Update.
5657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5659 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5661         * scripts/bench.pl: Remove file.
5662         * scripts/bench.py: New benchmark script.
5663         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5664         * benchtests/README: Mention python dependency.
5665         * scripts/pylintrc: New file.
5666         * scripts/pylint: New file.
5668         * bits/mathdef.h: Use #ifdef instead of #if.
5669         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5670         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5671         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5672         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5673         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5674         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5676 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5677             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5679         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5681         and strpbrk-ppc64 objects.
5682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5683         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5684         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5685         multiarch strpbrk for POWER7.
5686         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5687         multiarch strpbrk for PPC64.
5688         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5689         ifunc selector.
5690         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5691         strpbrk for POWER7.
5693 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5695         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5696         (atan_test): Likewise.
5697         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5698         (atanh_test): Use ALL_RM_TEST.
5699         (atan2_test_data): Likewise.
5700         (cabs_test): Likewise.
5701         (cacosh_test): Likewise.
5702         (carg_test): Likewise.
5703         (casin_test): Likewise.
5704         (casinh_test): Likewise.
5705         (cbrt_test): Likewise.
5706         (csqrt_test): Likewise.
5707         (erf_test): Likewise.
5708         (erfc_test): Likewise.
5709         (pow10_test): Likewise.
5710         (exp2_test): Likewise.
5711         (hypot_test): Likewise.
5712         (j0_test): Likewise.
5713         (j1_test): Likewise.
5714         (lgamma_test): Likewise.
5715         (gamma_test): Likewise.
5716         (sincos_test): Likewise.
5717         (tanh_test): Likewise.
5718         (y0_test): Likewise.
5719         (y1_test): Likewise.
5720         * sysdeps/i386/fpu/libm-test-ulps: Update.
5721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5723 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5725         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5727         and strcspn-ppc64 objects.
5728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5729         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5730         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5731         multiarch strcspn for POWER7.
5732         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5733         multiarch strcspn for PPC64.
5734         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5735         ifunc selector.
5736         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5737         strcspn for POWER7.
5739 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5741         * math/gen-libm-test.pl (generate_testfile): Expect only function
5742         name as argument to AUTO_TESTS_* and pass results for all rounding
5743         modes to parse_args.
5744         (parse_auto_input): Separate inputs of automatic tests from
5745         outputs before storing in %auto_tests.
5746         * math/libm-test.inc (acos_test_data): Update call to
5747         AUTO_TESTS_f_f.
5748         (acos_test): Use ALL_RM_TEST.
5749         (acos_tonearest_test_data): Remove.
5750         (acos_test_tonearest): Likewise.
5751         (acos_towardzero_test_data): Likewise.
5752         (acos_test_towardzero): Likewise.
5753         (acos_downward_test_data): Likewise.
5754         (acos_test_downward): Likewise.
5755         (acos_upward_test_data): Likewise.
5756         (acos_test_upward): Likewise.
5757         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5758         (asin_test_data): Likewise.
5759         (asin_test): Use ALL_RM_TEST.
5760         (asin_tonearest_test_data): Remove.
5761         (asin_test_tonearest): Likewise.
5762         (asin_towardzero_test_data): Likewise.
5763         (asin_test_towardzero): Likewise.
5764         (asin_downward_test_data): Likewise.
5765         (asin_test_downward): Likewise.
5766         (asin_upward_test_data): Likewise.
5767         (asin_test_upward): Likewise.
5768         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5769         (atan_test_data): Likewise.
5770         (atanh_test_data): Likewise.
5771         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5772         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5773         (carg_test_data): Likewise.
5774         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5775         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5776         (ccosh_test_data): Likewise.
5777         (cexp_test_data): Likewise.
5778         (clog_test_data): Likewise.
5779         (clog10_test_data): Likewise.
5780         (cos_test_data): Update call to AUTO_TESTS_f_f.
5781         (cos_test): Use ALL_RM_TEST.
5782         (cos_tonearest_test_data): Remove.
5783         (cos_test_tonearest): Likewise.
5784         (cos_towardzero_test_data): Likewise.
5785         (cos_test_towardzero): Likewise.
5786         (cos_downward_test_data): Likewise.
5787         (cos_test_downward): Likewise.
5788         (cos_upward_test_data): Likewise.
5789         (cos_test_upward): Likewise.
5790         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5791         (cosh_test): Use ALL_RM_TEST.
5792         (cosh_tonearest_test_data): Remove.
5793         (cosh_test_tonearest): Likewise.
5794         (cosh_towardzero_test_data): Likewise.
5795         (cosh_test_towardzero): Likewise.
5796         (cosh_downward_test_data): Likewise.
5797         (cosh_test_downward): Likewise.
5798         (cosh_upward_test_data): Likewise.
5799         (cosh_test_upward): Likewise.
5800         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5801         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5802         (ctan_test_data): Likewise.
5803         (ctan_test): Use ALL_RM_TEST.
5804         (ctan_tonearest_test_data): Remove.
5805         (ctan_test_tonearest): Likewise.
5806         (ctan_towardzero_test_data): Likewise.
5807         (ctan_test_towardzero): Likewise.
5808         (ctan_downward_test_data): Likewise.
5809         (ctan_test_downward): Likewise.
5810         (ctan_upward_test_data): Likewise.
5811         (ctan_test_upward): Likewise.
5812         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5813         (ctanh_test): Use ALL_RM_TEST.
5814         (ctanh_tonearest_test_data): Remove.
5815         (ctanh_test_tonearest): Likewise.
5816         (ctanh_towardzero_test_data): Likewise.
5817         (ctanh_test_towardzero): Likewise.
5818         (ctanh_downward_test_data): Likewise.
5819         (ctanh_test_downward): Likewise.
5820         (ctanh_upward_test_data): Likewise.
5821         (ctanh_test_upward): Likewise.
5822         (erf_test_data): Update call to AUTO_TESTS_f_f.
5823         (erfc_test_data): Likewise.
5824         (exp_test_data): Likewise.
5825         (exp_test): Use ALL_RM_TEST.
5826         (exp_tonearest_test_data): Remove.
5827         (exp_test_tonearest): Likewise.
5828         (exp_towardzero_test_data): Likewise.
5829         (exp_test_towardzero): Likewise.
5830         (exp_downward_test_data): Likewise.
5831         (exp_test_downward): Likewise.
5832         (exp_upward_test_data): Likewise.
5833         (exp_test_upward): Likewise.
5834         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5835         (exp10_test): Use ALL_RM_TEST.
5836         (exp10_tonearest_test_data): Remove.
5837         (exp10_test_tonearest): Likewise.
5838         (exp10_towardzero_test_data): Likewise.
5839         (exp10_test_towardzero): Likewise.
5840         (exp10_downward_test_data): Likewise.
5841         (exp10_test_downward): Likewise.
5842         (exp10_upward_test_data): Likewise.
5843         (exp10_test_upward): Likewise.
5844         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5845         (expm1_test_data): Likewise.
5846         (expm1_test): Use ALL_RM_TEST.
5847         (expm1_tonearest_test_data): Remove.
5848         (expm1_test_tonearest): Likewise.
5849         (expm1_towardzero_test_data): Likewise.
5850         (expm1_test_towardzero): Likewise.
5851         (expm1_downward_test_data): Likewise.
5852         (expm1_test_downward): Likewise.
5853         (expm1_upward_test_data): Likewise.
5854         (expm1_test_upward): Likewise.
5855         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5856         (fma_test): Use ALL_RM_TEST.
5857         (fma_towardzero_test_data): Remove.
5858         (fma_test_towardzero): Likewise.
5859         (fma_downward_test_data): Likewise.
5860         (fma_test_downward): Likewise.
5861         (fma_upward_test_data): Likewise.
5862         (fma_test_upward): Likewise.
5863         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5864         (j0_test_data): Update call to AUTO_TESTS_f_f.
5865         (j1_test_data): Likewise.
5866         (jn_test_data): Update call to AUTO_TESTS_if_f.
5867         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5868         (log_test_data): Update call to AUTO_TESTS_f_f.
5869         (log10_test_data): Likewise.
5870         (log1p_test_data): Likewise.
5871         (log2_test_data): Likewise.
5872         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5873         (pow_tonearest_test_data): Likewise.
5874         (sin_test_data): Update call to AUTO_TESTS_f_f.
5875         (sin_test): Use ALL_RM_TEST.
5876         (sin_tonearest_test_data): Remove.
5877         (sin_test_tonearest): Likewise.
5878         (sin_towardzero_test_data): Likewise.
5879         (sin_test_towardzero): Likewise.
5880         (sin_downward_test_data): Likewise.
5881         (sin_test_downward): Likewise.
5882         (sin_upward_test_data): Likewise.
5883         (sin_test_upward): Likewise.
5884         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5885         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5886         (sinh_test): Use ALL_RM_TEST.
5887         (sinh_tonearest_test_data): Remove.
5888         (sinh_test_tonearest): Likewise.
5889         (sinh_towardzero_test_data): Likewise.
5890         (sinh_test_towardzero): Likewise.
5891         (sinh_downward_test_data): Likewise.
5892         (sinh_test_downward): Likewise.
5893         (sinh_upward_test_data): Likewise.
5894         (sinh_test_upward): Likewise.
5895         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
5896         (sqrt_test): Use ALL_RM_TEST.
5897         (sqrt_tonearest_test_data): Remove.
5898         (sqrt_test_tonearest): Likewise.
5899         (sqrt_towardzero_test_data): Likewise.
5900         (sqrt_test_towardzero): Likewise.
5901         (sqrt_downward_test_data): Likewise.
5902         (sqrt_test_downward): Likewise.
5903         (sqrt_upward_test_data): Likewise.
5904         (sqrt_test_upward): Likewise.
5905         (tan_test_data): Update call to AUTO_TESTS_f_f.
5906         (tan_test): Use ALL_RM_TEST.
5907         (tan_tonearest_test_data): Remove.
5908         (tan_test_tonearest): Likewise.
5909         (tan_towardzero_test_data): Likewise.
5910         (tan_test_towardzero): Likewise.
5911         (tan_downward_test_data): Likewise.
5912         (tan_test_downward): Likewise.
5913         (tan_upward_test_data): Likewise.
5914         (tan_test_upward): Likewise.
5915         (tanh_test_data): Update call to AUTO_TESTS_f_f.
5916         (tgamma_test_data): Likewise.
5917         (y0_test_data): Likewise.
5918         (y1_test_data): Likewise.
5919         (yn_test_data): Update call to AUTO_TESTS_if_f.
5920         (main): Do not call removed functions.
5922 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5924         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
5925         (ldexp_test_data): Remove.
5926         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
5927         scalbn_test_data.
5928         (scalb_test): Use ALL_RM_TEST.
5930 2014-03-19  Andreas Schwab  <schwab@suse.de>
5932         * nscd/nscd.service: Also invalidate netgroup cache on reload.
5934 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
5936         [BZ #16649]
5937         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5938         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
5939         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
5940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5941         (__ASSUME_PREADV): Undefine.
5942         (__ASSUME_PWRITEV): Likewise.
5944 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5946         * bits/mman-linux.h: Add comment about non-Linux use.
5947         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5948         bits/mman-linux.h resting place.
5950         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
5951         * bits/mman-linux.h: ... here.
5953 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5955         * conform/conformtest.pl: Add standard definition when calling C
5956         preprocessor on data files.
5957         (checknamespace): Remove unused variable.
5959 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5961         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
5962         minus_oflow, plus_uflow and minus_uflow in expected results.
5963         * math/libm-test.inc (scalbn_test_data): Add more tests of
5964         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
5965         minus_uflow.
5966         (scalbn_test): Use ALL_RM_TEST.
5967         (scalbln_test_data): Add more tests of negative arguments.  Use
5968         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
5969         (scalbln_test): Use ALL_RM_TEST.
5971 2014-03-18  Roland McGrath  <roland@hack.frob.com>
5973         * scripts/abilist.awk: Ignore symbols marked with .hidden.
5975 2014-03-18  Will Newton  <will.newton@linaro.org>
5977         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
5978         inaccurate comment.
5980 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
5982         * Makerules [!subdir] (check-abi): Exit with error status if a
5983         test failed.
5985 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
5987         * math/libm-test.inc (nearbyint_test_data): Include all tests used
5988         for rint.  Include results for all rounding modes.
5989         (nearbyint_test): Use ALL_RM_TEST.
5990         (rint_test_data): Include all tests used for nearbyint.
5992 2014-03-17  Will Newton  <will.newton@linaro.org>
5994         * nptl/sysdeps/pthread/pthread.h: Revert previous
5995         change.
5997         * sysdeps/generic/ldsodefs.h: Revert previous
5998         change.
6000         * libio/genops.c: Revert previous change.
6001         * libio/libioP.h: Likewise.
6002         * stdio-common/vfprintf.c: Likewise.
6004         * sysdeps/generic/math_private.h: Revert previous
6005         change.
6007         * sysdeps/generic/math_private.h: Check whether
6008         HAVE_RM_CTX is defined with #ifdef rather
6009         than #if.
6011         * argp/argp-fmtstream.h: Check whether
6012         __STRICT_ANSI__ is defined with #ifdef rather
6013         than #if.
6014         * argp/argp.h: Likewise.
6016         * libio/genops.c: Check whether
6017         _IO_JUMPS_OFFSET is defined with #ifdef rather
6018         than #if.
6019         * libio/libioP.h: Likewise.
6020         * stdio-common/vfprintf.c: Likewise.
6022         * sysdeps/generic/ldsodefs.h: Check whether
6023         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6024         than #if.
6026         * nptl/sysdeps/pthread/pthread.h: Check
6027         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6028         its value.
6030 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6032         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6033         setting O_APPEND.
6034         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6035         test case.
6037         [BZ #16680]
6038         * libio/fileops.c (_IO_file_open): Seek to end of file but
6039         don't cache the offset.
6040         (get_file_offset): Remove function.
6041         (do_ftell): Use cached offset when available.
6042         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6043         don't cache the offset.
6044         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6045         case.
6046         (do_one_test): Call it.
6047         (do_ftell_test): Fix up expected old offset for a+ mode.
6048         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6049         available.
6051         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6052         up test status with function return status.
6053         (do_write_test): Likewise.
6054         (do_append_test): Likewise.
6056         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6057         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6058         Remove.
6060 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6062         * math/gen-libm-test.pl (parse_args): Handle results specified for
6063         each rounding mode separately.
6064         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6065         tests and results from lrint_tonearest_test_data,
6066         lrint_towardzero_test_data, lrint_downward_test_data and
6067         lrint_upward_test_data.
6068         (lrint_test): Use ALL_RM_TEST.
6069         (lrint_tonearest_test_data): Remove.
6070         (lrint_test_tonearest): Likewise.
6071         (lrint_towardzero_test_data): Likewise.
6072         (lrint_test_towardzero): Likewise.
6073         (lrint_downward_test_data): Likewise.
6074         (lrint_test_downward): Likewise.
6075         (lrint_upward_test_data): Likewise.
6076         (lrint_test_upward): Likewise.
6077         (llrint_test_data): Merge in per-rounding-mode tests and results
6078         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6079         llrint_downward_test_data and llrint_upward_test_data.
6080         (llrint_test): Use ALL_RM_TEST.
6081         (llrint_tonearest_test_data): Remove.
6082         (llrint_test_tonearest): Likewise.
6083         (llrint_towardzero_test_data): Likewise.
6084         (llrint_test_towardzero): Likewise.
6085         (llrint_downward_test_data): Likewise.
6086         (llrint_test_downward): Likewise.
6087         (llrint_upward_test_data): Likewise.
6088         (llrint_test_upward): Likewise.
6089         (rint_test_data): Merge in per-rounding-mode tests and results
6090         from rint_tonearest_test_data, rint_towardzero_test_data,
6091         rint_downward_test_data and rint_upward_test_data.  Add
6092         per-rounding-mode results for tests not in those arrays.
6093         (rint_test): Use ALL_RM_TEST.
6094         (rint_tonearest_test_data): Remove.
6095         (rint_test_tonearest): Likewise.
6096         (rint_towardzero_test_data): Likewise.
6097         (rint_test_towardzero): Likewise.
6098         (rint_downward_test_data): Likewise.
6099         (rint_test_downward): Likewise.
6100         (rint_upward_test_data): Likewise.
6101         (rint_test_upward): Likewise.
6102         (main): Don't call removed functions.
6104 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6106         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6107         "Compiled on ..." crapola.  It is anti-useful.
6109 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6111         * scripts/evaluate-test.sh: Handle fourth argument to determine
6112         whether test run should stop on failure.
6113         * Makeconfig (stop-on-test-failure): New variable.
6114         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6115         $(stop-on-test-failure).
6116         * Makefile (tests): Give a summary of results from testing and
6117         exit with failure status if they include an ERROR or FAIL.
6118         (xtests): Likewise.
6119         * manual/install.texi (Configuring and compiling): Mention
6120         stop-on-test-failure=y.
6121         * INSTALL: Regenerated.
6123 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6125         * scripts/versionlist.awk: New file.
6126         * Makerules [$(build-shared) = yes]
6127         (postclean-generated): Add Versions.def, not Versions.def.v and
6128         Versions.def.v.i.
6129         ($(common-objpfx)Versions.def.v.i): Target removed.
6130         ($(common-objpfx)Versions.def): New target.
6131         ($(common-objpfx)Versions.all): Depend on that rather that
6132         $(common-objpfx)Versions.def.v.
6133         * Versions.def: File removed.
6135         * Makeconfig (+gccwarn): Add -Wundef.
6136         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6137         a dl-sysdep.h breaking its contract.
6138         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6139         * include/stackinfo.h: New file.
6140         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6141         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6142         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6143         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6144         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6145         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6146         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6147         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6148         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6149         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6150         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6151         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6152         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6153         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6154         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6156 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6158         [BZ #16707]
6159         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6160         implementation.
6161         * math/libm-test.inc (round_test_data): Add more tests.
6163         [BZ #16706]
6164         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6165         implementation.
6166         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6168         [BZ #16701]
6169         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6170         implementation.
6171         * math/libm-test.inc (ceil_test_data): Add more tests.
6173         * math/libm-test.inc (trunc_test_data): Add more tests related to
6174         BZ#16414.
6176 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6178         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6179         with #if rather than #ifdef.
6180         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6182 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6184         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6185         first.  Disable AVX-512 GCC support if assembler doesn't support
6186         it.
6187         * sysdeps/x86_64/configure: Regenerated.
6189 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6191         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6192         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6193         (__old_pthread_attr_setstack): Likewise.
6194         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6195         [!_STACK_GROWS_DOWN]: Likewise.
6197 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6199         * config.make.in (have-bash2): Delete.
6200         * configure.ac (libc_cv_have_bash2): Delete.
6201         * configure: Regenerate.
6202         * elf/Makefile (common-ldd-rewrite): Rename to ...
6203         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6204         (sh-ldd-rewrite): Delete.
6205         (bash-ldd-rewrite): Delete.
6206         (have-bash2): Delete checks.
6207         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6208         ldd-rewrite.
6210         * config.make.in (have-ksh): Delete.
6211         (KSH): Delete.
6212         * configure.ac (libc_cv_have_ksh): Delete.
6213         * configure: Regenerate.
6215         * elf/Makefile: Delete $(have-ksh) check.
6216         ($(objpfx)sotruss): Change KSH to BASH.
6217         * elf/sotruss.ksh: Rename to ...
6218         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6219         function style to match POSIX.  Drop ksh vim mode setting.
6221         * manual/time.texi (Specifying the Time Zone with TZ): Change
6222         Tuesday to Thursday.
6224         * debug/tst-longjmp_chk2.c: Update header comment.
6225         (stackoverflow_handler): Add comment.  Call assert on pass value.
6227 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6229         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6230         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6231         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6232         (La_x86_64_vector): Add zmm.
6233         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6234         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6235         ($(objpfx)tst-audit10): New target.
6236         ($(objpfx)tst-audit10.out): Likewise.
6237         (tst-audit10-ENV): New.
6238         (AVX512-CFLAGS): Likewise.
6239         (CFLAGS-tst-audit10.c): Likewise.
6240         (CFLAGS-tst-auditmod10a.c): Likewise.
6241         (CFLAGS-tst-auditmod10b.c): Likewise.
6242         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6243         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6244         * sysdeps/x86_64/configure: Regenerated.
6245         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6246         AVX-512 zmm register support.
6247         (_dl_x86_64_save_sse): Likewise.
6248         (_dl_x86_64_restore_sse): Likewise.
6249         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6250         size vector registers.
6251         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6252         (ZMM_SIZE): Likewise.
6253         * sysdeps/x86_64/tst-audit10.c: New file.
6254         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6255         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6257 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6259         * configure.ac (HAVE_EHDR_START): New check.
6260         * configure: Regenerated.
6261         * config.h.in (HAVE_EHDR_START): New #undef.
6262         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6263         assuming the lowest-addressed segment maps the start of the file.
6265 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6267         * INSTALL: Regenerated.
6269 2014-03-13  Will Newton  <will.newton@linaro.org>
6271         * manual/setjmp.texi (System V contexts): Improve
6272         clarity and grammar of documentation.
6274 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6276         [BZ #16381]
6277         * elf/Makefile (tests): Add tst-pie2.
6278         (tests-pie): Add tst-pie2.
6279         * elf/tst-pie2.c: New file.
6280         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6281         for ET_EXEC.
6282         * elf/rtld.c (map_doit): Load executable as lt_executable.
6283         (dl_main): Likewise.
6285 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6287         [BZ #16642]
6288         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6289         (__ASSUME_PSELECT): Undefine.
6291 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6293         [BZ #16689]
6294         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6295         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6296         static build.
6297         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6298         selector for static builds.
6300 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6302         [BZ #16695]
6303         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6304         key in the buffer.
6306 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6308         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6309         IFUNC selector for static builds.
6311 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6313         * sysdeps/mips/math_private.h [__mips_hard_float]
6314         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6315         libc_feresetround_mips_ctx.
6316         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6317         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6318         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6320         [BZ #16677]
6321         * math/s_nextafter.c (__nextafter): Do not return value from
6322         overflowing computation.
6323         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6324         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6325         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6326         Likewise.
6327         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6328         Likewise.
6329         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6330         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6332 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6334         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6335         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6336         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6337         the new mov targetting sp.
6339 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6341         [BZ #16683]
6342         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6343         Define it for static builds as well.
6344         (NO_BZERO_IMPL): Likewise.
6346 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6348         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6349         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6350         multiarch strspn for PPC64.
6351         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6352         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6354         (__libc_ifunc_impl_list): Likewise.
6355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6356         multiarch optimizations
6357         * string/strspn.c (strspn): Using macro to redefine symbol name.
6359 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6360             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6362         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6363         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6364         multiarch strncat for PPC64.
6365         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6366         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6368         (__libc_ifunc_impl_list): Likewise.
6369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6370         multiarch optimizations
6372 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6374         [BZ #16639]
6375         * nscd/nscd.service: Make service type forking.
6377 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6379         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6380         sign in non default rounding modes.
6381         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6383 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6385         * math/libm-test.inc (ALL_RM_TEST): New macro.
6386         (ceil_test): Use ALL_RM_TEST.
6387         (cimag_test): Likewise.
6388         (conj_test): Likewise.
6389         (copysign_test): Likewise.
6390         (cproj_test): Likewise.
6391         (creal_test): Likewise.
6392         (fabs_test): Likewise.
6393         (floor_test): Likewise.
6394         (fmax_test): Likewise.
6395         (fmin_test): Likewise.
6396         (fmod_test): Likewise.
6397         (fpclassify_test): Likewise.
6398         (frexp_test): Likewise.
6399         (ilogb_test): Likewise.
6400         (isfinite_test): Likewise.
6401         (finite_test): Likewise.
6402         (isgreater_test): Likewise.
6403         (isgreaterequal_test): Likewise.
6404         (isinf_test): Likewise.
6405         (isless_test): Likewise.
6406         (islessequal_test): Likewise.
6407         (islessgreater_test): Likewise.
6408         (isnan_test): Likewise.
6409         (isnormal_test): Likewise.
6410         (issignaling_test): Likewise.
6411         (isunordered_test): Likewise.
6412         (logb_test): Likewise.
6413         (logb_downward_test_data): Remove.
6414         (logb_test_downward): Likewise.
6415         (lround_test): Use ALL_RM_TEST.
6416         (llround_test): Likewise.
6417         (modf_test): Likewise.
6418         (nexttoward_test): Likewise.
6419         (remainder_test): Likewise.
6420         (drem_test): Likewise.
6421         (remainder_tonearest_test_data): Likewise.
6422         (remainder_test_tonearest): Likewise.
6423         (drem_test_tonearest): Likewise.
6424         (remainder_towardzero_test_data): Likewise.
6425         (remainder_test_towardzero): Likewise.
6426         (drem_test_towardzero): Likewise.
6427         (remainder_downward_test_data): Likewise.
6428         (remainder_test_downward): Likewise.
6429         (drem_test_downward): Likewise.
6430         (remainder_upward_test_data): Likewise.
6431         (remainder_test_upward): Likewise.
6432         (drem_test_upward): Likewise.
6433         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6434         (round_test): Use ALL_RM_TEST.
6435         (signbit_test): Likewise.
6436         (trunc_test): Likewise.
6437         (significand_test): Likewise.
6438         (main): Don't call removed functions.
6440 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6442         [BZ #16674]
6443         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6444         || __USE_XOPEN2K8].
6445         (ILL_ILLOPN): Likewise.
6446         (ILL_ILLADR): Likewise.
6447         (ILL_ILLTRP): Likewise.
6448         (ILL_PRVOPC): Likewise.
6449         (ILL_PRVREG): Likewise.
6450         (ILL_COPROC): Likewise.
6451         (ILL_BADSTK): Likewise.
6452         (FPE_INTDIV): Likewise.
6453         (FPE_INTOVF): Likewise.
6454         (FPE_FLTDIV): Likewise.
6455         (FPE_FLTOVF): Likewise.
6456         (FPE_FLTUND): Likewise.
6457         (FPE_FLTRES): Likewise.
6458         (FPE_FLTINV): Likewise.
6459         (FPE_FLTSUB): Likewise.
6460         (SEGV_MAPERR): Likewise.
6461         (SEGV_ACCERR): Likewise.
6462         (BUS_ADRALN): Likewise.
6463         (BUS_ADRERR): Likewise.
6464         (BUS_OBJERR): Likewise.
6465         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6466         (TRAP_TRACE): Likewise.
6467         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6468         __USE_XOPEN2K8].
6469         (CLD_KILLED): Likewise.
6470         (CLD_DUMPED): Likewise.
6471         (CLD_TRAPPED): Likewise.
6472         (CLD_STOPPED): Likewise.
6473         (CLD_CONTINUED): Likewise.
6474         (POLL_IN): Likewise.
6475         (POLL_OUT): Likewise.
6476         (POLL_MSG): Likewise.
6477         (POLL_ERR): Likewise.
6478         (POLL_PRI): Likewise.
6479         (POLL_HUP): Likewise.
6480         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6481         Likewise.
6482         (ILL_ILLOPN): Likewise.
6483         (ILL_ILLADR): Likewise.
6484         (ILL_ILLTRP): Likewise.
6485         (ILL_PRVOPC): Likewise.
6486         (ILL_PRVREG): Likewise.
6487         (ILL_COPROC): Likewise.
6488         (ILL_BADSTK): Likewise.
6489         (FPE_INTDIV): Likewise.
6490         (FPE_INTOVF): Likewise.
6491         (FPE_FLTDIV): Likewise.
6492         (FPE_FLTOVF): Likewise.
6493         (FPE_FLTUND): Likewise.
6494         (FPE_FLTRES): Likewise.
6495         (FPE_FLTINV): Likewise.
6496         (FPE_FLTSUB): Likewise.
6497         (SEGV_MAPERR): Likewise.
6498         (SEGV_ACCERR): Likewise.
6499         (BUS_ADRALN): Likewise.
6500         (BUS_ADRERR): Likewise.
6501         (BUS_OBJERR): Likewise.
6502         (BUS_MCEERR_AR): Likewise.
6503         (BUS_MCEERR_AO): Likewise.
6504         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6505         (TRAP_TRACE): Likewise.
6506         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6507         __USE_XOPEN2K8].
6508         (CLD_KILLED): Likewise.
6509         (CLD_DUMPED): Likewise.
6510         (CLD_TRAPPED): Likewise.
6511         (CLD_STOPPED): Likewise.
6512         (CLD_CONTINUED): Likewise.
6513         (POLL_IN): Likewise.
6514         (POLL_OUT): Likewise.
6515         (POLL_MSG): Likewise.
6516         (POLL_ERR): Likewise.
6517         (POLL_PRI): Likewise.
6518         (POLL_HUP): Likewise.
6519         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6520         (ILL_ILLOPN): Likewise.
6521         (ILL_ILLADR): Likewise.
6522         (ILL_ILLTRP): Likewise.
6523         (ILL_PRVOPC): Likewise.
6524         (ILL_PRVREG): Likewise.
6525         (ILL_COPROC): Likewise.
6526         (ILL_BADSTK): Likewise.
6527         (FPE_INTDIV): Likewise.
6528         (FPE_INTOVF): Likewise.
6529         (FPE_FLTDIV): Likewise.
6530         (FPE_FLTOVF): Likewise.
6531         (FPE_FLTUND): Likewise.
6532         (FPE_FLTRES): Likewise.
6533         (FPE_FLTINV): Likewise.
6534         (FPE_FLTSUB): Likewise.
6535         (SEGV_MAPERR): Likewise.
6536         (SEGV_ACCERR): Likewise.
6537         (BUS_ADRALN): Likewise.
6538         (BUS_ADRERR): Likewise.
6539         (BUS_OBJERR): Likewise.
6540         (BUS_MCEERR_AR): Likewise.
6541         (BUS_MCEERR_AO): Likewise.
6542         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6543         (TRAP_TRACE): Likewise.
6544         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6545         __USE_XOPEN2K8].
6546         (CLD_KILLED): Likewise.
6547         (CLD_DUMPED): Likewise.
6548         (CLD_TRAPPED): Likewise.
6549         (CLD_STOPPED): Likewise.
6550         (CLD_CONTINUED): Likewise.
6551         (POLL_IN): Likewise.
6552         (POLL_OUT): Likewise.
6553         (POLL_MSG): Likewise.
6554         (POLL_ERR): Likewise.
6555         (POLL_PRI): Likewise.
6556         (POLL_HUP): Likewise.
6557         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6558         Likewise.
6559         (ILL_ILLOPN): Likewise.
6560         (ILL_ILLADR): Likewise.
6561         (ILL_ILLTRP): Likewise.
6562         (ILL_PRVOPC): Likewise.
6563         (ILL_PRVREG): Likewise.
6564         (ILL_COPROC): Likewise.
6565         (ILL_BADSTK): Likewise.
6566         (ILL_BADIADDR): Likewise.
6567         (ILL_BREAK): Likewise.
6568         (FPE_INTDIV): Likewise.
6569         (FPE_INTOVF): Likewise.
6570         (FPE_FLTDIV): Likewise.
6571         (FPE_FLTOVF): Likewise.
6572         (FPE_FLTUND): Likewise.
6573         (FPE_FLTRES): Likewise.
6574         (FPE_FLTINV): Likewise.
6575         (FPE_FLTSUB): Likewise.
6576         (FPE_DECOVF): Likewise.
6577         (FPE_DECDIV): Likewise.
6578         (FPE_DECERR): Likewise.
6579         (FPE_INVASC): Likewise.
6580         (FPE_INVDEC): Likewise.
6581         (SEGV_MAPERR): Likewise.
6582         (SEGV_ACCERR): Likewise.
6583         (SEGV_PSTKOVF): Likewise.
6584         (BUS_ADRALN): Likewise.
6585         (BUS_ADRERR): Likewise.
6586         (BUS_OBJERR): Likewise.
6587         (BUS_MCEERR_AR): Likewise.
6588         (BUS_MCEERR_AO): Likewise.
6589         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6590         (TRAP_TRACE): Likewise.
6591         (TRAP_BRANCH): Likewise.
6592         (TRAP_HWBKPT): Likewise.
6593         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6594         __USE_XOPEN2K8].
6595         (CLD_KILLED): Likewise.
6596         (CLD_DUMPED): Likewise.
6597         (CLD_TRAPPED): Likewise.
6598         (CLD_STOPPED): Likewise.
6599         (CLD_CONTINUED): Likewise.
6600         (POLL_IN): Likewise.
6601         (POLL_OUT): Likewise.
6602         (POLL_MSG): Likewise.
6603         (POLL_ERR): Likewise.
6604         (POLL_PRI): Likewise.
6605         (POLL_HUP): Likewise.
6606         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6607         (ILL_ILLOPN): Likewise.
6608         (ILL_ILLADR): Likewise.
6609         (ILL_ILLTRP): Likewise.
6610         (ILL_PRVOPC): Likewise.
6611         (ILL_PRVREG): Likewise.
6612         (ILL_COPROC): Likewise.
6613         (ILL_BADSTK): Likewise.
6614         (FPE_INTDIV): Likewise.
6615         (FPE_INTOVF): Likewise.
6616         (FPE_FLTDIV): Likewise.
6617         (FPE_FLTOVF): Likewise.
6618         (FPE_FLTUND): Likewise.
6619         (FPE_FLTRES): Likewise.
6620         (FPE_FLTINV): Likewise.
6621         (FPE_FLTSUB): Likewise.
6622         (SEGV_MAPERR): Likewise.
6623         (SEGV_ACCERR): Likewise.
6624         (BUS_ADRALN): Likewise.
6625         (BUS_ADRERR): Likewise.
6626         (BUS_OBJERR): Likewise.
6627         (BUS_MCEERR_AR): Likewise.
6628         (BUS_MCEERR_AO): Likewise.
6629         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6630         (TRAP_TRACE): Likewise.
6631         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6632         __USE_XOPEN2K8].
6633         (CLD_KILLED): Likewise.
6634         (CLD_DUMPED): Likewise.
6635         (CLD_TRAPPED): Likewise.
6636         (CLD_STOPPED): Likewise.
6637         (CLD_CONTINUED): Likewise.
6638         (POLL_IN): Likewise.
6639         (POLL_OUT): Likewise.
6640         (POLL_MSG): Likewise.
6641         (POLL_ERR): Likewise.
6642         (POLL_PRI): Likewise.
6643         (POLL_HUP): Likewise.
6644         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6645         (ILL_ILLOPN): Likewise.
6646         (ILL_ILLADR): Likewise.
6647         (ILL_ILLTRP): Likewise.
6648         (ILL_PRVOPC): Likewise.
6649         (ILL_PRVREG): Likewise.
6650         (ILL_COPROC): Likewise.
6651         (ILL_BADSTK): Likewise.
6652         (FPE_INTDIV): Likewise.
6653         (FPE_INTOVF): Likewise.
6654         (FPE_FLTDIV): Likewise.
6655         (FPE_FLTOVF): Likewise.
6656         (FPE_FLTUND): Likewise.
6657         (FPE_FLTRES): Likewise.
6658         (FPE_FLTINV): Likewise.
6659         (FPE_FLTSUB): Likewise.
6660         (SEGV_MAPERR): Likewise.
6661         (SEGV_ACCERR): Likewise.
6662         (BUS_ADRALN): Likewise.
6663         (BUS_ADRERR): Likewise.
6664         (BUS_OBJERR): Likewise.
6665         (BUS_MCEERR_AR): Likewise.
6666         (BUS_MCEERR_AO): Likewise.
6667         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6668         (TRAP_TRACE): Likewise.
6669         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6670         __USE_XOPEN2K8].
6671         (CLD_KILLED): Likewise.
6672         (CLD_DUMPED): Likewise.
6673         (CLD_TRAPPED): Likewise.
6674         (CLD_STOPPED): Likewise.
6675         (CLD_CONTINUED): Likewise.
6676         (POLL_IN): Likewise.
6677         (POLL_OUT): Likewise.
6678         (POLL_MSG): Likewise.
6679         (POLL_ERR): Likewise.
6680         (POLL_PRI): Likewise.
6681         (POLL_HUP): Likewise.
6682         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6683         (ILL_ILLOPN): Likewise.
6684         (ILL_ILLADR): Likewise.
6685         (ILL_ILLTRP): Likewise.
6686         (ILL_PRVOPC): Likewise.
6687         (ILL_PRVREG): Likewise.
6688         (ILL_COPROC): Likewise.
6689         (ILL_BADSTK): Likewise.
6690         (FPE_INTDIV): Likewise.
6691         (FPE_INTOVF): Likewise.
6692         (FPE_FLTDIV): Likewise.
6693         (FPE_FLTOVF): Likewise.
6694         (FPE_FLTUND): Likewise.
6695         (FPE_FLTRES): Likewise.
6696         (FPE_FLTINV): Likewise.
6697         (FPE_FLTSUB): Likewise.
6698         (SEGV_MAPERR): Likewise.
6699         (SEGV_ACCERR): Likewise.
6700         (BUS_ADRALN): Likewise.
6701         (BUS_ADRERR): Likewise.
6702         (BUS_OBJERR): Likewise.
6703         (BUS_MCEERR_AR): Likewise.
6704         (BUS_MCEERR_AO): Likewise.
6705         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6706         (TRAP_TRACE): Likewise.
6707         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6708         __USE_XOPEN2K8].
6709         (CLD_KILLED): Likewise.
6710         (CLD_DUMPED): Likewise.
6711         (CLD_TRAPPED): Likewise.
6712         (CLD_STOPPED): Likewise.
6713         (CLD_CONTINUED): Likewise.
6714         (POLL_IN): Likewise.
6715         (POLL_OUT): Likewise.
6716         (POLL_MSG): Likewise.
6717         (POLL_ERR): Likewise.
6718         (POLL_PRI): Likewise.
6719         (POLL_HUP): Likewise.
6720         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6721         (ILL_ILLOPN): Likewise.
6722         (ILL_ILLADR): Likewise.
6723         (ILL_ILLTRP): Likewise.
6724         (ILL_PRVOPC): Likewise.
6725         (ILL_PRVREG): Likewise.
6726         (ILL_COPROC): Likewise.
6727         (ILL_BADSTK): Likewise.
6728         (ILL_DBLFLT): Likewise.
6729         (ILL_HARDWALL): Likewise.
6730         (FPE_INTDIV): Likewise.
6731         (FPE_INTOVF): Likewise.
6732         (FPE_FLTDIV): Likewise.
6733         (FPE_FLTOVF): Likewise.
6734         (FPE_FLTUND): Likewise.
6735         (FPE_FLTRES): Likewise.
6736         (FPE_FLTINV): Likewise.
6737         (FPE_FLTSUB): Likewise.
6738         (SEGV_MAPERR): Likewise.
6739         (SEGV_ACCERR): Likewise.
6740         (BUS_ADRALN): Likewise.
6741         (BUS_ADRERR): Likewise.
6742         (BUS_OBJERR): Likewise.
6743         (BUS_MCEERR_AR): Likewise.
6744         (BUS_MCEERR_AO): Likewise.
6745         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6746         (TRAP_TRACE): Likewise.
6747         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6748         __USE_XOPEN2K8].
6749         (CLD_KILLED): Likewise.
6750         (CLD_DUMPED): Likewise.
6751         (CLD_TRAPPED): Likewise.
6752         (CLD_STOPPED): Likewise.
6753         (CLD_CONTINUED): Likewise.
6754         (POLL_IN): Likewise.
6755         (POLL_OUT): Likewise.
6756         (POLL_MSG): Likewise.
6757         (POLL_ERR): Likewise.
6758         (POLL_PRI): Likewise.
6759         (POLL_HUP): Likewise.
6760         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6761         (ILL_ILLOPN): Likewise.
6762         (ILL_ILLADR): Likewise.
6763         (ILL_ILLTRP): Likewise.
6764         (ILL_PRVOPC): Likewise.
6765         (ILL_PRVREG): Likewise.
6766         (ILL_COPROC): Likewise.
6767         (ILL_BADSTK): Likewise.
6768         (FPE_INTDIV): Likewise.
6769         (FPE_INTOVF): Likewise.
6770         (FPE_FLTDIV): Likewise.
6771         (FPE_FLTOVF): Likewise.
6772         (FPE_FLTUND): Likewise.
6773         (FPE_FLTRES): Likewise.
6774         (FPE_FLTINV): Likewise.
6775         (FPE_FLTSUB): Likewise.
6776         (SEGV_MAPERR): Likewise.
6777         (SEGV_ACCERR): Likewise.
6778         (BUS_ADRALN): Likewise.
6779         (BUS_ADRERR): Likewise.
6780         (BUS_OBJERR): Likewise.
6781         (BUS_MCEERR_AR): Likewise.
6782         (BUS_MCEERR_AO): Likewise.
6783         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6784         (TRAP_TRACE): Likewise.
6785         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6786         __USE_XOPEN2K8].
6787         (CLD_KILLED): Likewise.
6788         (CLD_DUMPED): Likewise.
6789         (CLD_TRAPPED): Likewise.
6790         (CLD_STOPPED): Likewise.
6791         (CLD_CONTINUED): Likewise.
6792         (POLL_IN): Likewise.
6793         (POLL_OUT): Likewise.
6794         (POLL_MSG): Likewise.
6795         (POLL_ERR): Likewise.
6796         (POLL_PRI): Likewise.
6797         (POLL_HUP): Likewise.
6798         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6799         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6801         [BZ #16670]
6802         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6803         before #include of <time.h>.
6804         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6805         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6806         (test-xfail-UNIX98/sched.h/conform): Likewise.
6808 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6810         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6811         error absence of trapping exception support.
6812         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6814 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6816         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6817         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6818         * timezone/Makefile (testdata): Move definition above include of
6819         Rules.
6820         (test-zones): New variable.
6821         (tests-special): Add zone files.
6822         (build-testdata): Use $(evaluate-test).
6824         * elf/Makefile (tests-special): Rename tests to end with .out.
6825         ($(objpfx)noload-mem): Likewise.
6826         ($(objpfx)tst-leaks1-mem): Likewise.
6827         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6828         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6829         $(objpfx)test-iconvconfig.out.
6830         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6831         set -e inside subshell and redirect output to file.
6832         * iconvdata/Makefile (generated): Rename tests to end with .out.
6833         Correct type.
6834         (tests-special): Rename tests to end with .out.
6835         ($(objpfx)mtrace-tst-loading): Likewise.
6836         * intl/Makefile (generated): Likewise.
6837         (tests-special): Likewise.
6838         ($(objpfx)mtrace-tst-gettext): Likewise.
6839         * misc/Makefile (generated): Likewise.
6840         (tests-special): Likewise.
6841         ($(objpfx)tst-error1-mem): Likewise.
6842         * nptl/Makefile (tests-special): Likewise.
6843         ($(objpfx)tst-stack3-mem): Likewise.
6844         (generated): Likewise.
6845         * posix/Makefile (generated): Likewise.
6846         (tests-special): Likewise.
6847         (xtests-special): Likewise.
6848         ($(objpfx)tst-fnmatch-mem): Likewise.
6849         ($(objpfx)bug-regex2-mem): Likewise.
6850         ($(objpfx)bug-regex14-mem): Likewise.
6851         ($(objpfx)bug-regex21-mem): Likewise.
6852         ($(objpfx)bug-regex31-mem): Likewise.
6853         ($(objpfx)tst-vfork3-mem): Likewise.
6854         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6855         ($(objpfx)tst-pcre-mem): Likewise.
6856         ($(objpfx)tst-boost-mem): Likewise.
6857         ($(objpfx)bug-ga2-mem): Likewise.
6858         ($(objpfx)bug-glob2-mem): Likewise.
6859         * resolv/Makefile (generate): Likewise.
6860         (tests-special): Likewise.
6861         (xtests-special): Likewise.
6862         (generated): Likewise.
6863         ($(objpfx)mtrace-tst-leaks): Likewise.
6864         ($(objpfx)mtrace-tst-leaks2): Likewise.
6866         * scripts/merge-test-results.sh: New file.
6867         * Makefile (tests-special-notdir): New variable.
6868         (tests): Run merge-test-results.sh.
6869         (xtests): Likewise.
6870         * Rules (tests-special-notdir): New variable.
6871         (xtests-special-notdir): Likewise.
6872         (tests): Run merge-test-results.sh
6873         (xtests): Likewise.
6875         * Makeconfig (test-xfail-name): New variable.
6876         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6877         compute variable name for expected failures.
6878         * conform/Makefile (conformtest-headers-data): New variable.
6879         (conformtest-standards): Likewise.
6880         (conformtest-headers-ISO): Likewise.
6881         (conformtest-headers-ISO99): Likewise.
6882         (conformtest-headers-ISO11): Likewise.
6883         (conformtest-headers-POSIX): Likewise.
6884         (conformtest-headers-XPG3): Likewise.
6885         (conformtest-headers-XPG4): Likewise.
6886         (conformtest-headers-UNIX98): Likewise.
6887         (conformtest-headers-XOPEN2K): Likewise.
6888         (conformtest-headers-POSIX2008): Likewise.
6889         (conformtest-headers-XOPEN2K8): Likewise.
6890         (conformtest-header-list-base): Likewise.
6891         (conformtest-header-list-tests): Likewise.
6892         (conformtest-header-base): Likewise.
6893         (conformtest-header-tests): Likewise.
6894         (tests-special): Add $(conformtest-header-list-tests).  If
6895         [$(fast-check) && !$(cross-compiling)], add
6896         $(conformtest-header-tests) instead of
6897         $(objpfx)run-conformtest.out.
6898         (generated): Add $(conformtest-header-list-base).  If
6899         [$(fast-check) && !$(cross-compiling)], add
6900         $(conformtest-header-base).  Remove previous setting.
6901         ($(conformtest-header-list-tests)): New target.
6902         (test-xfail-run-conformtest): Remove variable.
6903         ($(objpfx)run-conformtest.out): Remove target.
6904         (test-xfail-ISO11/complex.h/conform): New variable.
6905         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6906         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6907         (test-xfail-XPG3/varargs.h/conform): Likewise.
6908         (test-xfail-XPG4/varargs.h/conform): Likewise.
6909         (test-xfail-UNIX98/varargs.h/conform): Likewise.
6910         (test-xfail-XPG4/ndbm.h/conform): Likewise.
6911         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
6912         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
6913         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
6914         (test-xfail-XPG3/fcntl.h/conform): Likewise.
6915         (test-xfail-XPG3/ftw.h/conform): Likewise.
6916         (test-xfail-XPG3/grp.h/conform): Likewise.
6917         (test-xfail-XPG3/langinfo.h/conform): Likewise.
6918         (test-xfail-XPG3/limits.h/conform): Likewise.
6919         (test-xfail-XPG3/pwd.h/conform): Likewise.
6920         (test-xfail-XPG3/search.h/conform): Likewise.
6921         (test-xfail-XPG3/signal.h/conform): Likewise.
6922         (test-xfail-XPG3/stdio.h/conform): Likewise.
6923         (test-xfail-XPG3/stdlib.h/conform): Likewise.
6924         (test-xfail-XPG3/string.h/conform): Likewise.
6925         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
6926         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
6927         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
6928         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6929         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
6930         (test-xfail-XPG3/sys/types.h/conform): Likewise.
6931         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
6932         (test-xfail-XPG3/termios.h/conform): Likewise.
6933         (test-xfail-XPG3/time.h/conform): Likewise.
6934         (test-xfail-XPG3/unistd.h/conform): Likewise.
6935         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
6936         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6937         (test-xfail-XPG4/langinfo.h/conform): Likewise.
6938         (test-xfail-XPG4/netdb.h/conform): Likewise.
6939         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
6940         (test-xfail-XPG4/signal.h/conform): Likewise.
6941         (test-xfail-XPG4/stdio.h/conform): Likewise.
6942         (test-xfail-XPG4/stdlib.h/conform): Likewise.
6943         (test-xfail-XPG4/stropts.h/conform): Likewise.
6944         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
6945         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6946         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
6947         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6948         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
6949         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
6950         (test-xfail-XPG4/sys/time.h/conform): Likewise.
6951         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6952         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
6953         (test-xfail-XPG4/termios.h/conform): Likewise.
6954         (test-xfail-XPG4/ucontext.h/conform): Likewise.
6955         (test-xfail-XPG4/unistd.h/conform): Likewise.
6956         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6957         (test-xfail-POSIX/sched.h/conform): Likewise.
6958         (test-xfail-POSIX/signal.h/conform): Likewise.
6959         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6960         (test-xfail-POSIX/tar.h/conform): Likewise.
6961         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
6962         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
6963         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
6964         (test-xfail-UNIX98/netdb.h/conform): Likewise.
6965         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
6966         (test-xfail-UNIX98/sched.h/conform): Likewise.
6967         (test-xfail-UNIX98/signal.h/conform): Likewise.
6968         (test-xfail-UNIX98/stdio.h/conform): Likewise.
6969         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6970         (test-xfail-UNIX98/stropts.h/conform): Likewise.
6971         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
6972         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6973         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
6974         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6975         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
6976         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6977         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
6978         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
6979         (test-xfail-UNIX98/unistd.h/conform): Likewise.
6980         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6981         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
6982         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
6983         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6984         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
6985         (test-xfail-XOPEN2K/math.h/conform): Likewise.
6986         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
6987         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6988         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6989         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
6990         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
6991         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
6992         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
6993         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
6994         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
6995         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6996         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
6997         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6998         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
6999         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7000         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7001         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7002         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7003         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7004         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7005         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7006         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7007         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7008         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7009         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7010         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7011         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7012         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7013         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7014         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7015         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7016         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7017         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7018         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7019         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7020         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7021         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7022         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7023         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7024         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7025         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7026         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7027         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7028         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7029         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7030         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7031         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7032         (conformtest-cc-flags): Likewise.
7033         ($(conformtest-header-tests): New target.
7034         * conform/check-header-lists.sh: New file.
7035         * conform/run-conformtest.sh: Remove.
7037         * conform/conformtest.pl: Allow ' and \ in values given for
7038         constants.
7039         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7040         inclusion.
7041         [POSIX] (sys/types.h): Likewise.
7042         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7043         inclusion.
7044         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7045         inclusion.
7046         * conform/data/signal.h-data (SIGIO): Remove expectation.
7047         [XPG3] (SIGBUS): Do not expect.
7048         [POSIX || XPG3] (SIGPOLL): Likewise.
7049         [POSIX || XPG3] (SIGPROF): Likewise.
7050         [POSIX || XPG3] (SIGSYS): Likewise.
7051         [XPG3] (SIGTRAP): Likewise.
7052         [POSIX || XPG3] (SIGURG): Likewise.
7053         [POSIX || XPG3] (SIGVTALRM): Likewise.
7054         [POSIX || XPG3] (SIGXCPU): Likewise.
7055         [POSIX || XPG3] (SIGXFSZ): Likewise.
7056         [POSIX] (SA_SIGINFO): Expect.
7057         [XPG3] (siginfo_t): Do not expect type or contents.
7058         [POSIX] (si_pid): Do not expect element.
7059         [POSIX] (si_uid): Likewise.
7060         [POSIX] (si_addr): Likewise.
7061         [POSIX] (si_status): Likewise.
7062         [POSIX] (si_band): Likewise.
7063         [XPG4] (si_value): Likewise.
7064         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7065         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7066         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7067         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7068         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7069         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7070         [POSIX || XPG3] (ILL_COPROC): Likewise.
7071         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7072         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7073         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7074         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7075         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7076         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7077         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7078         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7079         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7080         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7081         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7082         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7083         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7084         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7085         [POSIX || XPG3] (CLD_EXITED): Likewise.
7086         [POSIX || XPG3] (CLD_KILLED): Likewise.
7087         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7088         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7089         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7090         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7091         [POSIX || XPG3] (POLL_IN): Likewise.
7092         [POSIX || XPG3] (POLL_OUT): Likewise.
7093         [POSIX || XPG3] (POLL_MSG): Likewise.
7094         [POSIX || XPG3] (POLL_ERR): Likewise.
7095         [POSIX || XPG3] (POLL_PRI): Likewise.
7096         [POSIX || XPG3] (POLL_HUP): Likewise.
7097         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7098         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7099         (SIG*): Do not allow.
7100         [XPG3] (si_*): Likewise.
7101         [XPG3] (SI_*): Likewise.
7102         [XPG3 || XPG4] (sigev_*): Likewise.
7103         [XPG3 || XPG4] (SIGEV_*): Likewise.
7104         [XPG3 || XPG4] (sival_*): Likewise.
7105         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7106         [POSIX || XPG3] (BUS_*): Likewise.
7107         [POSIX || XPG3] (CLD_*): Likewise.
7108         [POSIX || XPG3] (FPE_*): Likewise.
7109         [POSIX || XPG3] (ILL_*): Likewise.
7110         [POSIX || XPG3] (POLL_*): Likewise.
7111         [POSIX || XPG3] (SEGV_*): Likewise.
7112         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7113         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7114         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7115         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7116         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7117         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7118         Specify type and value.
7119         (TVERSLEN): Likewise.
7120         (REGTYPE): Likewise.
7121         (AREGTYPE): Likewise.
7122         (LNKTYPE): Likewise.
7123         (SYMTYPE): Likewise.
7124         (CHRTYPE): Likewise.
7125         (BLKTYPE): Likewise.
7126         (DIRTYPE): Likewise.
7127         (FIFOTYPE): Likewise.
7128         (CONTTYPE): Likewise.
7129         (TSUID): Likewise.
7130         (TSGID): Likewise.
7131         (TSVTX): Likewise.
7132         (TUREAD): Likewise.
7133         (TUWRITE): Likewise.
7134         (TUEXEC): Likewise.
7135         (TGREAD): Likewise.
7136         (TGWRITE): Likewise.
7137         (TGEXEC): Likewise.
7138         (TOREAD): Likewise.
7139         (TOWRITE): Likewise.
7140         (TOEXEC): Likewise.
7141         [POSIX] (TSVTX): Expect constant.
7143 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7145         * Makefile (tests): Change dependencies to ....
7146         (tests-special): ... additions to this variable.
7147         (tests): Depend on $(tests-special).
7148         * Makerules (check-abi-list): New variable.
7149         (check-abi): Depend on $(check-abi-list).
7150         [$(subdir) = elf] (tests-special): Add
7151         $(objpfx)check-abi-libc.out.
7152         [$(build-shared) = yes && subdir] (tests-special): Add
7153         $(check-abi-list).
7154         [$(build-shared) = yes && subdir] (tests): Do not depend on
7155         check-abi.
7156         * Rules (tests): Depend on $(tests-special).
7157         (xtests): Depend on $(xtests-special).
7158         * catgets/Makefile (tests): Change dependencies to ....
7159         (tests-special): ... additions to this variable.
7160         * conform/Makefile (tests): Change dependencies to ....
7161         (tests-special): ... additions to this variable.
7162         * elf/Makefile (tests): Change dependencies to ....
7163         (tests-special): ... additions to this variable.
7164         * grp/Makefile (tests): Change dependencies to ....
7165         (tests-special): ... additions to this variable.
7166         * iconv/Makefile (xtests): Change dependencies to ....
7167         (xtests-special): ... additions to this variable.
7168         * iconvdata/Makefile (tests): Change dependencies to ....
7169         (tests-special): ... additions to this variable.
7170         * intl/Makefile (tests): Change dependencies to ....
7171         (tests-special): ... additions to this variable.  Also add
7172         $(objpfx)tst-gettext.out.
7173         * io/Makefile (tests): Change dependencies to ....
7174         (tests-special): ... additions to this variable.
7175         * libio/Makefile (tests): Change dependencies to ....
7176         (tests-special): ... additions to this variable.
7177         * malloc/Makefile (tests): Change dependencies to ....
7178         (tests-special): ... additions to this variable.
7179         * misc/Makefile (tests): Change dependencies to ....
7180         (tests-special): ... additions to this variable.
7181         * nptl/Makefile (tests): Change dependencies to ....
7182         (tests-special): ... additions to this variable.
7183         * nptl_db/Makefile (tests): Change dependencies to ....
7184         (tests-special): ... additions to this variable.
7185         * posix/Makefile (tests): Change dependencies to ....
7186         (tests-special): ... additions to this variable.
7187         (xtests): Change dependencies to ....
7188         (xtests-special): ... additions to this variable.
7189         * resolv/Makefile (tests): Change dependencies to ....
7190         (tests-special): ... additions to this variable.
7191         (xtests): Change dependencies to ....
7192         (xtests-special): ... additions to this variable.
7193         * stdio-common/Makefile (tests): Change dependencies to ....
7194         (tests-special): ... additions to this variable.
7195         (do-tst-unbputc): Remove target.
7196         (do-tst-printf): Likewise.
7197         * stdlib/Makefile (tests): Change dependencies to ....
7198         (tests-special): ... additions to this variable.
7199         * string/Makefile (tests): Change dependencies to ....
7200         (tests-special): ... additions to this variable.
7201         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7202         (tests-special): ... additions to this variable.
7204         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7205         whole file.
7206         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7207         whole file.
7208         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7209         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7211         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7212         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7213         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7214         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7215         * conform/data/libgen.h-data [XPG3]: Likewise.
7216         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7217         * conform/data/ndbm.h-data [XPG3]: Likewise.
7218         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7219         * conform/data/netdb.h-data [XPG3]: Likewise.
7220         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7221         * conform/data/poll.h-data [XPG3]: Likewise.
7222         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7223         * conform/data/strings.h-data [XPG3]: Likewise.
7224         * conform/data/stropts.h-data [XPG3]: Likewise.
7225         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7226         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7227         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7228         Likewise.
7229         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7230         * conform/data/sys/time.h-data [XPG3]: Likewise.
7231         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7232         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7233         * conform/data/sys/un.h-data [XPG3]: Likewise.
7234         * conform/data/syslog.h-data [XPG3]: Likewise.
7235         * conform/data/ucontext.h-data [XPG3]: Likewise.
7236         * conform/data/utmpx.h-data [XPG3]: Likewise.
7237         * conform/data/varargs.h-data [UNIX98]: Enable file.
7239         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7241         * math/libm-test.inc (struct test_f_f_data): Move expected results
7242         into structure for each rounding mode.
7243         (struct test_ff_f_data): Likewise.
7244         (struct test_ff_f_data_nexttoward): Likewise.
7245         (struct test_fi_f_data): Likewise.
7246         (struct test_fl_f_data): Likewise.
7247         (struct test_if_f_data): Likewise.
7248         (struct test_fff_f_data): Likewise.
7249         (struct test_c_f_data): Likewise.
7250         (struct test_f_f1_data): Likewise.
7251         (struct test_fF_f1_data): Likewise.
7252         (struct test_ffI_f1_data): Likewise.
7253         (struct test_c_c_data): Likewise.
7254         (struct test_cc_c_data): Likewise.
7255         (struct test_f_i_data): Likewise.
7256         (struct test_ff_i_data): Likewise.
7257         (struct test_f_l_data): Likewise.
7258         (struct test_f_L_data): Likewise.
7259         (struct test_fFF_11_data): Likewise.
7260         (RM_): New macro.
7261         (RM_FE_DOWNWARD): Likewise.
7262         (RM_FE_TONEAREST): Likewise.
7263         (RM_FE_TOWARDZERO): Likewise.
7264         (RM_FE_UPWARD): Likewise.
7265         (RUN_TEST_LOOP_f_f): Update references to expected results.
7266         (RUN_TEST_LOOP_2_f): Likewise.
7267         (RUN_TEST_LOOP_fff_f): Likewise.
7268         (RUN_TEST_LOOP_c_f): Likewise.
7269         (RUN_TEST_LOOP_f_f1): Likewise.
7270         (RUN_TEST_LOOP_fF_f1): Likewise.
7271         (RUN_TEST_LOOP_fI_f1): Likewise.
7272         (RUN_TEST_LOOP_ffI_f1): Likewise.
7273         (RUN_TEST_LOOP_c_c): Likewise.
7274         (RUN_TEST_LOOP_cc_c): Likewise.
7275         (RUN_TEST_LOOP_f_i): Likewise.
7276         (RUN_TEST_LOOP_f_i_tg): Likewise.
7277         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7278         (RUN_TEST_LOOP_f_b): Likewise.
7279         (RUN_TEST_LOOP_f_b_tg): Likewise.
7280         (RUN_TEST_LOOP_f_l): Likewise.
7281         (RUN_TEST_LOOP_f_L): Likewise.
7282         (RUN_TEST_LOOP_fFF_11): Likewise.
7283         * math/gen-libm-test.pl (parse_args): Output four copies of
7284         expected results for each test.
7286         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7287         (__ASSUME_UTIMES): Remove.
7288         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7289         (__ASSUME_UTIMES): Likewise.
7291         * math/gen-auto-libm-tests.c: Update comment on output format.
7292         (output_for_one_input_case): Generate before-rounding and
7293         after-rounding information as conditions on output flags not
7294         floating-point format.
7295         * math/auto-libm-test-out: Regenerated.
7296         * math/gen-libm-test.pl (cond_value): New function.
7297         (or_cond_value): Use cond_value.
7298         (generate_testfile): Handle conditional exceptions.
7300 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7302         * math/libm-test.inc (max_valid_error): New variable.
7303         (init_max_error): Take new argument specifying whether function
7304         results are exactly determined.  Set max_valid_error and bound
7305         other variables for errors based on this argument.
7306         (set_max_error): Do not record results above max_valid_error.
7307         (check_float_internal): Only accept errors of up to 0.5ulps if
7308         also at most max_valid_error.
7309         (START): Take new argument EXACT and pass it to init_max_error.
7310         (acos_test): Update call to START.
7311         (acos_test_tonearest): Likewise.
7312         (acos_test_towardzero): Likewise.
7313         (acos_test_downward): Likewise.
7314         (acos_test_upward): Likewise.
7315         (acosh_test): Likewise.
7316         (asin_test): Likewise.
7317         (asin_test_tonearest): Likewise.
7318         (asin_test_towardzero): Likewise.
7319         (asin_test_downward): Likewise.
7320         (asin_test_upward): Likewise.
7321         (asinh_test): Likewise.
7322         (atan_test): Likewise.
7323         (atanh_test): Likewise.
7324         (atan2_test): Likewise.
7325         (cabs_test): Likewise.
7326         (cacos_test): Likewise.
7327         (cacosh_test): Likewise.
7328         (carg_test): Likewise.
7329         (casin_test): Likewise.
7330         (casinh_test): Likewise.
7331         (catan_test): Likewise.
7332         (catanh_test): Likewise.
7333         (cbrt_test): Likewise.
7334         (ccos_test): Likewise.
7335         (ccosh_test): Likewise.
7336         (ceil_test): Likewise.
7337         (cexp_test): Likewise.
7338         (cimag_test): Likewise.
7339         (clog_test): Likewise.
7340         (clog10_test): Likewise.
7341         (conj_test): Likewise.
7342         (copysign_test): Likewise.
7343         (cos_test): Likewise.
7344         (cos_test_tonearest): Likewise.
7345         (cos_test_towardzero): Likewise.
7346         (cos_test_downward): Likewise.
7347         (cos_test_upward): Likewise.
7348         (cosh_test): Likewise.
7349         (cosh_test_tonearest): Likewise.
7350         (cosh_test_towardzero): Likewise.
7351         (cosh_test_downward): Likewise.
7352         (cosh_test_upward): Likewise.
7353         (cpow_test): Likewise.
7354         (cproj_test): Likewise.
7355         (creal_test): Likewise.
7356         (csin_test): Likewise.
7357         (csinh_test): Likewise.
7358         (csqrt_test): Likewise.
7359         (ctan_test): Likewise.
7360         (ctan_test_tonearest): Likewise.
7361         (ctan_test_towardzero): Likewise.
7362         (ctan_test_downward): Likewise.
7363         (ctan_test_upward): Likewise.
7364         (ctanh_test): Likewise.
7365         (ctanh_test_tonearest): Likewise.
7366         (ctanh_test_towardzero): Likewise.
7367         (ctanh_test_downward): Likewise.
7368         (ctanh_test_upward): Likewise.
7369         (erf_test): Likewise.
7370         (erfc_test): Likewise.
7371         (exp_test): Likewise.
7372         (exp_test_tonearest): Likewise.
7373         (exp_test_towardzero): Likewise.
7374         (exp_test_downward): Likewise.
7375         (exp_test_upward): Likewise.
7376         (exp10_test): Likewise.
7377         (exp10_test_tonearest): Likewise.
7378         (exp10_test_towardzero): Likewise.
7379         (exp10_test_downward): Likewise.
7380         (exp10_test_upward): Likewise.
7381         (pow10_test): Likewise.
7382         (exp2_test): Likewise.
7383         (expm1_test): Likewise.
7384         (expm1_test_tonearest): Likewise.
7385         (expm1_test_towardzero): Likewise.
7386         (expm1_test_downward): Likewise.
7387         (expm1_test_upward): Likewise.
7388         (fabs_test): Likewise.
7389         (fdim_test): Likewise.
7390         (floor_test): Likewise.
7391         (fma_test): Likewise.
7392         (fma_test_towardzero): Likewise.
7393         (fma_test_downward): Likewise.
7394         (fma_test_upward): Likewise.
7395         (fmax_test): Likewise.
7396         (fmin_test): Likewise.
7397         (fmod_test): Likewise.
7398         (fpclassify_test): Likewise.
7399         (frexp_test): Likewise.
7400         (hypot_test): Likewise.
7401         (ilogb_test): Likewise.
7402         (isfinite_test): Likewise.
7403         (finite_test): Likewise.
7404         (isgreater_test): Likewise.
7405         (isgreaterequal_test): Likewise.
7406         (isinf_test): Likewise.
7407         (isless_test): Likewise.
7408         (islessequal_test): Likewise.
7409         (islessgreater_test): Likewise.
7410         (isnan_test): Likewise.
7411         (isnormal_test): Likewise.
7412         (issignaling_test): Likewise.
7413         (isunordered_test): Likewise.
7414         (j0_test): Likewise.
7415         (j1_test): Likewise.
7416         (jn_test): Likewise.
7417         (ldexp_test): Likewise.
7418         (lgamma_test): Likewise.
7419         (gamma_test): Likewise.
7420         (lrint_test): Likewise.
7421         (lrint_test_tonearest): Likewise.
7422         (lrint_test_towardzero): Likewise.
7423         (lrint_test_downward): Likewise.
7424         (lrint_test_upward): Likewise.
7425         (llrint_test): Likewise.
7426         (llrint_test_tonearest): Likewise.
7427         (llrint_test_towardzero): Likewise.
7428         (llrint_test_downward): Likewise.
7429         (llrint_test_upward): Likewise.
7430         (log_test): Likewise.
7431         (log10_test): Likewise.
7432         (log1p_test): Likewise.
7433         (log2_test): Likewise.
7434         (logb_test): Likewise.
7435         (logb_test_downward): Likewise.
7436         (lround_test): Likewise.
7437         (llround_test): Likewise.
7438         (modf_test): Likewise.
7439         (nearbyint_test): Likewise.
7440         (nextafter_test): Likewise.
7441         (nexttoward_test): Likewise.
7442         (pow_test): Likewise.
7443         (pow_test_tonearest): Likewise.
7444         (pow_test_towardzero): Likewise.
7445         (pow_test_downward): Likewise.
7446         (pow_test_upward): Likewise.
7447         (remainder_test): Likewise.
7448         (drem_test): Likewise.
7449         (remainder_test_tonearest): Likewise.
7450         (drem_test_tonearest): Likewise.
7451         (remainder_test_towardzero): Likewise.
7452         (drem_test_towardzero): Likewise.
7453         (remainder_test_downward): Likewise.
7454         (drem_test_downward): Likewise.
7455         (remainder_test_upward): Likewise.
7456         (drem_test_upward): Likewise.
7457         (remquo_test): Likewise.
7458         (rint_test): Likewise.
7459         (rint_test_tonearest): Likewise.
7460         (rint_test_towardzero): Likewise.
7461         (rint_test_downward): Likewise.
7462         (rint_test_upward): Likewise.
7463         (round_test): Likewise.
7464         (scalb_test): Likewise.
7465         (scalbn_test): Likewise.
7466         (scalbln_test): Likewise.
7467         (signbit_test): Likewise.
7468         (sin_test): Likewise.
7469         (sin_test_tonearest): Likewise.
7470         (sin_test_towardzero): Likewise.
7471         (sin_test_downward): Likewise.
7472         (sin_test_upward): Likewise.
7473         (sincos_test): Likewise.
7474         (sinh_test): Likewise.
7475         (sinh_test_tonearest): Likewise.
7476         (sinh_test_towardzero): Likewise.
7477         (sinh_test_downward): Likewise.
7478         (sinh_test_upward): Likewise.
7479         (sqrt_test): Likewise.
7480         (sqrt_test_tonearest): Likewise.
7481         (sqrt_test_towardzero): Likewise.
7482         (sqrt_test_downward): Likewise.
7483         (sqrt_test_upward): Likewise.
7484         (tan_test): Likewise.
7485         (tan_test_tonearest): Likewise.
7486         (tan_test_towardzero): Likewise.
7487         (tan_test_downward): Likewise.
7488         (tan_test_upward): Likewise.
7489         (tanh_test): Likewise.
7490         (tgamma_test): Likewise.
7491         (trunc_test): Likewise.
7492         (y0_test): Likewise.
7493         (y1_test): Likewise.
7494         (yn_test): Likewise.
7495         (significand_test): Likewise.
7497         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7498         individual tests in comment.
7499         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7500         (prev_max_error): New variable.
7501         (prev_real_max_error): Likewise.
7502         (prev_imag_max_error): Likewise.
7503         (compare_ulp_data): Don't refer to test names in comment.
7504         (find_test_ulps): Remove function.
7505         (find_function_ulps): Likewise.
7506         (find_complex_function_ulps): Likewise.
7507         (init_max_error): Take function name as argument.  Look up ulps
7508         for that function.
7509         (print_ulps): Remove function.
7510         (print_max_error): Use prev_max_error instead of calling
7511         find_function_ulps.
7512         (print_complex_max_error): Use prev_real_max_error and
7513         prev_imag_max_error instead of calling find_complex_function_ulps.
7514         (check_float_internal): Take max_ulp parameter instead of calling
7515         find_test_ulps.  Don't call print_ulps.
7516         (check_float): Update call to check_float_internal.
7517         (check_complex): Update calls to check_float_internal.
7518         (START): Pass argument to init_max_error.
7519         * math/gen-libm-test.pl (%results): Don't include "kind"
7520         information.
7521         (parse_ulps): Don't handle ulps of individual tests.
7522         (print_ulps_file): Likewise.
7523         (output_ulps): Likewise.
7524         * math/README.libm-test: Update.
7525         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7526         individual tests.
7527         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7528         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7529         * sysdeps/arm/libm-test-ulps: Likewise.
7530         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7531         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7532         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7533         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7534         * sysdeps/microblaze/libm-test-ulps: Likewise.
7535         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7536         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7537         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7538         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7539         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7540         * sysdeps/sh/libm-test-ulps: Likewise.
7541         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7542         * sysdeps/tile/libm-test-ulps: Likewise.
7543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7545 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7547         * math/libm-test.inc (print_complex_max_error): Check separately
7548         whether real and imaginary errors are within allowed range and
7549         pass 0 to print_complex_function_ulps instead of value within
7550         allowed range.
7552 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7554         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7555         formatting.
7556         (get_handles_fopen): Likewise.
7557         (do_write_test): Likewise.
7559         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7561         * libio/fileops.c (do_ftell): Use cached offset when
7562         available.
7563         * libio/iofwide.c (do_ftell_wide): Likewise.
7564         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7565         _IO_file_attach.
7566         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7568         [BZ #16532]
7569         * libio/libioP.h (get_file_offset): New function.
7570         * libio/fileops.c (get_file_offset): Likewise.
7571         (do_ftell): Likewise.
7572         (_IO_new_file_seekoff): Split out ftell logic.
7573         * libio/wfileops.c (do_ftell_wide): Likewise.
7574         (_IO_wfile_seekoff): Split out ftell logic.
7575         * libio/tst-ftell-active-handler.c: New test case.
7576         * libio/Makefile (tests): Add it.
7578 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7580         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7581         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7583 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7585         [BZ #16639]
7586         * nscd/connections.c (nscd_init): Call do_exit.
7587         (start_threads): Call do_exit and notify_parent.
7588         (begin_drop_privileges): Call do_exit.
7589         (finish_drop_privileges): Likewise.
7590         * nscd/selinux.c (preserve_capabilities): Likewise.
7591         (install_real_capabilities): Likewise.
7592         (nscd_selinux_enabled): Likewise.
7593         (avc_create_thread): Likewise.
7594         (avc_alloc_lock): Likewise.
7595         (nscd_avc_init): Likewise.
7596         * nscd/nscd.c (parent_fd): New static variable.
7597         (main): Create a pipe between parent and child processes.
7598         Skip closing parent_fd.
7599         (monitor_child): New function.
7600         (do_exit): Likewise.
7601         (notify_parent): Likewise.
7602         * nscd/nscd.h (notify_parent): Likewise.
7603         (do_exit): Likewise.
7605 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7607         * malloc/malloc.c (__libc_calloc): Revert last change.
7609 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7613 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7615         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7616         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7617         implementation.
7618         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7619         (__libc_ifunc_impl_list): Likewise.
7620         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7621         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7622         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7623         * string/strrchr.c: Define STRRCHR.
7625 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7627         * benchtest/bench-strtok.c (simple_strtok): Delete.
7628         (strtok_string): Use as benchmark.
7629         * string/strtok (STRTOK): New macro.
7631 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7633         * manual/threads.texi: Add header and standard comments to all
7634         functions.
7636         * elf/dl-lookup.c (check_match): New function.
7637         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7638         (do_lookup_x): Remove nested function check_match. Use non-nested
7639         function check_match.
7641 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7643         * csu/Makefile (generated, before-compile): Use += rather than =.
7644         * catgets/Makefile (generated, generated-dirs): Likewise.
7645         * debug/Makefile (generated): Likewise.
7646         * dlfcn/Makefile (generated): Likewise.
7647         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7648         * iconvdata/Makefile (before-compile, generated): Likewise.
7649         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7650         * libio/Makefile (generated): Likewise.
7651         * malloc/Makefile (generated): Likewise.
7652         * manual/Makefile (generated, generated-dirs): Likewise.
7653         * misc/Makefile (generated): Likewise.
7654         * posix/Makefile (generated): Likewise.
7655         * resolv/Makefile (generated): Likewise.
7656         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7657         * timezone/Makefile (generated, generated-dirs): Likewise.
7659         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7661 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7664         power8 implementation.
7665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7666         file: POWER8 llround ifunc implementation.
7667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7668         (__lllround): Add POWER8 implementation.
7669         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7670         POWER8 llround implementation.
7672         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7673         power8 implementation.
7674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7675         file: POWER8 llrint ifunc implementation.
7676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7677         Add POWER8 implementation.
7678         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7679         POWER8 llrint implementation.
7681         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7682         power8 implementation.
7683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7684         file: POWER8 finite ifunc implementation.
7685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7686         Add POWER8 implementation.
7687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7688         Likewise.
7689         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7690         POWER8 finite implementation.
7691         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7694         power8 implementation.
7695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7696         file: POWER8 isinf ifunc implementation.
7697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7698         POWER8 implementation.
7699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7700         Likewise.
7701         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7702         isinf implementation.
7703         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7705         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7706         (INIT_ARCH): Add hwcap2 initialization.
7707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7708         power8 implementation.
7709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7710         file: POWER8 isnan ifunc implementation.
7711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7712         POWER8 implementation.
7713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7714         Likewise.
7715         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7716         isnan implementation.
7717         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7719 2014-02-27  Joey Ye  <joey.ye@arm.com>
7721         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7722         (_FP_NANFRAC_Q): Set to zero.
7724 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7726         [BZ #16623]
7727         * math/auto-libm-test-in: New test inputs.
7728         * math/auto-libm-test-out: Regenerate.
7729         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7730         and DA.
7731         (__cos): Likewise.
7732         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7734 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7736         * scripts/evaluate-test.sh: Take new argument indicating whether
7737         failure is expected.
7738         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7739         indicating whether failure is expected.
7740         * conform/Makefile (test-xfail-run-conformtest): New variable.
7741         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7742         level.
7743         * posix/Makefile (test-xfail-annexc): New variable.
7744         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7746 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7748         * argp/Makefile: Include Makeconfig immediately after defining
7749         subdir.
7750         * assert/Makefile: Likewise.
7751         * benchtests/Makefile: Likewise.
7752         * catgets/Makefile: Likewise.
7753         * conform/Makefile: Likewise.
7754         * crypt/Makefile: Likewise.
7755         * csu/Makefile: Likewise.
7756         (all): Remove target.
7757         * ctype/Makefile: Include Makeconfig immediately after defining
7758         subdir.
7759         * debug/Makefile: Likewise.
7760         * dirent/Makefile: Likewise.
7761         * dlfcn/Makefile: Likewise.
7762         * gmon/Makefile: Likewise.
7763         * gnulib/Makefile: Likewise.
7764         * grp/Makefile: Likewise.
7765         * gshadow/Makefile: Likewise.
7766         * hesiod/Makefile: Likewise.
7767         * hurd/Makefile: Likewise.
7768         (all): Remove target.
7769         * iconvdata/Makefile: Include Makeconfig immediately after
7770         defining subdir.
7771         * inet/Makefile: Likewise.
7772         * intl/Makefile: Likewise.
7773         * io/Makefile: Likewise.
7774         * libio/Makefile: Likewise.
7775         (all): Remove target.
7776         * locale/Makefile: Include Makeconfig immediately after defining
7777         subdir.
7778         * login/Makefile: Likewise.
7779         * mach/Makefile: Likewise.
7780         (all): Remove target.
7781         * malloc/Makefile: Include Makeconfig immediately after defining
7782         subdir.
7783         (all): Remove target.
7784         * manual/Makefile: Include Makeconfig immediately after defining
7785         subdir.
7786         * math/Makefile: Likewise.
7787         * misc/Makefile: Likewise.
7788         * nis/Makefile: Likewise.
7789         * nss/Makefile: Likewise.
7790         * po/Makefile: Likewise.
7791         (all): Remove target.
7792         * posix/Makefile: Include Makeconfig immediately after defining
7793         subdir.
7794         * pwd/Makefile: Likewise.
7795         * resolv/Makefile: Likewise.
7796         * resource/Makefile: Likewise.
7797         * rt/Makefile: Likewise.
7798         * setjmp/Makefile: Likewise.
7799         * shadow/Makefile: Likewise.
7800         * signal/Makefile: Likewise.
7801         * socket/Makefile: Likewise.
7802         * soft-fp/Makefile: Likewise.
7803         * stdio-common/Makefile: Likewise.
7804         * stdlib/Makefile: Likewise.
7805         * streams/Makefile: Likewise.
7806         * string/Makefile: Likewise.
7807         * sunrpc/Makefile: Likewise.
7808         (all): Remove target.
7809         * sysvipc/Makefile: Include Makeconfig immediately after defining
7810         subdir.
7811         * termios/Makefile: Likewise.
7812         * time/Makefile: Likewise.
7813         * timezone/Makefile: Likewise.
7814         (all): Remove target.
7815         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7816         subdir.
7817         * wctype/Makefile: Likewise.
7819 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7821         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7822         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7823         (libc_feholdexcept_setround_mips): Ditto.
7824         (libc_feholdsetround): New.
7825         (libc_feholdsetroundf): New.
7826         (libc_feholdsetroundl): New.
7827         (libc_feupdateenv_test_mips): New.
7828         (libc_feupdateenv_test): New.
7829         (libc_feupdateenv_testf): New.
7830         (libc_feupdateenv_testl): New.
7831         (libc_feresetround): New.
7832         (libc_feresetroundf): New.
7833         (libc_feresetroundl): New.
7834         (libc_fetestexcept_mips): New.
7835         (libc_fetestexcept): New.
7836         (libc_fetestexceptf): New.
7837         (libc_fetestexceptl): New.
7838         (HAVE_RM_CTX): New.
7839         (libc_feholdexcept_setround_mips_ctx): New.
7840         (libc_feholdexcept_setround_ctx): New.
7841         (libc_feholdexcept_setroundf_ctx): New.
7842         (libc_feholdexcept_setroundl_ctx): New.
7843         (libc_fesetenv_mips_ctx): New.
7844         (libc_fesetenv_ctx): New.
7845         (libc_fesetenv_ctxf): New.
7846         (libc_fesetenv_ctxl): New.
7847         (libc_feupdateenv_mips_ctx): New.
7848         (libc_feupdateenv_ctx): New.
7849         (libc_feupdateenvf_ctx): New.
7850         (libc_feupdateenvl_ctx): New.
7851         (libc_feholdsetround_mips_ctx): New.
7852         (libc_feholdsetround_ctx): New.
7853         (libc_feholdsetroundf_ctx): New.
7854         (libc_feholdsetroundl_ctx): New.
7855         (libc_feresetround_mips_ctx): New.
7856         (libc_feresetround_ctx): New.
7857         (libc_feresetroundf_ctx): New.
7858         (libc_feresetroundl_ctx): New.
7860 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7862         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7864         * manual/ipc.texi: New file.
7865         * manual/Makefile (chapters): Add ipc.
7866         * manual/job.texi: Add "Inter-Process Communication" to next.
7867         * manual/process.texi: Add "Inter-Process Communication" to prev.
7869 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7873 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7875         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7877         * manual/arith.texi: Fix spaces after sentences.
7878         * manual/charset.texi: Likewise.
7879         * manual/errno.texi: Likewise.
7880         * manual/install.texi: Likewise.
7881         * manual/llio.texi: Likewise.
7882         * manual/locale.texi: Likewise.
7883         * manual/maint.texi: Likewise.
7884         * manual/math.texi: Likewise.
7885         * manual/memory.texi: Likewise.
7886         * manual/message.texi: Likewise.
7887         * manual/probes.texi: Likewise.
7888         * manual/resource.texi: Likewise.
7889         * manual/signal.texi: Likewise.
7890         * manual/socket.texi: Likewise.
7891         * manual/stdio.texi: Likewise.
7892         * manual/string.texi: Likewise.
7893         * manual/time.texi: Likewise.
7894         * manual/users.texi: Likewise.
7896 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
7898         [BZ #16632]
7899         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
7900         _DEFAULT_SOURCE is defined.
7902 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
7903             Carlos O'Donell  <carlos@redhat.com>
7905         [BZ #16613]
7906         * elf/dl-tls.c (_dl_count_modids): New function.
7907         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
7908         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
7909         audit library and increment generation counter.
7910         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
7911         * elf/tst-audit9.c: New file.
7912         * elf/tst-auditmod9a.c: New file.
7913         * elf/tst-auditmod9b.c: New file.
7914         * elf/Makefile: Add rules to build and run tst-audit9.
7916 2014-02-25  Florian Weimer  <fweimer@redhat.com>
7918         [BZ #15347]
7919         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
7921 2014-02-25  Will Newton  <will.newton@linaro.org>
7923         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
7924         (__longjmp): Restore sp and lr before restoring callee
7925         saved registers.  Add longjmp and longjmp_target
7926         SystemTap probe point.
7927         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
7928         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
7929         Define to zero to match jmpbuf layout.
7930         * sysdeps/arm/setjmp.S: Include stap-probe.h.
7931         (__sigsetjmp): Save sp and lr before saving callee
7932         saved registers.  Add setjmp SystemTap probe point.
7934 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7936         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7938 2014-02-24  Andreas Schwab  <schwab@suse.de>
7940         [BZ #15804]
7941         * elf/pldd.c (wait_for_ptrace_stop): New function.
7942         (main): Call it after attaching.
7944 2014-02-22  Roland McGrath  <roland@hack.frob.com>
7946         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
7947         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
7948         Versions files is now verboten.
7949         * hurd/Versions (libc: GLIBC_2.0):
7950         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
7951         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
7952         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
7953         * mach/Versions: Likewise.
7955         * csu/Versions: Remove unused %include.
7956         * resolv/Versions: Likewise.
7958 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
7960         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
7961         ($(objpfx)check-local-headers.out): Likewise.
7962         ($(objpfx)begin-end-check.out): Likewise.
7963         * Makerules (check-abi-%.out): Likewise.
7964         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
7965         ($(objpfx)test2.cat): Likewise.
7966         ($(objpfx)de/libc.cat): Likewise.
7967         ($(objpfx)test-gencat.out): Likewise.
7968         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
7969         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
7970         ($(objpfx)noload-mem): Likewise.
7971         ($(objpfx)tst-pathopt.out): Likewise.
7972         ($(objpfx)tst-rtld-load-self.out): Likewise.
7973         ($(objpfx)tst-array1-cmp.out): Likewise.
7974         ($(objpfx)tst-array1-static-cmp.out): Likewise.
7975         ($(objpfx)tst-array2-cmp.out): Likewise.
7976         ($(objpfx)tst-array3-cmp.out): Likewise.
7977         ($(objpfx)tst-array4-cmp.out): Likewise.
7978         ($(objpfx)tst-array5-cmp.out): Likewise.
7979         ($(objpfx)tst-array5-static-cmp.out): Likewise.
7980         ($(objpfx)check-textrel.out): Likewise.
7981         ($(objpfx)check-execstack.out): Likewise.
7982         ($(objpfx)check-localplt.out): Likewise.
7983         ($(objpfx)order2-cmp.out): Likewise.
7984         ($(objpfx)tst-leaks1-mem): Likewise.
7985         ($(objpfx)tst-leaks1-static-mem): Likewise.
7986         ($(objpfx)tst-initorder-cmp.out): Likewise.
7987         ($(objpfx)tst-initorder2-cmp.out): Likewise.
7988         ($(objpfx)tst-unused-dep.out): Likewise.
7989         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
7990         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
7991         * iconv/Makefile (test-iconvconfig): Likewise.
7992         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
7993         ($(objpfx)iconv-test.out): Likewise.
7994         ($(objpfx)tst-tables.out): Likewise.
7995         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
7996         ($(objpfx)tst-gettext.out): Likewise.
7997         ($(objpfx)tst-translit.out): Likewise.
7998         ($(objpfx)tst-gettext2.out): Likewise.
7999         ($(objpfx)tst-gettext4.out): Likewise.
8000         ($(objpfx)tst-gettext6.out): Likewise.
8001         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8002         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8003         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8004         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8005         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8006         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8007         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8008         ($(objpfx)wordexp-tst.out): Likewise.
8009         ($(objpfx)annexc.out): Likewise.
8010         ($(objpfx)tst-fnmatch-mem): Likewise.
8011         ($(objpfx)bug-regex2-mem): Likewise.
8012         ($(objpfx)bug-regex14-mem): Likewise.
8013         ($(objpfx)bug-regex21-mem): Likewise.
8014         ($(objpfx)bug-regex31-mem): Likewise.
8015         ($(objpfx)tst-vfork3-mem): Likewise.
8016         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8017         ($(objpfx)tst-pcre-mem): Likewise.
8018         ($(objpfx)tst-boost-mem): Likewise.
8019         ($(objpfx)tst-getconf.out): Likewise.
8020         ($(objpfx)bug-ga2-mem): Likewise.
8021         ($(objpfx)bug-glob2-mem): Likewise.
8022         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8023         ($(objpfx)mtrace-tst-leaks2): Likewise.
8024         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8025         ($(objpfx)tst-printf.out): Likewise.
8026         ($(objpfx)tst-setvbuf1.out): Likewise.
8027         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8028         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8029         ($(objpfx)tst-fmtmsg.out): Likewise.
8030         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8031         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8033         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8034         * bits/sigaction.h [__USE_MISC]: Likewise.
8035         * bits/waitstatus.h: Update #endif comments.
8036         * ctype/ctype.h: Likewise.
8037         * dirent/dirent.h: Likewise.
8038         [__USE_MISC]: Remove redundant conditionals.
8039         * grp/grp.h: Update #endif comments.
8040         [__USE_GNU]: Remove redundant conditionals.
8041         [__USE_MISC]: Likewise.
8042         * inet/netinet/in.h [__USE_GNU]: Likewise.
8043         * io/sys/stat.h [__USE_MISC]: Likewise.
8044         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8045         * libio/bits/stdio.h: Update #endif comments.
8046         [__USE_MISC]: Remove redundant conditionals.
8047         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8048         * libio/stdio.h: Update #endif comments.
8049         [__USE_MISC]: Remove redundant conditionals.
8050         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8051         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8052         * math/math.h: Update #else and #endif comments.
8053         [__USE_MISC]: Remove redundant conditionals.
8054         * misc/sys/uio.h: Update #endif comments.
8055         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8056         * posix/glob.h [__USE_MISC]: Likewise.
8057         * posix/sys/types.h: Update #endif comments.
8058         [__USE_MISC]: Remove redundant conditionals.
8059         * posix/sys/wait.h: Update #endif comments.
8060         [__USE_MISC]: Remove redundant conditionals.
8061         * posix/unistd.h: Update #endif comments.
8062         [__USE_MISC]: Remove redundant conditionals.
8063         * pwd/pwd.h [__USE_GNU]: Likewise.
8064         [__USE_MISC]: Likewise.
8065         * resolv/netdb.h [__USE_GNU]: Likewise.
8066         * signal/signal.h: Update #endif comments.
8067         [__USE_MISC]: Remove redundant conditionals.
8068         * stdlib/stdlib.h: Update #else and #endif comments.
8069         [__USE_MISC]: Remove redundant conditionals.
8070         [__USE_GNU]: Likewise.
8071         * string/bits/string2.h [__USE_MISC]: Likewise.
8072         * string/string.h: Update #endif comments.
8073         [__USE_MISC]: Remove redundant conditionals.
8074         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8075         Likewise.
8076         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8077         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8078         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8079         Likewise.
8080         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8081         Likewise.
8082         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8083         comments.
8084         [__USE_MISC]: Remove redundant conditionals.
8085         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8086         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8087         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8088         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8089         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8090         Likewise.
8091         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8092         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8093         Likewise.
8094         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8095         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8098         Likewise.
8099         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8100         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8101         Likewise.
8102         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8103         Likewise.
8104         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8105         * sysdeps/x86/bits/string.h: Update #endif comments.
8106         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8107         conditionals.
8108         * time/sys/time.h: Update #endif comments.
8109         * time/time.h: Likewise.
8110         [__USE_MISC]: Remove redundant conditionals.
8112 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8114         [BZ #16600]
8115         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8117 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8119         * Versions.def (librt): Add GLIBC_2.17.
8121 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8123         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8124         synonym for _SYS_AUXV_H to allow direct inclusion.
8125         * sysdeps/sparc/bits/hwcap.h: Likewise.
8126         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8127         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8128         * sysdeps/sparc/sysdep.h: Likewise.
8130 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8132         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8134 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8136         * benchtests/bench-strrchr.c: Print length instead of position.
8138 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8140         [BZ #16611]
8141         * sysdeps/unix/sysv/linux/kernel-features.h
8142         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8143         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8144         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8145         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8146         Likewise.
8147         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8148         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8149         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8150         (__ASSUME_SENDMMSG): Define instead of using previous
8151         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8152         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8153         (__ASSUME_SENDMMSG_SYSCALL): Define.
8154         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8155         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8156         Likewise.
8157         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8158         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8159         Likewise.
8160         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8161         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8162         Likewise.
8163         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8164         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8165         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8166         [__ASSUME_SENDMMSG]: Change conditionals to
8167         [__ASSUME_SENDMMSG_SOCKETCALL].
8168         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8169         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8170         Define.
8171         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8172         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8173         Likewise.
8174         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8175         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8176         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8177         [!__ASSUME_SENDMMSG]: Change conditional to
8178         [!__ASSUME_SENDMMSG_SOCKETCALL].
8179         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8180         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8181         Define.
8183         [BZ #16610]
8184         * sysdeps/unix/sysv/linux/kernel-features.h
8185         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8186         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8187         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8188         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8189         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8190         [__i386__ || __sparc__]
8191         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8192         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8193         (__ASSUME_RECVMMSG): Define instead of using previous
8194         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8195         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8196         (__ASSUME_RECVMMSG_SYSCALL): Define.
8197         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8198         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8199         Likewise.
8200         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8202         Likewise.
8203         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8204         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8205         Likewise.
8206         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8207         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8208         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8209         [__ASSUME_RECVMMSG]: Change condition to
8210         [__ASSUME_RECVMMSG_SOCKETCALL].
8211         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8212         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8213         Define.
8214         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8215         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8216         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8217         Likewise.
8218         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8219         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8220         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8221         [!__ASSUME_RECVMMSG]: Change condition to
8222         [!__ASSUME_RECVMMSG_SOCKETCALL].
8223         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8224         (__ASSUME_RECVMMSG_SYSCALL): Define.
8226         [BZ #16609]
8227         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8228         __powerpc__ || __s390__ || __sh__ || __sparc__]
8229         (__ASSUME_SOCKETCALL): Define.
8230         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8231         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8232         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8233         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8234         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8235         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8236         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8237         (__ASSUME_ACCEPT4): Define instead of using previous
8238         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8239         __powerpc__ || __sparc__ || __s390__)] condition.
8240         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8241         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8242         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8243         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8244         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8245         [!__ASSUME_ACCEPT4]: Change condition to
8246         [!__ASSUME_ACCEPT4_SOCKETCALL].
8247         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8248         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8249         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8250         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8251         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8252         __ASSUME_ACCEPT4_SYSCALL.
8253         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8254         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8255         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8256         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8257         __ASSUME_ACCEPT4_SYSCALL.
8258         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8259         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8260         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8261         [__ASSUME_ACCEPT4]: Change condition to
8262         [__ASSUME_ACCEPT4_SOCKETCALL].
8263         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8264         (__ASSUME_SOCKETCALL): Define.
8265         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8266         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8267         (__ASSUME_SOCKETCALL): Define.
8268         (__ASSUME_ACCEPT4): Remove.
8269         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8270         Define.
8271         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8272         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8273         Likewise.
8274         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8275         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8277         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8278         macro.
8279         (HWCAP_ARM_LPAE): Likewise.
8280         (HWCAP_ARM_EVTSTRM): Likewise.
8281         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8282         Add vpfd32, lpae and evtstrm.
8283         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8284         Increase to 22.
8286 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8288         * math/auto-libm-test-in: Add tests of clog10.
8289         * math/auto-libm-test-out: Regenerated.
8290         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8291         * sysdeps/i386/fpu/libm-test-ulps: Update.
8292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8294 2014-02-18  Andreas Schwab  <schwab@suse.de>
8296         [BZ #16574]
8297         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8298         Store non-zero if the second buffer was newly allocated.
8299         (send_dg): Likewise.
8300         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8301         to send_vc and send_dg.
8302         (res_nsend): Pass NULL for ansp2_malloced.
8303         * resolv/res_query.c (__libc_res_nquery): Add parameter
8304         answerp2_malloced and pass it down to __libc_res_nsend.
8305         (res_nquery): Pass additional NULL to __libc_res_nquery.
8306         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8307         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8308         second answer buffer if answerp2_malloced was set.
8309         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8310         (__libc_res_nquerydomain): Add parameter
8311         answerp2_malloced and pass it down to __libc_res_nquery.
8312         (res_nquerydomain): Pass additional NULL to
8313         __libc_res_nquerydomain.
8314         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8315         additional NULL to __libc_res_nsend and __libc_res_nquery.
8316         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8317         additional NULL to __libc_res_nsearch.
8318         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8319         parameter of __libc_res_nsearch to check for separately allocated
8320         second buffer.
8321         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8322         __libc_res_nquery.
8323         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8324         additional NULL to __libc_res_nquery.
8325         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8326         __libc_res_nsearch.
8327         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8328         * include/resolv.h: Update prototypes of __libc_res_nquery,
8329         __libc_res_nsearch, __libc_res_nsend.
8331 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8333         * math/auto-libm-test-in: Add tests of fma.
8334         * math/auto-libm-test-out: Regenerated.
8335         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8336         (fma_towardzero_test_data): Likewise.
8337         (fma_downward_test_data): Likewise.
8338         (fma_upward_test_data): Likewise.
8339         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8340         mpc_mode.
8341         (rounding_modes): Add values for new field.
8342         (func_calc_method): Add value mpfr_fff_f.
8343         (func_calc_desc): Add mpfr_fff_f union field.
8344         (test_function): Add field exact_args.
8345         (FUNC): Add macro argument EXACT_ARGS.
8346         (FUNC_mpfr_f_f): Update call to FUNC.
8347         (FUNC_mpfr_f_f): Likewise.
8348         (FUNC_mpfr_ff_f): Likewise.
8349         (FUNC_mpfr_if_f): Likewise.
8350         (FUNC_mpc_c_f): Likewise.
8351         (FUNC_mpc_c_c): Likewise.
8352         (test_functions): Add fma.  Update calls to FUNC.
8353         (handle_input_arg): Add argument exact_args.
8354         (add_test): Update call to handle_input_arg.
8355         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8356         (output_for_one_input_case): Update call to calc_generic_results.
8357         Recalculate exact zero results in each rounding mode.
8359         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8360         non-negative before setting low bit.
8361         * math/auto-libm-test-in: Mark one asin test possibly having
8362         spurious underflow.
8363         * math/auto-libm-test-out: Regenerated.
8364         * sysdeps/i386/fpu/libm-test-ulps: Update.
8365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8367 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8369         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8370         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8371         ports/sysdeps/unix/sysv/linux/microblaze.
8372         * README: Add missing listing for microblaze*-*-linux-gnu.
8374 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8376         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8377         * sysdeps/unix/sysv/linux/ia64: Move directory from
8378         ports/sysdeps/unix/sysv/linux/ia64.
8379         * README: Update listing for ia64-*-linux-gnu.
8381 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8382             Joseph Myers  <joseph@codesourcery.com>
8384         * Makeconfig (test-name): New variable.
8385         (evaluate-test): Likewise.
8386         * Makerules (do-test-clean): Remove .test-result files.
8387         (common-mostlyclean): Likewise.
8388         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8389         * scripts/evaluate-test.sh: New file.
8391 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8393         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8394         separate $(objpfx)tst-fopenloc-cmp.out and
8395         $(objpfx)tst-fopenloc-mem.out targets.
8396         (tests): Update dependencies.
8397         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8398         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8399         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8400         (tst-rxspencer-no-utf8-ARGS): New variable.
8401         (tst-rxspencer-no-utf8-ENV): Likewise.
8402         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8403         instead of $(objpfx)tst-rxspencer-mem.
8404         ($(objpfx)tst-rxspencer-mem): Change target to
8405         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8406         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8407         * posix/tst-rxspencer-no-utf8.c: New file.
8409         * elf/Makefile ($(objpfx)order.out): Remove rule.
8410         [$(run-built-tests) = yes] (tests): Depend on
8411         $(objpfx)order-cmp.out.
8412         ($(objpfx)order-cmp.out): New rule.
8413         [$(run-built-tests) = yes] (tests): Depend on
8414         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8415         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8416         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8417         $(objpfx)tst-array5-static-cmp.out.
8418         ($(objpfx)tst-array1.out): Remove rule.
8419         ($(objpfx)tst-array1-cmp.out): New rule.
8420         ($(objpfx)tst-array1-static.out): Remove rule.
8421         ($(objpfx)tst-array1-static-cmp.out): New rule.
8422         ($(objpfx)tst-array2.out): Remove rule.
8423         ($(objpfx)tst-array2-cmp.out): New rule.
8424         ($(objpfx)tst-array3.out): Remove rule.
8425         ($(objpfx)tst-array3-cmp.out): New rule.
8426         ($(objpfx)tst-array4.out): Remove rule.
8427         ($(objpfx)tst-array4-cmp.out): New rule.
8428         ($(objpfx)tst-array5.out): Remove rule.
8429         ($(objpfx)tst-array5-cmp.out): New rule.
8430         ($(objpfx)tst-array5-static.out): Remove rule.
8431         ($(objpfx)tst-array5-static-cmp.out): New rule.
8432         [$(run-built-tests) = yes] (tests): Depend on
8433         $(objpfx)order2-cmp.out.
8434         ($(objpfx)order2.out): Remove rule.
8435         ($(objpfx)order2-cmp.out): New rule.
8436         ($(objpfx)tst-initorder.out): Remove rule.
8437         [$(run-built-tests) = yes] (tests): Depend on
8438         $(objpfx)tst-initorder-cmp.out.
8439         ($(objpfx)tst-initorder-cmp.out): New rule.
8440         ($(objpfx)tst-initorder2.out): Remove rule.
8441         [$(run-built-tests) = yes] (tests): Depend on
8442         $(objpfx)tst-initorder2-cmp.out.
8443         ($(objpfx)tst-initorder2-cmp.out): New rule.
8444         [$(run-built-tests) = yes] (tests): Depend on
8445         $(objpfx)tst-unused-dep-cmp.out.
8446         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8447         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8448         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8449         on $(objpfx)tst-setvbuf1-cmp.out.
8450         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8451         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8452         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8453         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8454         ($(objpfx)tst-svc.out): Remove rule.
8455         ($(objpfx)tst-svc-cmp.out): New rule.
8457 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8459         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8460         * ctype/ctype.h [__USE_MISC]: Likewise.
8461         * dirent/dirent.h [__USE_MISC]: Likewise.
8462         * grp/grp.h [__USE_MISC]: Likewise.
8463         * io/fcntl.h [__USE_MISC]: Likewise.
8464         * io/sys/stat.h [__USE_MISC]: Likewise.
8465         * libio/stdio.h [__USE_MISC]: Likewise.
8466         * posix/unistd.h [__USE_MISC]: Likewise.
8467         * pwd/pwd.h [__USE_MISC]: Likewise.
8468         * stdlib.h [__USE_MISC]: Likewise.
8469         * string/bits/string2.h [__USE_MISC]: Likewise.
8470         * string/string.h [__USE_MISC]: Likewise.
8471         * time/time.h [__USE_MISC]: Likewise.
8473 2014-02-13  Andreas Schwab  <schwab@suse.de>
8475         [BZ #16574]
8476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8477         second answer buffer if it was separately allocated.
8479 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8481         * sysdeps/mips/math-tests.h: Include <features.h>.
8482         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8483         (ROUNDING_TESTS_long_double): Do not define.
8484         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8485         (EXCEPTION_TESTS_long_double): Likewise.
8486         * sysdeps/mips/mips64/libm-test-ulps: Update.
8488         * include/features.h (__USE_BSD): Remove macro definitions.
8489         (__USE_SVID): Likewise.
8490         (_BSD_SOURCE): Likewise.
8491         (_SVID_SOURCE): Likewise.
8492         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8493         from definition of _DEFAULT_SOURCE.
8494         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8495         [_DEFAULT_SOURCE].
8496         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8497         * bits/mman.h [__USE_BSD]: Likewise.
8498         * bits/termios.h [__USE_BSD]: Likewise.
8499         * bits/waitstatus.h [__USE_BSD]: Likewise.
8500         * ctype/ctype.h [__USE_SVID]: Likewise.
8501         * dirent/dirent.h [__USE_BSD]: Likewise.
8502         * grp/grp.h [__USE_SVID]: Likewise.
8503         [__USE_BSD]: Likewise.
8504         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8505         * io/fcntl.h [__USE_BSD]: Likewise.
8506         * io/ftw.h [__USE_BSD]: Likewise.
8507         * io/sys/stat.h [__USE_BSD]: Likewise.
8508         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8509         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8510         * libio/stdio.h [__USE_SVID]: Likewise.
8511         [__USE_BSD]: Likewise.
8512         * math/math.h [__USE_SVID]: Likewise.
8513         [__USE_BSD]: Likewise.
8514         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8515         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8516         * misc/search.h [__USE_SVID]: Likewise.
8517         * misc/sys/mman.h [__USE_BSD]: Likewise.
8518         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8519         * misc/sys/uio.h [__USE_BSD]: Likewise.
8520         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8521         * posix/glob.h [__USE_BSD]: Likewise.
8522         * posix/regex.h [__USE_BSD]: Likewise.
8523         * posix/sys/types.h [__USE_BSD]: Likewise.
8524         [__USE_SVID]: Likewise.
8525         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8526         * posix/sys/wait.h [__USE_BSD]: Likewise.
8527         [__USE_SVID]: Likewise.
8528         * posix/unistd.h [__USE_BSD]: Likewise.
8529         [__USE_SVID]: Likewise.
8530         * pwd/pwd.h [__USE_SVID]: Likewise.
8531         * resolv/netdb.h [__USE_BSD]: Likewise.
8532         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8533         * signal/signal.h [__USE_BSD]: Likewise.
8534         [__USE_SVID]: Likewise.
8535         * socket/sys/socket.h [__USE_BSD]: Likewise.
8536         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8537         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8538         [__USE_SVID]: Likewise.
8539         * string/bits/string2.h [__USE_BSD]: Likewise.
8540         [__USE_SVID]: Likewise.
8541         * string/bits/string3.h [__USE_BSD]: Likewise.
8542         * string/endian.h [__USE_BSD]: Likewise.
8543         * string/string.h [__USE_SVID]: Likewise.
8544         [__USE_BSD]: Likewise.
8545         * string/strings.h [__USE_BSD]: Likewise.
8546         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8547         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8548         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8549         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8550         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8551         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8552         Likewise.
8553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8554         Likewise.
8555         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8556         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8557         Likewise.
8558         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8559         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8560         Likewise.
8561         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8562         Likewise.
8563         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8564         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8565         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8566         Likewise.
8567         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8568         Likewise.
8569         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8570         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8571         * termios/termios.h [__USE_BSD]: Likewise.
8572         * time/sys/time.h [__USE_BSD]: Likewise.
8573         * time/time.h [__USE_BSD]: Likewise.
8574         [__USE_SVID]: Likewise.
8576         * Makefile (subdir_targets): Remove subdir_lint.out.
8578         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8579         (do-tst-printf): Likewise.
8580         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8581         $(objpfx)tst-printf.out.
8583         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8585         * Makerules (check-abi-%): Change target to
8586         $(objpfx)check-abi-%.out.
8587         (check-abi target): Update dependencies.
8588         (check-abi-pattern variable): Redirect output of diff to $@.
8589         (check-abi variable): Likewise.
8590         * elf/Makefile (check-abi): Update dependencies.
8592         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8593         unused.
8594         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8595         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8596         subnormal range.
8597         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8598         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8599         value has largest subnormal exponent.
8600         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8601         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8602         * sysdeps/aarch64/soft-fp/sfp-machine.h
8603         (_FP_TININESS_AFTER_ROUNDING): New macro.
8604         * sysdeps/alpha/soft-fp/sfp-machine.h
8605         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8606         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8607         Likewise.
8608         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8609         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8610         * sysdeps/mips/soft-fp/sfp-machine.h
8611         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8612         * sysdeps/powerpc/soft-fp/sfp-machine.h
8613         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8614         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8615         Likewise.
8616         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8617         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8618         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8619         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8620         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8621         Likewise.
8623 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8625         [BZ #16545]
8626         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8627         model 1.
8629 2014-02-12  Richard Henderson  <rth@redhat.com>
8631         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8632         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8633         * sysdeps/unix/sysv/linux/alpha: Move directory from
8634         ports/sysdeps/unix/sysv/linux/alpha.
8635         * README: Update listing for alpha-*-linux-gnu.
8637 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8639         * include/features.h: Update comment documenting feature test
8640         macros.
8641         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8642         _DEFAULT_SOURCE.
8643         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8644         (_SVID_SOURCE): Likewise.
8645         (_DEFAULT_SOURCE): Update description of default features.
8646         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8647         with _GNU_SOURCE.
8648         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8649         (S_ISVTX): Likewise.
8650         * manual/math.texi (Mathematical Constants): Likewise.
8651         * manual/signal.texi (Interrupted Primitives): Likewise.
8652         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8653         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8654         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8655         Don't refer to _SVID_SOURCE in warning text.
8657         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8659         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8660         already defined.
8661         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8662         * sysdeps/mips/dl-lookup.c: Remove.
8663         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8665 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8667         [BZ #16447]
8668         * math/auto-libm-test-in: Add testcase for expl.
8669         * math/auto-libm-test-out: Regenerate.
8670         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8671         calculation of unsafe.
8672         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8674 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8676         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8677         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8678         ports/sysdeps/unix/sysv/linux/aarch64.
8679         * README: Update listing for aarch64*-*-linux-gnu.
8681 2014-02-11  Will Newton  <will.newton@linaro.org>
8683         * manual/probes.texi (Mathematical Function Probes): Use
8684         "triggered" instead of "hit".
8686         * manual/probes.texi (Internal Probes): Add documentation
8687         of setjmp, longjmp and longjmp_target probes.
8689         * include/stap-probe.h: Add comment about probe argument
8690         format.
8692         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8693         definition.  (tr_where, tr_freehook, tr_mallochook,
8694         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8696 2014-02-11  David S. Miller  <davem@davemloft.net>
8698         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8699         processing int_tests.
8701 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8703         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8704         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8705         * sysdeps/unix/sysv/linux/mips: Move directory from
8706         ports/sysdeps/unix/sysv/linux/mips.
8707         * README: Update listing for mips-*-linux-gnu and
8708         mips64-*-linux-gnu.
8710 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8712         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8713         * sysdeps/unix/sysv/linux/m68k: Move directory from
8714         ports/sysdeps/unix/sysv/linux/m68k.
8715         * README: Update listing for m68k-*-linux-gnu.
8717 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8719         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8720         * sysdeps/unix/sysv/linux/generic: Move directory from
8721         ports/sysdeps/unix/sysv/linux/generic.
8722         * sysdeps/unix/sysv/linux/tile: Move directory from
8723         ports/sysdeps/unix/sysv/linux/tile.
8724         * README: Update listing for tile*-*-linux-gnu.
8726 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8728         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8729         __builtin_expect.
8730         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8731         * catgets/open_catalog.c (__open_catalog): Likewise.
8732         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8733         * debug/confstr_chk.c: Likewise.
8734         * debug/fread_chk.c (__fread_chk): Likewise.
8735         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8736         * debug/getgroups_chk.c: Likewise.
8737         * debug/mbsnrtowcs_chk.c: Likewise.
8738         * debug/mbsrtowcs_chk.c: Likewise.
8739         * debug/mbstowcs_chk.c: Likewise.
8740         * debug/memcpy_chk.c: Likewise.
8741         * debug/memmove_chk.c: Likewise.
8742         * debug/mempcpy_chk.c: Likewise.
8743         * debug/memset_chk.c: Likewise.
8744         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8745         * debug/strcat_chk.c (__strcat_chk): Likewise.
8746         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8747         * debug/strncat_chk.c (__strncat_chk): Likewise.
8748         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8749         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8750         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8751         * debug/wcpncpy_chk.c: Likewise.
8752         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8753         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8754         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8755         * debug/wcsncpy_chk.c: Likewise.
8756         * debug/wcsnrtombs_chk.c: Likewise.
8757         * debug/wcsrtombs_chk.c: Likewise.
8758         * debug/wcstombs_chk.c: Likewise.
8759         * debug/wmemcpy_chk.c: Likewise.
8760         * debug/wmemmove_chk.c: Likewise.
8761         * debug/wmempcpy_chk.c: Likewise.
8762         * debug/wmemset_chk.c: Likewise.
8763         * dirent/scandirat.c (SCANDIRAT): Likewise.
8764         * dlfcn/dladdr1.c (dladdr1): Likewise.
8765         * dlfcn/dladdr.c (dladdr): Likewise.
8766         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8767         * dlfcn/dlerror.c (__dlerror): Likewise.
8768         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8769         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8770         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8771         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8772         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8773         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8774         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8775         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8776         Likewise.
8777         * elf/dl-conflict.c: Likewise.
8778         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8779         * elf/dl-dst.h: Likewise.
8780         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8781         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8782         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8783         * elf/dl-init.c (call_init, _dl_init): Likewise.
8784         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8785         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8786         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8787         Likewise.
8788         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8789         Likewise.
8790         * elf/dl-minimal.c (__libc_memalign): Likewise.
8791         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8792         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8793         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8794         * elf/dl-sym.c (do_sym): Likewise.
8795         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8796         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8797         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8798         * elf/dl-writev.h (_dl_writev): Likewise.
8799         * elf/ldconfig.c (search_dir): Likewise.
8800         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8801         (dl_main): Likewise.
8802         * elf/setup-vdso.h (setup_vdso): Likewise.
8803         * grp/compat-initgroups.c (compat_call): Likewise.
8804         * grp/fgetgrent.c (fgetgrent): Likewise.
8805         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8806         * grp/putgrent.c (putgrent): Likewise.
8807         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8808         Likewise.
8809         * hurd/hurdinit.c: Likewise.
8810         * iconvdata/8bit-gap.c (struct): Likewise.
8811         * iconvdata/ansi_x3.110.c : Likewise.
8812         * iconvdata/big5.c : Likewise.
8813         * iconvdata/big5hkscs.c : Likewise.
8814         * iconvdata/cp1255.c: Likewise.
8815         * iconvdata/cp1258.c : Likewise.
8816         * iconvdata/cp932.c : Likewise.
8817         * iconvdata/euc-cn.c: Likewise.
8818         * iconvdata/euc-jisx0213.c : Likewise.
8819         * iconvdata/euc-jp.c: Likewise.
8820         * iconvdata/euc-jp-ms.c : Likewise.
8821         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8822         * iconvdata/gb18030.c : Likewise.
8823         * iconvdata/gbbig5.c (const): Likewise.
8824         * iconvdata/gbgbk.c: Likewise.
8825         * iconvdata/gbk.c : Likewise.
8826         * iconvdata/ibm1364.c : Likewise.
8827         * iconvdata/ibm930.c : Likewise.
8828         * iconvdata/ibm932.c: Likewise.
8829         * iconvdata/ibm933.c : Likewise.
8830         * iconvdata/ibm935.c : Likewise.
8831         * iconvdata/ibm937.c : Likewise.
8832         * iconvdata/ibm939.c : Likewise.
8833         * iconvdata/ibm943.c: Likewise.
8834         * iconvdata/iso_11548-1.c: Likewise.
8835         * iconvdata/iso-2022-cn.c : Likewise.
8836         * iconvdata/iso-2022-cn-ext.c : Likewise.
8837         * iconvdata/iso-2022-jp-3.c: Likewise.
8838         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8839         * iconvdata/iso-2022-kr.c : Likewise.
8840         * iconvdata/iso646.c (gconv_end): Likewise.
8841         * iconvdata/iso_6937-2.c : Likewise.
8842         * iconvdata/iso_6937.c : Likewise.
8843         * iconvdata/iso8859-1.c: Likewise.
8844         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8845         * iconvdata/shift_jisx0213.c : Likewise.
8846         * iconvdata/sjis.c : Likewise.
8847         * iconvdata/t.61.c : Likewise.
8848         * iconvdata/tcvn5712-1.c : Likewise.
8849         * iconvdata/tscii.c: Likewise.
8850         * iconvdata/uhc.c : Likewise.
8851         * iconvdata/unicode.c (gconv_end): Likewise.
8852         * iconvdata/utf-16.c (gconv_end): Likewise.
8853         * iconvdata/utf-32.c (gconv_end): Likewise.
8854         * iconvdata/utf-7.c (base64): Likewise.
8855         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8856         * iconv/gconv_close.c (__gconv_close): Likewise.
8857         * iconv/gconv_open.c (__gconv_open): Likewise.
8858         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8859         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8860         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8861         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8862         (ucs4le_internal_loop_single): Likewise.
8863         * iconv/iconv.c (iconv): Likewise.
8864         * iconv/iconv_close.c: Likewise.
8865         * iconv/loop.c (SINGLE): Likewise.
8866         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8867         * include/atomic.h: Likewise.
8868         * inet/inet6_option.c (option_alloc): Likewise.
8869         * intl/bindtextdom.c (set_binding_values): Likewise.
8870         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8871         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8872         * intl/localealias.c (read_alias_file): Likewise.
8873         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8874         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8875         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8876         * libio/fmemopen.c (fmemopen): Likewise.
8877         * libio/iofgets.c (_IO_fgets): Likewise.
8878         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8879         * libio/iofgetws.c (fgetws): Likewise.
8880         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8881         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8882         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8883         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8884         * locale/findlocale.c (_nl_find_locale): Likewise.
8885         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8886         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
8887         Likewise.
8888         * locale/setlocale.c (setlocale): Likewise.
8889         * login/programs/pt_chown.c (main): Likewise.
8890         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
8891         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
8892         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
8893         (mmap, mmap64, mremap, munmap): Likewise.
8894         * math/e_exp2l.c: Likewise.
8895         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
8896         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
8897         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
8898         * math/s_catan.c (__catan): Likewise.
8899         * math/s_catanf.c (__catanf): Likewise.
8900         * math/s_catanh.c (__catanh): Likewise.
8901         * math/s_catanhf.c (__catanhf): Likewise.
8902         * math/s_catanhl.c (__catanhl): Likewise.
8903         * math/s_catanl.c (__catanl): Likewise.
8904         * math/s_ccosh.c (__ccosh): Likewise.
8905         * math/s_ccoshf.c (__ccoshf): Likewise.
8906         * math/s_ccoshl.c (__ccoshl): Likewise.
8907         * math/s_cexp.c (__cexp): Likewise.
8908         * math/s_cexpf.c (__cexpf): Likewise.
8909         * math/s_cexpl.c (__cexpl): Likewise.
8910         * math/s_clog10.c (__clog10): Likewise.
8911         * math/s_clog10f.c (__clog10f): Likewise.
8912         * math/s_clog10l.c (__clog10l): Likewise.
8913         * math/s_clog.c (__clog): Likewise.
8914         * math/s_clogf.c (__clogf): Likewise.
8915         * math/s_clogl.c (__clogl): Likewise.
8916         * math/s_csin.c (__csin): Likewise.
8917         * math/s_csinf.c (__csinf): Likewise.
8918         * math/s_csinh.c (__csinh): Likewise.
8919         * math/s_csinhf.c (__csinhf): Likewise.
8920         * math/s_csinhl.c (__csinhl): Likewise.
8921         * math/s_csinl.c (__csinl): Likewise.
8922         * math/s_csqrt.c (__csqrt): Likewise.
8923         * math/s_csqrtf.c (__csqrtf): Likewise.
8924         * math/s_csqrtl.c (__csqrtl): Likewise.
8925         * math/s_ctan.c (__ctan): Likewise.
8926         * math/s_ctanf.c (__ctanf): Likewise.
8927         * math/s_ctanh.c (__ctanh): Likewise.
8928         * math/s_ctanhf.c (__ctanhf): Likewise.
8929         * math/s_ctanhl.c (__ctanhl): Likewise.
8930         * math/s_ctanl.c (__ctanl): Likewise.
8931         * math/w_pow.c: Likewise.
8932         * math/w_powf.c: Likewise.
8933         * math/w_powl.c: Likewise.
8934         * math/w_scalb.c (sysv_scalb): Likewise.
8935         * math/w_scalbf.c (sysv_scalbf): Likewise.
8936         * math/w_scalbl.c (sysv_scalbl): Likewise.
8937         * misc/error.c (error_tail): Likewise.
8938         * misc/pselect.c (__pselect): Likewise.
8939         * nis/nis_callback.c (__nis_create_callback): Likewise.
8940         * nis/nis_call.c (__nisfind_server): Likewise.
8941         * nis/nis_creategroup.c (nis_creategroup): Likewise.
8942         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
8943         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
8944         * nis/nis_getservlist.c (nis_getservlist): Likewise.
8945         * nis/nis_lookup.c (nis_lookup): Likewise.
8946         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
8947         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
8948         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
8949         * nis/nis_xdr.c (xdr_endpoint): Likewise.
8950         * nis/nss_compat/compat-grp.c (getgrent_next_file)
8951         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
8952         * nis/nss_compat/compat-initgroups.c (add_group)
8953         (internal_getgrent_r): Likewise.
8954         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
8955         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
8956         * nis/nss_compat/compat-spwd.c (getspent_next_file)
8957         (internal_getspnam_r): Likewise.
8958         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
8959         (_nss_nis_getaliasbyname_r): Likewise.
8960         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
8961         (_nss_nis_getntohost_r): Likewise.
8962         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
8963         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
8964         (_nss_nis_getgrgid_r): Likewise.
8965         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
8966         (internal_nis_gethostent_r, internal_gethostbyname2_r)
8967         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
8968         (_nss_nis_gethostbyname4_r): Likewise.
8969         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
8970         (initgroups_netid): Likewise.
8971         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
8972         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
8973         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
8974         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
8975         (_nss_nis_getprotobynumber_r): Likewise.
8976         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
8977         (_nss_nis_getsecretkey): Likewise.
8978         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
8979         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
8980         (_nss_nis_getpwuid_r): Likewise.
8981         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
8982         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
8983         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
8984         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
8985         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
8986         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
8987         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
8988         Likewise.
8989         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
8990         (_nss_nisplus_getntohost_r): Likewise.
8991         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
8992         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
8993         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
8994         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
8995         Likewise.
8996         * nis/nss_nisplus/nisplus-initgroups.c
8997         (_nss_nisplus_initgroups_dyn): Likewise.
8998         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
8999         (_nss_nisplus_getnetbyaddr_r): Likewise.
9000         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9001         (_nss_nisplus_getprotobynumber_r): Likewise.
9002         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9003         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9004         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9005         Likewise.
9006         * nis/nss_nisplus/nisplus-service.c
9007         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9008         (_nss_nisplus_getservbyport_r): Likewise.
9009         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9010         (_nss_nisplus_getspnam_r): Likewise.
9011         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9012         Likewise.
9013         * nscd/aicache.c (addhstaiX): Likewise.
9014         * nscd/cache.c (cache_search, prune_cache): Likewise.
9015         * nscd/connections.c (register_traced_file, send_ro_fd)
9016         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9017         (main_loop_epoll): Likewise.
9018         * nscd/grpcache.c (addgrbyX): Likewise.
9019         * nscd/hstcache.c (addhstbyX): Likewise.
9020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9021         * nscd/mem.c (gc, mempool_alloc): Likewise.
9022         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9023         (addinnetgrX): Likewise.
9024         * nscd/nscd-client.h (__nscd_acquire_maplock)
9025         (__nscd_drop_map_ref): Likewise.
9026         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9027         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9028         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9029         Likewise.
9030         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9031         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9032         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9033         (__nscd_get_map_ref): Likewise.
9034         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9035         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9036         Likewise.
9037         * nscd/pwdcache.c (addpwbyX): Likewise.
9038         * nscd/selinux.c (preserve_capabilities): Likewise.
9039         * nscd/servicescache.c (addservbyX): Likewise.
9040         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9041         * posix/fnmatch.c (fnmatch): Likewise.
9042         * posix/getopt.c (_getopt_internal_r): Likewise.
9043         * posix/glob.c (glob, glob_in_dir): Likewise.
9044         * posix/wordexp.c (exec_comm_child): Likewise.
9045         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9046         (getanswer_r, gaih_getanswer_slice): Likewise.
9047         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9048         * resolv/res_init.c: Likewise.
9049         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9050         * resolv/res_query.c (__libc_res_nquery): Likewise.
9051         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9052         Likewise.
9053         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9054         * stdio-common/perror.c (perror): Likewise.
9055         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9056         * stdio-common/tmpnam.c (tmpnam): Likewise.
9057         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9058         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9059         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9060         Likewise.
9061         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9062         * stdlib/putenv.c (putenv): Likewise.
9063         * stdlib/setenv.c (__add_to_environ): Likewise.
9064         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9065         * stdlib/strtol_l.c (INTERNAL): Likewise.
9066         * string/memmem.c (memmem): Likewise.
9067         * string/strerror.c (strerror): Likewise.
9068         * string/strnlen.c (__strnlen): Likewise.
9069         * string/test-memmem.c (simple_memmem): Likewise.
9070         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9071         * sunrpc/pm_getport.c (__get_socket): Likewise.
9072         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9073         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9074         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9075         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9076         Likewise.
9077         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9078         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9079         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9080         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9081         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9082         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9083         Likewise.
9084         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9085         Likewise.
9086         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9087         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9088         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9089         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9090         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9092         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9093         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9094         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9095         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9096         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9097         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9098         Likewise.
9099         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9100         Likewise.
9101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9102         Likewise.
9103         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9104         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9105         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9106         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9107         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9108         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9109         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9110         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9112         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9113         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9114         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9115         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9116         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9117         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9118         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9119         Likewise.
9120         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9121         Likewise.
9122         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9123         Likewise.
9124         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9125         Likewise.
9126         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9127         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9128         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9129         Likewise.
9130         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9131         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9132         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9133         * sysdeps/posix/sleep.c: Likewise.
9134         * sysdeps/posix/tempname.c: Likewise.
9135         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9136         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9137         Likewise.
9138         * sysdeps/powerpc/powerpc32/dl-machine.h
9139         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9140         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9142         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9143         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9144         Likewise.
9145         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9146         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9147         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9148         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9149         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9150         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9151         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9152         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9153         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9154         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9155         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9156         (elf_machine_lazy_rel): Likewise.
9157         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9158         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9159         (elf_machine_lazy_rel): Likewise.
9160         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9161         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9162         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9163         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9164         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9165         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9166         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9167         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9168         Likewise.
9169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9170         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9171         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9172         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9173         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9174         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9175         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9176         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9177         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9178         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9179         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9180         Likewise.
9181         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9182         (__posix_fallocate64_l64): Likewise.
9183         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9184         (posix_fallocate): Likewise.
9185         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9186         Likewise.
9187         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9188         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9189         (getifaddrs_internal): Likewise.
9190         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9191         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9192         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9193         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9194         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9195         (__posix_fallocate64_l64): Likewise.
9196         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9197         Likewise.
9198         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9199         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9200         (__get_clockfreq): Likewise.
9201         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9202         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9203         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9205         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9206         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9207         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9208         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9209         Likewise.
9210         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9211         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9212         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9213         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9214         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9215         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9216         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9217         Likewise.
9218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9219         (posix_fallocate): Likewise.
9220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9221         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9222         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9223         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9224         (elf_machine_rela, elf_machine_rela_relative)
9225         (elf_machine_lazy_rel): Likewise.
9226         * time/asctime.c (asctime_internal): Likewise.
9227         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9228         * time/tzset.c (__tzset_parse_tz): Likewise.
9229         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9230         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9231         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9232         * wcsmbs/wcsmbsload.h: Likewise.
9234         [BZ #15894]
9235         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9237         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9238         (arena_get2): Remove THREAD_STATS conditionals.
9239         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9240         (__malloc_stats, int): Likewise.
9242 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9244         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9245         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9247         * manual/setjmp.texi: Fix typos/grammar errors.
9249         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9250         Only return early when n is <= 0.  Delete unused return statement.
9252         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9253         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9254         * debug/tst-longjmp_chk3.c: New file.
9256         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9257         (test_main): Replace code with set_fortify_handler call.
9258         * debug/test-strcpy_chk.c: Likewise.
9259         * debug/tst-chk1.c: Likewise.
9260         * debug/tst-longjmp_chk.c: Likewise.
9261         * test-skeleton.c: Include fcntl.h & paths.h
9262         (set_fortify_handler): Define.
9264         * debug/tst-longjmp_chk.c: Add header comment and include
9265         ../test-skeleton.c.
9266         (do_test): Mark static.
9267         (TEST_FUNCTION): Define.
9269         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9270         (IP_PMTUDISC_INTERFACE): Likewise.
9271         (IP_MULTICAST_IF): Likewise.
9272         (IP_MULTICAST_TTL): Likewise.
9273         (IP_MULTICAST_LOOP): Likewise.
9274         (IP_ADD_MEMBERSHIP): Likewise.
9275         (IP_DROP_MEMBERSHIP): Likewise.
9276         (IP_UNBLOCK_SOURCE): Likewise.
9277         (IP_BLOCK_SOURCE): Likewise.
9278         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9279         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9280         (IP_MSFILTER): Likewise.
9281         (MCAST_JOIN_GROUP): Likewise.
9282         (MCAST_BLOCK_SOURCE): Likewise.
9283         (MCAST_UNBLOCK_SOURCE): Likewise.
9284         (MCAST_LEAVE_GROUP): Likewise.
9285         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9286         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9287         (MCAST_MSFILTER): Likewise.
9288         (IP_MULTICAST_ALL): Likewise.
9289         (IP_UNICAST_IF): Likewise.
9291         * timezone/Makefile: Delete $(have-ksh) check.
9292         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9293         * timezone/tzselect.ksh: Add +x mode bits.
9295         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9296         (ANON_INODE_FS_MAGIC): Likewise.
9297         (BDEVFS_MAGIC): Likewise.
9298         (BINFMTFS_MAGIC): Likewise.
9299         (BTRFS_TEST_MAGIC): Likewise.
9300         (CRAMFS_MAGIC_WEND): Likewise.
9301         (DEBUGFS_MAGIC): Likewise.
9302         (ECRYPTFS_SUPER_MAGIC): Likewise.
9303         (EXT3_SUPER_MAGIC): Likewise.
9304         (EXT4_SUPER_MAGIC): Likewise.
9305         (FUTEXFS_SUPER_MAGIC): Likewise.
9306         (HOSTFS_SUPER_MAGIC): Likewise.
9307         (HUGETLBFS_MAGIC): Likewise.
9308         (MINIX3_SUPER_MAGIC): Likewise.
9309         (MTD_INODE_FS_MAGIC): Likewise.
9310         (NILFS_SUPER_MAGIC): Likewise.
9311         (OPENPROM_SUPER_MAGIC): Likewise.
9312         (PIPEFS_MAGIC): Likewise.
9313         (PSTOREFS_MAGIC): Likewise.
9314         (QNX6_SUPER_MAGIC): Likewise.
9315         (RAMFS_MAGIC): Likewise.
9316         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9317         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9318         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9319         (SECURITYFS_MAGIC): Likewise.
9320         (SELINUX_MAGIC): Likewise.
9321         (SMACK_MAGIC): Likewise.
9322         (SOCKFS_MAGIC): Likewise.
9323         (SQUASHFS_MAGIC): Likewise.
9324         (STACK_END_MAGIC): Likewise.
9325         (TMPFS_MAGIC): Likewise.
9326         (USBDEVICE_SUPER_MAGIC): Likewise.
9327         (V9FS_MAGIC): Likewise.
9328         (XENFS_SUPER_MAGIC): Likewise.
9329         (CRAMFS_MAGIC): Fix typo in comment.
9330         (EXT2_SUPER_MAGIC): Update comment.
9331         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9333 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9335         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9336         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9337         * sysdeps/unix/sysv/linux/arm: Move directory from
9338         ports/sysdeps/unix/sysv/linux/arm.
9339         * README: Update listing for arm-*-linux-gnueabi.
9341         * README: Remove mention of am33.
9343 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9345         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9346         than the comma operator, to avoid "rhs of comma has no effect"
9347         compiler warnings.
9348         (__sigfillset, __sigandset, __sigorset): Likewise.
9349         * include/signal.h (__sigemptyset): Likewise.
9350         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9352 2014-02-07  Allan McRae  <allan@archlinux.org>
9354         * version.h (RELEASE): Set to "development".
9355         (VERSION): Set to "2.19.90"
9356         * NEWS: Add 2.20 section.
9358 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9360         [BZ #16529]
9361         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9363 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9365         * manual/contrib.texi: Update entry for Carlos O'Donell,
9366         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9368 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9370         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9372         * sysdeps/unix/sysv/linux/kernel-features.h
9373         [__LINUX_KERNEL_VERSION >= 0x020621]
9374         (__ASSUME_PROC_PID_TASK_COMM): Define.
9376 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9378         [BZ #16398]
9379         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9380         conversion when destination buffer does not have enough space.
9381         * libio/tst-ftell-partial-wide.c: New test case.
9382         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9384         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9385         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9386         Leonard and Allan McRae.
9388 2014-02-04  David S. Miller  <davem@davemloft.net>
9390         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9391         32-bit.
9393 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9396         New file
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9398         New file
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9400         New file.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9402         New file.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9404         New file.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9406         New file.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9408         New file.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9410         New file.
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9412         New file.
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9414         New file.
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9416         New file.
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9418         New file.
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9420         New file.
9422 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9424         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9425         * shlib-versions: Likewise.
9427 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9428             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9430         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9431         (abilist-pattern): New variable, set to %-le.abilist.
9433         * Makerules (abilist-pattern): New variable.
9434         (vpath): Use $(abilist-pattern) in place of %.abilist.
9435         (check-abi-% pattern rule): Likewise.
9436         (check-abi, update-abi): Likewise.
9438 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9442 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9444         * manual/startup.texi: Add next, previous, and top entries for
9445         the `Program Arguments' and `Environment Variables' nodes.
9447 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9449         * manual/macros.texi: Add comments before MTASC-safety macros.
9451         * manual/users.texi: Document MTASC-safety properties.
9453         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9454         (pthread_getspecific, pthread_setspecific): Format with
9455         @deftypefun, and add @safety note.
9456         * manual/signal.texi: Move comments that analyze the above
9457         functions to their home place.
9459 2014-02-03  Allan McRae  <allan@archlinux.org>
9461         * po/sl.po: Update Slovenian translation from translation project.
9463 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9465         * manual/time.texi (timegm): Add missing blank after @c.
9466         Reported by Joseph Myers <joseph@codesourcery.com>.
9468 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9470         * manual/check-safety.sh: New.
9471         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9473         * manual/terminal.texi: Document MTASC-safety properties.
9475         * manual/filesys.texi: Document MTASC-safety properties.
9477         * manual/errno.texi: Document MTASC-safety properties.
9479         * manual/intro.texi: Document safety identifiers and
9480         conditionals.
9482         * manual/string.texi (wcstok): Fix prototype.
9483         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9485         * manual/time.texi: Document MTASC-safety properties.
9487         * manual/string.texi: Document MTASC-safety properties.
9489         * manual/threads.texi: Document MTASC-safety properties.
9491         * manual/stdio.texi: Document MTASC-safety properties.
9493         * manual/syslog.texi: Document MTASC-safety properties.
9495         * manual/sysinfo.texi: Document MTASC-safety properties.
9497         * manual/startup.texi: Document MTASC-safety properties.
9499         * manual/socket.texi: Document MTASC-safety properties.
9501         * manual/signal.texi: Document MTASC-safety properties.
9503 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9505         * manual/setjmp.texi: Document MTASC-safety properties.
9507         * manual/search.texi: Document MTASC-safety properties.
9509         * manual/resource.texi: Document MTASC-safety properties.
9511         * manual/process.texi: Document MTASC-safety properties.
9513         * manual/platform.texi: Document MTASC-safety properties.
9515         * manual/pipe.texi: Document MTASC-safety properties.
9517         * manual/pattern.texi: Document MTASC-safety properties.
9519         * manual/message.texi: Document MTASC-safety properties.
9521         [BZ #12751]
9522         * manual/memory.texi: Document MTASC-safety properties.
9524         * manual/math.texi: Document MTASC-safety properties.
9526         * manual/locale.texi: Document MTASC-safety properties.
9528         * manual/llio.texi: Document MTASC-safety properties.
9530         * manual/libdl.texi: New.
9532         * manual/lang.texi: Document MTASC-safety properties.
9534         * manual/job.texi: Document MTASC-safety properties.
9536         * manual/getopt.texi: Document MTASC-safety properties.
9538         * manual/ctype.texi: Document MTASC-safety properties.
9540 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9542         [BZ #16046]
9543         * csu/libc-tls.c (static_map): Remove variable.
9544         (__libc_setup_tls): Use main executable's link map for TLS data.
9545         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9546         casing for LM_ID_BASE and GL(dl_nns).
9547         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9548         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9549         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9550         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9551         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9552         member.
9553         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9554         l_phnum members.
9556 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9558         * manual/debug.texi: Document MTASC-safety properties.
9560 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9562         [BZ #16510]
9563         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9564         of __x86_64__ when disabling x87 inline functions.
9566 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9568         * manual/charset.texi: Document MTASC-safety properties.
9570         * manual/crypt.texi: Document MTASC-safety properties.
9572         * manual/conf.texi: Document MTASC-safety properties.
9574         * manual/arith.texi: Document MTASC-safety properties.
9576         * manual/argp.texi: Document MTASC-safety properties.
9578         * manual/macros.texi: Introduce macros to document multi
9579         thread, asynchronous signal and asynchronous cancellation
9580         safety properties.
9581         * manual/intro.texi: Introduce the properties themselves.
9583 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9585         * sysdeps/sh/sh4/Makefile: New file.
9587 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9589         * math/gen-libm-test.pl ($srcdir): New variable.
9590         ($auto_input): Use it.
9592 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9594         [BZ #16506]
9595         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9596         access beyond array bounds when parsing netgroups file.
9598         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9599         the old buffer before realloc.
9601 2014-01-27  Allan McRae  <allan@archlinux.org>
9603         * po/fr.po: Update French translation from translation project.
9605 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9607         * sysdeps/sh/libm-test-ulps: Regenerate.
9609 2014-01-24  David S. Miller  <davem@davemloft.net>
9611         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9613 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9616         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9618 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9620         [BZ #16474]
9621         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9622         string pointers after reallocation.
9624 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9626         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9627         __SH4A__ instead of __SH_FPU_ANY__.
9629 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9631         * sysdeps/sh/fpu_control.h: New file.
9632         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9633         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9634         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9635         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9636         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9637         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9638         * sysdeps/sh/sys/ucontext.h: Remove.
9639         * sysdeps/sh/sys: Remove directory.
9641 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9643         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9644         s390/sys/ucontext.h.
9645         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9646         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9648 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9650         [BZ #15605]
9651         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9653 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9655         [BZ#16431]
9656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9657         Adjust the vDSO correctly for internal calls.
9658         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9660 2014-01-20  Allan McRae  <allan@archlinux.org>
9662         * po/ca.po: Update Catalan translation from translation project.
9664 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9666         * sysdeps/s390/sotruss-lib.c: New file.
9668 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9670         [BZ#16430]
9671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9672         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9673         local calls issues by not having a PLT stub required for IFUNC calls.
9674         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9676 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9678         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9679         * math/test-fpucw-static.c: Likewise.
9681 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9683         [BZ #16453]
9684         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9686 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9688         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9689         implementation for powerpc.
9691 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9693         [BZ #14782]
9694         * sysdeps/posix/system.c (__libc_system): Do not enable
9695         asynchronous cancellation.
9697 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9699         [BZ #16427]
9700         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9701         handling only for numbers special also in the IEEE case.
9703 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9705         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9707 2014-01-11  Allan McRae  <allan@archlinux.org>
9709         * po/bg.po: Update Bulgarian translation from translation project.
9711         * po/de.po: Update German translation from translation project.
9713 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9715         * sysdeps/generic/gcc-compat.h: New file.
9717 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9719         * benchtests/asin-inputs: Correct slow inputs.
9720         * benchtests/acos-inputs: Likewise.
9722 2014-01-10  Allan McRae  <allan@archlinux.org>
9724         * po:sv.po: Update Swedish translation from translation project.
9726         * po/vi.po: Update Vietnamese translation from translation project.
9728         * po/eo.po: Update Esperanto translation from translation project.
9730         * po/cs.po: Update Czech translation from translation project.
9732         * po/nl.po: Update Dutch translation from translation project.
9734         * po/pl.po: Update Polish translation from translation project.
9736         * po/ru.po: Update Russian translation from translation project.
9738         * po/uk.po: Update Ukrainian translation from translation project.
9740 2014-01-08  Brooks Moses  <bmoses@google.com>
9742         * elf/dl-load.c: Fix comment typo.
9744 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9746         * po/header.pot: Rename to...
9747         * po/pot.header: ... this.
9748         * po/Makefile: Use pot.header.
9750 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9751             Maxim Kuvyrkov  <maxim@kugelworks.com>
9753         [BZ #16394]
9754         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9755         SRC and DEST against LEN.
9757 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9759         [BZ #16414]
9760         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9761         implementation.
9762         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9764 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9768 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9770         [BZ #16408]
9771         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9772         for large positive arguments.
9774 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9776         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9778         * math/auto-libm-test-in: Mark various tests with
9779         xfail-rounding:ldbl-128ibm.
9780         * math/auto-libm-test-out: Regenerated.
9782         [BZ #16407]
9783         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9784         Increase overflow threshold.
9786 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9788         [BZ #14286]
9789         * stdio-common/vfprintf.c: Check for integer overflow.
9791 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9793         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9794         the first argument and return value of __tls_get_addr_internal.
9796 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9798         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9799         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9801 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9803         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9804         * sysdeps/s390/rtld-global-offsets.sym: New file.
9805         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9806         GLIBC_2.19 symbol.
9807         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9808         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9809         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9810         ... this.
9811         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9812         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9813         ... this.
9814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9815         Regenerate.
9816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9817         Regenerate.
9818         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9819         halfs of GPRs for high_gprs contexts.
9820         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9821         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9822         field.
9823         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9824         uc_flags field.
9825         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9826         64 bit versions:
9827         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9828         for high GPRs (uc_high_gprs) and for future extensions
9829         (__reserved).
9830         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9831         for future extensions (__reserved).
9832         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9833         64 bit versions:
9834         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9835         SC_HIGHGPRS offset definition.
9836         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9837         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9839         * Versions.def: Add GLIBC_2.19 for libpthread.
9840         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9841         siglongjmp for libpthread with GLIBC_2.19 symver.
9842         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9843         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9844         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9845         * sysdeps/s390/__longjmp.c: New file.
9846         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9847         * sysdeps/s390/longjmp.c: New file.
9848         * sysdeps/s390/setjmp.S: New file.
9849         * sysdeps/s390/sigjmp.S: New file.
9850         * sysdeps/s390/v1-longjmp.c: New file.
9851         * sysdeps/s390/v1-setjmp.h: New file.
9852         * sysdeps/s390/v1-sigjmp.c: New file.
9853         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9854         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9855         GLIBC_2.19 version.
9856         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9857         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9858         versioned symbols for ____longjmp_chk.
9859         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9860         Likewise.
9861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9862         Regenerate.
9863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9864         Regenerate.
9865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9866         Regenerate.
9867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9868         Regenerate.
9869         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9870         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9871         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9872         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9873         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9874         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9875         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9876         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9877         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9878         * sysdeps/s390/rtld-__longjmp.c: New file.
9879         * sysdeps/s390/rtld-setjmp.S: New file.
9881 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9883         [BZ #16400]
9884         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9885         Return -__logl (x) for small positive arguments without evaluating
9886         a polynomial.
9888 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
9890         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
9891         Rename to ...
9892         (__ptrace_peeksiginfo_args): ... this.
9893         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9894         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9895         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9897 2014-01-06  Allan McRae  <allan@archlinux.org>
9899         * inet/netinet/in.h: Fix typo in comment.
9901 2014-01-05  Andreas Jaeger  <aj@suse.de>
9903         * sysdeps/i386/fpu/libm-test-ulps: Update.
9905 2014-01-05  Allan McRae  <allan@archlinux.org>
9907         * po/libc.pot: Regenerated.
9909         * malloc/memusagestat.c: Fix gettext call formatting.
9911 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
9913         * nscd/nscd.c: Improve usage() output.
9915 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
9917         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
9918         * sysdeps/unix/sysv/linux/configure: Regenerated.
9919         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
9920         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
9922 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9924         [BZ #16390]
9925         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9926         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
9928 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9930         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
9931         extra tokens at end of #undef directive.
9932         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
9933         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
9934         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
9936 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
9938         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9940         * math/auto-libm-test-in: Mark various tests with
9941         xfail-rounding:ldbl-128ibm.
9942         * math/auto-libm-test-out: Regenerated.
9944 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
9946         [BZ #16386]
9947         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
9948         numbers with subnormal high part when calculating exponent.
9950         [BZ #16385]
9951         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
9952         fabs.
9954         [BZ #16384]
9955         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
9956         M_LN2l.
9957         (__ieee754_acoshl): Use __log1pl not __log1p.
9959 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
9961         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
9962         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
9963         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
9964         (grow_heap, heap_trim, _int_new_arena, get_free_list)
9965         (reused_arena, arena_get2): Convert to GNU style.
9966         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
9967         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
9968         (memalign_check, __malloc_set_state): Likewise.
9969         * malloc/mallocbug.c (main): Likewise.
9970         * malloc/malloc.c (__malloc_assert, malloc_init_state)
9971         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
9972         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
9973         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
9974         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
9975         (__posix_memalign, malloc_info): Likewise.
9976         * malloc/malloc.h: Likewise.
9977         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
9978         (mallochook, memalignhook, reallochook, mabort): Likewise.
9979         * malloc/mcheck.h: Likewise.
9980         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
9981         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
9982         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
9983         * malloc/morecore.c (__default_morecore): Likewise.
9984         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
9985         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
9986         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
9987         (print_and_abort): Likewise.
9988         * malloc/obstack.h: Likewise.
9989         * malloc/set-freeres.c (__libc_freeres): Likewise.
9990         * malloc/tst-mallocstate.c (main): Likewise.
9991         * malloc/tst-mtrace.c (main): Likewise.
9992         * malloc/tst-realloc.c (do_test): Likewise.
9994 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9996         [BZ #16366]
9997         * nscd/netgroupcache.c (do_notfound): New function.
9998         (addgetnetgrentX): Use it.
10000         [BZ # 16365]
10001         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10002         NSS_STATUS_NOTFOUND.
10004 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10006         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10009 2014-01-01  Allan McRae  <allan@archlinux.org>
10011         * scripts/update-copyrights: Update configure input file suffix.
10013         * NEWS: Update copyright year.
10014         * catgets/gencat.c: Likewise.
10015         * csu/version.c: Likewise.
10016         * debug/catchsegv.sh: Likewise.
10017         * debug/pcprofiledump.c: Likewise.
10018         * debug/xtrace.sh: Likewise.
10019         * elf/ldconfig.c: Likewise.
10020         * elf/ldd.bash.in: Likewise.
10021         * elf/pldd.c: Likewise.
10022         * elf/sotruss.ksh: Likewise.
10023         * elf/sprof.c: Likewise.
10024         * iconv/iconv_prog.c: Likewise.
10025         * iconv/iconvconfig.c: Likewise.
10026         * locale/programs/locale.c: Likewise.
10027         * locale/programs/localedef.c: Likewise.
10028         * login/programs/pt_chown.c: Likewise.
10029         * malloc/memusage.sh: Likewise.
10030         * malloc/memusagestat.c: Likewise.
10031         * malloc/mtrace.pl: Likewise.
10032         * manual/libc.texinfo: Likewise.
10033         * nscd/nscd.c: Likewise.
10034         * nss/getent.c: Likewise.
10035         * nss/makedb.c: Likewise.
10036         * posix/getconf.c: Likewise.
10037         * scripts/test-installation.pl: Likewise.
10039         * All files with FSF copyright notices: Update copyright dates
10040         using scripts/update-copyrights.
10041         * intl/plural.c: Regenerated.
10042         * locale/programs/charmap-kw.h: Likewise.
10043         * locale/programs/locfile-kw.h: Likewise.
10045 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10047         * sysdeps/unix/sysv/linux/configure: Regenerated.
10048         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10049         the linux/fanotify.h header.
10050         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10051         HAVE_LINUX_FANOTIFY_H is defined.
10053 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10055         * benchtests/cos-inputs: New inputs.
10056         * benchtests/sin-inputs: Likewise.
10058         * benchtests/atan-inputs: New inputs. Fix name of multiple
10059         precision fallback inputs.
10061         * benchtests/atanh-inputs: New inputs.
10062         * benchtests/tanh-inputs: Likewise.
10064         * benchtests/acosh-inputs: New inputs.
10065         * benchtests/asinh-inputs: Likewise.
10067         * benchtests/cosh-inputs: New inputs.
10068         * benchtests/sinh-inputs: Likewise.
10070         * benchtests/acos-inputs: Add more inputs.
10071         * benchtests/asin-inputs: Likewise.
10073 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10075         [BZ #16375]
10076         * manual/arith.texi: Fix spelling.
10077         * manual/charset.texi: Likewise.
10078         * manual/errno.texi: Likewise.
10079         * manual/filesys.texi: Likewise.
10080         * manual/lang.texi: Likewise.
10081         * manual/llio.texi: Likewise.
10082         * manual/locale.texi: Likewise.
10083         * manual/message.texi: Likewise.
10084         * manual/resource.texi: Likewise.
10085         * manual/search.texi: Likewise.
10086         * manual/setjmp.texi: Likewise.
10087         * manual/stdio.texi: Likewise.
10088         * manual/string.texi: Likewise.
10089         * manual/sysinfo.texi: Likewise.
10090         * manual/time.texi: Likewise.
10092 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10094         * po/sl.po: New file.
10096 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10098         * .gitignore: Add core/.gdbinit/.gdb_history.
10100 2013-12-27  Allan McRae  <allan@archlinux.org>
10102         [BZ #16369]
10103         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10104         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10106 2013-12-24  Brooks Moses  <bmoses@google.com>
10108         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10109         all compilers that claim C++98 compliance, not just GCC.
10110         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10111         Likewise.
10113 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10115         * NEWS: Restore accidentally deleted bug-fix entries.
10117 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10118             Ondřej Bílka  <neleai@seznam.cz>
10120         [BZ #15073]
10121         * malloc/malloc.c (_int_free): Perform sanity check only if we
10122         have_lock.
10124 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10126         [BZ #12986]
10127         * manual/stdio.texi (String Input Conversions): Clarify that character
10128         classes are not supported.
10130 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10134 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10136         [BZ #16337]
10137         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10138         Calculate results for small negative arguments directly rather
10139         than using reflection formula with special underflow handling.
10141         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10142         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10143         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10144         (fchflags): Likewise.
10145         (revoke): Likewise.
10146         (setlogin): Likewise.
10147         (sigaltstack): Likewise.
10148         (wait4): Likewise.
10149         (sigblock): Remove.
10150         (sigsetmask): Likewise.
10151         (wait3): Likewise.
10152         (waitpid): Likewise.
10153         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10154         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10155         file.
10156         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10157         * sysdeps/unix/bsd/Makefile: ... here.
10158         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10159         * sysdeps/unix/bsd/Versions: ... here.
10160         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10161         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10162         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10163         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10164         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10165         * sysdeps/unix/bsd/sigblock.c: ... here.
10166         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10167         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10168         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10169         * sysdeps/unix/bsd/sigvec.c: ... here.
10170         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10171         * sysdeps/unix/bsd/tcdrain.c: ... here.
10172         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10173         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10174         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10175         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10176         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10177         * sysdeps/unix/bsd/wait.c: ... here.
10178         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10179         * sysdeps/unix/bsd/wait3.c: ... here.
10180         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10181         * sysdeps/unix/bsd/waitpid.c: ... here.
10183 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10185         [BZ #16356]
10186         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10187         round-to-nearest for [!USE_AS_EXPM1L].
10188         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10189         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10190         more tests of exp and exp10.  Expect some exp10 tests to miss
10191         exceptions or fail in directed rounding modes.
10192         * math/auto-libm-test-out: Regenerated.
10193         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10194         (exp10_test_tonearest): New function.
10195         (exp10_towardzero_test_data): New array.
10196         (exp10_test_towardzero): New function.
10197         (exp10_downward_test_data): New array.
10198         (exp10_test_downward): New function.
10199         (exp10_upward_test_data): New array.
10200         (exp10_test_upward): New function.
10201         (main): Call the new functions.
10202         * sysdeps/i386/fpu/libm-test-ulps: Update.
10203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10205 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10207         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10208         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10209         * math/auto-libm-test-out: Regenerated.
10210         * math/libm-test.inc (acosh_test_data): Add more tests.
10211         (atanh_test_data): Likewise.
10212         (ceil_test_data): Likewise.
10213         (copysign_test_data): Likewise.
10214         * sysdeps/i386/fpu/libm-test-ulps: Update.
10215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10217         * timezone/checktab.awk: Update from tzcode 2013i.
10218         * timezone/private.h: Likewise.
10219         * timezone/scheck.c: Likewise.
10220         * timezone/tzfile.h: Likewise.
10221         * timezone/tzselect.ksh: Likewise.
10222         * timezone/zdump.c: Likewise.
10223         * timezone/zic.c: Likewise.
10225         * math/auto-libm-test-in: Add tests of cpow.
10226         * math/auto-libm-test-out: Regenerated.
10227         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10229         mpc_cc_c.
10230         (func_calc_desc): Add mpc_cc_c union field.
10231         (test_functions): Add cpow.
10232         (special_fill_2pi): New function.
10233         (special_real_inputs): Add 2pi.
10234         (calc_generic_results): Handle mpc_cc_c.
10235         * sysdeps/i386/fpu/libm-test-ulps: Update.
10236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10238         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10239         csqrt, ctan and ctanh.
10240         * math/auto-libm-test-out: Regenerated.
10241         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10242         (TEST_COND_x86): Likewise.
10243         (ccos_test_data): Use AUTO_TESTS_c_c.
10244         (ccosh_test_data): Likewise.
10245         (cexp_test_data): Likewise.
10246         (clog_test_data): Likewise.
10247         (csqrt_test_data): Likewise.
10248         (ctan_test_data): Likewise.
10249         (ctan_tonearest_test_data): Likewise.
10250         (ctan_towardzero_test_data): Likewise.
10251         (ctan_downward_test_data): Likewise.
10252         (ctan_upward_test_data): Likewise.
10253         (ctanh_test_data): Likewise.
10254         (ctanh_tonearest_test_data): Likewise.
10255         (ctanh_towardzero_test_data): Likewise.
10256         (ctanh_downward_test_data): Likewise.
10257         (ctanh_upward_test_data): Likewise.
10258         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10259         mpc_c_c.
10260         (func_calc_desc): Add mpc_c_c union field.
10261         (FUNC_mpc_c_c): New macro.
10262         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10263         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10264         ctanh.
10265         (special_fill_min_subnorm_p120): New function.
10266         (special_real_inputs): Add min_subnorm_p120.
10267         (calc_generic_results): Handle mpc_c_c.
10268         * sysdeps/i386/fpu/libm-test-ulps: Update.
10269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10271 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10273         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10274         (do_sin_slow): New functions.
10275         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10276         (cslow2, csloww1, csloww2): Use the new functions.
10278         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10279         Use M to change sign of result instead of X.  Assume X is
10280         positive.
10281         (csloww1): Likewise.
10282         (__sin): Adjust.
10283         (__cos): Adjust.
10285         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10286         arguments A and DA.
10287         (__sin): Adjust.
10288         (__cos): Likewise.
10290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10291         (__cos): Likewise.
10292         (sloww1): Don't adjust sign of DX.
10293         (csloww1): Likewise.
10294         (sloww2): Use X directly and don't adjust sign of DX.
10295         (csloww2): Likewise.
10297 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10299         * math/auto-libm-test-in: Add tests of cabs and carg.
10300         * math/auto-libm-test-out: Regenerated.
10301         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10302         (carg_test_data): Likewise.
10303         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10304         mpc_c_f.
10305         (func_calc_desc): Add mpc_c_f union field.
10306         (test_functions): Add cabs and carg.
10307         (calc_generic_results): Handle mpc_c_f.
10309         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10310         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10311         as a macro and a compat symbol.
10312         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10313         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10314         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10315         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10316         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10317         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10318         not use .hidden.
10319         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10320         Likewise.
10321         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10322         Likewise.
10323         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10324         Likewise.
10325         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10326         Likewise.
10327         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10328         Likewise.
10329         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10330         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10331         from GLIBC_2.3.2.
10333 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10337 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10339         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10340         trailing whitespace removed.
10341         * scripts/config.guess: Update to version 2013-11-29.
10342         * scripts/config.sub: Update to version 2013-10-01.
10344         * math/auto-libm-test-in: Add tests of sincos.
10345         * math/auto-libm-test-out: Regenerated.
10346         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10347         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10348         mpfr_f_11.
10349         (func_calc_desc): Add mpfr_f_11 union field.
10350         (test_functions): Add sincos.
10351         (calc_generic_results): Handle mpfr_f_11.
10352         * sysdeps/i386/fpu/libm-test-ulps: Update.
10353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10355 2013-12-19  Andreas Schwab  <schwab@suse.de>
10357         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10358         CALL_MCOUNT.
10359         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10360         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10361         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10363 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10365         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10366         * sysdeps/i386/fpu/libm-test-ulps: Update.
10367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10369         [BZ #16293]
10370         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10371         round-to-nearest mode when using frndint.
10372         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10373         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10374         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10375         Likewise.
10376         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10377         sinh test to fail.
10378         * math/auto-libm-test-out: Regenerated.
10379         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10380         (TEST_COND_x86): Likewise.
10381         (expm1_tonearest_test_data): New array.
10382         (expm1_test_tonearest): New function.
10383         (expm1_towardzero_test_data): New array.
10384         (expm1_test_towardzero): New function.
10385         (expm1_downward_test_data): New array.
10386         (expm1_test_downward): New function.
10387         (expm1_upward_test_data): New array.
10388         (expm1_test_upward): New function.
10389         (main): Run the new test functions.
10390         * sysdeps/i386/fpu/libm-test-ulps: Update.
10391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10393         * include/features.h: Update comment documenting feature test
10394         macros.  Mention _DEFAULT_SOURCE in comment.
10395         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10396         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10397         _BSD_SOURCE and _SVID_SOURCE.
10398         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10399         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10400         !_SVID_SOURCE]: Likewise.
10401         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10402         (__USE_POSIX_IMPLICITLY): Define.
10403         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10404         (_POSIX_SOURCE): Undefine and redefine.
10405         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10406         (_POSIX_C_SOURCE): Likewise.
10407         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10408         (Feature Test Macros): Update documentation of default features.
10410 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10412         * benchtests/Makefile: Add bench-strtok.
10413         * benchtests/bench-strtok.c: New file: strtok benchtest.
10415 2013-12-19  Allan McRae  <allan@archlinux.org>
10417         * manual/install.texi: Suppress menu for plain text output.
10418         * INSTALL: Regenerated.
10420 2013-12-18  Brooks Moses  <bmoses@google.com>
10422         [BZ #15846]
10423         * misc/getauxval.c: Include errno.h.
10424         (__getauxval): Set errno to ENOENT if the requested type is not
10425         found.
10426         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10427         don't declare with __attribute_const__.
10428         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10429         * manual/startup.texi: Document that getauxval sets errno.
10431 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10433         * math/auto-libm-test-in: Add tests of jn and yn.
10434         * math/auto-libm-test-out: Regenerated.
10435         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10436         (yn_test_data): Likewise.
10437         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10438         mpfr_if_f.
10439         (func_calc_desc): Add mpfr_if_f union field.
10440         (FUNC_mpfr_if_f): New macro.
10441         (test_functions): Add jn and yn.
10442         (calc_generic_results): Assert type of second input for
10443         mpfr_ff_f.  Handle mpfr_if_f.
10444         (output_for_one_input_case): Disable all checking for arguments
10445         fitting floating-point types in case of an integer argument.
10446         * sysdeps/i386/fpu/libm-test-ulps: Update.
10447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10450         Don't expect fegetround reference in libm.so.
10452 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10454         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10455         $(config-cflags-nofma).
10457 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10459         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10460         * math/auto-libm-test-out: Regenerated.
10462         [BZ #16338]
10463         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10464         to determine exponent and adjust argument to have exponent of -1.
10465         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10466         log2.
10467         * math/auto-libm-test-out: Regenerated.
10468         * sysdeps/i386/fpu/libm-test-ulps: Update.
10469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10471 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10473         * manual/probes.texi: Remove cases when per-thread arenas are
10474         disabled.
10476 2013-12-18  Andreas Schwab  <schwab@suse.de>
10478         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10479         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10480         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10481         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10482         * sysdeps/i386/i686/multiarch/Makefile: Update.
10483         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10485 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10487         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10488         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10490 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10492         [BZ #15968]
10493         Support TZ transition times < 00:00:00.
10494         This is needed for version-3 tz-format files; it supports time
10495         stamps past 2037 for America/Godthab (the only entry in the tz
10496         database for which this change is relevant).
10497         * manual/time.texi (TZ Variable): Document transition times
10498         from -167:59:59 through -00:00:01.
10499         * time/tzset.c (tz_rule): Time of day is now signed.
10500         (__tzset_parse_tz): Parse negative time of day.
10502         Document TZ transition times >= 25:00:00.
10503         * manual/time.texi (TZ Variable): Document transition times from
10504         25:00:00 through 167:59:59.  These are already supported, and this
10505         support will help with version-3 tz-format files.
10507         * manual/time.texi (TZ Variable): Modernize North America example
10508         to reflect current (i.e., 2007-and-later) daylight saving rules.
10510         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10512 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10514         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10515         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10516         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10518         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10519         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10520         * sysdeps/unix/bsd/clock.c: Likewise.
10521         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10522         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10523         * sysdeps/unix/bsd/init-posix.c: Likewise.
10524         * sysdeps/unix/bsd/poll.c: Likewise.
10525         * sysdeps/unix/bsd/ptsname.c: Likewise.
10526         * sysdeps/unix/bsd/seekdir.c: Likewise.
10527         * sysdeps/unix/bsd/setegid.c: Likewise.
10528         * sysdeps/unix/bsd/seteuid.c: Likewise.
10529         * sysdeps/unix/bsd/setgid.c: Likewise.
10530         * sysdeps/unix/bsd/setrgid.c: Likewise.
10531         * sysdeps/unix/bsd/setruid.c: Likewise.
10532         * sysdeps/unix/bsd/setsid.c: Likewise.
10533         * sysdeps/unix/bsd/setuid.c: Likewise.
10534         * sysdeps/unix/bsd/sigaction.c: Likewise.
10535         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10536         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10537         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10538         * sysdeps/unix/bsd/telldir.c: Likewise.
10539         * sysdeps/unix/bsd/times.c: Likewise.
10540         * sysdeps/unix/bsd/usleep.c: Likewise.
10542         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10543         ($(objpfx)libbsd-compat.a): Remove rule.
10545         * include/features.h (__FAVOR_BSD): Do not define.
10546         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10547         features conflicting with POSIX.
10548         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10549         (_BSD_SOURCE): Remove description of not being a subset of other
10550         feature test macros.
10551         * manual/job.texi (getpgrp): Do not document BSD version.
10552         (getpgid): Do not document by reference to BSD getpgrp.
10553         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10554         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10555         * signal/signal.h [__FAVOR_BSD]: Likewise.
10556         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10557         instead of making contents conditional on [__FAVOR_BSD].
10558         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10560 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10566         [BZ #16314]
10567         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10568         values below 2**-450, not 2**-500.
10569         * math/auto-libm-test-in: Don't allow spurious underflow from
10570         hypot.
10571         * math/auto-libm-test-out: Regenerated.
10573         [BZ #16316]
10574         [BZ #16330]
10575         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10576         values of ha and hb and sort them after adjusting subnormal
10577         arguments.
10578         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10579         Likewise.
10580         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10581         values of ea and eb and sort them after adjusting subnormal
10582         arguments.
10583         * math/auto-libm-test-in: Do not expect some hypot tests of
10584         subnormals to fail.  Add more hypot tests.
10585         * math/auto-libm-test-out: Regenerated.
10587 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10589         [BZ #13304]
10590         * sysdeps/sh/s_fma.c: New file.
10591         * sysdeps/sh/s_fmaf.c: New file.
10592         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10593         version.
10594         * sysdeps/sh/Implies: Add sh/soft-fp.
10596 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10598         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10599         level of indirection to members `objname', `errstring', `malloced'.
10600         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10601         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10602         it as the __longjmp argument (just pass 1 instead).
10603         (_dl_catch_error): Initialize C with argument pointers and address of
10604         volatile local ERRCODE rather than copying values out of C at return.
10606 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10608         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10609         * math/auto-libm-test-out: Regenerated.
10610         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10611         (hypot_test_data): Likewise.
10612         (pow_test_data): Likewise.
10613         (pow_tonearest_test_data): Likewise.
10614         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10615         mpfr_ff_f.
10616         (func_calc_desc): Add mpfr_ff_f union field.
10617         (FUNC_mpfr_ff_f): New macro.
10618         (test_functions): Add atan2, hypot and pow.
10619         (special_fill_min): New function.
10620         (special_fill_minus_min): Likewise.
10621         (special_fill_min_subnorm): Likewise.
10622         (special_fill_minus_min_subnorm): Likewise.
10623         (special_real_inputs): Add min, -min, min_subnorm and
10624         -min_subnorm.
10625         (calc_generic_results): Handle mpfr_ff_f.
10626         * sysdeps/i386/fpu/libm-test-ulps: Update.
10627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10629 2013-12-16  Will Newton  <will.newton@linaro.org>
10631         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10632         (Aligned Memory Blocks): Add documentation for aligned_alloc
10633         and suggest it as an alternative to posix_memalign.
10634         (Hooks for Malloc): Document __memalign_hook is also called
10635         for aligned_alloc.  (Summary of Malloc): Add summary for
10636         aligned alloc.  Document __memalign_hook is also called
10637         for aligned_alloc.
10639 2013-12-16  Will Newton  <will.newton@linaro.org>
10641         * manual/memory.texi (Malloc Examples): Clarify default
10642         alignment documentation.  Suggest posix_memalign rather
10643         than memalign or valloc.
10644         (Aligned Memory Blocks): Remove suggestion to use memalign
10645         or valloc.  Remove obsolete comment about BSD.
10646         Document memalign errno values and mark the function obsolete.
10647         Document posix_memalign returned error codes.  Mark valloc
10648         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10649         called for posix_memalign and valloc.
10650         (Summary of Malloc): Add posix_memalign to function summary.
10651         __memalign_hook is also called for posix_memalign and valloc.
10653 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10655         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10656         TAYLOR_SIN.
10657         (__sin): Adjust.
10658         (__cos): Likewise.
10659         (sloww): Use mynumber union.  Expand ternary operator into
10660         if-else statements.
10661         (cslow): use mynumber union.
10663 2013-12-16  Allan McRae  <allan@archlinux.org>
10665         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10666         * configure: Regenerated.
10668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10670         [BZ #14120]
10671         * configure.ac: Added --enable-maintainer-mode. Check for
10672         autoconf when enabled.
10673         * configure: Regenerated.
10675         * nscd/nscd.service: New file.
10676         * nscd/nscd.tmpfiles: New file.
10678 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10680         [BZ #12100]
10681         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10682         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10683         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10684         (strstr): Add __strstr_sse2_unaligned ifunc.
10685         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10686         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10687         (strcasestr): Remove __strcasestr_sse42 ifunc.
10688         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10692 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10694         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10695         * sysdeps/sh/bits/fenv.h: ... here.
10696         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10698 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10700         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10702         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10703         hypotf multiarch implementations.
10704         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10705         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10706         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10707         multiarch hypot for PPC64.
10708         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10709         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10710         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10711         multiarch hypotf for PPC64.
10713         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10714         modff multiarch implementations.
10715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10718         multiarch modf for PPC64.
10719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10722         multiarch modff for PPC64.
10724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10725         and logl multiarch implementations.
10726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10729         multiarch logb for PPC64.
10730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10733         multiarch logb for PPC64.
10734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10737         multiarch logb for PPC64.
10739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10740         isinff multiarch implementation.
10741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10742         file.
10743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10745         multiarch isinf for PPC64.
10746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10747         file.
10748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10749         multiarch isinff for PPC64.
10751         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10752         finitef multiarch implementation.
10753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10754         file.
10755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10757         multiarch finite for PPC64.
10758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10759         file.
10760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10761         multiarch finitef for PPC64.
10763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10764         lrint multiarch implementation.
10765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10766         file.
10767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10769         multiarch llrint for PPC64.
10770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10771         multiarch lrint for PPC64.
10773         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10774         copysignf multiarch implementation.
10775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10776         file.
10777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10778         file.
10779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10780         multiarch copysign for PPC64.
10781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10782         multiarch copysignf for PPC64.
10784         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10785         multiarch implementation.
10786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10787         file.
10788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10789         file.
10790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10791         file.
10792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10793         file.
10794         multiarch llround for PPC64.
10795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10796         multiarch trunc for PPC64.
10797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10798         multiarch truncf for PPC64.
10800         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10801         multiarch implementation.
10802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10803         file.
10804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10805         file.
10806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10807         file.
10808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10809         file.
10810         multiarch llround for PPC64.
10811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10812         multiarch round for PPC64.
10813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10814         multiarch roundf for PPC64.
10816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10817         multiarch implementation.
10818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10819         file.
10820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10821         file.
10822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10823         file.
10824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10825         file.
10826         multiarch llround for PPC64.
10827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10828         multiarch floor for PPC64.
10829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10830         multiarch floorf for PPC64.
10832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10833         multiarch implementation.
10834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10835         file.
10836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10837         file.
10838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10839         file.
10840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10841         file.
10842         multiarch llround for PPC64.
10843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10844         multiarch ceil for PPC64.
10845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10846         multiarch ceilf for PPC64.
10848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10849         multiarch implementation.
10850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10851         file.
10852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10853         file.
10854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10855         file.
10856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10857         multiarch llround for PPC64.
10858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10859         multiarch lround for PPC64.
10861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10862         multiarch implementation.
10863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10866         file.
10867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10870         multiarch isnan for PPC64.
10871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10872         multiarch isnanf for PPC64.
10874         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10875         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10876         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10877         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10878         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10881         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10882         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10883         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10884         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10886         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
10887         multiarch implementations.
10888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10889         (__libc_ifunc_impl_list): Likewise.
10890         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10891         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
10892         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
10893         multiarch stpcpy for PPC64.
10895         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
10896         multiarch implementations.
10897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10898         (__libc_ifunc_impl_list): Likewise.
10899         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
10900         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
10901         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
10902         multiarch strcpy for PPC64.
10904         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
10905         redefine function name.
10906         (_wordcopy_fwd_dest_aligned): Likewise.
10907         (_wordcopy_bwd_aligned): Likewise.
10908         (_wordcopy_bwd_dest_aligned): Likewise.
10909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
10910         multiarch implementations.
10911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10912         (__libc_ifunc_impl_list): Likewise.
10913         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
10914         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
10915         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
10916         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
10917         multiarch wcscpy for PPC64.
10919         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
10920         multiarch implementations.
10921         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10922         (__libc_ifunc_impl_list): Likewise.
10923         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
10924         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
10925         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
10926         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
10927         multiarch wcscpy for PPC64.
10929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
10930         multiarch implementations.
10931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10932         (__libc_ifunc_impl_list): Likewise.
10933         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
10934         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
10935         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
10936         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
10937         multiarch wcsrchr for PPC64.
10939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
10940         multiarch implementations.
10941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10942         (__libc_ifunc_impl_list): Likewise.
10943         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
10944         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
10945         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
10946         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
10947         multiarch wcschr for PPC64.
10949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
10950         multiarch implementations.
10951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10952         (__libc_ifunc_impl_list): Likewise.
10953         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
10954         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
10955         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
10956         multiarch strchrnul for PPC64.
10958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
10959         implementations.
10960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10961         (__libc_ifunc_impl_list): Likewise.
10962         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
10963         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
10964         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
10965         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
10966         strchr for PPC64.
10968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
10969         implementations.
10970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10971         (__libc_ifunc_impl_list): Likewise.
10972         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
10973         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
10974         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
10975         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
10976         strncmp for PPC64.
10978         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
10979         multiarch implementations.
10980         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10981         (__libc_ifunc_impl_list): Likewise.
10982         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
10983         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
10984         strncasecmp for PPC64.
10985         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
10986         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
10987         multiarch strncasecmp_l for PPC64.
10989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
10990         multiarch implementations.
10991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10992         (__libc_ifunc_impl_list): Likewise.
10993         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
10994         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
10995         multiarch strcasecmp for PPC64.
10996         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
10997         file.
10998         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
10999         multiarch strcasecmp_l for PPC64.
11001         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11002         implementations.
11003         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11004         (__libc_ifunc_impl_list): Likewise.
11005         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11006         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11007         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11008         strnlen for PPC64.
11010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11011         implementations.
11012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11013         (__libc_ifunc_impl_list): Likewise.
11014         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11015         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11016         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11017         strlen for PPC64.
11019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11020         implementations.
11021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11022         (__libc_ifunc_impl_list): Likewise.
11023         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11024         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11025         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11026         rawmemrchr for PPC64.
11028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11029         implementation.
11030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11031         (__libc_ifunc_impl_list): Likewise.
11032         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11033         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11034         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11035         memrchr for PPC64.
11037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11038         implementation.
11039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11040         (__libc_ifunc_impl_list): Likewise.
11041         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11042         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11043         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11044         memchr for PPC64.
11046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11047         implementation.
11048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11049         (__libc_ifunc_impl_list): Likewise.
11050         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11051         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11052         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11053         mempcpy for PPC64.
11055         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11056         avoid cretion of __bzero symbol.
11057         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11058         Likewise.
11059         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11060         Likewise.
11061         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11062         Likewise.
11063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11064         multiarch implementations.
11065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11066         (__libc_ifunc_impl_list): Likewise.
11067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11068         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11069         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11070         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11071         bzero for PPC32.
11072         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11073         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11074         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11075         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11076         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11077         memset for PPC64.
11078         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11080         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11082         implementations.
11083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11084         (__libc_ifunc_impl_list): Likewise.
11085         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11086         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11087         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11088         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11089         memcmp for PPC64.
11091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11092         multiarch for POWER/PPC64.
11093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11094         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11095         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11097         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11098         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11099         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11100         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11101         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11102         memcpy for PPC64.
11104         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11105         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11106         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11107         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11108         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11109         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11110         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11111         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11112         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11113         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11114         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11115         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11116         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11117         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11118         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11127 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11129         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11131 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11133         * benchtests/Makefile (bench): Add exp2 and log2.
11134         (LDLIBS-bench-exp2): Add -lm.
11135         (LDLIBS-bench-log2): Likewise.
11136         * benchtests/exp2-inputs: New inputs file.
11137         * benchtests/log2-inputs: New inputs file.
11138         * benchtests/log-inputs: Add new inputs.
11139         * benchtests/tan-inputs: Likewise.
11141 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11143         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11144         definition...
11145         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11146         (csloww2): ... from here.
11148         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11149         instead of structures.
11150         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11151         (POLYNOMIAL): Likewise.
11152         (TAYLOR_SLOW): Likewise.
11153         (__sin): Likewise.
11154         (__cos): Likewise.
11155         (slow1): Likewise.
11156         (slow2): Likewise.
11157         (sloww): Likewise.
11158         (sloww1); Likewise.
11159         (sloww2): Likewise.
11160         (bsloww1): Likewise.
11161         (bsloww2): Likewise.
11162         (cslow2): Likewise.
11163         (csloww): Likewise.
11164         (csloww1): Likewise.
11165         (csloww2): Likewise.
11167 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11169         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11170         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11171         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11172         * malloc/hooks.c (realloc_check): Likewise.
11174         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11175         * malloc/arena.c: Remove PER_THREAD conditional.
11176         [!PER_THREAD]: Remove code.
11177         (ptmalloc_unlock_all2): Likewise.
11178         (ptmalloc_init): Likewise.
11179         (_int_new_arena): Likewise.
11180         (arena_get2): Likewise.
11181         * malloc/hooks.c (__malloc_get_state): Likewise.
11182         (__malloc_set_state): Likewise.
11183         * malloc/malloc.c: Likewise.
11184         (struct malloc_state): Likewise.
11185         (struct malloc_par): Likewise.
11186         (__libc_realloc): Likewise.
11187         (__libc_mallopt): Likewise.
11189 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11191         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11193 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11195         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11196         macro to a function.  Check for zero perturb_byte.
11197         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11199         * malloc/malloc.c: (force_reg): Remove.
11200         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11201         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11202         force_reg by atomic_forced_read.
11203         * malloc/arena.c (ptmalloc_init): Likewise.
11204         * malloc/hooks.c (top_check): Likewise.
11206 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11210 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11214 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11216         * math/auto-libm-test-in: Add tests of lgamma.
11217         * math/auto-libm-test-out: Regenerated.
11218         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11219         (M_LOG_2_SQRT_PIl): Likewise.
11220         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11221         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11222         mpfr_f_f1.
11223         (func_calc_desc): Add mpfr_f_f1 union field.
11224         (ARGS1): New macro.
11225         (ARGS2): Likewise.
11226         (ARGS3): Likewise.
11227         (ARGS4): Likewise.
11228         (RET1): Likewise.
11229         (RET2): Likewise.
11230         (CALC): Likewise.
11231         (FUNC): Likewise.
11232         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11233         (test_functions): Add lgamma.
11234         (calc_generic_results): Handle mpfr_f_f1.
11235         * sysdeps/i386/fpu/libm-test-ulps: Update.
11236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11238 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11240         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11241         __mpn_add_n for PowerPC64/POWER7.
11242         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11243         __mpn_sub_n for PowerPC64/POWER7.
11245         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11246         __mpn_addmul_1 for PowerPC64.
11247         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11248         __mpn_submul_1 for PowerPC64.
11249         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11250         for PowerPC64.
11251         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11252         for PowerPC64.
11254 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11256         [BZ #15089]
11257         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11259 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11261         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11263         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11264         add multiarch folders.
11265         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11266         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11267         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11268         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11269         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11270         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11271         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11272         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11273         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11274         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11275         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11284         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11286         New file.
11287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11288         New file.
11289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11290         multiarch __ieee754_hypot for PowerPC32.
11291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11292         New file.
11293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11294         New file.
11295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11296         multiarch __ieee754_hypotf for PowerPC32.
11298         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11299         long_double_symbol only if __logbl is defined.
11300         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11301         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11302         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11303         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11305         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11306         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11307         path for implementation.
11308         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11311         logb, and logbl multiarch implementations for PowerPC32.
11312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11313         file.
11314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11315         file.
11316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11317         multiarch logb for PowerPC32.
11318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11319         file.
11320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11321         file.
11322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11323         multiarch logbf for PowerPC32.
11324         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11326         file.
11327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11328         multiarch logbl implementation for PowerPC32.
11330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11331         and modff multiarch implementations.
11332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11333         New file.
11334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11335         New file.
11336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11337         multiarch modf for PowerPC32.
11338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11339         New file.
11340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11341         New file.
11342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11343         multiarch modff for PowerPC32.
11345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11346         and lrintf multiarch implementations.
11347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11348         New file.
11349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11350         New file.
11351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11352         multiarch lrint for PowerPC32.
11353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11354         file: multiarch lrintf for PowerPC32.
11356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11357         and lroundf multiarch implementations.
11358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11359         New file.
11360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11361         New file.
11362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11363         New file.
11364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11365         multiarch lround for PowerPC32.
11366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11367         file: multiarch lroundf for PowerPC32.
11369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11370         copysign and copysignf multiarch implementations.
11371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11372         New file.
11373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11374         New file.
11375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11376         file: multiarch copysign for PowerPC32.
11377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11378         file: multiarch copysignf for PowerPC32.
11380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11381         and truncf multiarch implementations.
11382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11383         New file.
11384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11385         file.
11386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11387         multiarch trunc for PowerPC32.
11388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11389         New file.
11390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11391         New file.
11392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11393         multiarch truncf for PowerPC32.
11395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11396         and roundf multiarch implementations.
11397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11398         New file.
11399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11400         file.
11401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11402         multiarch round for PowerPC32.
11403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11404         New file.
11405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11406         New file.
11407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11408         multiarch roundf for PowerPC32.
11410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11411         and floorf multiarch implementations.
11412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11413         New file.
11414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11415         file.
11416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11417         multiarch floor for PowerPC32.
11418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11419         New file.
11420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11421         New file.
11422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11423         multiarch floorf for PowerPC32.
11425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11426         and ceilf multiarch implementations.
11427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11428         New file.
11429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11430         file.
11431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11432         multiarch ceil for PowerPC32.
11433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11434         New file.
11435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11436         file.
11437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11438         multiarch ceilf for PowerPC32.
11440         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11441         is defined.
11442         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11443         FINITEF is defined.
11444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11445         and finitef multiarch implementations.
11446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11447         New file.
11448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11449         file.
11450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11451         multiarch finite for PowerPC32.
11452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11453         New file.
11454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11455         file: multiarch finitef for PowerPC32.
11457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11458         and isinff multiarch implementations.
11459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11460         file.
11461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11462         file.
11463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11464         multiarch isinf for PowerPC32.
11465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11466         New file.
11467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11468         multiarch isinff for PowerPC32.
11470         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11471         alias when __isnan is defined.
11472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11473         and isnanf multiarch implementations.
11474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11475         file.
11476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11477         file.
11478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11479         file.
11480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11481         file.
11482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11483         multiarch isnan for PowerPC32.
11484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11485         New file.
11486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11487         New file.
11488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11489         multiarch isnanf for PowerPC32.
11491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11492         and sqrtf multiarch implementations.
11493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11494         file.
11495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11496         file.
11497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11498         multiarch sqrt for PowerPC32.
11499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11500         file.
11501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11502         file.
11503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11504         multiarch sqrtf for PowerPC32.
11506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11507         and llroundf multiarch implementations.
11508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11509         New file.
11510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11511         New file.
11512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11513         New file.
11514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11515         file: multiarch llround for PowerPC32.
11516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11517         file: multiarch llroundf for PowerPC32.
11519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11520         multiarch PowerPC32 fpu implementations.
11521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11522         New file.
11523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11524         New file.
11525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11526         multiarch llrint for PowerPC32.
11527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11528         New file.
11529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11530         New file.
11531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11532         file.
11534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11536         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11537         file.
11538         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11539         file.
11540         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11541         file.
11542         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11543         multiarch wordcopy for PPC32.
11544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11545         wordcopy objects.
11546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11547         (__libc_ifunc_impl_list): Likewise.
11548         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11549         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11550         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11551         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11552         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11553         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11555         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11557         file.
11558         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11559         file.
11560         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11561         file.
11562         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11563         multiarch wcscpy for PPC32.
11564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11565         multiarch objects.
11566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11567         (__libc_ifunc_impl_list): Likewise.
11568         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11569         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11570         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11571         sysdeps/powerpc/power6/wcscpy.c.
11573         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11574         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11575         file.
11576         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11577         file.
11578         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11579         file.
11580         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11581         multiarch wcsrchr for PPC32.
11582         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11583         multiarch objects.
11584         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11585         (__libc_ifunc_impl_list): Likewise.
11586         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11587         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11588         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11589         sysdeps/powerpc/power6/wcsrchr.c.
11591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11592         file.
11593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11594         file.
11595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11597         multiarch wcschr for PPc32.
11598         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11599         multiarch objects.
11600         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11601         (__libc_ifunc_impl_list): Likewise.
11602         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11603         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11604         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11605         sysdeps/powerpc/power6/wcschr.c.
11607         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11608         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11609         file.
11610         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11611         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11612         file: multiarch strchr for PPC32.
11613         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11614         multiarch objects.
11615         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11616         (__libc_ifunc_impl_list): Likewise.
11618         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11619         name.
11620         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11621         file.
11622         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11623         file.
11624         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11625         multiarch strchrnul for PPC32.
11626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11627         multiarch objects.
11628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11629         (__libc_ifunc_impl_list): Likewise.
11631         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11632         file.
11633         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11634         multiarch strncasecmp for PPC32.
11635         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11636         file.
11637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11638         multiarch strncasecmp_l for PPC32.
11639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11640         strncasecmp multiarch objects.
11641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11642         (__libc_ifunc_impl_list): Likewise.
11644         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11645         file.
11646         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11647         multiarch strncasecmp for PPC32.
11648         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11649         New file.
11650         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11651         multiarch strcasecmp_l for PPC32.
11652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
11653         multiarch objects.
11654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11655         (__libc_ifunc_impl_list): Likewise.
11657         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
11658         file.
11659         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11660         file.
11661         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11662         multiarch strncmp for PPC32.
11663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
11664         multiarch objects.
11665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11666         (__libc_ifunc_impl_list): Likewise.
11668         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
11669         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11670         file.
11671         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11672         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11674         multiarch objects.
11675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11676         (__libc_ifunc_impl_list): Likewise.
11678         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11679         file.
11680         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11681         file.
11682         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11683         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11684         multiarch objects.
11685         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11686         (__libc_ifunc_impl_list): Likewise.
11688         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11689         file.
11690         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11691         file.
11692         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11693         multiarch rawmemchr for PPC32.
11694         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11695         multiarch objects.
11696         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11697         (__libc_ifunc_impl_list): Likewise.
11699         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11700         file.
11701         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11702         file.
11703         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11704         file: memrchr multiarch for PPC32.
11705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11706         multiarch objects.
11707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11708         (__libc_ifunc_impl_list): Likewise.
11710         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11711         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11712         file.
11713         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11714         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11715         multiarch memchr for PPC32.
11716         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11717         multiarch objects.
11718         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11719         (__libc_ifunc_impl_list): Likewise.
11721         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11722         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11723         file.
11724         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11725         file.
11726         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11727         file: multiarch mempcpy for PPC32.
11728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11729         multiarch objects.
11730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11731         (__libc_ifunc_impl_list): Likewise.
11733         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11734         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11735         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11736         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11737         multiarch bzero for PPC32.
11738         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11739         file.
11740         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11741         file.
11742         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11743         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11744         file: multiarch memset for PPC32.
11745         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11747         memset multiarch objects.
11748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11749         (__libc_ifunc_impl_list): Likewise.
11751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11752         file.
11753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11754         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11755         memcmp for PPC32.
11756         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11758         multiarch objects.
11759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11760         (__libc_ifunc_impl_list): Likewise.
11762         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11765         file.
11766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11767         file.
11768         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11769         file.
11770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11771         multiarch memcpy for PPC32.
11772         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11773         multiarch objects.
11774         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11775         (__libc_ifunc_impl_list): Likewise.
11777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11778         support multiarch for POWER/PPC32.
11779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11780         Likewise.
11781         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11783         Implies file to make multiarch folder appers before the fpu and
11784         default folder for power4 configuration.
11786 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11788         * scripts/bench.pl: Append volatile keyword to type.
11790 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11792         * sysdeps/sh/sotruss-lib.c: New file.
11793         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11795 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11799 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11801         [BZ #6810]
11802         * math/w_tgamma.c: Include <errno.h>.
11803         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11804         * math/w_tgammaf.c: Include <errno.h>.
11805         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11806         * math/w_tgammal.c: Include <errno.h>.
11807         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11808         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11809         underflow.  Add more tgamma tests.
11810         * math/auto-libm-test-out: Regenerated.
11811         * sysdeps/i386/fpu/libm-test-ulps: Update.
11812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11814         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11815         sin, sinh, tan, tanh, tgamma, y0 and y1.
11816         * math/auto-libm-test-out: Regenerated.
11817         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11818         (TEST_COND_x86): Likewise.
11819         (M_E2l): Remove macro.
11820         (M_E3l): Likewise.
11821         (M_2_SQRT_PIl): Likewise.
11822         (M_SQRT_PIl): Likewise.
11823         (M_1_DIV_El): Likewise.
11824         (log_test_data): Use AUTO_TESTS_f_f.
11825         (log10_test_data): Likewise.
11826         (log1p_test_data): Likewise.
11827         (log2_test_data): Likewise.
11828         (sin_test_data): Likewise.
11829         (sin_tonearest_test_data): Likewise.
11830         (sin_towardzero_test_data): Likewise.
11831         (sin_downward_test_data): Likewise.
11832         (sin_upward_test_data): Likewise.
11833         (sinh_test_data): Likewise.
11834         (sinh_tonearest_test_data): Likewise.
11835         (sinh_towardzero_test_data): Likewise.
11836         (sinh_downward_test_data): Likewise.
11837         (sinh_upward_test_data): Likewise.
11838         (tan_test_data): Likewise.
11839         (tan_tonearest_test_data): Likewise.
11840         (tan_towardzero_test_data): Likewise.
11841         (tan_downward_test_data): Likewise.
11842         (tan_upward_test_data): Likewise.
11843         (tanh_test_data): Likewise.
11844         (tgamma_test_data): Likewise.
11845         (y0_test_data): Likewise.
11846         (y1_test_data): Likewise.
11847         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11848         (special_real_inputs): Add pi/4.
11849         * sysdeps/i386/fpu/libm-test-ulps: Update.
11850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11852 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11854         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11855         "longjmp_target" static probes.
11856         (__longjmp): Rename to __longjmp_symbol.
11857         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11858         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11859         on which longjmp to generate.
11860         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11862         probe.
11863         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11864         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11865         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11866         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11867         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11868         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11870         __longjmp_symbol based on which __longjmp to generate.
11871         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11872         probe.
11873         (setjmp): Rename to setjmp_symbol.
11874         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11875         (_setjmp): Rename to _setjmp_symbol.
11876         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11877         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11878         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11879         which setjmp to generate.
11880         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11881         "longjmp_target" static probes.
11883 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11885         * benchtests/README: Add note about output arguments.
11886         * benchtests/bench-sincos.c: Remove file.
11887         * benchtests/sincos-inputs: New file.
11888         * scripts/bench.pl: Identify output arguments and define
11889         static variables for them.
11891         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
11893         [BZ #15941]
11894         * Makefile (INSTALL): Add install-plain.texi as the primary
11895         dependency.
11896         * manual/install-plain.texi: New file.
11897         * manual/install.texi: Include node directive only for
11898         non-plaintext output.
11900 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
11902         * stdlib/longlong.h: Update from GCC.
11904         [BZ #6807]
11905         [BZ #15901]
11906         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
11907         * math/w_j0f.c (y0f): Likewise.
11908         * math/w_j0l.c (__y0l): Likewise.
11909         * math/w_j1.c (y1): Likewise.
11910         * math/w_j1f.c (y1f): Likewise.
11911         * math/w_j1l.c (__y1l): Likewise
11912         * math/w_jn.c (yn): Likewise.
11913         * math/w_jnf.c (ynf): Likewise.
11914         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
11915         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
11916         value for Bessel function domain errors outside _SVID_ mode.
11917         Adjust sign of return value for yn (negative integer, 0).
11918         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
11919         by zero in return for negative x and set sign appropriately for
11920         negative n.
11921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
11922         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
11923         * math/libm-test.inc (y0_test_data): Add more tests and adjust
11924         expectations in error cases.
11925         (y1_test_data): Likewise.
11926         (yn_test_data): Likewise.
11927         * sysdeps/i386/fpu/libm-test-ulps: Update.
11928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11930 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11932         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
11933         "64" to "64-v1".  Add "64-v2".
11934         (abi-64-options): Rename to ...
11935         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
11936         (abi-64-condition): Rename to ...
11937         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
11938         (abi-64-ld-soname): Rename to ...
11939         (abi-64-v1-ld-soname): ... this.
11940         (abi-64-v2-options): Define.
11941         (abi-64-v2-condition): Likewise.
11942         (abi-64-v2-ld-soname): Likewise.
11943         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
11944         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
11946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
11947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
11949 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11950             Alan Modra  <amodra@gmail.com>
11952         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
11953         New versions for use with the ELFv2 ABI.
11954         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
11955         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
11956         declaration.
11957         (struct La_ppc64v2_retval): Likewise.
11958         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
11959         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
11960         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
11961         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
11962         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
11963         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11964         Do not save or restore CR.
11965         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
11966         (_dl_profile_resolve): Do no save or restore CR.  Support extended
11967         return values for ELFv2 ABI.  Fix location of FPR return registers.
11968         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
11969         updated values for _CALL_ELF == 2.
11970         (La_regs, La_retval, int_retval): Likewise.
11972 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
11974         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
11975         (FRAME_MIN_SIZE_PARM): Likewise.
11976         (FRAME_BACKCHAIN): Likewise.
11977         (FRAME_CR_SAVE): Likewise.
11978         (FRAME_LR_SAVE): Likewise.
11979         (FRAME_TOC_SAVE): Likewise.
11980         (FRAME_PARM_SAVE): Likewise.
11981         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
11982         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
11983         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
11984         (call_mcount_parm_offset): New macro.
11985         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
11986         (PROF): Use symbolic stack frame offsets.
11987         (TAIL_CALL_SYSCALL_ERROR): Likewise.
11988         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
11989         Redefine in terms of FRAME_MIN_SIZE.
11990         (_dl_runtime_resolve): Use symbolic stack frame offsets.
11991         (_dl_profile_resolve): Likewise.  Update comment.
11992         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
11993         symbols stack frame offsets.
11994         (__sigsetjmp): Likewise.
11995         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
11996         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
11997         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
11998         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12001         (FRAME_BACKCHAIN): Remove.
12002         (FRAME_CR_SAVE): Likewise.
12003         (FRAME_LR_SAVE): Likewise.
12004         (FRAME_COMPILER_DW): Likewise.
12005         (FRAME_LINKER_DW): Likewise.
12006         (FRAME_TOC_SAVE): Likewise.
12007         (FRAME_PARM_SAVE): Likewise.
12008         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12009         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12010         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12012         (CHECK_SP): Use symbolic stack frame offsets.
12013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12014         zone" instead of caller's parameter save area for temp storage.
12015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12016         Likewise.  Also, use symbolic stack frame offsets.
12017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12018         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12019         our own stack frame instead of the caller's.
12020         (__socket): Use symbolic stack frame offsets.
12022 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12023             Alan Modra  <amodra@gmail.com>
12025         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12026         Define.
12027         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12028         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12029         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12030         New function.
12031         (elf_machine_fixup_plt): Call it.
12032         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12033         reloc arguments.
12034         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12035         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12036         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12037         r2 before calling target.
12039 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12040             Alan Modra  <amodra@gmail.com>
12042         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12043         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12044         versions of macros to support ELFv2 ABI.
12045         (LOCALENTRY): New macro.
12046         (ENTRY, EALIGN): Use it.
12047         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12048         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12049         fall through into ENTRY entry point.
12050         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12051         Only define if _CALL_ELF != 2.
12053         (elf_machine_matches_host): Verify ABI version matches.
12054         (RTLD_START): Use LOCALENTRY.
12055         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12056         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12057         (PLT_ENTRY_WORDS): New macro.
12058         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12059         (elf_machine_runtime_setup): Support ELFv2 ABI.
12060         (elf_machine_fixup_plt): Likewise.
12061         (elf_machine_plt_conflict): Likewise.
12062         (resolve_ifunc): Likewise.
12063         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12064         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12065         Likewise.
12066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12067         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12069         (makecontext): Support ELFv2 ABI.
12070         * elf/elf.h (EF_PPC64_ABI): Define.
12072 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12074         * sysdeps/powerpc/powerpc64/sysdep.h
12075         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12076         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12077         (ENTRY) [ASSEMBLER]: ... but instead here ...
12078         (EALIGN) [ASSEMBLER]: ... and here.
12079         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12080         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12081         (ENTRY_2) [!ASSEMBLER]: Use it.
12082         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12083         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12084         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12085         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12086         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12088         Use PPC64_LOAD_FUNCPTR.
12090         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12092 2013-12-04  Alan Modra  <amodra@gmail.com>
12094         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12095         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12096         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12097         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12099         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12100         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12101         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12102         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12103         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12104         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12106 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12109         (__makecontext): Fix incorrect CFI when backtracing out of
12110         context created via makecontext.
12111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12112         (__setcontext): Fix incorrect CFI during switch to new context.
12113         (__novec_setcontext): Likewise.
12115 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12117         [BZ #4772]
12118         * time/strptime_l.c (__strptime_internal): Allow modifiers
12119         in strptime.
12120         * time/tst-strptime.c (day_tests): Add testcase.
12122 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12124         * scripts/bench.pl: Skip over blank lines.
12126 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12128         [BZ #926]
12129         * manual/time.texi (Calendar Time): Clarify what timezone functions
12130         use.
12132 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12136 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12138         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12139         implementation.
12140         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12141         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12142         * debug/memset_chk.c (__memset_chk): Likewise.
12143         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12144         * debug/strncpy_chk.c: Likewise.
12146 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12148         [BZ #15268]
12149         [BZ #15425]
12150         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12151         (__ieee754_exp): For possibly underflowing results, check size of
12152         result and force underflow exception if required.
12153         * math/auto-libm-test-in: Add more tests of exp.
12154         * math/auto-libm-test-out: Regenerated.
12155         * sysdeps/i386/fpu/libm-test-ulps: Update.
12156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12158         [BZ #16283]
12159         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12160         * math/w_exp2f.c (__exp2f): Likewise.
12161         * math/w_exp2l.c (__exp2l): Likewise.
12162         * math/auto-libm-test-in: Do not allow missing errno on exp2
12163         underflow.
12164         * math/auto-libm-test-out: Regenerated.
12166 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12168         [BZ #16274]
12169         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12170         handle filename validation.
12171         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12172         (do_open): Delete.
12174 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12176         [BZ #6786]
12177         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12178         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12179         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12180         <float.h>.
12181         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12182         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12183         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12184         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12185         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12186         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12187         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12188         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12189         Add more erfc tests.
12190         * math/auto-libm-test-out: Regenerated.
12191         * sysdeps/i386/fpu/libm-test-ulps: Update.
12192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12194         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12195         exp2, expm1, j0 and j1.
12196         * math/auto-libm-test-out: Regenerated.
12197         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12198         (erfc_test_data): Likewise.
12199         (exp_test_data): Likewise.
12200         (exp_tonearest_test_data): Likewise.
12201         (exp_towardzero_test_data): Likewise.
12202         (exp_downward_test_data): Likewise.
12203         (exp_upward_test_data): Likewise.
12204         (exp10_test_data): Likewise.
12205         (exp2_test_data): Likewise.
12206         (expm1_test_data): Likewise.
12207         (j0_test_data): Likewise.
12208         (j1_test_data): Likewise.
12209         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12210         (input_flag_type): Add flag_xfail_rounding.
12211         (input_flags): Add xfail-rounding.
12212         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12213         (output_for_one_input_case): Handle flag_xfail_rounding.
12214         * sysdeps/i386/fpu/libm-test-ulps: Update.
12215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12217 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12219         [BZ #16289]
12220         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12221         division by 0.
12223 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12225         [BZ #16195]
12226         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12227         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12228         (STAP_PROBE0): New macro.
12229         (STAP_PROBE1): Likewise.
12230         (STAP_PROBE2): Likewise.
12231         (STAP_PROBE3): Likewise.
12232         (STAP_PROBE4): Likewise.
12234 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12236         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12238 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12240         * benchtests/Makefile (bench): Add sqrt.
12241         (LDLIBS-bench-sqrt): New.
12242         * benchtests/sqrt-input: New.
12244 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12246         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12247         (GAIH_EAI): Likewise.
12248         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12249         (gaih_inet): Likewise.
12250         (getaddrinfo): Don't use GAIH_EAI.
12252         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12253         (struct gaih): Remove definition.
12255 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12257         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12258         Use HERRNOP directly.
12260 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12264 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12266         * math/gen-auto-libm-tests.c (test_functions): Add more
12267         single-argument functions.
12268         (special_fill_pi_2): New function.
12269         (special_fill_minus_pi_2): Likewise.
12270         (special_fill_pi_6): Likewise.
12271         (special_fill_minus_pi_6): Likewise.
12272         (special_fill_pi_3): Likewise.
12273         (special_fill_2pi_3): Likewise.
12274         (special_fill_e): Likewise.
12275         (special_fill_1_e): Likewise.
12276         (special_fill_e_minus_1): Likewise.
12277         (special_real_inputs): Add more special inputs.
12278         (output_for_one_input_case): Do not require ERANGE on underflow to
12279         zero if round-to-nearest result does not underflow to zero, unless
12280         exact results required.
12281         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12282         atan, atanh, cbrt, cos and cosh.
12283         * math/auto-libm-test-out: Regenerated.
12284         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12285         (acos_tonearest_test_data): Likewise.
12286         (acos_towardzero_test_data): Likewise.
12287         (acos_downward_test_data): Likewise.
12288         (acos_upward_test_data): Likewise.
12289         (acosh_test_data): Likewise.
12290         (asin_test_data): Likewise.
12291         (asin_tonearest_test_data): Likewise.
12292         (asin_towardzero_test_data): Likewise.
12293         (asin_upward_test_data): Likewise.
12294         (asinh_test_data): Likewise.
12295         (atan_test_data): Likewise.
12296         (atanh_test_data): Likewise.
12297         (cbrt_test_data): Likewise.
12298         (cos_test_data): Likewise.
12299         (cos_tonearest_test_data): Likewise.
12300         (cos_towardzero_test_data): Likewise.
12301         (cos_downward_test_data): Likewise.
12302         (cos_upward_test_data): Likewise.
12303         (cosh_test_data): Likewise.
12304         (cosh_tonearest_test_data): Likewise.
12305         (cosh_towardzero_test_data): Likewise.
12306         (cosh_downward_test_data): Likewise.
12307         (cosh_upward_test_data): Likewise.
12308         * sysdeps/i386/fpu/libm-test-ulps: Update.
12309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12311 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12313         [BZ #6787]
12314         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12315         * math/w_exp10f.c (__exp10f): Likewise.
12316         * math/w_exp10l.c (__exp10l): Likewise.
12317         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12318         errno settings in existing tests.
12320         [BZ #14032]
12321         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12322         precision control set to double precision.
12323         * sysdeps/i386/fpu/w_sqrt.c: New file.
12324         * math/auto-libm-test-in: Add more tests.
12325         * math/auto-libm-test-out: Update.
12327         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12328         (sqrt_test_tonearest): New function.
12329         (sqrt_towardzero_test_data): New variable.
12330         (sqrt_test_towardzero): New function.
12331         (sqrt_downward_test_data): New variable.
12332         (sqrt_test_downward): New function.
12333         (sqrt_upward_test_data): New variable.
12334         (sqrt_test_upward): New function.
12335         (main): Call the new functions.
12337         * math/gen-auto-libm-tests.c: New file.
12338         * math/auto-libm-test-in: Likewise.
12339         * math/auto-libm-test-out: New generated file.
12340         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12341         variables.
12342         (%beautify): Add generated representations of zero.
12343         (top level): Set $auto_input and call parse_auto_input.
12344         (beautify): Remove trailing "f" from hex float constants.
12345         (parse_args): Handle XFAIL_TEST.
12346         (convert_condition): New function.
12347         (or_value): Likewise.
12348         (or_cond_value): Likewise.
12349         (generate_testfile): Handle AUTO_TESTS_* lines.
12350         (parse_auto_input): New function.
12351         * math/libm-test.inc (XFAIL_TEST): New macro.
12352         (ERRNO_UNCHANGED): Update value.
12353         (ERRNO_EDOM): Likewise.
12354         (ERRNO_ERANGE): Likewise.
12355         (IGNORE_RESULT): Likewise.
12356         (TEST_COND_flt_32): New macro.
12357         (TEST_COND_dbl_64): Likewise.
12358         (TEST_COND_ldbl_96_intel): Likewise.
12359         (TEST_COND_ldbl_96_m68k): Likewise.
12360         (TEST_COND_ldbl_128): Likewise.
12361         (TEST_COND_ldbl_128ibm): Likewise.
12362         (TEST_COND_long32): Likewise.
12363         (TEST_COND_long64): Likewise.
12364         (TEST_COND_before_rounding): Likewise.
12365         (TEST_COND_after_rounding): Likewise.
12366         (enable_test): Handle XFAIL_TEST flag.
12367         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12368         with finite results.
12369         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12370         auto-libm-test-out.
12372 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12373             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12375         [BZ #16214]
12376         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12377         __tls_get_addr_internal instead of __tls_get_offset in order to
12378         avoid GOT pointer dependency.  Make rtld export
12379         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12380         __tls_get_addr since we are a __tls_get_offset platform.
12381         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12382         GOT pointer being set up before.
12383         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12385 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12387         * manual/math.texi (Errors in Math Functions): Document accuracy
12388         goals.
12390         [BZ #15004]
12391         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12392         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12393         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12394         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12395         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12396         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12397         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12398         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12399         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12400         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12401         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12402         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12403         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12404         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12405         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12406         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12408         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12409         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12410         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12411         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12412         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12413         Likewise.
12414         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12415         Likewise.
12416         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12417         Likewise.
12418         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12419         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12420         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12421         atomic-feupdateenv and flt-rounds.
12422         * sysdeps/powerpc/nofpu/Versions (libc): Add
12423         __atomic_feholdexcept, __atomic_feclearexcept,
12424         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12425         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12426         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12427         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12428         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12429         here.
12430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12431         Update.
12433         * manual/arith.texi (FP Exceptions): Document that exceptions may
12434         not be raised when matherr is used.
12435         (Math Error Reporting): Document overflow in directed rounding
12436         modes.  Document that errno may not be set when finite values are
12437         returned on overflow.  Document intent to set errno on underflow
12438         only for underflow to zero.
12440         [BZ #16271]
12441         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12442         round-to-nearest then adjust result for other rounding modes.
12443         * include/fenv.h (fegetround): Use libm_hidden_proto.
12444         * math/fegetround.c (fegetround): Use libm_hidden_def.
12445         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12446         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12447         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12448         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12449         Likewise.
12450         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12451         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12452         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12453         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12455 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12457         [BZ #16077]
12458         * nss/Versions (libnss_files): Add
12459         _nss_files_gethostbyname3_r.
12460         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12461         New function.
12462         (HOST_DB_LOOKUP): Remove macro.
12463         (_nss_files_gethostbyname_r): Implement function without the
12464         HOST_DB_LOOKUP macro.
12465         (_nss_files_gethostbyname2_r): Likewise.
12467 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12469         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12471 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12473         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12474         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12475         warning.
12477 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12479         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12480         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12481         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12482         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12483         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12484         __fe_nomask_env_priv and attribute_hidden.
12485         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12486         (libc_feupdateenv_test_ppc): Likewise.
12487         (libc_feresetround_ppc): Likewise.
12488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12489         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12490         compat_symbol macro.
12491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12492         (__fe_nomask_env): Likewise.
12493         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12495 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12497         * string/Makefile: Remove ifunc tests.
12498         * string/test-string.h: Define TEST_IFUNC.
12499         * string/test-bcopy-ifunc.c: Remove.
12500         * string/test-bzero-ifunc.c: Likewise.
12501         * string/test-memccpy-ifunc.c: Likewise.
12502         * string/test-memchr-ifunc.c: Likewise.
12503         * string/test-memcmp-ifunc.c: Likewise.
12504         * string/test-memcpy-ifunc.c: Likewise.
12505         * string/test-memmem-ifunc.c: Likewise.
12506         * string/test-memmove-ifunc.c: Likewise.
12507         * string/test-mempcpy-ifunc.c: Likewise.
12508         * string/test-memrchr-ifunc.c: Likewise.
12509         * string/test-memset-ifunc.c: Likewise.
12510         * string/test-rawmemchr-ifunc.c: Likewise.
12511         * string/test-stpcpy-ifunc.c: Likewise.
12512         * string/test-stpncpy-ifunc.c: Likewise.
12513         * string/test-strcasecmp-ifunc.c: Likewise.
12514         * string/test-strcasestr-ifunc.c: Likewise.
12515         * string/test-strcat-ifunc.c: Likewise.
12516         * string/test-strchr-ifunc.c: Likewise.
12517         * string/test-strchrnul-ifunc.c: Likewise.
12518         * string/test-strcmp-ifunc.c: Likewise.
12519         * string/test-strcpy-ifunc.c: Likewise.
12520         * string/test-strcspn-ifunc.c: Likewise.
12521         * string/test-strlen-ifunc.c: Likewise.
12522         * string/test-strncasecmp-ifunc.c: Likewise.
12523         * string/test-strncat-ifunc.c: Likewise.
12524         * string/test-strncmp-ifunc.c: Likewise.
12525         * string/test-strncpy-ifunc.c: Likewise.
12526         * string/test-strnlen-ifunc.c: Likewise.
12527         * string/test-strpbrk-ifunc.c: Likewise.
12528         * string/test-strrchr-ifunc.c: Likewise.
12529         * string/test-strspn-ifunc.c: Likewise.
12530         * string/test-strstr-ifunc.c: Likewise.
12532 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12534         * benchtests/Makefile: Remove ifunc tests.
12535         * benchtests/bench-string.h: Define TEST_IFUNC.
12536         * benchtests/bench-bcopy-ifunc.c: Remove.
12537         * benchtests/bench-bzero-ifunc.c: Likewise.
12538         * benchtests/bench-memccpy-ifunc.c: Likewise.
12539         * benchtests/bench-memchr-ifunc.c: Likewise.
12540         * benchtests/bench-memcmp-ifunc.c: Likewise.
12541         * benchtests/bench-memcpy-ifunc.c: Likewise.
12542         * benchtests/bench-memmem-ifunc.c: Likewise.
12543         * benchtests/bench-memmove-ifunc.c: Likewise.
12544         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12545         * benchtests/bench-memrchr-ifunc.c: Likewise.
12546         * benchtests/bench-memset-ifunc.c: Likewise.
12547         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12548         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12549         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12550         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12551         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12552         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12553         * benchtests/bench-strcat-ifunc.c: Likewise.
12554         * benchtests/bench-strchr-ifunc.c: Likewise.
12555         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12556         * benchtests/bench-strcmp-ifunc.c: Likewise.
12557         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12558         * benchtests/bench-strcpy-ifunc.c: Likewise.
12559         * benchtests/bench-strcspn-ifunc.c: Likewise.
12560         * benchtests/bench-strlen-ifunc.c: Likewise.
12561         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12562         * benchtests/bench-strncat-ifunc.c: Likewise.
12563         * benchtests/bench-strncmp-ifunc.c: Likewise.
12564         * benchtests/bench-strncpy-ifunc.c: Likewise.
12565         * benchtests/bench-strnlen-ifunc.c: Likewise.
12566         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12567         * benchtests/bench-strrchr-ifunc.c: Likewise.
12568         * benchtests/bench-strsep-ifunc.c: Likewise.
12569         * benchtests/bench-strspn-ifunc.c: Likewise.
12570         * benchtests/bench-strstr-ifunc.c: Likewise.
12572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12574         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12576 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12578         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12579         * rt/aio.h: Likewise.
12580         * sysdeps/gnu/bits/utmp.h: Likewise.
12581         * sysdeps/gnu/bits/utmpx.h: Likewise.
12582         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12583         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12584         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12585         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12586         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12587         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12588         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12589         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12590         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12591         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12592         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12593         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12594         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12596         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12597         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12598         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12599         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12600         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12601         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12602         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12603         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12604         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12605         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12606         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12607         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12608         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12609         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12610         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12611         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12612         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12613         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12614         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12615         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12616         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12617         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12618         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12619         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12620         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12621         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12622         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12623         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12625 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12627         [BZ #16245]
12628         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12629         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12631 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12633         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12634         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12635         Likewise.
12637 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12640         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12641         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12642         (__fesetround): Remove define.
12643         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12644         rounding and exceptions handling.
12645         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12646         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12647         (__fe_nomask_env): Likewise.
12648         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12649         __fegetround instead of fegetround.
12650         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12651         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12653 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12655         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12656         it's there.
12658         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12660 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12662         [BZ #11157]
12663         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12664         (encrypt_r): Likewise.
12665         * malloc/obstack.h (obstack_free): Likewise.
12666         * posix/unistd.h (encrypt): Likewise.
12668 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12670         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12671         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12672         DL_CALL_DT_FINI() that call the functions directly.
12673         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12674         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12675         * elf/dl-fini.c: Likewise.
12677 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12679         * malloc/hooks.c (memalign_check): Add alignment rounding.
12680         * malloc/malloc.c (_mid_memalign): New function.
12681         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12682         Implement by calling _mid_memalign.
12683         * manual/probes.texi (Memory Allocation Probes): Remove
12684         memory_valloc_retry and memory_pvalloc_retry.
12686 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12688         * locale/programs/locarchive.c (open_archive): Add const
12689         qualifier to ARCHIVEFNAME and copy default fname to
12690         DEFAULT_FNAME.
12692         [BZ #15601]
12693         * libio/tst-widetext.input: Rename Oriya to Odia.
12694         * locale/iso-639.def: Likewise.
12696         * manual/probes.texi (Mathematical Function Probes): Add
12697         documentation for sin, cos, asin and acos probes.
12698         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12699         (__sin32): Add slowasin probe.
12700         (__cos32): Add slowacos probe.
12701         (__mpsin): Add slowsin probe.
12702         (__mpcos): Add slowcos probe.
12704 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12706         [BZ #15483]
12707         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12708         thread-local __sim_exceptions_thread and global
12709         __sim_exceptions_global.
12710         (__sim_disabled_exceptions): Change to thread-local
12711         __sim_disabled_exceptions_thread and global
12712         __sim_disabled_exceptions_global.
12713         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12714         and global __sim_round_mode_global.
12715         (__simulate_exceptions): Use thread-local floating-point state and
12716         set global state from it as needed.
12717         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12718         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12719         __sim_round_mode_thread.
12720         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12721         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12722         and global __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         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12729         (SIM_SET_GLOBAL): Likewise.
12730         * sysdeps/powerpc/soft-fp/sfp-machine.h
12731         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12732         __sim_round_mode_thread.
12733         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12734         __sim_disabled_exceptions_thread.
12735         (__sim_exceptions): Change to __sim_exceptions_thread.
12736         (__sim_disabled_exceptions): Change to
12737         __sim_disabled_exceptions_thread.
12738         (__sim_round_mode): Change to __sim_round_mode_thread.
12739         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12740         thread-local floating-point state and set global state from it as
12741         needed.
12742         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12743         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12744         (__sim_disabled_exceptions): Remove extern declaration.
12745         (feenableexcept): Use thread-local floating-point state and set
12746         global state from it as needed.
12747         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12748         extern declaration.
12749         (__sim_disabled_exceptions): Likewise.
12750         (__sim_round_mode): Likewise.
12751         (__fegetenv): Use thread-local floating-point state.
12752         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12753         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12754         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12755         floating-point state and set global state from it as needed.
12756         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12757         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12758         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12759         Likewise.
12760         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12761         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12762         Likewise.
12763         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12764         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12765         Use __sim_round_mode_thread.
12766         * math/test-fenv-tls.c: New file.
12767         * math/Makefile (tests): Add test-fenv-tls.
12768         ($(objpfx)test-fenv-tls): Depend on
12769         $(common-objpfx)nptl/libpthread.so.
12771 2013-11-19  Andreas Schwab  <schwab@suse.de>
12773         * locale/programs/locale.c (show_info): Decode wordarray elements.
12774         * locale/categories.def (LC_MONETARY): Add element for
12775         _NL_MONETARY_CRNCYSTR.
12776         * locale/C-monetary.c (conversion_rate): New variable.
12777         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12778         element.
12780 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12782         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12783         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12785 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12787         * elf/Makefile (tst-auxv): New test.
12788         * elf/tst-auxv.c: New
12789         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12791 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12793         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12794         (hidden_proto): Caller changed.
12795         (hidden_tls_proto): New macro.
12796         (libc_hidden_tls_proto): Likewise.
12797         (rtld_hidden_tls_proto): Likewise.
12798         (libm_hidden_tls_proto): Likewise.
12799         (libresolv_hidden_tls_proto): Likewise.
12800         (librt_hidden_tls_proto): Likewise.
12801         (libdl_hidden_tls_proto): Likewise.
12802         (libnss_files_hidden_tls_proto): Likewise.
12803         (libnsl_hidden_tls_proto): Likewise.
12804         (libnss_nisplus_hidden_tls_proto): Likewise.
12805         (libutil_hidden_tls_proto): Likewise.
12807 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12809         [BZ #10253]
12810         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12811         (decompose_rpath): Defer expansion to fillin_rpath.
12812         (_dl_init_paths): Pass linkmap to fillin_rpath.
12814 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12816         * benchtests/Makefile: Add strsep.
12817         * benchtests/bench-strsep.c: New file: strsep benchtest.
12818         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12820 2013-11-18  Andreas Schwab  <schwab@suse.de>
12822         * locale/programs/locale.c (show_info) [case byte]: Check for
12823         '\377' instead of '\177'.
12824         * locale/C-monetary.c (not_available): Always use "\377".
12825         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12826         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12827         detect unavailable sign_posn locale elements.
12828         * locale/localeconv.c (__localeconv): For grouping and
12829         mon_grouping handle "\177" and "\377" like no grouping.
12830         (INT_ELEM): New macro.  Use it to set all numeric members.
12831         * locale/programs/ld-monetary.c (monetary_read)
12832         <tok_mon_grouping>: Normalize single -1 to the empty string.
12833         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12834         Likewise.
12836 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12838         [BZ #16055]
12839         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12840         when we match (nil).
12841         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12843 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12845         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12846         (NO_TEST_INLINE): Update value.
12847         (ERRNO_UNCHANGED): Likewise.
12848         (ERRNO_EDOM): Likewise.
12849         (ERRNO_ERANGE): Likewise.
12850         (IGNORE_RESULT): Likewise.
12851         (check_float_internal): Check signs of NaN results if
12852         TEST_NAN_SIGN used.
12853         (check_complex): Pass TEST_NAN_SIGN flag through to second
12854         check_float_internal call.
12855         (copysign_test_data): Add tests with quiet NaNs as second
12856         argument.  Use TEST_NAN_SIGN.
12857         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12858         TEST_NAN_SIGN.
12859         (signbit_test_data): Add tests of quiet NaN argument.
12860         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12862         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12863         $ignore_result.
12864         (parse_args): Handle function results specified as IGNORE.
12865         * math/libm-test.inc (IGNORE_RESULT): New macro.
12866         (check_float_internal): Do not check numerical result if flag
12867         IGNORE_RESULT set.
12868         (check_complex): Pass through IGNORE_RESULT to second
12869         check_float_internal call.
12870         (check_int): Do not check numerical result if flag IGNORE_RESULT
12871         set.
12872         (check_long): Likewise.
12873         (check_bool): Likewise.
12874         (check_longlong): Likewise.
12875         (lrint_test_data): Add tests of infinite and NaN arguments.
12876         (lrint_tonearest_test_data): Likewise.
12877         (lrint_towardzero_test_data): Likewise.
12878         (lrint_downward_test_data): Likewise.
12879         (lrint_upward_test_data): Likewise.
12880         (llrint_test_data): Likewise.
12881         (llrint_tonearest_test_data): Likewise.
12882         (llrint_towardzero_test_data): Likewise.
12883         (llrint_downward_test_data): Likewise.
12884         (llrint_upward_test_data): Likewise.
12885         (lround_test_data): Likewise.
12886         (llround_test_data): Likewise.
12888         * math/libm-test.inc (NO_TEST_INLINE): New macro.
12889         (ERRNO_UNCHANGED): Update value.
12890         (ERRNO_EDOM): Likewise.
12891         (ERRNO_ERANGE): Likewise.
12892         (NO_TEST_INLINE_FLOAT): New macro.
12893         (NO_TEST_INLINE_DOUBLE): Likewise.
12894         (enable_test): New function.
12895         (RUN_TEST_f_f): Check enable_test before running test.
12896         (RUN_TEST_2_f): Likewise.
12897         (RUN_TEST_fff_f): Likewise.
12898         (RUN_TEST_c_f): Likewise.
12899         (RUN_TEST_f_f1): Likewise.
12900         (RUN_TEST_fF_f1): Likewise.
12901         (RUN_TEST_fI_f1): Likewise.
12902         (RUN_TEST_ffI_f1): Likewise.
12903         (RUN_TEST_c_c): Likewise.
12904         (RUN_TEST_cc_c): Likewise.
12905         (RUN_TEST_f_i): Likewise.
12906         (RUN_TEST_f_i_tg): Likewise.
12907         (RUN_TEST_ff_i_tg): Likewise.
12908         (RUN_TEST_f_b): Likewise.
12909         (RUN_TEST_f_b_tg): Likewise.
12910         (RUN_TEST_f_l): Likewise.
12911         (RUN_TEST_f_L): Likewise.
12912         (RUN_TEST_fFF_11): Likewise.
12913         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
12914         conditionals.
12915         (cosh_test_data): Likewise.
12916         (exp_test_data): Likewise.
12917         (expm1_test_data): Likewise.
12918         (hypot_test_data): Likewise.
12919         (pow_test_data): Likewise.
12920         (sinh_test_data): Likewise.
12921         (tanh_test_data): Likewise.
12922         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
12923         flags argument.
12925         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
12926         tests with quiet NaN input and output.
12927         (acosh_test_data): Likewise.
12928         (asin_test_data): Likewise.
12929         (asinh_test_data): Likewise.
12930         (atan_test_data): Likewise.
12931         (atanh_test_data): Likewise.
12932         (atan2_test_data): Likewise.
12933         (cbrt_test_data): Likewise.
12934         (cos_test_data): Likewise.
12935         (cosh_test_data): Likewise.
12936         (erf_test_data): Likewise.
12937         (erfc_test_data): Likewise.
12938         (exp_test_data): Likewise.
12939         (exp10_test_data): Likewise.
12940         (exp2_test_data): Likewise.
12941         (expm1_test_data): Likewise.
12942         (hypot_test_data): Likewise.
12943         (j0_test_data): Likewise.
12944         (j1_test_data): Likewise.
12945         (jn_test_data): Likewise.
12946         (lgamma_test_data): Likewise.
12947         (log_test_data): Likewise.
12948         (log10_test_data): Likewise.
12949         (log1p_test_data): Likewise.
12950         (log2_test_data): Likewise.
12951         (pow_test_data): Likewise.
12952         (scalb_test_data): Likewise.
12953         (sin_test_data): Likewise.
12954         (sincos_test_data): Likewise.
12955         (sinh_test_data): Likewise.
12956         (tan_test_data): Likewise.
12957         (tanh_test_data): Likewise.
12958         (tgamma_test_data): Likewise.
12959         (y0_test_data): Likewise.
12960         (y1_test_data): Likewise.
12961         (yn_test_data): Likewise.
12963         [BZ #16167]
12964         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
12965         argument being NaN and avoid computations with second argument in
12966         that case.
12967         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12968         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12969         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12971 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
12973         * locale/iso-639.def: Add Chitwani Tharu (the).
12975 2013-11-14  Andreas Schwab  <schwab@suse.de>
12977         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
12978         word instead of empty string.
12980 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12983         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12985         (__fe_nomask_env): Likewise.
12987 2013-11-13  Steve Ellcey  <sellcey@mips.com>
12989         * benchtests/bench-timing.h: Include time.h.
12991 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
12993         [BZ #15997]
12994         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
12995         to 3.4.0 for x32.
12996         * sysdeps/unix/sysv/linux/configure: Regenerated.
12998 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13000         [BZ #16151]
13001         * stdlib/strtod_l.c (round_and_return): Do not consider
13002         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13003         exponent one less than half the least subnormal exponent.
13004         * stdlib/test-strtod-round-data: Add more tests.
13005         * stdlib/tst-strtod-round.c (tests): Regenerated.
13007 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13009         [BZ #14143]
13010         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13011         (__fe_mask_env): Likewise.
13012         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13013         libm_hidden_proto and add function prototype.
13014         (__fe_mask_env): Add function prototype.
13015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13016         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13018         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13020         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13022 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13024         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13025         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13027 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13029         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13030         of htab_find_slot().
13032 2013-11-11  David S. Miller  <davem@davemloft.net>
13034         [BZ #16150]
13035         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13036         symbol in the non-vis3 case in static builds.
13037         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13038         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13039         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13040         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13042 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13044         [BZ #387]
13045         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13046         it is empty.
13048 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13050         * benchtests/Makefile: Add bench-strtod.
13051         * benchtests/bench-strtod.c: New file: strtod benchtest
13053 2013-11-11  Andreas Schwab  <schwab@suse.de>
13055         [BZ #16153]
13056         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13057         terminating NUL in key length.
13059 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13061         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13062         Add artificial ODP entry for vDSO symbol for PPC64.
13063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13064         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13066 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13068         [BZ #15374]
13069         * nss/getent.c (services_keys): Recognize services starting with digit.
13071 2013-11-06  David S. Miller  <davem@davemloft.net>
13073         [BZ #15985]
13074         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13075         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13077 2013-11-06  Will Newton  <will.newton@linaro.org>
13079         * manual/memory.texi (Malloc Examples): Remove register
13080         keyword from examples.
13082 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13084         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13086 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13088         [BZ #6981]
13089         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13090         depending on [__GCC_IEC_559 > 0].
13091         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13092         depending on [__GCC_IEC_559_COMPLEX > 0].
13094 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13096         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13097         to iso-639.def.
13099 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13101         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13103 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13105         [BZ #16112]
13106         * malloc/malloc (malloc_info): Do not handle first bin as
13107         special case.
13109 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13111         * locale/iso-639.def: Add Central Nahuatl (nhn).
13113 2013-11-01  Bruno Haible  <bruno@clisp.org>
13115         [BZ #7003]
13116         * manual/math.texi (BSD Random): Specify range upper bound as
13117         in POSIX.
13119 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13121         * locale/iso-639.def: Add Meadow Mari (mhr).
13123 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13125         [BZ #14752], [BZ #15763]
13126         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13127         Validate name.
13128         * rt/tst_shm.c: Add test for escaping directory.
13130 2013-10-31  Andreas Schwab  <schwab@suse.de>
13132         [BZ #15917]
13133         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13134         followed by 'x' as part of digit sequence.
13135         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13137 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13139         [BZ #16037]
13140         * configure.ac: allow GNU Make 4.0 and greater.
13141         * configure: Regenerated.
13143 2013-10-30  Will Newton  <will.newton@linaro.org>
13145         [BZ #16038]
13146         * malloc/hooks.c (memalign_check): Limit alignment to the
13147         maximum representable power of two.
13148         * malloc/malloc.c (__libc_memalign): Likewise.
13149         * malloc/tst-memalign.c (do_test): Add test for very
13150         large alignment values.
13151         * malloc/tst-posix_memalign.c (do_test): Likewise.
13153 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13155         [BZ #11087]
13156         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13157         (munmap_chunk): Likewise.
13158         (mremap_chunk): Likewise.
13160 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13162         [BZ #15799]
13163         * stdlib/div.c (div): Remove obsolete code.
13164         * stdlib/ldiv.c (ldiv): Likewise.
13165         * stdlib/lldiv.c (lldiv): Likewise.
13167 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13169         [BZ #16071]
13170         * nss/nss_files/files-XXX.c (get_contents_ret): New
13171         enumerator.
13172         (get_contents): New function.
13173         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13175 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13177         * configure.in: Moved to ...
13178         * configure.ac: ... here. Change reference to configure.in
13179         to configure.ac.
13180         * sysdeps/arm/preconfigure.ac: ... here.
13181         configure.in to configure.ac.
13182         * sysdeps/gnu/configure.in: Moved to ...
13183         * sysdeps/gnu/configure.ac: ... here.
13184         * sysdeps/i386/configure.in: Moved to ...
13185         * sysdeps/i386/configure.ac: ... here.
13186         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13187         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13188         * sysdeps/mach/configure.in: Moved to ...
13189         * sysdeps/mach/configure.ac: ... here.
13190         * sysdeps/mach/hurd/configure.in: Moved to ...
13191         * sysdeps/mach/hurd/configure.ac: ... here.
13192         * sysdeps/powerpc/configure.in: Moved to ...
13193         * sysdeps/powerpc/configure.ac: ... here.
13194         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13195         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13196         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13197         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13198         * sysdeps/s390/s390-32/configure.in: Moved to ...
13199         * sysdeps/s390/s390-32/configure.ac: ... here.
13200         * sysdeps/s390/s390-64/configure.in: Moved to ...
13201         * sysdeps/s390/s390-64/configure.ac: ... here.
13202         * sysdeps/sh/configure.in: Moved to ...
13203         * sysdeps/sh/configure.ac: ... here.
13204         * sysdeps/sparc/configure.in: Moved to ...
13205         * sysdeps/sparc/configure.ac: ... here.
13206         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13207         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13208         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13209         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13210         * sysdeps/x86_64/configure.in: Moved to ...
13211         * sysdeps/x86_64/configure.ac: ... here.
13212         * sysdeps/x86_64/preconfigure.in: Moved to ...
13213         * sysdeps/x86_64/preconfigure.ac: ... here.
13214         * aclocal.m4: Change reference to configure.in to configure.ac.
13215         * config.h.in: Likewise.
13216         * manual/install.texi: Likewise.
13217         * manual/maint.texi: Likewise.
13218         * Makefile: Likewise.
13219         * malloc/Makefile: Likewise.
13220         * nscd/Makefile: Likewise.
13221         * Makeconfig: Change reference to configure.in and
13222         preconfigure.in to configure.ac and preconfigure.ac
13223         respectively.
13224         * INSTALL: Regenerated.
13225         * configure: Likewise.
13226         * sysdeps/gnu/configure: Likewise.
13227         * sysdeps/i386/configure: Likewise.
13228         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13229         * sysdeps/mach/configure: Likewise.
13230         * sysdeps/mach/hurd/configure: Likewise.
13231         * sysdeps/powerpc/configure: Likewise.
13232         * sysdeps/powerpc/powerpc32/configure: Likewise.
13233         * sysdeps/powerpc/powerpc64/configure: Likewise.
13234         * sysdeps/s390/s390-32/configure: Likewise.
13235         * sysdeps/s390/s390-64/configure: Likewise.
13236         * sysdeps/sh/configure: Likewise.
13237         * sysdeps/sparc/configure: Likewise.
13238         * sysdeps/unix/sysv/linux/configure: Likewise.
13239         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13240         * sysdeps/x86_64/configure: Likewise.
13241         * sysdeps/x86_64/preconfigure: Likewise.
13243 2013-10-29  Andreas Schwab  <schwab@suse.de>
13245         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13247 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13249         * benchtests/pow-inputs: Add new inputs.
13251         * benchtests/exp-inputs: Add new inputs.
13253         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13254         conditional check for return value.
13255         (__cos32): Likewise.
13257 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13259         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13260         to provide a boost for large inputs with word alignment.
13261         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13262         implementation based on optimized PPC64 strcpy.
13263         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13264         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13265         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13266         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13268 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13270         [BZ #2801]
13271         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13273 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13275         [BZ #14876]
13276         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13277         * time/tst-strptime.c (day_tests): Add testcase.
13279 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13281         [BZ #14029]
13282         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13284 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13286         [BZ #16074]
13287         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13288         MAP_FAILED on error.
13290 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13292         [BZ #16072]
13293         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13294         heap for large requests.
13296 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13298         [BZ #9954]
13299         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13300         result if the result has no associated interface.
13301         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13302         interface for all 127.X.Y.Z addresses.
13304 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13306         * locale/iso-639.def: Add Ligurian (lij)
13308 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13310         [BZ #15825]
13311         * sunrpc/rpc_main.c: Document rpcgen -5.
13313 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13315         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13317 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13319         [BZ #10278]
13320         * posix/glob.c: Match only directories when trailing slash is present.
13321         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13322         (main): Add testcase.
13324 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13326         [BZ #15670]
13327         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13329 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13331         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13332         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13333         AUTH_DES and cindex for FIPS 140-2.
13334         (DES Encryption): Add cindex FIPS 46-3.
13336         * locale/locarchive.h (struct locarhandle): Add fname.
13337         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13338         if an optional argument was specified to --list-archive,
13339         otherwise NULL.
13340         * locale/programs/locarchive.c (show_archive_content): Take new
13341         argument fname and pass it via ah.fname to open_archive.
13342         * locale/programs/localedef.h: Update decl.
13343         (open_archive): If AH->fname is non-null, open that file
13344         rather than the default file name, and don't ignore ENOENT.
13345         (create_archive): Set AH.fname to NULL.
13346         (delete_locales_from_archive): Likewise.
13347         (add_locales_to_archive): Likewise.
13348         * locale/programs/locfile.c (write_all_categories): Likewise.
13350 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13351             Aldy Hernandez  <aldyh@redhat.com>
13353         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13354         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13355         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13356         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13357         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13358         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13359         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13360         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13361         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13362         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13363         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13364         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13365         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13366         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13367         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13368         Likewise.
13369         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13370         Likewise.
13371         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13372         Likewise.
13373         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13374         Likewise.
13375         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13376         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13377         Likewise.
13378         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13379         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13380         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13381         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13382         Likewise.
13383         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13384         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13385         * sysdeps/powerpc/preconfigure: Likewise.
13386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13387         Likewise.
13388         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13389         Replace contents of file by #include of <fenv_libc.h>.
13390         * sysdeps/powerpc/soft-fp/sfp-machine.h
13391         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13392         and <sys/prctl.h>.
13393         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13394         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13395         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13396         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13397         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13398         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13399         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13400         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13401         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13402         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13403         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13404         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13406         Allow copysignl PLT reference to be missing.
13408 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13409             Joseph Myers  <joseph@codesourcery.com
13411         [BZ #15948]
13412         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13413         single character.
13414         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13416 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13418         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13419         * elf/tst-tls1.c: Likewise.
13420         * elf/tst-tls10.h: Likewise.
13421         * elf/tst-tls14.c: Likewise.
13422         * elf/tst-tls2.c: Likewise.
13423         * elf/tst-tls3.c: Likewise.
13424         * elf/tst-tls4.c: Likewise.
13425         * elf/tst-tls5.c: Likewise.
13426         * elf/tst-tls6.c: Likewise.
13427         * elf/tst-tls7.c: Likewise.
13428         * elf/tst-tls8.c: Likewise.
13429         * elf/tst-tls9.c: Likewise.
13430         * elf/tst-tlsmod1.c: Likewise.
13431         * elf/tst-tlsmod13.c: Likewise.
13432         * elf/tst-tlsmod13a.c: Likewise.
13433         * elf/tst-tlsmod14a.c: Likewise.
13434         * elf/tst-tlsmod16a.c: Likewise.
13435         * elf/tst-tlsmod16b.c: Likewise.
13436         * elf/tst-tlsmod2.c: Likewise.
13437         * elf/tst-tlsmod3.c: Likewise.
13438         * elf/tst-tlsmod4.c: Likewise.
13439         * elf/tst-tlsmod5.c: Likewise.
13440         * elf/tst-tlsmod6.c: Likewise.
13442 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13444         [BZ #12486]
13445         * malloc/malloc.c: remove checks for statistics.
13447 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13449         [BZ #15277]
13450         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13451         * inet/tst-network.c: Add testcase.
13453 2013-10-17  Andreas Schwab  <schwab@suse.de>
13455         [BZ #15218]
13456         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13457         to determine canonical name.
13459 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13461         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13462         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13464         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13466         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13467         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13468         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13469         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13470         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13471         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13472         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13473         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13474         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13475         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13476         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13478         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13479         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13480         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13484         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13485         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13486         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13487         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13488         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13489         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13490         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13491         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13492         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13493         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13494         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13495         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13496         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13497         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13498         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13499         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13500         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13501         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13502         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13503         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13504         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13505         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13506         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13507         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13508         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13509         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13510         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13511         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13512         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13513         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13514         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13515         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13516         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13517         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13518         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13520 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13522         [BZ #16041]
13523         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13524         make result into a quiet NaN.
13526 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13528         * soft-fp/adddf3.c: Fix horizontal whitespace.
13529         * soft-fp/addsf3.c: Likewise.
13530         * soft-fp/addtf3.c: Likewise.
13531         * soft-fp/divdf3.c: Likewise.
13532         * soft-fp/divsf3.c: Likewise.
13533         * soft-fp/divtf3.c: Likewise.
13534         * soft-fp/double.h: Likewise.
13535         * soft-fp/eqdf2.c: Likewise.
13536         * soft-fp/eqsf2.c: Likewise.
13537         * soft-fp/eqtf2.c: Likewise.
13538         * soft-fp/extenddftf2.c: Likewise.
13539         * soft-fp/extended.h: Likewise.
13540         * soft-fp/extendsfdf2.c: Likewise.
13541         * soft-fp/extendsftf2.c: Likewise.
13542         * soft-fp/extendxftf2.c: Likewise.
13543         * soft-fp/fixdfdi.c: Likewise.
13544         * soft-fp/fixdfsi.c: Likewise.
13545         * soft-fp/fixdfti.c: Likewise.
13546         * soft-fp/fixsfdi.c: Likewise.
13547         * soft-fp/fixsfsi.c: Likewise.
13548         * soft-fp/fixsfti.c: Likewise.
13549         * soft-fp/fixtfdi.c: Likewise.
13550         * soft-fp/fixtfsi.c: Likewise.
13551         * soft-fp/fixtfti.c: Likewise.
13552         * soft-fp/fixunsdfdi.c: Likewise.
13553         * soft-fp/fixunsdfsi.c: Likewise.
13554         * soft-fp/fixunsdfti.c: Likewise.
13555         * soft-fp/fixunssfdi.c: Likewise.
13556         * soft-fp/fixunssfsi.c: Likewise.
13557         * soft-fp/fixunssfti.c: Likewise.
13558         * soft-fp/fixunstfdi.c: Likewise.
13559         * soft-fp/fixunstfsi.c: Likewise.
13560         * soft-fp/fixunstfti.c: Likewise.
13561         * soft-fp/floatdidf.c: Likewise.
13562         * soft-fp/floatdisf.c: Likewise.
13563         * soft-fp/floatditf.c: Likewise.
13564         * soft-fp/floatsidf.c: Likewise.
13565         * soft-fp/floatsisf.c: Likewise.
13566         * soft-fp/floatsitf.c: Likewise.
13567         * soft-fp/floattidf.c: Likewise.
13568         * soft-fp/floattisf.c: Likewise.
13569         * soft-fp/floattitf.c: Likewise.
13570         * soft-fp/floatundidf.c: Likewise.
13571         * soft-fp/floatundisf.c: Likewise.
13572         * soft-fp/floatunditf.c: Likewise.
13573         * soft-fp/floatunsidf.c: Likewise.
13574         * soft-fp/floatunsisf.c: Likewise.
13575         * soft-fp/floatunsitf.c: Likewise.
13576         * soft-fp/floatuntidf.c: Likewise.
13577         * soft-fp/floatuntisf.c: Likewise.
13578         * soft-fp/floatuntitf.c: Likewise.
13579         * soft-fp/fmadf4.c: Likewise.
13580         * soft-fp/fmasf4.c: Likewise.
13581         * soft-fp/fmatf4.c: Likewise.
13582         * soft-fp/gedf2.c: Likewise.
13583         * soft-fp/gesf2.c: Likewise.
13584         * soft-fp/getf2.c: Likewise.
13585         * soft-fp/ledf2.c: Likewise.
13586         * soft-fp/lesf2.c: Likewise.
13587         * soft-fp/letf2.c: Likewise.
13588         * soft-fp/muldf3.c: Likewise.
13589         * soft-fp/mulsf3.c: Likewise.
13590         * soft-fp/multf3.c: Likewise.
13591         * soft-fp/negdf2.c: Likewise.
13592         * soft-fp/negsf2.c: Likewise.
13593         * soft-fp/negtf2.c: Likewise.
13594         * soft-fp/op-1.h: Likewise.
13595         * soft-fp/op-2.h: Likewise.
13596         * soft-fp/op-4.h: Likewise.
13597         * soft-fp/op-8.h: Likewise.
13598         * soft-fp/op-common.h: Likewise.
13599         * soft-fp/quad.h: Likewise.
13600         * soft-fp/single.h: Likewise.
13601         * soft-fp/soft-fp.h: Likewise.
13602         * soft-fp/sqrtdf2.c: Likewise.
13603         * soft-fp/sqrtsf2.c: Likewise.
13604         * soft-fp/sqrttf2.c: Likewise.
13605         * soft-fp/subdf3.c: Likewise.
13606         * soft-fp/subsf3.c: Likewise.
13607         * soft-fp/subtf3.c: Likewise.
13608         * soft-fp/truncdfsf2.c: Likewise.
13609         * soft-fp/trunctfdf2.c: Likewise.
13610         * soft-fp/trunctfsf2.c: Likewise.
13611         * soft-fp/trunctfxf2.c: Likewise.
13612         * soft-fp/unorddf2.c: Likewise.
13613         * soft-fp/unordsf2.c: Likewise.
13614         * soft-fp/unordtf2.c: Likewise.
13616 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13618         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13619         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13621 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13623         * elf/dl-libc.c: Clear initfini list after freeing.
13625 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13627         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13628         * soft-fp/addsf3.c: Likewise.
13629         * soft-fp/addtf3.c: Likewise.
13630         * soft-fp/divdf3.c: Likewise.
13631         * soft-fp/divsf3.c: Likewise.
13632         * soft-fp/divtf3.c: Likewise.
13633         * soft-fp/double.h: Likewise.
13634         * soft-fp/eqdf2.c: Likewise.
13635         * soft-fp/eqsf2.c: Likewise.
13636         * soft-fp/eqtf2.c: Likewise.
13637         * soft-fp/extenddftf2.c: Likewise.
13638         * soft-fp/extended.h: Likewise.
13639         * soft-fp/extendsfdf2.c: Likewise.
13640         * soft-fp/extendsftf2.c: Likewise.
13641         * soft-fp/extendxftf2.c: Likewise.
13642         * soft-fp/fixdfdi.c: Likewise.
13643         * soft-fp/fixdfsi.c: Likewise.
13644         * soft-fp/fixdfti.c: Likewise.
13645         * soft-fp/fixsfdi.c: Likewise.
13646         * soft-fp/fixsfsi.c: Likewise.
13647         * soft-fp/fixsfti.c: Likewise.
13648         * soft-fp/fixtfdi.c: Likewise.
13649         * soft-fp/fixtfsi.c: Likewise.
13650         * soft-fp/fixtfti.c: Likewise.
13651         * soft-fp/fixunsdfdi.c: Likewise.
13652         * soft-fp/fixunsdfsi.c: Likewise.
13653         * soft-fp/fixunsdfti.c: Likewise.
13654         * soft-fp/fixunssfdi.c: Likewise.
13655         * soft-fp/fixunssfsi.c: Likewise.
13656         * soft-fp/fixunssfti.c: Likewise.
13657         * soft-fp/fixunstfdi.c: Likewise.
13658         * soft-fp/fixunstfsi.c: Likewise.
13659         * soft-fp/fixunstfti.c: Likewise.
13660         * soft-fp/floatdidf.c: Likewise.
13661         * soft-fp/floatdisf.c: Likewise.
13662         * soft-fp/floatditf.c: Likewise.
13663         * soft-fp/floatsidf.c: Likewise.
13664         * soft-fp/floatsisf.c: Likewise.
13665         * soft-fp/floatsitf.c: Likewise.
13666         * soft-fp/floattidf.c: Likewise.
13667         * soft-fp/floattisf.c: Likewise.
13668         * soft-fp/floattitf.c: Likewise.
13669         * soft-fp/floatundidf.c: Likewise.
13670         * soft-fp/floatundisf.c: Likewise.
13671         * soft-fp/floatunsidf.c: Likewise.
13672         * soft-fp/floatunsisf.c: Likewise.
13673         * soft-fp/floatuntidf.c: Likewise.
13674         * soft-fp/floatuntisf.c: Likewise.
13675         * soft-fp/floatuntitf.c: Likewise.
13676         * soft-fp/fmadf4.c: Likewise.
13677         * soft-fp/fmasf4.c: Likewise.
13678         * soft-fp/fmatf4.c: Likewise.
13679         * soft-fp/gedf2.c: Likewise.
13680         * soft-fp/gesf2.c: Likewise.
13681         * soft-fp/getf2.c: Likewise.
13682         * soft-fp/ledf2.c: Likewise.
13683         * soft-fp/lesf2.c: Likewise.
13684         * soft-fp/letf2.c: Likewise.
13685         * soft-fp/muldf3.c: Likewise.
13686         * soft-fp/mulsf3.c: Likewise.
13687         * soft-fp/multf3.c: Likewise.
13688         * soft-fp/negdf2.c: Likewise.
13689         * soft-fp/negsf2.c: Likewise.
13690         * soft-fp/negtf2.c: Likewise.
13691         * soft-fp/op-1.h: Likewise.
13692         * soft-fp/op-2.h: Likewise.
13693         * soft-fp/op-4.h: Likewise.
13694         * soft-fp/op-8.h: Likewise.
13695         * soft-fp/op-common.h: Likewise.
13696         * soft-fp/quad.h: Likewise.
13697         * soft-fp/single.h: Likewise.
13698         * soft-fp/soft-fp.h: Likewise.
13699         * soft-fp/sqrtdf2.c: Likewise.
13700         * soft-fp/sqrtsf2.c: Likewise.
13701         * soft-fp/sqrttf2.c: Likewise.
13702         * soft-fp/subdf3.c: Likewise.
13703         * soft-fp/subsf3.c: Likewise.
13704         * soft-fp/subtf3.c: Likewise.
13705         * soft-fp/truncdfsf2.c: Likewise.
13706         * soft-fp/trunctfdf2.c: Likewise.
13707         * soft-fp/trunctfsf2.c: Likewise.
13708         * soft-fp/trunctfxf2.c: Likewise.
13709         * soft-fp/unorddf2.c: Likewise.
13710         * soft-fp/unordsf2.c: Likewise.
13711         * soft-fp/unordtf2.c: Likewise.
13713 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13715         [BZ #15672]
13716         * misc/error.c (error_tail): Fix possible buffer overflow.
13718 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13720         [BZ #13028]
13721         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13722         address.
13724 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13726         [BZ #832]
13727         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13728         testing pipefail option.
13730 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13732         * soft-fp/double.h: Indent preprocessor directives inside #if.
13733         * soft-fp/extended.h: Likewise.
13734         * soft-fp/op-2.h: Likewise.
13735         * soft-fp/op-4.h: Likewise.
13736         * soft-fp/op-common.h: Likewise.
13737         * soft-fp/quad.h: Likewise.
13738         * soft-fp/single.h: Likewise.
13739         * soft-fp/soft-fp.h: Likewise.
13741 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13743         * iconv/iconv_prog.c: Fix typos.
13744         * stdio-common/psiginfo-data.h: Likewise.
13746 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13748         [BZ #15764]
13749         * locale/setlocale.c: Fix typo.
13751 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13753         [BZ #16036]
13754         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13755         signaling NaN arguments.
13756         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13757         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13759         [BZ #14910]
13760         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13761         unordered operands.
13762         * soft-fp/gesf2.c (__gesf2): Likewise.
13763         * soft-fp/getf2.c (__getf2): Likewise.
13764         * soft-fp/ledf2.c (__ledf2): Likewise.
13765         * soft-fp/lesf2.c (__lesf2): Likewise.
13766         * soft-fp/letf2.c (__letf2): Likewise.
13768         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13769         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13770         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13771         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13772         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13773         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13774         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13775         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13776         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13777         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13778         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13779         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13780         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13781         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13782         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13783         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13784         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13785         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13786         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13787         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13788         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13789         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13790         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13791         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13792         * soft-fp/floattidf.c (__floattidf): Likewise.
13793         * soft-fp/floattisf.c (__floattisf): Likewise.
13794         * soft-fp/floattitf.c (__floattitf): Likewise.
13795         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13796         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13797         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13798         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13799         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13800         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13801         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13802         * soft-fp/gesf2.c (__gesf2): Likewise.
13803         * soft-fp/getf2.c (__getf2): Likewise.
13804         * soft-fp/ledf2.c (__ledf2): Likewise.
13805         * soft-fp/lesf2.c (__lesf2): Likewise.
13806         * soft-fp/letf2.c (__letf2): Likewise.
13808         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13809         Undefine and redefine.
13810         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13811         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13812         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13813         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13814         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13815         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13816         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13817         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13818         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13819         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13820         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13821         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13822         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13823         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13824         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13826         [BZ #16032]
13827         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13828         without decrementing exponent if mantissa >= that for the
13829         denominator, not >.
13830         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13831         denominator, not >.  Decrement exponent in < case instead of
13832         incrementing in >= case.
13833         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13834         without decrementing exponent if mantissa >= that for the
13835         denominator, not >.
13837         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13838         computing saturated result for unsigned overflow.
13840 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13841             Jeff Law  <law@redhat.com>
13843         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13844         (atan2Mp): Add systemtap probe marker.
13845         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13846         (__ieee754_log): Add systemtap probe marker.
13847         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13848         (atanMp): Add systemtap probe marker.
13849         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13850         (tanMp): Add systemtap probe marker.
13851         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13852         (__slowexp): Add systemtap probe marker.
13853         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13854         (__slowpow): Add systemtap probe marker.
13855         * manual/probes.texi: Document probes.
13857 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13859         [BZ #15362]
13860         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13861         written.
13862         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13863         written.
13864         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13865         written to buffer but not flushed.
13866         * libio/iofwrite_u.c:  Likewise.
13867         * libio/iopadn.c:  Return bytes returned even if EOF was
13868         encountered.
13869         * libio/iowpadn.c:  Likewise.
13870         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13871         if _IO_padn does not write the whole buffer.
13872         [!COMPILE_WPRINTF] (PAD): Likewise.
13874 2013-10-10  David S. Miller  <davem@davemloft.net>
13876         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13877         directory block.
13879 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13881         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13882         instead of FSF address.
13883         * soft-fp/fixdfti.c: Likewise.
13884         * soft-fp/fixsfti.c: Likewise.
13885         * soft-fp/fixtfti.c: Likewise.
13886         * soft-fp/fixunsdfti.c: Likewise.
13887         * soft-fp/fixunssfti.c: Likewise.
13888         * soft-fp/fixunstfti.c: Likewise.
13889         * soft-fp/floattidf.c: Likewise.
13890         * soft-fp/floattisf.c: Likewise.
13891         * soft-fp/floattitf.c: Likewise.
13892         * soft-fp/floatuntidf.c: Likewise.
13893         * soft-fp/floatuntisf.c: Likewise.
13894         * soft-fp/floatuntitf.c: Likewise.
13895         * soft-fp/trunctfxf2.c: Likewise.
13897         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
13898         * soft-fp/fixdfti.c: Likewise.
13899         * soft-fp/fixsfti.c: Likewise.
13900         * soft-fp/fixtfti.c: Likewise.
13901         * soft-fp/fixunsdfti.c: Likewise.
13902         * soft-fp/fixunssfti.c: Likewise.
13903         * soft-fp/fixunstfti.c: Likewise.
13904         * soft-fp/floattidf.c: Likewise.
13905         * soft-fp/floattisf.c: Likewise.
13906         * soft-fp/floattitf.c: Likewise.
13907         * soft-fp/floatuntidf.c: Likewise.
13908         * soft-fp/floatuntisf.c: Likewise.
13909         * soft-fp/floatuntitf.c: Likewise.
13910         * soft-fp/trunctfxf2.c: Likewise.
13912 2013-10-10  David S. Miller  <davem@davemloft.net>
13914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13916 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
13918         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
13919         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
13920         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
13921         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
13922         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
13923         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
13924         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
13926         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
13927         for NaNs before doing comparisons on argument.
13928         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
13929         Likewise.
13931 2013-10-10  Will Newton  <will.newton@linaro.org>
13933         * malloc/hooks.c (memalign_check): Ensure the value of bytes
13934         passed to _int_memalign does not overflow.
13936 2013-10-10  Torvald Riegel  <triegel@redhat.com>
13938         * scripts/bench.pl: Add include-sources directive.
13939         * benchtests/README: Update documentation.
13941 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13943         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
13944         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
13945         instead of FP_INIT_ROUNDMODE.
13946         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
13947         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
13949         [BZ #16034]
13950         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
13951         copy class of input value.
13952         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
13953         not handle exceptions.
13954         * soft-fp/negsf2.c (__negsf2): Likewise.
13955         * soft-fp/negtf2.c (__negtf2): Likewise.
13956         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
13958 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
13960         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
13961         semicolon.  From Linux kernel.
13963 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
13965         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
13967 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
13969         [BZ #156]
13970         * manual/socket.texi: Added statement about buffer
13971         for gethostbyname2_r.
13973 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
13975         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
13976         Use .p2align directive instead, throughout.
13977         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13978         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
13979         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13980         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13981         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13982         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
13983         * sysdeps/x86_64/strchr.S: Likewise.
13984         * sysdeps/x86_64/strrchr.S: Likewise.
13986 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13988         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
13990         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
13992         * sysdeps/generic/math_private.h (__mpsin1): Remove
13993         declaration.
13994         (__mpcos1): Likewise.
13995         (__mpsin): New argument __range_reduce.
13996         (__mpcos): Likewise.
13997         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13998         (slow): Use __mpsin and __mpcos.
13999         (slow1): Likewise.
14000         (slow2): Likewise.
14001         (sloww): Likewise.
14002         (sloww1): Likewise.
14003         (sloww2): Likewise.
14004         (bsloww): Likewise.
14005         (bsloww1): Likewise.
14006         (bsloww2): Likewise.
14007         (cslow2): Likewise.
14008         (csloww): Likewise.
14009         (csloww1): Likewise.
14010         (csloww2): Likewise.
14011         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14012         range_reduce.  Merge in __mpsin1.
14013         (__mpcos): Likewise.
14014         (__mpsin1): Remove.
14015         (__mpcos1): Likewise.
14017 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14019         * locale/loadlocale.c (_nl_intern_locale_data): Use
14020         LOCFILE_ALIGNED_P.
14021         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14022         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14023         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14024         obstack data is appropriately aligned.
14025         (obstack_int32_grow_fast): Likewise.
14026         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14027         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14028         (add_locale_uint32_array): Likewise.
14030 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14032         * benchtests/Makefile: Remove ARGLIST and RET variables.
14033         ($(objpfx)bench-%.c): Pass only function name to the script.
14034         * benchtests/README: Update documentation.
14035         * benchtests/acos-inputs: Add new directives.
14036         * benchtests/acosh-inputs: Likewise.
14037         * benchtests/asin-inputs: Likewise.
14038         * benchtests/asinh-inputs: Likewise.
14039         * benchtests/atan-inputs: Likewise.
14040         * benchtests/atanh-inputs: Likewise.
14041         * benchtests/cos-inputs: Likewise.
14042         * benchtests/cosh-inputs: Likewise.
14043         * benchtests/exp-inputs: Likewise.
14044         * benchtests/log-inputs: Likewise.
14045         * benchtests/pow-inputs: Likewise.
14046         * benchtests/rint-inputs: Likewise.
14047         * benchtests/sin-inputs: Likewise.
14048         * benchtests/sinh-inputs: Likewise.
14049         * benchtests/tan-inputs: Likewise.
14050         * benchtests/tanh-inputs: Likewise.
14051         * scripts/bench.pl: Add support for new directives.
14053 2013-10-07  Alan Modra  <amodra@gmail.com>
14055         * README: Fix careless merge.
14057 2013-10-05  Alan Modra  <amodra@gmail.com>
14059         * NEWS: Mention powerpc64le support and bugs fixed.
14060         * README: Both big-endian and little-endian powerpc64 supported.
14062 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14064         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14065         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14066         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14067         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14069 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14071         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14072         match prototype.
14074 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14076         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14077         Move -mhard-float appending from
14078         ports/sysdeps/powerpc/powerpc32/Makefile.
14079         [$(with-fp) = yes] (ASFLAGS): Likewise.
14080         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14081         * sysdeps/powerpc/nofpu: Move directory from
14082         ports/sysdeps/powerpc/nofpu.
14083         * sysdeps/powerpc/soft-fp: Move directory from
14084         ports/sysdeps/powerpc/soft-fp.
14085         * sysdeps/powerpc/powerpc32/405: Move directory from
14086         ports/sysdeps/powerpc/powerpc32/405.
14087         * sysdeps/powerpc/powerpc32/440: Move directory from
14088         ports/sysdeps/powerpc/powerpc32/440.
14089         * sysdeps/powerpc/powerpc32/464: Move directory from
14090         ports/sysdeps/powerpc/powerpc32/464.
14091         * sysdeps/powerpc/powerpc32/476: Move directory from
14092         ports/sysdeps/powerpc/powerpc32/476.
14093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14094         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14096         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14098         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14100         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14102         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14103         * README: Update for powerpc-*-linux-gnu software floating point
14104         support in libc.
14106         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14107         case to powerpc/powerpc32*.
14108         * sysdeps/unix/sysv/linux/configure: Regenerated.
14110         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14111         (_FPU_MASK_OM): Define as 0x04.
14112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14114         0x00c10080.
14115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14116         0x0000003c.
14117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14120         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14121         getcontext_e500.
14122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14123         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14124         setcontext_e500.
14125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14126         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14127         and setcontext_e500.
14129 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14131         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14133 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14135         * manual/threads.texi (Default Thread Attributes): Fix typo.
14137 2013-10-04  Will Newton  <will.newton@linaro.org>
14139         * malloc/Makefile: Add tst-memalign.
14140         * malloc/tst-memalign.c: New file.
14142         * malloc/tst-posix_memalign.c: Add comments.
14143         (do_test): Add comments and call free on all potentially
14144         allocated pointers. Add space after cast.
14146         * malloc/tst-pvalloc.c: Add comments.
14147         (do_test): Add comments and call free on all potentially
14148         allocated pointers. Remove duplicate check for NULL pointer.
14149         Add space after cast.
14151         * malloc/tst-valloc.c: Add comments.
14152         (do_test): Add comments and call free on all potentially
14153         allocated pointers. Remove duplicate check for NULL pointer.
14154         Add space after cast.
14156 2013-10-04  Alan Modra  <amodra@gmail.com>
14158         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14159         Use stdint types in rather than __attribute__((mode())).
14160         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14162 2013-10-04  Alan Modra  <amodra@gmail.com>
14164         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14165         Correct handling of unaligned relocs for little-endian.
14166         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14168 2013-10-04  Alan Modra  <amodra@gmail.com>
14170         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14171         * configure: Regenerate.
14172         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14173         * shlib-versions: Likewise.
14175 2013-10-04  Alan Modra  <amodra@gmail.com>
14177         * string/tester.c (test_memrchr): Increment reported test cycle.
14179 2013-10-04  Alan Modra  <amodra@gmail.com>
14181         * string/test-memcpy.c (do_one_test): When reporting errors, print
14182         string address and don't overrun end of string.
14184 2013-10-04  Alan Modra  <amodra@gmail.com>
14186         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14187         insrdi.  Make better use of reg selection to speed exit slightly.
14188         Schedule entry path a little better.  Remove useless "are we done"
14189         checks on entry to main loop.  Handle wrapping around zero address.
14190         Correct main loop count.  Handle single left-over word from main
14191         loop inline rather than by using loop_small.  Remove extra word
14192         case in loop_small caused by wrong loop count.  Add little-endian
14193         support.
14194         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14195         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14196         cache hint.
14197         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14198         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14199         support.  Avoid rlwimi.
14200         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14202 2013-10-04  Alan Modra  <amodra@gmail.com>
14204         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14205         insrdi.  Formatting.
14206         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14207         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14208         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14209         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14210         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14211         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14213 2013-10-04  Alan Modra  <amodra@gmail.com>
14215         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14216         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14217         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14218         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14219         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14220         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14221         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14222         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14223         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14224         use of regs.  Use power7 mtocrf.  Tidy function tails.
14226 2013-10-04  Alan Modra  <amodra@gmail.com>
14228         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14229         Formatting.  Consistently use rXXX register defines or rN defines.
14230         Use early exit labels that avoid restoring unused non-volatile regs.
14231         Make cr field use more consistent with rWORDn compares.  Rename
14232         regs used as shift registers for unaligned loop, using rN defines
14233         for short lifetime/multiple use regs.
14234         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14235         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14236         addi 1,1,64 to pop stack frame.  Simplify return value code.
14237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14239 2013-10-04  Alan Modra  <amodra@gmail.com>
14241         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14242         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14243         rather than rlwimi.
14244         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14245         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14246         little-endian support.  Correct typos.
14247         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14248         rather than rlwimi.
14249         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14250         in loop and entry code to keep "and." results.
14251         (strchr): Add little-endian support.  Comment.  Move cntlzd
14252         earlier in tail.
14253         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14255 2013-10-04  Alan Modra  <amodra@gmail.com>
14257         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14258         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14259         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14260         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14262 2013-10-04  Alan Modra  <amodra@gmail.com>
14264         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14265         (rTMP): Define as r11.
14266         (strcmp): Add little-endian support.  Optimise tail.
14267         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14268         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14269         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14270         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14271         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14272         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14273         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14275 2013-10-04  Alan Modra  <amodra@gmail.com>
14277         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14278         little-endian support.  Remove unnecessary "are we done" tests.
14279         Handle "s" wrapping around zero and extremely large "size".
14280         Correct main loop count.  Handle single left-over word from main
14281         loop inline rather than by using small_loop.  Correct comments.
14282         Delete "zero" tail, use "end_max" instead.
14283         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14285 2013-10-04  Alan Modra  <amodra@gmail.com>
14287         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14288         support.  Don't branch over align.
14289         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14290         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14291         support.  Rearrange tmp reg use to suit.  Comment.
14292         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14294 2013-10-04  Alan Modra  <amodra@gmail.com>
14296         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14298 2013-10-04  Alan Modra  <amodra@gmail.com>
14300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14301         conditional form of branch and link when obtaining pc.
14302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14304 2013-10-04  Alan Modra  <amodra@gmail.com>
14306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14307         HIWORD/LOWORD.
14308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14311 2013-10-04  Alan Modra  <amodra@gmail.com>
14313         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14314         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14315         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14316         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14317         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14318         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14319         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14320         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14321         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14322         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14324 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14325             Alistair Popple <alistair@ozlabs.au.ibm.com>
14326             Alan Modra <amodra@gmail.com>
14328         [BZ #15723]
14329         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14330         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14331         _dl_hwcap access for little-endian.
14332         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14333         destroy vmx regs when saving unaligned.
14334         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14336         destroy vmx regs when saving unaligned.
14338 2013-10-04  Alan Modra  <amodra@gmail.com>
14340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14341         Don't use a union to pack hi/low value.
14343 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14345         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14346         for little-endian.
14347         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14348         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14349         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14350         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14351         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14353 2013-10-04  Alan Modra  <amodra@gmail.com>
14355         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14356         constants to usual value for .cst8 section, and remove redundant
14357         high address load.
14358         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14359         constant for 0x1p52.  Load little-endian words of double from
14360         correct stack offsets.
14362 2013-10-04  Alan Modra  <amodra@gmail.com>
14364         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14365         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14366         words of double from correct stack offsets.
14367         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14368         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14369         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14370         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14372         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14373         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14374         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14375         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14376         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14377         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14378         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14379         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14380         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14381         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14382         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14383         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14385 2013-10-04  Alan Modra  <amodra@gmail.com>
14387         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14388         64-bit int/double union.
14389         (_FPU_SETCW): Likewise.
14390         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14391         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14393 2013-10-04  Alan Modra  <amodra@gmail.com>
14395         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14396         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14398 2013-10-04  Alan Modra  <amodra@gmail.com>
14400         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14401         use vector int constants.
14402         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14404 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14406         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14407         array with long long.
14408         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14409         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14410         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14411         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14412         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14413         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14414         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14415         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14416         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14417         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14418         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14419         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14420         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14422 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14424         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14425         (__signbit): Likewise.  Correct for little-endian.
14426         (__signbitl): Call __signbit.
14427         (lrint): Correct for little-endian.
14428         (lrintf): Call lrint.
14430 2013-10-04  Alan Modra  <amodra@gmail.com>
14432         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14433         union 32-bit int array member with 64-bit int array.
14434         (t515, tm256): Double rather than long double.
14435         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14437 2013-10-04  Alan Modra  <amodra@gmail.com>
14439         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14440         Delete.
14441         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14442         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14443         version of math_ldbl.h.
14445 2013-10-04  Alan Modra  <amodra@gmail.com>
14447         [BZ #15734], [BZ #15735]
14448         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14449         all uses of ieee875 long double macros and unions.  Simplify test
14450         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14451         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14452         normalize after ldbl_extract_mantissa, and don't add hidden bit
14453         already handled.  Don't treat low word of ieee854 mantissa like
14454         low word of IBM long double and mask off bit when testing for
14455         zero.
14456         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14457         all uses of ieee875 long double macros and unions.  Simplify tests
14458         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14459         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14460         two1022, instead use their values.  Recognise that tests for large
14461         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14462         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14463         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14464         test for 0.0L and nan.  Correct negation.
14465         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14466         ieee875 long double macros and unions.  Correct output for large
14467         magnitude x.  Correct absolute value calculation.
14468         (__erfcl): Likewise.
14469         * math/libm-test.inc: Add tests for errors discovered in IBM long
14470         double versions of fmodl, remainderl, erfl and erfcl.
14472 2013-10-04  Alan Modra  <amodra@gmail.com>
14474         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14475         all uses of ieee854 long double macros and unions.  Simplify tests
14476         for long doubles that are fully specified by the high double.
14477         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14478         Likewise.
14479         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14480         Remove dead code too.
14481         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14482         (__ieee754_ynl): Likewise.
14483         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14484         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14485         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14486         Remove dead code too.
14487         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14488         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14489         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14490         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14491         Simplify.
14492         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14493         Simplify.
14494         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14495         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14496         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14497         Comment on variable precision.
14498         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14499         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14500         Likewise.
14501         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14502         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14503         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14504         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14505         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14507 2013-10-04  Alan Modra  <amodra@gmail.com>
14509         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14510         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14511         all uses of ieee854 long double macros and unions.
14512         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14513         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14514         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14515         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14516         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14517         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14518         Likewise.
14519         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14520         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14521         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14522         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14523         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14524         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14525         Simplify sign and nan test too.
14526         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14527         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14528         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14529         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14530         Likewise.
14531         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14532         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14533         Likewise.
14534         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14535         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14536         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14537         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14538         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14539         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14541 2013-10-04  Alan Modra  <amodra@gmail.com>
14543         * stdio-common/printf_size.c (__printf_size): Don't use
14544         union ieee854_long_double in fpnum union.
14545         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14546         signbit macro to retrieve sign from long double.
14547         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14548         retrieve sign from long double.
14549         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14550         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14551         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14552         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14553         * math/test-misc.c (main): Don't use union ieee854_long_double.
14555 2013-10-04  Alan Modra  <amodra@gmail.com>
14557         [BZ #15680]
14558         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14559         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14560         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14561         calculation.  Remove unnecessary test for denormal exponent.
14562         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14563         Correct handling of denormals.  Avoid undefined shift behaviour.
14564         Correct normalisation of low mantissa when low double is denormal.
14565         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14566         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14567         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14568         Correct normalisation of low mantissa.  Test for overflow of high
14569         mantissa and normalise.
14570         (ldbl_nearbyint): Use more readable constant for two52.
14571         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14572         (__mpn_construct_long_double): Fix test for overflow of high
14573         mantissa and correct normalisation.  Avoid undefined shift.
14575 2013-10-04  Alan Modra  <amodra@gmail.com>
14577         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14578         (union ibm_extended_long_double): Define as an array of ieee754_double.
14579         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14580         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14581         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14582         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14583         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14584         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14585         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14586         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14588         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14591 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14593         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14594         page size instead of calling getpagesize.
14596         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14597         (LOCFILE_ALIGN_MASK): Likewise.
14598         (LOCFILE_ALIGN_UP): Likewise.
14599         (LOCFILE_ALIGNED_P): Likewise.
14600         * locale/programs/ld-collate.c (collate_output): Use the new
14601         macros instead of __alignof__ (int32_t).
14602         * locale/weight.h (findidx): Likewise.
14604 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14606         [BZ #431]
14607         * manual/string.texi: Fix strncat and wcsncat.
14609 2013-10-03  Brooks Moses  <bmoses@google.com>
14611         [BZ #15915]
14612         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14613         * Makerules: ...here, and adjust associated comments.
14615 2013-10-02  Will Newton  <will.newton@linaro.org>
14617         * malloc/Makefile: Add tst-pvalloc.
14618         * malloc/tst-pvalloc.c: New file.
14620 2013-10-02  Will Newton  <will.newton@linaro.org>
14622         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14623         improve test coverage.
14625 2013-10-02  Will Newton  <will.newton@linaro.org>
14627         * malloc/Makefile: Add tst-posix_memalign.
14628         * malloc/tst-posix_memalign.c: New file.
14630 2013-10-01  Eric Blake  <eblake@redhat.com>
14632         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14633         Use __THROWNL rather than __THROW on static functions.
14635 2013-09-30  Petr Machata  <pmachata@redhat.com>
14637         * elf/elf.h (R_AARCH64_ABS16): New macro.
14638         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14639         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14640         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14641         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14642         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14643         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14644         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14645         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14646         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14647         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14648         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14649         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14650         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14651         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14652         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14653         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14654         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14655         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14656         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14657         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14658         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14659         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14660         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14661         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14662         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14663         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14664         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14665         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14666         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14667         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14668         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14669         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14670         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14671         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14672         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14673         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14674         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14675         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14676         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14677         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14678         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14679         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14680         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14681         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14682         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14683         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14684         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14685         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14686         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14687         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14688         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14689         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14690         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14691         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14692         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14693         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14694         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14695         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14696         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14697         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14698         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14699         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14700         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14701         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14702         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14703         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14704         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14705         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14706         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14707         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14708         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14709         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14710         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14711         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14712         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14713         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14714         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14715         (R_AARCH64_TLSDESC_LDR): Likewise.
14716         (R_AARCH64_TLSDESC_ADD): Likewise.
14717         (R_AARCH64_TLSDESC_CALL): Likewise.
14719 2013-09-30  Andreas Schwab  <schwab@suse.de>
14721         [BZ #15048]
14722         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14723         the nss database lookup.
14724         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14727 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14729         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14731 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14733         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14734         ${Bash-specific parameter/pattern/string} parameter expansion.
14735         * sysdeps/unix/make-syscalls.sh: Likewise.
14737 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14739         * sysdeps/sh/stackguard-macros.h: New file.
14741 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14745         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14746         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14747         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14748         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14750 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14752         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14753         Fix thread ID register.
14755 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14757         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14758         [POSIX || UNIX98]: Require rather than permitting all symbols from
14759         <time.h>.
14760         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14761         element of struct sched_param.
14762         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14763         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14764         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14765         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14766         constant.
14768 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14770         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14771         argument calculation.
14773 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14775         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14776         Expect macro.
14777         [POSIX] (pthread_attr_t): Do not require type.
14778         [POSIX] (pthread_cond_t): Likewise.
14779         [POSIX] (pthread_condattr_t): Likewise.
14780         [POSIX] (pthread_key_t): Likewise.
14781         [POSIX] (pthread_mutex_t): Likewise.
14782         [POSIX] (pthread_mutexattr_t): Likewise.
14783         [POSIX] (pthread_once_t): Likewise.
14784         [POSIX] (pthread_t): Likewise.
14785         [POSIX-based standards] (pthread_atfork): Expect function.
14787 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14788             Richard Sandiford  <richard@codesourcery.com>
14790         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14791         (swap_endianness_p): New extern variable.
14792         (set_big_endian): New inline function.
14793         (maybe_swap_uint32): Likewise.
14794         (maybe_swap_uint32_array): Likewise.
14795         (maybe_swap_uint32_obstack): Likewise.
14796         * locale/programs/locfile.c: Include <stdbool.h>.
14797         (swap_endianness_p): New variable.
14798         (add_locale_uint32): Call maybe_swap_uint32.
14799         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14800         (write_locale_data): Call maybe_swap_uint32_array.
14801         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14802         maybe_swap_uint32.
14803         (obstack_int32_grow_fast): Likewise.
14804         (output_weightwc): Call maybe_swap_uint32_obstack.
14805         (collate_output): Likewise.
14806         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14807         (OPT_LITTLE_ENDIAN): Likewise.
14808         (options): Add --little-endian and --big-endian options.
14809         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14810         * locale/programs/locarchive.c: Include "locfile.h".
14811         (GET): New macro.
14812         (SET): Likewise.
14813         (INC): Likewise.
14814         (create_archive): Use the new macros to access fields of
14815         structures directly mapped from or written to locale archives.
14816         (oldlocrecentcmp): Likewise.
14817         (enlarge_archive): Likewise.
14818         (insert_name): Likewise.
14819         (add_alias): Likewise.
14820         (add_locale): Likewise.
14821         (delete_locales_from_archive): Likewise.
14822         (show_archive_content): Likewise.
14823         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14824         locale data.
14826 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14828         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14829         http://www.gnu.org/doc/freemanuals.texi.
14830         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14832 2013-09-24  Will Newton  <will.newton@linaro.org>
14834         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14835         macro.
14837 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14839         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14840         unsigned char.
14842 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14844         * manual/threads.texi (POSIX Threads): Fix a typo.
14846 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14848         [BZ #14547]
14849         * string/tst-strcoll-overflow.c: New test case.
14850         * string/Makefile (xtests): Add tst-strcoll-overflow.
14851         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14852         cache if string sizes may cause integer overflow.
14854         [BZ #14547]
14855         * string/strcoll_l.c (coll_seq): New members rule, idx,
14856         save_idx and back_us.
14857         (get_next_seq_nocache): New function.
14858         (do_compare_nocache): New function.
14859         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14860         when malloc fails.
14862 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14864         [BZ #15754]
14865         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14866         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14867         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14869         [BZ #15754]
14870         * elf/Makefile (tests): Add tst-ptrguard1.
14871         (tests-static): Add tst-ptrguard1-static.
14872         (tst-ptrguard1-ARGS): Define.
14873         (tst-ptrguard1-static-ARGS): Define.
14874         * elf/tst-ptrguard1.c: New file.
14875         * elf/tst-ptrguard1-static.c: New file.
14876         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14877         * sysdeps/i386/stackguard-macros.h: Likewise.
14878         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14879         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14880         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14881         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14882         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14883         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14885 2013-09-23  Hector Marco  <hecmargi@upv.es>
14886             Ismael Ripoll  <iripoll@disca.upv.es>
14887             Carlos O'Donell  <carlos@redhat.com>
14889         [BZ #15754]
14890         * sysdeps/generic/stackguard-macros.h: Define
14891         __pointer_chk_guard_local and POINTER_CHK_GUARD.
14892         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
14893         Define __pointer_chk_guard_local.
14894         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
14895         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
14897 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
14899         [BZ #15859]
14900         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
14902 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
14904         * include/string.h (__ffs): Declare as hidden.
14905         * string/ffs.c (__ffs): Define as hidden.
14906         * sysdeps/i386/ffs.c (__ffs): Likewise.
14907         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14908         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
14909         * sysdeps/s390/ffs.c (__ffs): Likewise.
14910         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
14912 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
14914         * NEWS: Mention malloc probes.
14916         * malloc/arena.c (new_heap): New memory_heap_new probe.
14917         (grow_heap): New memory_heap_more probe.
14918         (shrink_heap): New memory_heap_less probe.
14919         (heap_trim): New memory_heap_free probe.
14920         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
14921         (systrim): New memory_sbrk_less probe.
14922         * manual/probes.texi: Document them.
14924         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
14925         * manual/probes.texi: Document it.
14927         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
14928         (__libc_realloc): Add memory_realloc_retry probe.
14929         (__libc_memalign): Add memory_memalign_retry probe.
14930         (__libc_valloc): Add memory_valloc_retry probe.
14931         (__libc_pvalloc): Add memory_pvalloc_retry probe.
14932         (__libc_calloc): Add memory_calloc_retry probe.
14933         * manual/probes.texi: Document them.
14935         * malloc/arena.c (get_free_list): Add probe
14936         memory_arena_reuse_free_list.
14937         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
14938         and memory_arena_reuse.
14939         (arena_get2) [!PER_THREAD]: Likewise.
14940         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
14941         memory_arena_reuse_realloc.
14942         * manual/probes.texi: Document them.
14944         * malloc/malloc.c (__libc_free): Add
14945         memory_mallopt_free_dyn_thresholds probe.
14946         (__libc_mallopt): Add multiple memory_mallopt probes.
14947         * manual/probes.texi: Document them.
14949         * malloc/malloc.c: Include stap-probe.h.
14950         (__libc_mallopt): Add memory_mallopt probe.
14951         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
14952         * manual/probes.texi: New.
14953         * manual/Makefile (chapters): Add probes.
14954         * manual/threads.texi: Set next node.
14956 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
14958         [BZ #15963, #13985]
14959         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
14960         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
14961         Add `Chinese' to `nan' entry name.
14963 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14965         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
14966         (POLYNOMIAL): Likewise.
14967         (TAYLOR_SINCOS): Likewise.
14968         (TAYLOR_SLOW): Likewise.
14969         (__sin): Use TAYLOR_SINCOS.
14970         (__cos): Likewise.
14971         (slow): Use TAYLOR_SLOW.
14972         (sloww): Likewise.
14973         (bsloww): Likewise.
14974         (csloww): Likewise.
14976 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14978         * stdlib/strtod_l.c: Fix buffer overrun.
14980 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14982         * benchtests/Makefile (bench): Add sincos.
14983         * benchtests/bench-sincos.c: New file.
14985         * math/libm-test.inc (cos_test_data): New test inputs.
14986         (sin_test_data): Likewise.
14988         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
14989         macro.
14990         (__sin): Use it.
14991         (__cos): Likewise.
14992         (slow1): Likewise.
14993         (slow2): Likewise.
14994         (sloww1): Likewise.
14995         (sloww2): Likewise.
14996         (bsloww1): Likewise.
14997         (bsloww2): Likewise.
14998         (cslow2): Likewise.
14999         (csloww1): Likewise.
15000         (csloww2): Likewise.
15002         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15003         function.
15004         (__sin): Use it.
15005         (__cos): Likewise.
15007         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15008         gotos.
15009         (__cos): Likewise.
15011 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15013         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15014         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15015         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15016         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15017         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15018         * elf/cache.c (print_entry): Handle the new cache flags.
15020 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15021             Aldy Hernandez  <aldyh@redhat.com>
15023         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15024         Change condition to [_SOFT_FLOAT].
15025         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15026         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15027         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15028         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15029         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15030         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15031         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15032         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15033         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15034         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15035         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15036         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15037         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15040         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15041         declaration.
15043 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15045         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15046         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15047         (__longjmp): Use LOAD_GP to load saved GPRs.
15048         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15049         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15050         (__sigsetjmp): Use SAVE_GP to save GPRs.
15052         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15053         Do not append -msoft-float.
15054         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15056 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15058         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15060 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15062         [BZ #15966]
15063         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15064         (_FPU_GETCW): Use initial "__" on variable and field names but not
15065         on macro parameter name.
15066         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15067         parentheses around reference to macro parameter.
15069 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15071         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15072         prototype.
15073         (ctype_startup): Use uint32_t in cast and sizeof for
15074         ctype->charnames.
15076 2013-09-11  Jia Liu  <proljc@gmail.com>
15078         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15079         __daddr_t_defined.
15080         [__FreeBSD__]: Likewise.
15082 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15084         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15085         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15086         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15087         (strchr): Remove __strchr_sse42 ifunc selection.
15088         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15089         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15091 2013-09-11  Will Newton  <will.newton@linaro.org>
15093         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15094         parameter to RES. Remove hardcoded 1000 value.
15095         * benchtests/bench-skeleton.c (main): Pass RES parameter
15096         to TIMING_INIT and multiply result by 1000.
15098 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15102 2013-09-11  Andreas Schwab  <schwab@suse.de>
15104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15105         if not defined.
15106         (O_TMPFILE) [__USE_GNU]: Define.
15107         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15108         Define.
15110 2013-09-11  Will Newton  <will.newton@linaro.org>
15112         [BZ #15857]
15113         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15114         does not overflow.
15116 2013-09-11  Will Newton  <will.newton@linaro.org>
15118         [BZ #15856]
15119         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15120         does not overflow.
15122 2013-09-11  Will Newton  <will.newton@linaro.org>
15124         [BZ #15855]
15125         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15126         does not overflow.
15128 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15130         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15131         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15132         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15133         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15134         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15136 2013-09-10  Allan McRae  <allan@archlinux.org>
15138         [BZ #15748]
15139         * manual/arith.texi (Parsing of Floats): Clarify
15140         cross-reference.
15142         [BZ #15849]
15143         * manual/install.texi (Running make install): Mention
15144         --enable-pt-chown.
15145         * INSTALL: Regenerated.
15147 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15149         * csu/init-first.c (_init): Remove the !SHARED condition around
15150         FPU control word initialization.
15151         * elf/dl-support.c (_dl_fpu_control): New variable.
15152         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15153         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15154         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15155         * math/test-fpucw-static.c: New file.
15156         * math/test-fpucw-ieee.c: New file.
15157         * math/test-fpucw-ieee-static.c: New file.
15158         * math/Makefile (tests): Add `test-fpucw-ieee' and
15159         `$(tests-static)'.
15160         (tests-static): New variable.
15161         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15162         dependency to...
15163         [($(build-shared),yes)]
15164         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15165         ... this.
15166         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15167         New dependency.
15169 2013-09-09  Allan McRae  <allan@archlinux.org>
15171         [BZ #15939]
15172         * manual/string.texi (Collation Functions): Fix typo in
15173         strcoll example.
15174         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15176         [BZ #15893]
15177         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15179         [BZ #15892]
15180         * libio/memstream.c (open_memstream): Fix memory leak.
15181         * libio/wmemstream.c (open_wmemstream): Likewise.
15183         [BZ #15895]
15184         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15186 2013-09-09  Will Newton  <will.newton@linaro.org>
15188         * malloc/Makefile: Add tst-realloc to tests.
15189         * malloc/tst-realloc.c: New file.
15191 2013-09-09  Allan McRae  <allan@archlinux.org>
15193         [BZ #15844]
15194         * COPYING: Update from GNU website to fix FSF address.
15195         * COPYING.LIB: Likewise.
15197 2013-09-06  David S. Miller  <davem@davemloft.net>
15199         * po/zh_TW.po: Update Chinese (traditional) translation from
15200         translation project.
15202 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15203             Joseph Myers  <joseph@codesourcery.com>
15205         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15206         "localeinfo.h".
15207         (obstack_chunk_alloc): New macro.
15208         (obstack_chunk_free): Likewise.
15209         (record_offset): New function.
15210         (init_locale_data): Likewise.
15211         (align_locale_data): Likewise.
15212         (add_locale_empty): Likewise.
15213         (add_locale_raw_data): Likewise.
15214         (add_locale_raw_obstack): Likewise.
15215         (add_locale_string): Likewise.
15216         (add_locale_wstring): Likewise.
15217         (add_locale_uint32): Likewise.
15218         (add_locale_uint32_array): Likewise.
15219         (add_locale_char): Likewise.
15220         (start_locale_structure): Likewise.
15221         (end_locale_structure): Likewise.
15222         (start_locale_prelude): Likewise.
15223         (end_locale_prelude): Likewise.
15224         (write_locale_data): Take locale_file structure rather than an
15225         iovec.
15226         * locale/programs/locfile.h: Include "obstack.h".
15227         (struct locale_file): Change to store locale file contents instead
15228         of header.
15229         (init_locale_data): New prototype.
15230         (align_locale_data): Likewise.
15231         (add_locale_empty): Likewise.
15232         (add_locale_raw_data): Likewise.
15233         (add_locale_raw_obstack): Likewise.
15234         (add_locale_string): Likewise.
15235         (add_locale_wstring): Likewise.
15236         (add_locale_uint32): Likewise.
15237         (add_locale_uint32_array): Likewise.
15238         (add_locale_char): Likewise.
15239         (start_locale_structure): Likewise.
15240         (end_locale_structure): Likewise.
15241         (start_locale_prelude): Likewise.
15242         (end_locale_prelude): Likewise.
15243         (write_locale_data): Update prototype.
15244         * locale/programs/3level.h (struct TABLE): Remove result field.
15245         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15246         Use new locale_file interface.
15247         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15248         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15249         * locale/programs/ld-address.c (address_output): Use new
15250         locale_file interface.
15251         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15252         NO_ADD_LOCALE.
15253         (collate_finish): Don't call collseq_table_finalize.
15254         (collate_output): Use new locale_file interface.
15255         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15256         in file.
15257         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15258         (TABLE): Move defines earlier in file.
15259         (ELEMENT): Likewise.
15260         (DEFAULT): Likewise.
15261         (wctrans_table_add): Move macro and inline function earlier in
15262         file.
15263         (struct wctype_table): Move type earlier in file.
15264         (add_locale_wctype_table): New static prototype.
15265         (struct locale_ctype_t): Use logical types instead of struct iovec
15266         pointers for members.
15267         (ctype_output): Use new locale_file interface.
15268         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15269         new locale_file interface.
15270         (allocate_arrays): Update for use of new locale_file interface.
15271         * locale/programs/ld-identification.c (identification_output): Use
15272         new locale_file interface.
15273         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15274         * locale/programs/ld-messages.c (messages_output): Likewise.
15275         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15276         * locale/programs/ld-name.c (name_output): Likewise.
15277         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15278         * locale/programs/ld-paper.c (paper_output): Likewise.
15279         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15280         * locale/programs/ld-time.c (time_output): Likewise.
15282 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15284         * benchtests/Makefile: Add memrchr benchmark.
15285         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15286         benchmark as memrchr.
15287         * benchtests/bench-memrchr-ifunc.c: New file.
15288         * benchtests/bench-memrchr.c: New file.
15290 2013-09-06   Will Newton  <will.newton@linaro.org>
15292         * benchtests/Makefile (string-bench): Add memcpy.
15294 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15295             Cong Wang  <amwang@redhat.com>
15297         [BZ #15850]
15298         * sysdeps/unix/sysv/linux/bits/in.h
15299         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15300         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15301         before __USE_KERNEL_IPV6_DEFS uses.
15302         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15303         IPPROTO_BEETPH.
15304         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15305         sockaddr_in6, or ipv6_mreq.
15307 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15309         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15310         memory access for final bytes in some large inputs.
15311         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15313 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15315         * string/test-memrchr.c: New file.
15316         * string/test-memrchr-ifunc.c: New file.
15317         * string/Makefile: Add new memrchr testcase.
15319 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15321         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15322         fanotify_init returns EPERM.
15324 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15326         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15327         errors.
15328         (top level): Treat second token from macro or constant entries for
15329         allowed headers as allowed.
15330         * include/complex.h: Condition internal declarations on
15331         [!_ISOMAC].
15332         * include/fenv.h: Condition include of <stdbool.h> and internal
15333         declarations on [!_ISOMAC].
15335 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15337         [BZ #15923]
15338         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15340 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15342         * configure.in (--enable-versioning): Remove configure option.
15343         (libc_cv_asm_symver_directive): Remove configure test.
15344         (libc_cv_ld_version_script_option): Likewise.
15345         (VERSIONING): Remove variable and AC_SUBST.
15346         (DO_VERSIONING): Remove AC_DEFINE.
15347         * configure: Regenerated.
15348         * config.h.in (DO_VERSIONING): Remove macro.
15349         * Makerules [$(versioning) = yes]: Change conditionals to
15350         [$(build-shared) = yes].
15351         * config.make.in (versioning): Remove variable.
15352         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15353         [$(build-shared) = yes].
15354         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15355         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15356         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15357         [$(build-shared) = yes].
15358         * extra-lib.mk [$(versioning) = yes]: Likewise.
15359         * hurd/Makefile [$(versioning) = yes]: Likewise.
15360         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15361         [SHARED].
15362         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15363         [SHARED].
15364         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15365         [SHARED && !NO_HIDDEN].
15366         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15367         [SHARED].
15368         [SHARED && DO_VERSIONING]: Likewise..
15369         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15370         [$(build-shared) = yes].
15371         * manual/install.texi (--disable-versioning): Remove
15372         documentation.
15373         * INSTALL: Regenerated.
15374         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15375         to [SHARED].
15376         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15377         [$(build-shared) = yes].
15378         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15379         * sysdeps/i386/i686/multiarch/strstr-c.c
15380         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15381         [SHARED && !NO_HIDDEN].
15382         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15383         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15384         * sysdeps/powerpc/powerpc32/dl-machine.c
15385         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15386         * sysdeps/powerpc/powerpc32/sysdep.h
15387         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15388         to [SHARED && PIC && !NO_HIDDEN].
15389         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15390         conditional to [SHARED].
15392 2013-09-04   Will Newton  <will.newton@linaro.org>
15394         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15395         * benchtests/bench-string.h: Include bench-timing.h instead
15396         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15397         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15398         call to HP_TIMING_DIFF_INIT.
15399         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15400         instead of hp-timing.h macros.
15401         * benchtests/bench-memchr.c: Likewise.
15402         * benchtests/bench-memcmp.c: Likewise.
15403         * benchtests/bench-memcpy.c: Likewise.
15404         * benchtests/bench-memmem.c: Likewise.
15405         * benchtests/bench-memmove.c: Likewise.
15406         * benchtests/bench-memset.c: Likewise.
15407         * benchtests/bench-rawmemchr.c: Likewise.
15408         * benchtests/bench-strcasecmp.c: Likewise.
15409         * benchtests/bench-strcasestr.c: Likewise.
15410         * benchtests/bench-strcat.c: Likewise.
15411         * benchtests/bench-strchr.c: Likewise.
15412         * benchtests/bench-strcmp.c: Likewise.
15413         * benchtests/bench-strcpy.c: Likewise.
15414         * benchtests/bench-strcpy_chk.c: Likewise.
15415         * benchtests/bench-strlen.c: Likewise.
15416         * benchtests/bench-strncasecmp.c: Likewise.
15417         * benchtests/bench-strncat.c: Likewise.
15418         * benchtests/bench-strncmp.c: Likewise.
15419         * benchtests/bench-strncpy.c: Likewise.
15420         * benchtests/bench-strnlen.c: Likewise.
15421         * benchtests/bench-strpbrk.c: Likewise.
15422         * benchtests/bench-strrchr.c: Likewise.
15423         * benchtests/bench-strspn.c: Likewise.
15424         * benchtests/bench-strstr.c: Likewise.
15426 2013-09-04  Will Newton  <will.newton@linaro.org>
15428         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15430 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15432         [BZ #15427]
15433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15434         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15435         * math/libm-test.inc (lgamma_test_data): Add more tests.
15436         * sysdeps/i386/fpu/libm-test-ulps: Update.
15437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15439 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15441         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15443         Add ifunc.
15444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15445         Add strcmp-sse2-unaligned
15446         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15448 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15450         * Versions.def (libc): Add GLIBC_2.19.
15452 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15454         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15455         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15457 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15459         [BZ #14155]
15460         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15461         intermediate calculations in recurrence.
15462         (__ieee754_ynf): Likewise.
15463         * math/libm-test.inc (jn_test_data): Do not allow spurious
15464         underflow exception.  Add more tests.
15465         (yn_test_data): Add more tests.
15466         * sysdeps/i386/fpu/libm-test-ulps: Update.
15467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15469 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15473 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15475         * csu/init-first.c: Fix then/than typos.
15476         * locale/programs/ld-collate.c: Likewise.
15477         * locale/programs/linereader.h: Likewise.
15478         * manual/charset.texi: Likewise.
15479         * manual/filesys.texi: Likewise.
15480         * manual/stdio.texi: Likewise.
15481         * manual/string.texi: Likewise.
15482         * stdlib/fmtmsg.c: Likewise.
15483         * sysdeps/i386/stpncpy.S: Likewise.
15484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15485         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15486         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15487         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15489 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15491         * elf/dl-open.c: Fix typos.
15492         * iconvdata/gbbig5.c: Likewise.
15493         * iconvdata/iso-2022-jp.c: Likewise.
15494         * iconv/gconv_int.h: Likewise.
15495         * iconv/loop.c: Likewise.
15496         * nis/rpcsvc/nis.h: Likewise.
15497         * resolv/ns_name.c: Likewise.
15498         * stdio-common/vfscanf.c: Likewise.
15499         * streams/stropts.h: Likewise.
15500         * sunrpc/rpc_thread.c: Likewise.
15501         * sysdeps/i386/strpbrk.S: Likewise.
15502         * sysdeps/ieee754/k_standard.c: Likewise.
15503         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15504         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15505         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15506         * sysdeps/mach/hurd/profil.c: Likewise.
15507         * sysdeps/s390/dl-procinfo.h: Likewise.
15508         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15509         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15510         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15511         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15512         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15514 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15516         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15517         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15519 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15521         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15522         aix specific files.
15523         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15524         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15525         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15526         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15527         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15528         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15529         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15530         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15532 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15533             Roland McGrath  <roland@hack.frob.com>
15535         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15536         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15538 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15540         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15541         __executable_start symbol instead of _start.
15543 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15545         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15546         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15547         Move macros to...
15548         * sysdeps/gnu/ldsodefs.h: ... this new file.
15550         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15551         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15552         instead of ELFOSABI_LINUX.
15554         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15555         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15556         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15557         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15558         Likewise.
15559         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15560         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15561         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15562         Likewise.
15563         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15564         (ibm_extended_long_double): Add ieee_nan member.
15565         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15566         (do_test): New function.
15568         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15569         TEST_TRUNC.
15570         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15571         functions, renamed from truncdfsf_test, trunctfsf_test,
15572         trunctfdf_test.
15573         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15574         functions.
15575         (do_test): Run all these.
15577 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15579         * argp/argp-help.c: Fix typos.
15580         * argp/argp-parse.c: Likewise.
15581         * debug/backtracesyms.c: Likewise.
15582         * elf/elf.h: Likewise.
15583         * malloc/malloc.c: Likewise.
15584         * nis/nis_print.c: Likewise.
15585         * resolv/res_comp.c: Likewise.
15586         * stdlib/stdlib.h: Likewise.
15587         * sunrpc/clnt_tcp.c: Likewise.
15588         * sunrpc/clnt_udp.c: Likewise.
15589         * sunrpc/clnt_unix.c: Likewise.
15590         * sysdeps/unix/bsd/ptsname.c: Likewise.
15591         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15592         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15594         Likewise.
15595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15596         Likewise.
15597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15598         Likewise.
15599         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15601 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15603         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15606 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15608         [BZ #15897]
15609         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15610         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15611         ($(objpfx)bug-dl-leaf): New rule.
15612         ($(objpfx)bug-dl-leaf.so): Likewise.
15613         ($(objpfx)bug-dl-leaf.out): Likewise.
15614         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15615         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15616         * dlfcn/bug-dl-leaf.c: New test.
15617         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15618         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15619         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15620         (dlclose): Likewise.
15621         (dlmopen): Likewise.
15623 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15625         * include/netdb.h [!_ISOMAC]:
15626         Don't include <tls.h>.
15627         (h_errno, __libc_h_errno): Move declaration and macros out of
15628         [_LIBC_REENTRANT].
15630         * include/resolv.h [_RESOLV_H_]:
15631         Don't include <tls.h>.
15632         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15633         * resolv/res_libc.c: Don't include <tls.h>.
15634         (_res): Use __attribute__ ((nocommon)) in place of
15635         __attribute__ ((section (".bss"))).
15637         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15638         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15640         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15642         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15643         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15645         * resolv/res_mkquery.c: Include <sys/time.h>.
15647         * inet/ifreq.c: Moved to ...
15648         * sysdeps/unix/ifreq.c: ... here.
15649         * inet/ifreq.c: New file, true stub version.
15651         * socket/sa_len.c: New file.
15652         * socket/Makefile (aux): Add it.
15653         * sysdeps/unix/sysv/linux/Makefile
15654         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15655         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15656         and #include <socket/sa_len.c>.
15657         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15658         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15660         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15661         * bits/socket.h: ... here.
15663         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15664         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15665         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15667 2013-08-27  Andreas Schwab  <schwab@suse.de>
15669         [BZ #15736]
15670         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15671         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15672         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15673         * string/test-strcasecmp.c (test_main): Run tests in several
15674         locales.
15675         * string/test-strncasecmp.c (test_main): Likewise.
15677         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15678         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15679         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15680         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15681         (__strncasecmp_ssse3) [PIC]: Likewise.
15683 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15685         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15687         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15688         instead of explicitly declaring xdecrypt.
15689         * nis/nss_nis/nis-publickey.c: Likewise.
15691 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15693         [BZ #15890]
15694         * nscd/aicache.c: Include res_hconf.h.
15695         (addhstaiX): Initialize res_hconf.
15697 2013-08-26  Andreas Schwab  <schwab@suse.de>
15699         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15700         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15702 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15704         * nscd/aicache.c (addhstaiX): Fix indentation.
15706 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15708         * configure.ac: Quote $build_pt_chown test.
15709         * configure: Regenerated.
15711 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15713         [BZ #15532]
15714         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15715         * math/s_cexpf.c (__cexpf): Likewise.
15716         * math/s_cexpl.c (__cexpl): Likewise.
15717         * math/libm-test.inc (cexp_test_data): Correct expected return
15718         value for NaN + i0.  Add another test.
15720 2013-08-22  David S. Miller  <davem@davemloft.net>
15722         * po/ca.po: Update Catalan translation from translation project.
15723         * po/uk.po: Add Ukrainian translations from translation project.
15725 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15727         [BZ #15797]
15728         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15729         is infinite, not alongside NaN test.
15730         * math/s_fdimf.c (__fdimf): Likewise.
15731         * math/s_fdiml.c (__fdiml): Likewise.
15732         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15733         errno is unchanged.
15735 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15737         * argp/argp-help.c: Fix typos.
15738         * crypt/speeds.c: Likewise.
15739         * csu/check_fds.c: Likewise.
15740         * elf/dl-load.c: Likewise.
15741         * elf/dl-open.c: Likewise.
15742         * elf/reldep3.c: Likewise.
15743         * elf/reldep.c: Likewise.
15744         * elf/sprof.c: Likewise.
15745         * iconv/iconv_charmap.c: Likewise.
15746         * iconv/skeleton.c: Likewise.
15747         * iconv/strtab.c: Likewise.
15748         * io/lockf64.c: Likewise.
15749         * libio/libioP.h: Likewise.
15750         * resolv/gai_notify.c: Likewise.
15751         * resolv/ns_name.c: Likewise.
15752         * resolv/ns_samedomain.c: Likewise.
15753         * resolv/res_send.c: Likewise.
15754         * stdlib/random.c: Likewise.
15755         * sunrpc/rpc/xdr.h: Likewise.
15756         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15757         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15758         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15759         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15760         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15761         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15762         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15763         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15764         * sysdeps/mach/hurd/check_fds.c: Likewise.
15765         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15766         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15767         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15768         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15769         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15770         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15771         * sysdeps/pthread/aio_notify.c: Likewise.
15772         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15773         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15775         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15776         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15778 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15780         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15781         version if bit_Slow_SSE4_2 is set.
15782         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15783         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15785 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15787         [BZ #15867]
15788         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15789         trampoline stack frame information.
15790         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15791         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15792         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15793         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15794         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15795         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15796         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15797         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15798         sa_flags value.
15799         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15800         interrupting a syscall and set with option SA_SIGINFO.
15802 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15804         [BZ #15531]
15805         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15806         argument is infinite.
15807         * math/s_cprojf.c (__cprojf): Likewise.
15808         * math/s_cprojl.c (__cprojl): Likewise.
15809         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15810         * math/libm-test.inc (cproj_test_data): Add more tests.
15812         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15814         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15815         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15816         size.  Use __ffs to determine corresponding shift.
15818 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15819             Roland McGrath  <roland@hack.frob.com>
15821         * Makefile (INSTALL): Remove trailing blank lines from output of
15822         makeinfo.
15824 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15826         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15827         Align 32 bit compat elf_greg to 8 bytes.
15829 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15831         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15833 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15835         * string/strcoll_l.c (coll_seq): New structure.
15836         (get_next_seq_cached): New function.
15837         (get_next_seq): New function.
15838         (do_compare): New function.
15839         (STRCOLL): Use GNU style definition.  Simplify implementation
15840         by using get_next_seq, get_next_seq_cached and do_compare.
15842 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15844         [BZ #14699]
15845         CVE-2013-4237
15846         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15847         member.
15848         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15849         member.
15850         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15851         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15852         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15853         conditional.
15854         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15855         GETDENTS_64BIT_ALIGNED.
15856         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15857         * manual/filesys.texi (Reading/Closing Directory): Document
15858         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15859         strongly.
15860         * manual/conf.texi (Limits for Files): Add portability note to
15861         NAME_MAX, PATH_MAX.
15862         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15864 2013-08-13  Andreas Schwab  <schwab@suse.de>
15866         [BZ #15749]
15867         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15868         of fabs.
15869         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15870         LDBL_MAX_EXP >= 16384]: Add tests for it.
15872 2013-08-12  David S. Miller  <davem@davemloft.net>
15874         * version.h (RELEASE): Set to "development".
15875         (VERSION): Set to "2.18.90".
15876         * NEWS: Add 2.19 section.
15878 2013-08-03  David S. Miller  <davem@davemloft.net>
15880         * po/ko.po: Update Korean translation from translation project.
15882 2013-08-01  David S. Miller  <davem@davemloft.net>
15884         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15885         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15886         Bilka.
15888 2013-07-30  David S. Miller  <davem@davemloft.net>
15890         * po/fr.po: Update French translation from translation project.
15892 2013-07-28  David S. Miller  <davem@davemloft.net>
15894         * po/cs.po: Update Czech translation from translation project.
15896         * po/sv.po: Update Swedish translation from translation project.
15898 2013-07-27  David S. Miller  <davem@davemloft.net>
15900         * po/eo.po: Update Esperanto translation from translation project.
15902         * po/vi.po: Update Vietnamese translation from translation project.
15904         * po/de.po: Update German translation from translation project.
15906 2013-07-26  David S. Miller  <davem@davemloft.net>
15908         * po/bg.po: Update Bulgarian translation from translation project.
15910         * po/nl.po: Update Dutch translation from translation project.
15911         * po/pl.po: Update Polish translation from translation project.
15912         * po/ru.po: Update Russian translation from translation project.
15914 2013-07-24  David S. Miller  <davem@davemloft.net>
15916         * po/libc.pot: Update.
15918 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15920         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
15921         variable page size.
15922         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
15923         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
15924         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
15926 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15928         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
15930 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15931             Andreas Schwab  <schwab@suse.de>
15932             Roland McGrath  <roland@hack.frob.com>
15933             Joseph Myers  <joseph@codesourcery.com>
15934             Carlos O'Donell  <carlos@redhat.com>
15936         [BZ #15755]
15937         * config.h.in: Define HAVE_PT_CHOWN.
15938         * config.make.in (build-pt-chown): New variable.
15939         * configure.in (--enable-pt_chown): New configure option.
15940         * configure: Regenerate.
15941         * login/Makefile: Include Makeconfig.  Build pt_chown only if
15942         build-pt-chown is enabled.
15943         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
15944         pt_chown to fix pty ownership.
15945         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
15946         CLOSE_ALL_FDS.
15947         * manual/install.texi (Configuring and compiling): Mention
15948         --enable-pt_chown. Add @findex for grantpt.
15949         * INSTALL: Regenerate.
15951 2013-07-20  David S. Miller  <davem@davemloft.net>
15953         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
15954         difference between 32-bit and 64-bit.
15956 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
15958         [BZ #15711]
15959         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
15960         Avoid system header dependency with -ffreestanding.
15961         ($(objpfx)bits/syscall%d): Likewise.
15963 2013-07-13  David S. Miller  <davem@davemloft.net>
15965         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
15966         underflows from atanl/atan2l due to bug 15319.
15967         (casinh_test_data): Likewise.
15969 2013-07-07  David S. Miller  <davem@davemloft.net>
15971         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15973 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
15975         * sysdeps/i386/fpu/libm-test-ulps: Update.
15976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15978 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15980         * configure.in (--enable-lock-elision): Fix message text.
15981         * INSTALL: Regenerate.
15982         * configure: Regenerate.
15984 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15988 2013-07-03  Andreas Jaeger  <aj@suse.de>
15990         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
15991         define.
15992         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
15993         (ptrace_peeksiginfo_args): Add.
15994         (__ptrace_peeksiginfo_flags): Add.
15995         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15996         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15997         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15999 2013-07-03  Allan McRae  <allan@archlinux.org>
16001         * sysdeps/i386/fpu/libm-test-ulps: Update.
16003 2013-07-02  David S. Miller  <davem@davemloft.net>
16005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16007 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16011 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16013         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16016 2013-07-02  Andi Kleen <ak@linux.intel.com>
16018         * config.h.in (ENABLE_LOCK_ELISION): Add.
16019         * configure.in (--enable-lock-elision): Add option.
16020         * manual/install.texi: Document --enable lock elision.
16021         * configure: Regenerate
16022         * INSTALL: Regenerate.
16024 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16026         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16027         SSE4.2 strcasecmp for libc.a.
16028         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16030 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16032         [BZ #13304]
16033         * soft-fp/op-common.h (_FP_FMA): New macro.
16034         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16035         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16036         (_FP_MUL_MEAT_1_imm): ... here.
16037         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16038         (_FP_MUL_MEAT_1_wide): ... here.
16039         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16040         (_FP_MUL_MEAT_1_hard): ... here.
16041         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16042         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16043         (_FP_MUL_MEAT_2_wide): ... here.
16044         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16045         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16046         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16047         (_FP_MUL_MEAT_2_gmp): ... here.
16048         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16049         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16050         (_FP_MUL_MEAT_4_wide): ... here.
16051         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16052         (_FP_MUL_MEAT_4_gmp): ... here.
16053         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16054         (_FP_WFRACBITS_DW_S): Likewise.
16055         (_FP_WFRACXBITS_DW_S): Likewise.
16056         (_FP_HIGHBIT_DW_S): Likewise.
16057         (FP_FMA_S): Likewise.
16058         (_FP_FRAC_HIGH_DW_S): Likewise.
16059         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16060         (_FP_WFRACBITS_DW_D): Likewise.
16061         (_FP_WFRACXBITS_DW_D): Likewise.
16062         (_FP_HIGHBIT_DW_D): Likewise.
16063         (FP_FMA_D): Likewise.
16064         (_FP_FRAC_HIGH_DW_D): Likewise.
16065         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16066         (_FP_WFRACBITS_DW_E): Likewise.
16067         (_FP_WFRACXBITS_DW_E): Likewise.
16068         (_FP_HIGHBIT_DW_E): Likewise.
16069         (FP_FMA_E): Likewise.
16070         (_FP_FRAC_HIGH_DW_E): Likewise.
16071         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16072         (_FP_WFRACBITS_DW_Q): Likewise.
16073         (_FP_WFRACXBITS_DW_Q): Likewise.
16074         (_FP_HIGHBIT_DW_Q): Likewise.
16075         (FP_FMA_Q): Likewise.
16076         (_FP_FRAC_HIGH_DW_Q): Likewise.
16077         * soft-fp/fmasf4.c: New file.
16078         * soft-fp/fmadf4.c: Likewise.
16079         * soft-fp/fmatf4.c: Likewise.
16081 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16084         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16085         Silvermont.
16086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16087         macro.
16088         (index_Slow_SSE4_2): Likewise.
16089         (index_Prefer_PMINUB_for_stringop): Likewise.
16090         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16091         bit_Slow_SSE4_2 is set.
16092         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16093         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16095 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16097         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16098         rtld_global._dl_hwcap2.
16099         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16100         POWER8.
16101         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16102         POWER8 feature descriptions defined in _dl_hwcap2.
16103         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16104         string handling for POWER8 feature bits.
16105         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16106         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16107         _dl_powerpc_cap_flags.
16108         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16109         * sysdeps/powerpc/rtld-global-offsets.sym
16110         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16111         _dl_hwcap2 in the rtld_global_ro structure.
16113 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16115         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16116         hardware capabilities in support of AT_HWCAP2.
16117         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16118         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16119         GLRO(dl_hwcap2).
16120         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16121         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16122         explicitly the unknown a_type display mechanism is used.
16123         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16124         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16125         struct member.
16126         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16127         to macro prototype for AT_HWCAP2 support.
16128         * sysdeps/i386/dl-procinfo.h: Likewise.
16129         * sysdeps/s390/dl-procinfo.h: Likewise.
16130         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16131         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16132         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16133         return -1 for unknown a_type display fallback.
16134         * sysdeps/sparc/dl-procinfo.h: Likewise.
16135         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16136         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16138 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16140         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16141         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16143 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16145         [BZ #12492]
16146         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16147         mprotect making __stack_prot writable.
16149 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16150             Joseph Myers  <joseph@codesourcery.com>
16152         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16153         as being properly aligned.
16155 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16157         * dlfcn/modstatic5.c: New file.
16158         * dlfcn/tststatic5.c: New file.
16159         * dlfcn/Makefile (tests): Add tststatic5.
16160         (tests-static): Likewise.
16161         (modules-names): Add modstatic5.
16162         (tststatic5-ENV): New variable.
16163         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16165         [BZ #15022]
16166         * elf/dl-support.c (_dl_main_map): New variable.
16167         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16168         (_dl_nns, _dl_load_adds): Set to 1.
16169         (_dl_initial_searchlist): Refer to _dl_main_map.
16170         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16171         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16172         call to _dl_get_origin.
16173         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16174         around call_map.
16175         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16176         * dlfcn/modstatic3.c: New file.
16177         * dlfcn/tststatic3.c: New file.
16178         * dlfcn/tststatic4.c: New file.
16179         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16180         (tests-static): Likewise.
16181         (modules-names): Add modstatic3.
16182         (tststatic3-ENV, tststatic4-ENV): New variables.
16183         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16184         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16186 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16188         * configure.in (CC): Require GCC version 4.4 or later.
16189         * configure: Regenerated.
16190         * manual/install.texi (Tools for Compilation): Update GCC version
16191         requirement.
16192         * INSTALL: Regenerated.
16194 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16196         [BZ #15674]
16197         * string/test-memcmp.c (check2): New.
16198         (main): Call check2.
16200         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16202 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16204         [BZ #15022]
16205         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16206         over to...
16207         (dl_open_worker) [!SHARED]: ... here.
16209 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16211         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16213 2013-06-25  Richard Henderson  <rth@redhat.com>
16215         * locale/programs/locarchive.c: Include <libc-internal.h>
16217 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16219         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16220         trailing whitespace removed.
16222 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16224         [BZ #10283]
16225         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16226         * locale/programs/locarchive.c: Include libc-mmap.h.
16227         (prepare_address_space): Take two new outputs (the mmap base and len).
16228         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16229         values.
16230         (create_archive): Declare new mmap base and len values for
16231         prepare_address_space, and store the result in ah.
16232         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16233         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16234         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16235         Declare new mmap base and len values for
16236         prepare_address_space, and store the result in new_ah.
16237         (open_archive): Declare new mmap base and len values for
16238         prepare_address_space, and store the result in ah.
16239         (close_archive): If ah->mmap_base is not NULL, use that and
16240         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16241         * sysdeps/generic/libc-mmap.h: New file.
16243 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16245         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16246         (ALIGN_UP): Likewise.
16247         (PTR_ALIGN_DOWN): Likewise.
16248         (PTR_ALIGN_UP): Likewise.
16250 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16252         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16253         entry mapped to PPC_PLATFORM_POWER8.
16254         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16255         POWER8.
16256         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16257         (_dl_string_platform): Add case for exporting platform position for
16258         POWER8.
16259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16260         search path to sysdeps/powerpc/powerpc32/power8 directory.
16261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16262         search path to sysdeps/powerpc/powerpc64/power8 directory.
16263         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16264         power7 directories.
16265         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16266         power7 directories.
16268 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16270         * INSTALL: Regenerate.
16272         * nscd/connections.c (nscd_init): Fix comment.
16274 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16276         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16278         [BZ #15667]
16279         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16280         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16282 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16284         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16285         DL_DST_REQ_STATIC.
16286         (DL_DST_REQ_STATIC): Remove macro.
16288 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16290         [BZ #7006]
16291         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16292         with a shift of 0 bits.
16294 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16296         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16297         $(tststatic-ENV).
16299 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16301         [BZ #15655]
16302         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16304 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16306         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16307         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16308         accepts -fno-tree-loop-distribute-patterns.
16309         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16310         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16311         recursive call.
16312         * string/memset.c (memset): Likewise.
16313         * string/test-memmove.c (simple_memmove): Disable loop transformation
16314         to library calls.
16315         * string/test-memset.c (simple_memset): Likewise.
16316         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16317         * benchtests/bench-memset.c (simple_memset): Likewise.
16318         * configure: Regenerated.
16320 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16322         * math/test-misc.c (main): Ignore fesetround failure when failures
16323         of subsequent rounding tests would be ignored.
16325         [BZ #15654]
16326         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16327         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16328         * math/fegetenv.c (__fegetenv): Return 0.
16329         * math/fegetexcept.c (fegetexcept): Return 0.
16330         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16331         FE_TONEAREST.
16332         * math/feholdexcpt.c (feholdexcept): Return 0.
16333         * math/fesetenv.c (__fesetenv): Return 0.
16334         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16335         argument FE_TONEAREST.
16336         * math/feupdateenv.c (__feupdateenv): Return 0.
16337         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16339 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16341         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16342         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16343         ($(objpfx)rtld-%.os rules): Use them.
16345 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16347         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16348         fields.
16350 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16352         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16353         length of target pattern, then descending length of dependency pattern.
16354         * configure.in (AWK): Require gawk 3.1.2 or newer.
16355         * manual/install.texi (Tools for Compilation): Say that we do.
16356         * configure: Regenerated.
16358         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16359         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16360         * scripts/sysd-rules.awk: ... this new script.
16361         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16362         than a glob-style pattern.
16364 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16366         * math/test-misc.c (main): Do not treat incorrectly rounded
16367         conversions as failure unless ROUNDING_TESTS passes.
16369 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16371         [BZ #15631]
16372         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16373         restore exception state around main square root computation, then
16374         check for inexactness explicitly.
16376         * math/libm-test.inc (fma_test_data): Add another test.
16378 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16380         * manual/threads.texi (Non-POSIX Extensions): New document
16381         node.  Document pthread_getattr_default_np and
16382         pthread_setattr_default_np.
16384         * Versions.def (libpthread): Add GLIBC_2.18.
16385         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16387         Likewise.
16388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16389         Likewise.
16390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16391         Likewise.
16392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16393         Likewise.
16394         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16395         Likewise.
16396         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16397         Likewise.
16398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16399         Likewise.
16400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16401         Likewise.
16402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16403         Likewise.
16405 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16408         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16410 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16411             H.J. Lu  <hjl.tools@gmail.com>
16413         [BZ #15627]
16414         * sysdeps/x86_64/rtld-memset.c: Remove file.
16415         * sysdeps/x86_64/rtld-memset.S: New file.
16417 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16419         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16420         (test_in_one_mode): Take arguments for whether the rounding mode
16421         is supported for each floating-point type.
16422         (do_test): Pass new arguments to test_in_one_mode using
16423         ROUNDING_TESTS.
16425 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16427         * posix/tst-waitid.c (do_test): Distinguish different instances of
16428         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16429         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16430         before entering the kernel for waitpid.
16432 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16434         * NEWS: Fix note on clock function precision.  Text by Roland
16435         McGrath.
16437 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16439         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16440         it into place only when and if the sanity check passes.
16442 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16444         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16445         output for whether conversion result is exact.  Take argument
16446         indicating whether type is IBM long double.
16447         (round_for_all): Change need_exact field to ibm_ld.
16448         * stdlib/tst-strtod-round.c (struct exactness): New type.
16449         (struct test): Change bool ld_ok field to struct exactness exact.
16450         (TEST): Update all definitions for change to field.
16451         (tests): Regenerate array contents.
16452         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16453         field value.  Check for IBM long double here.
16454         (do_test): Update calls to test_in_one_mode.
16456 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16458         [BZ #12515]
16459         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16460         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16462 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16464         [BZ #15605]
16465         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16466         generated by the compiler on loop optimizations.
16467         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16468         general definitions.
16470 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16472         * math/bug-nextafter.c: Include <math-tests.h>.
16473         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16474         the relevant type.
16475         * math/bug-nexttoward.c: Include <math-tests.h>.
16476         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16477         the relevant type.
16478         * math/test-misc.c: Include <math-tests.h>.
16479         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16480         the relevant type.
16482 2013-06-12  Andreas Jaeger  <aj@suse.de>
16484         * po/ia.po: Update Interlingua translation from translation
16485         project.
16487 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16489         * include/fenv.h: Include stdbool.h.
16490         (struct rm_ctx): New structure.
16491         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16492         Define macro.
16493         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16494         (SET_RESTORE_ROUNDF): Likewise.
16495         (SET_RESTORE_ROUNDL): Likewise.
16496         (SET_RESTORE_ROUND_NOEX): Likewise.
16497         (SET_RESTORE_ROUND_NOEXF): Likewise.
16498         (SET_RESTORE_ROUND_NOEXL): Likewise.
16499         (SET_RESTORE_ROUND_53BIT): Likewise.
16500         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16501         (libc_feresetround_noexf_ctx): Likewise.
16502         (libc_feresetround_noexl_ctx): Likewise.
16503         (libc_feholdsetround_53bit_ctx): Likewise.
16504         (libc_feresetround_53bit_ctx): Likewise.
16505         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16506         (libc_feholdexcept_setround_sse_ctx): New function.
16507         (libc_fesetenv_sse_ctx): Likewise.
16508         (libc_feupdateenv_sse_ctx): Likewise.
16509         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16510         (libc_feholdexcept_setround_387_ctx): Likewise.
16511         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16512         (libc_feholdsetround_387_prec_ctx): Likewise.
16513         (libc_feholdsetround_387_ctx): Likewise.
16514         (libc_feholdsetround_387_53bit_ctx): Likewise.
16515         (libc_feholdsetround_sse_ctx): Likewise.
16516         (libc_feresetround_sse_ctx): Likewise.
16517         (libc_feresetround_387_ctx): Likewise.
16518         (libc_feupdateenv_387_ctx): Likewise.
16519         (libc_feholdexcept_setroundf_ctx): Define macro.
16520         (libc_fesetenvf_ctx): Likewise.
16521         (libc_feupdateenvf_ctx): Likewise.
16522         (libc_feholdsetroundf_ctx): Likewise.
16523         (libc_feresetroundf_ctx): Likewise.
16524         (libc_feholdexcept_setround_ctx): Likewise.
16525         (libc_fesetenv_ctx): Likewise.
16526         (libc_feupdateenv_ctx): Likewise.
16527         (libc_feholdsetround_ctx): Likewise.
16528         (libc_feresetround_ctx): Likewise.
16529         (libc_feholdexcept_setroundl_ctx): Likewise.
16530         (libc_feupdateenvl_ctx): Likewise.
16531         (libc_feholdsetroundl_ctx): Likewise.
16532         (libc_feresetroundl_ctx): Likewise.
16533         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16534         (libc_feresetround_53bit_ctx): Likewise.
16536 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16538         * locale/iso-639.def: Convert to UTF-8.
16540 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16542         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16543         (EXCEPTION_TESTS_double): Likewise.
16544         (EXCEPTION_TESTS_long_double): Likewise.
16545         (EXCEPTION_TESTS): Likewise.
16546         * math/libm-test.inc (test_exceptions): Only test exceptions if
16547         EXCEPTION_TESTS (FLOAT).
16549 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16551         * benchtests/Makefile (string-bench): Add strcpy_chk and
16552         stpcpy_chk.
16553         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16554         * benchtests/bench-stpcpy_chk.c: New file.
16555         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16556         * benchtests/bench-strcpy_chk.c: New file.
16557         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16558         code.
16559         (do_test): Likewise.
16561 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16563         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16564         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16565         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16566         with tabs where appropriate.
16567         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16568         dl-procinfo.h.
16569         [PPC_PLATFORM_PPC440]: Likewise.
16570         [PPC_PLATFORM_PPC464]: Likewise.
16571         [PPC_PLATFORM_PPC476]: Likewise.
16572         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16573         ppc464, and ppc476 platform strings merging from ports/
16574         dl-procinfo.h.
16576 2013-06-11  Andreas Schwab  <schwab@suse.de>
16578         [BZ #14991]
16579         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16580         (from_ucs4_idx): Regenerate.
16581         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16582         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16583         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16584         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16585         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16586         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16587         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16588         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16589         from FROM_LOOP and TO_LOOP specific macros.
16590         (BODY): Handle combining characters.
16591         * iconvdata/BIG5HKSCS.irreversible: Update.
16592         * iconvdata/BIG5HKSCS.precomposed: New file.
16593         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16594         characters.
16595         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16597 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16599         * include/sys/time.h: Fix indentation and add copyright header.
16601         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16602         (do_test): Likewise.
16603         * string/test-memchr.c (do_one_test): Likewise.
16604         (do_test): Likewise.
16605         * string/test-memcmp.c (do_one_test): Likewise.
16606         (do_test): Likewise.
16607         * string/test-memcpy.c (do_one_test): Likewise.
16608         (do_test): Likewise.
16609         * string/test-memmem.c (do_one_test): Likewise.
16610         (do_test): Likewise.
16611         (do_random_tests): Likewise.
16612         * string/test-memmove.c (do_one_test): Likewise.
16613         (do_test): Likewise.
16614         * string/test-memset.c (do_one_test): Likewise.
16615         (do_test): Likewise.
16616         * string/test-rawmemchr.c (do_one_test): Likewise.
16617         (do_test): Likewise.
16618         * string/test-strcasecmp.c (do_one_test): Likewise.
16619         (do_test): Likewise.
16620         * string/test-strcasestr.c (do_one_test): Likewise.
16621         (do_test): Likewise.
16622         * string/test-strcat.c (do_one_test): Likewise.
16623         (do_test): Likewise.
16624         * string/test-strchr.c (do_one_test): Likewise.
16625         (do_test): Likewise.
16626         * string/test-strcmp.c (do_one_test): Likewise.
16627         (do_test): Likewise.
16628         * string/test-strcpy.c (do_one_test): Likewise.
16629         (do_test): Likewise.
16630         * string/test-string.h: Likewise.
16631         (test_init): Likewise.
16632         * string/test-strlen.c (do_one_test): Likewise.
16633         (do_test): Likewise.
16634         * string/test-strncasecmp.c (do_one_test): Likewise.
16635         (do_test): Likewise.
16636         * string/test-strncat.c (do_one_test): Likewise.
16637         (do_test): Likewise.
16638         * string/test-strncmp.c (do_one_test): Likewise.
16639         (do_test_limit): Likewise.
16640         (do_test): Likewise.
16641         * string/test-strncpy.c (do_one_test): Likewise.
16642         (do_test): Likewise.
16643         * string/test-strnlen.c (do_one_test): Likewise.
16644         (do_test): Likewise.
16645         * string/test-strpbrk.c (do_one_test): Likewise.
16646         (do_test): Likewise.
16647         * string/test-strrchr.c (do_one_test): Likewise.
16648         (do_test): Likewise.
16649         * string/test-strspn.c (do_one_test): Likewise.
16650         (do_test): Likewise.
16651         * string/test-strstr.c (do_one_test): Likewise.
16652         (do_test): Likewise.
16654         * benchtests/Makefile (string-bench): Add string benchmarks.
16655         * benchtests/bench-bcopy-ifunc.c: New file.
16656         * benchtests/bench-bcopy.c: New file.
16657         * benchtests/bench-bzero-ifunc.c: New file.
16658         * benchtests/bench-bzero.c: New file.
16659         * benchtests/bench-memccpy-ifunc.c: New file.
16660         * benchtests/bench-memccpy.c: New file.
16661         * benchtests/bench-memchr-ifunc.c: New file.
16662         * benchtests/bench-memchr.c: New file.
16663         * benchtests/bench-memcmp-ifunc.c: New file.
16664         * benchtests/bench-memcmp.c: New file.
16665         * benchtests/bench-memmem-ifunc.c: New file.
16666         * benchtests/bench-memmem.c: New file.
16667         * benchtests/bench-memmove-ifunc.c: New file.
16668         * benchtests/bench-memmove.c: New file.
16669         * benchtests/bench-mempcpy-ifunc.c: New file.
16670         * benchtests/bench-mempcpy.c: New file.
16671         * benchtests/bench-memset-ifunc.c: New file.
16672         * benchtests/bench-memset.c: New file.
16673         * benchtests/bench-rawmemchr-ifunc.c: New file.
16674         * benchtests/bench-rawmemchr.c: New file.
16675         * benchtests/bench-stpcpy-ifunc.c: New file.
16676         * benchtests/bench-stpcpy.c: New file.
16677         * benchtests/bench-stpncpy-ifunc.c: New file.
16678         * benchtests/bench-stpncpy.c: New file.
16679         * benchtests/bench-strcasecmp-ifunc.c: New file.
16680         * benchtests/bench-strcasecmp.c: New file.
16681         * benchtests/bench-strcasestr-ifunc.c: New file.
16682         * benchtests/bench-strcasestr.c: New file.
16683         * benchtests/bench-strcat-ifunc.c: New file.
16684         * benchtests/bench-strcat.c: New file.
16685         * benchtests/bench-strchr-ifunc.c: New file.
16686         * benchtests/bench-strchr.c: New file.
16687         * benchtests/bench-strchrnul-ifunc.c: New file.
16688         * benchtests/bench-strchrnul.c: New file.
16689         * benchtests/bench-strcmp-ifunc.c: New file.
16690         * benchtests/bench-strcmp.c: New file.
16691         * benchtests/bench-strcpy-ifunc.c: New file.
16692         * benchtests/bench-strcpy.c: New file.
16693         * benchtests/bench-strcspn-ifunc.c: New file.
16694         * benchtests/bench-strcspn.c: New file.
16695         * benchtests/bench-strlen-ifunc.c: New file.
16696         * benchtests/bench-strlen.c: New file.
16697         * benchtests/bench-strncasecmp-ifunc.c: New file.
16698         * benchtests/bench-strncasecmp.c: New file.
16699         * benchtests/bench-strncat-ifunc.c: New file.
16700         * benchtests/bench-strncat.c: New file.
16701         * benchtests/bench-strncmp-ifunc.c: New file.
16702         * benchtests/bench-strncmp.c: New file.
16703         * benchtests/bench-strncpy-ifunc.c: New file.
16704         * benchtests/bench-strncpy.c: New file.
16705         * benchtests/bench-strnlen-ifunc.c: New file.
16706         * benchtests/bench-strnlen.c: New file.
16707         * benchtests/bench-strpbrk-ifunc.c: New file.
16708         * benchtests/bench-strpbrk.c: New file.
16709         * benchtests/bench-strrchr-ifunc.c: New file.
16710         * benchtests/bench-strrchr.c: New file.
16711         * benchtests/bench-strspn-ifunc.c: New file.
16712         * benchtests/bench-strspn.c: New file.
16713         * benchtests/bench-strstr-ifunc.c: New file.
16714         * benchtests/bench-strstr.c: New file.
16716         * benchtests/Makefile: Disable parallel execution of targets.
16717         (string-bench): Add memcpy.
16718         (benchset): New variable to store a list of benchmark sets.
16719         (bench-func): Renamed from bench.
16720         (bench-set): New target.
16721         (bench): Depend on bench-func and bench-set.
16722         * benchtests/README: Add section on benchmark sets.
16723         * benchtests/bench-memcpy-ifunc.c: New file.
16724         * benchtests/bench-memcpy.c: New file.
16725         * benchtests/bench-string.h: New file.
16727 2013-06-11  Andreas Schwab  <schwab@suse.de>
16729         [BZ #15577]
16730         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16731         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16732         values in the triple.
16733         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16734         terminator in the group key.
16736 2013-06-11  Andreas Jaeger  <aj@suse.de>
16738         * po/zh_TW.po: Update Chinese (traditional) translation from
16739         translation project.
16741 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16743         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16744         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16745         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16746         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16747         (clock_getcpuclockid): Likewise.
16748         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16749         Add weak_alias and libc_hidden_def.
16750         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16751         * rt/clock_gettime.c (clock_gettime): Rename to
16752         __clock_gettime.  Add weak_alias and libc_hidden_def.
16753         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16754         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16755         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16756         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16757         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16758         Likewise.
16759         * rt/clock_settime.c (clock_settime): Rename to
16760         __clock_settime.  Add weak_alias and libc_hidden_def.
16761         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16763 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16765         * mach/err_boot.sub: Remove trailing whitespace.
16766         * mach/err_ipc.sub: Likewise.
16767         * mach/err_mach.sub: Likewise.
16769         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16770         (ROUNDING_TESTS_double): Likewise.
16771         (ROUNDING_TESTS_long_double): Likewise.
16772         (ROUNDING_TESTS): Likewise.
16773         * math/libm-test.inc: Include <math-tests.h>.
16774         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16775         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16776         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16777         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16779 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16781         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16782         of assigning.
16784 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16786         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16787         otherwise empty TRANS lines.
16788         * sysdeps/gnu/errlist.c: Regenerated.
16790         * catgets/gencat.c (error_print): Use (void) in function
16791         definition.
16792         * crypt/crypt_util.c (__init_des): Likewise.
16793         * crypt/speeds.c (Stop): Likewise.
16794         (main): Likewise.
16795         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16796         * inet/ruserpass.c (token): Likewise.
16797         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16798         * intl/localealias.c (extend_alias_table): Likewise.
16799         * intl/plural-exp.c (init_germanic_plural): Likewise.
16800         * libio/fcloseall.c (__fcloseall): Likewise.
16801         * libio/genops.c (_IO_flush_all): Likewise.
16802         (_IO_flush_all_linebuffered): Likewise.
16803         (_IO_cleanup): Likewise.
16804         (_IO_iter_begin): Likewise.
16805         (_IO_iter_end): Likewise.
16806         (_IO_list_lock): Likewise.
16807         (_IO_list_unlock): Likewise.
16808         (_IO_list_resetlock): Likewise.
16809         * libio/getchar.c (getchar): Likewise.
16810         * libio/getchar_u.c (getchar_unlocked): Likewise.
16811         * libio/getwchar.c (getwchar): Likewise.
16812         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16813         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16814         * login/getpt.c (__getpt): Likewise.
16815         * login/tst-utmp.c (main): Likewise.
16816         * malloc/hooks.c (__malloc_check_init): Likewise.
16817         * malloc/malloc.c (__malloc_stats): Likewise.
16818         * malloc/mtrace.c (tr_break): Likewise.
16819         (mtrace): Likewise.
16820         (muntrace): Likewise.
16821         * misc/fstab.c (endfsent): Likewise.
16822         * misc/getclktck.c (__getclktck): Likewise.
16823         * misc/getdtsz.c (__getdtablesize): Likewise.
16824         * misc/gethostid.c (gethostid): Likewise.
16825         * misc/getpagesize.c (__getpagesize): Likewise.
16826         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16827         (__get_nprocs): Likewise.
16828         (__get_phys_pages): Likewise.
16829         (__get_avphys_pages): Likewise.
16830         * misc/getttyent.c (getttyent): Likewise.
16831         (setttyent): Likewise.
16832         (endttyent): Likewise.
16833         * misc/getusershell.c (getusershell): Likewise.
16834         (endusershell): Likewise.
16835         (setusershell): Likewise.
16836         (initshells): Likewise.
16837         * misc/hsearch.c (__hdestroy): Likewise.
16838         * misc/sync.c (sync): Likewise.
16839         * misc/syslog.c (closelog_internal): Likewise.
16840         (closelog): Likewise.
16841         * misc/ttyslot.c (ttyslot): Likewise.
16842         * misc/vhangup.c (vhangup): Likewise.
16843         * posix/fork.c (__fork): Likewise.
16844         * posix/getegid.c (__getegid): Likewise.
16845         * posix/geteuid.c (__geteuid): Likewise.
16846         * posix/getgid.c (__getgid): Likewise.
16847         * posix/getpid.c (__getpid): Likewise.
16848         * posix/getppid.c (__getppid): Likewise.
16849         * posix/getuid.c (__getuid): Likewise.
16850         * posix/pause.c (pause): Likewise.
16851         * posix/setpgrp.c (setpgrp): Likewise.
16852         * posix/setsid.c (__setsid): Likewise.
16853         * posix/test-vfork.c (noop): Likewise.
16854         * resolv/gethnamaddr.c (_endhtent): Likewise.
16855         (_gethtent): Likewise.
16856         (ht_endhostent): Likewise.
16857         (gethostent): Likewise.
16858         (dns_service): Likewise.
16859         * stdlib/drand48.c (drand48): Likewise.
16860         * stdlib/lrand48.c (lrand48): Likewise.
16861         * stdlib/mrand48.c (mrand48): Likewise.
16862         * stdlib/rand.c (rand): Likewise.
16863         * stdlib/random.c (__random): Likewise.
16864         * stdlib/setenv.c (clearenv): Likewise.
16865         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16866         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16867         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16868         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16869         (__get_nprocs): Likewise.
16870         (__get_phys_pages): Likewise.
16871         (__get_avphys_pages): Likewise.
16872         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16873         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16874         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16875         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16876         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16877         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16878         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16879         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16880         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16881         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16882         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16883         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16884         * sysdeps/posix/clock.c (clock): Likewise.
16885         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16886         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
16887         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
16888         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
16889         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
16890         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
16891         (__get_nprocs_conf): Likewise.
16892         (__get_phys_pages): Likewise.
16893         (__get_avphys_pages): Likewise.
16894         * time/clock.c (clock): Likewise.
16895         * time/tzset.c (__tzname_max): Likewise.
16897 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
16899         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
16900         (__bswap_32): Do not use "register".
16901         * crypt/crypt.c (_ufc_doit_r): Likewise.
16902         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16903         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16904         * gmon/gmon.c (__monstartup): Likewise.
16905         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
16906         * hurd/hurdmalloc.c (more_memory): Likewise.
16907         (malloc): Likewise.
16908         (free): Likewise.
16909         (realloc): Likewise.
16910         (malloc_fork_prepare): Likewise.
16911         (malloc_fork_parent): Likewise.
16912         (malloc_fork_child): Likewise.
16913         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
16914         (_svcauth_des): Likewise.
16915         * inet/inet_lnaof.c (inet_lnaof): Likewise.
16916         * inet/inet_net.c (inet_network): Likewise.
16917         * inet/inet_netof.c (inet_netof): Likewise.
16918         * inet/rcmd.c (__validuser2_sa): Likewise.
16919         * io/fts.c (fts_open): Likewise.
16920         (fts_load): Likewise.
16921         (fts_close): Likewise.
16922         (fts_read): Likewise.
16923         (fts_children): Likewise.
16924         (fts_build): Likewise.
16925         (fts_stat): Likewise.
16926         (fts_sort): Likewise.
16927         (fts_alloc): Likewise.
16928         (fts_lfree): Likewise.
16929         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
16930         (_IO_file_xsgetn): Likewise.
16931         (_IO_file_xsgetn_mmap): Likewise.
16932         * libio/iofopncook.c (_IO_cookie_read): Likewise.
16933         (_IO_cookie_write): Likewise.
16934         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
16935         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
16936         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
16937         * malloc/obstack.c (_obstack_begin): Likewise.
16938         (_obstack_begin_1): Likewise.
16939         (_obstack_newchunk): Likewise.
16940         (_obstack_allocated_p): Likewise.
16941         (obstack_free): Likewise.
16942         (_obstack_memory_used): Likewise.
16943         * misc/getttyent.c (getttynam): Likewise.
16944         (getttyent): Likewise.
16945         (skip): Likewise.
16946         (value): Likewise.
16947         * misc/getusershell.c (initshells): Likewise.
16948         * misc/syslog.c (__vsyslog_chk): Likewise.
16949         * misc/ttyslot.c (ttyslot): Likewise.
16950         * nis/nis_hash.c (__nis_hash): Likewise.
16951         * posix/fnmatch_loop.c (FCT): Likewise.
16952         * posix/getconf.c (print_all): Likewise.
16953         (main): Likewise.
16954         * posix/getopt.c (exchange): Likewise.
16955         * posix/glob.c (globfree): Likewise.
16956         (prefix_array): Likewise.
16957         (__glob_pattern_type): Likewise.
16958         * resolv/arpa/nameser.h (NS_GET16): Likewise.
16959         (NS_GET32): Likewise.
16960         (NS_PUT16): Likewise.
16961         (NS_PUT32): Likewise.
16962         * resolv/gethnamaddr.c (getanswer): Likewise.
16963         (gethostbyname2): Likewise.
16964         (gethostbyaddr): Likewise.
16965         (_gethtent): Likewise.
16966         (_gethtbyname2): Likewise.
16967         (_gethtbyaddr): Likewise.
16968         * resolv/ns_print.c (dst_s_get_int16): Likewise.
16969         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16970         * resolv/res_init.c (__res_vinit): Likewise.
16971         (net_mask): Likewise.
16972         * resolv/res_mkquery.c (outchar): Likewise.
16973         (PRINT): Likewise.
16974         * stdio-common/printf_fp.c (outchar): Likewise.
16975         (PRINT): Likewise.
16976         * stdio-common/printf_fphex.c (outchar): Likewise.
16977         (PRINT): Likewise.
16978         * stdio-common/printf_size.c (outchar): Likewise.
16979         (PRINT): Likewise.
16980         * stdio-common/test_rdwr.c (main): Likewise.
16981         * stdio-common/tfformat.c (matches): Likewise.
16982         * stdio-common/vfprintf.c (outchar): Likewise.
16983         (printf_unknown): Likewise.
16984         (buffered_vfprintf): Likewise.
16985         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16986         * stdio-common/xbug.c (AppendToBuffer): Likewise.
16987         (ReadFile): Likewise.
16988         * stdlib/qsort.c (SWAP): Likewise.
16989         (_quicksort): Likewise.
16990         * stdlib/setenv.c (__add_to_environ): Likewise.
16991         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16992         * stdlib/strtol_l.c (__strtol_l): Likewise.
16993         * stdlib/tst-strtod.c (main): Likewise.
16994         * stdlib/tst-strtol.c (main): Likewise.
16995         * stdlib/tst-strtoll.c (main): Likewise.
16996         * string/bits/string2.h (__strcmp_cc): Likewise.
16997         (__strcmp_cg): Likewise.
16998         (__strcspn_c1): Likewise.
16999         (__strcspn_c2): Likewise.
17000         (__strcspn_c3): Likewise.
17001         (__strspn_c1): Likewise.
17002         (__strspn_c2): Likewise.
17003         (__strspn_c3): Likewise.
17004         (__strsep_1c): Likewise.
17005         (__strsep_2c): Likewise.
17006         (__strsep_3c): Likewise.
17007         * string/memccpy.c (__memccpy): Likewise.
17008         * string/stpcpy.c (__stpcpy): Likewise.
17009         * string/strcmp.c (strcmp): Likewise.
17010         * string/strrchr.c (strrchr): Likewise.
17011         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17012         Likewise.
17013         * sysdeps/mach/hurd/getcwd.c
17014         (_hurd_canonicalize_directory_name_internal): Likewise.
17015         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17016         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17017         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17018         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17019         Likewise, in both definitions.
17020         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17021         definitions.
17022         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17023         64] (__bswap_64): Likewise.
17024         * time/test_time.c (main): Likewise.
17025         * time/tzfile.c (__tzfile_read): Likewise.
17026         (__tzfile_compute): Likewise.
17027         * time/tzset.c (__tzset_parse_tz): Likewise.
17028         (tzset_internal): Likewise.
17029         (compute_change): Likewise.
17030         * wcsmbs/wcscat.c (__wcscat): Likewise.
17031         * wcsmbs/wcschr.c (wcschr): Likewise.
17032         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17033         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17034         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17035         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17036         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17037         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17038         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17039         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17040         * wcsmbs/wmemset.c (wmemset): Likewise.
17042 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17044         * scripts/config.guess: Update to version 2013-05-16.
17045         * scripts/config.sub: Update to version 2013-04-24.
17046         * scripts/install-sh: Update to version 2011-11-20.07.
17047         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17048         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17050 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17052         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17053         * elf/sln.c: Likewise.
17054         * hurd/hurd/ioctl.h: Likewise.
17055         * hurd/hurdmalloc.c: Likewise.
17056         * hurd/xattr.c: Likewise.
17057         * include/shlib-compat.h: Likewise.
17058         * inet/ruserpass.c: Likewise.
17059         * libio/iofgets_u.c: Likewise.
17060         * libio/iofgetws_u.c: Likewise.
17061         * locale/programs/ld-identification.c: Likewise.
17062         * locale/programs/ld-time.c: Likewise.
17063         * mach/msg-destroy.c: Likewise.
17064         * nss/nss_files/files-netgrp.c: Likewise.
17065         * resolv/res_data.c: Likewise.
17066         * soft-fp/op-1.h: Likewise.
17067         * soft-fp/op-2.h: Likewise.
17068         * soft-fp/op-4.h: Likewise.
17069         * soft-fp/op-common.h: Likewise.
17070         * stdio-common/printf_fphex.c: Likewise.
17071         * stdlib/strtod_l.c: Likewise.
17072         * sunrpc/rpc/clnt.h: Likewise.
17073         * sysdeps/generic/framestate.c: Likewise.
17074         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17075         * sysdeps/i386/bsd-setjmp.S: Likewise.
17076         * sysdeps/i386/__longjmp.S: Likewise.
17077         * sysdeps/i386/setjmp.S: Likewise.
17078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17079         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17080         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17081         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17082         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17083         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17084         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17085         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17086         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17087         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17088         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17089         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17090         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17091         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17092         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17094         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17095         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17096         * sysdeps/ieee754/support.c: Likewise.
17097         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17098         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17099         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17100         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17101         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17102         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17103         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17104         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17105         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17106         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17107         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17108         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17109         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17110         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17111         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17112         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17113         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17116 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17118         * posix/transbug.c: Remove executable mode.
17120 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17122         * crypt/speeds.c: Remove trailing whitespace.
17123         * dlfcn/default.c: Likewise.
17124         * elf/ifuncdep2.c: Likewise.
17125         * elf/ifuncmain1.c: Likewise.
17126         * elf/ifuncmain1vis.c: Likewise.
17127         * elf/testobj.h: Likewise.
17128         * elf/tst-stackguard1.c: Likewise.
17129         * gmon/sys/gmon.h: Likewise.
17130         * hurd/hurdmsg.c: Likewise.
17131         * hurd/new-fd.c: Likewise.
17132         * hurd/ports-get.c: Likewise.
17133         * iconvdata/ibm1008_420.c: Likewise.
17134         * inet/tst-getni1.c: Likewise.
17135         * inet/tst-getni2.c: Likewise.
17136         * libio/ioungetc.c: Likewise.
17137         * libio/wfiledoalloc.c: Likewise.
17138         * manual/libm-err-tab.pl: Likewise.
17139         * math/w_dremf.c: Likewise.
17140         * misc/ftruncate.c: Likewise.
17141         * posix/bug-glob2.c: Likewise.
17142         * posix/tst-pcre.c: Likewise.
17143         * posix/wait4.c: Likewise.
17144         * resolv/README: Likewise.
17145         * resolv/res_debug.h: Likewise.
17146         * resolv/tst-inet_ntop.c: Likewise.
17147         * setjmp/bug269-setjmp.c: Likewise.
17148         * soft-fp/extended.h: Likewise.
17149         * soft-fp/op-1.h: Likewise.
17150         * soft-fp/op-2.h: Likewise.
17151         * soft-fp/op-4.h: Likewise.
17152         * soft-fp/op-8.h: Likewise.
17153         * soft-fp/testit.c: Likewise.
17154         * stdio-common/bug16.c: Likewise.
17155         * stdlib/random.c: Likewise.
17156         * sunrpc/rpcsvc/rquota.x: Likewise.
17157         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17158         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17159         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17160         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17161         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17162         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17163         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17164         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17165         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17166         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17167         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17168         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17170         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17171         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17172         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17173         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17174         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17175         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17176         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17177         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17178         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17179         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17180         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17181         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17182         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17183         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17184         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17185         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17186         * sysdeps/ieee754/s_lib_version.c: Likewise.
17187         * sysdeps/mach/hurd/check_fds.c: Likewise.
17188         * sysdeps/mach/hurd/getsockname.c: Likewise.
17189         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17190         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17191         * sysdeps/powerpc/bits/link.h: Likewise.
17192         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17193         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17194         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17195         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17196         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17197         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17198         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17199         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17200         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17201         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17202         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17203         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17204         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17205         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17206         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17207         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17208         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17209         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17210         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17211         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17212         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17213         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17214         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17215         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17216         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17217         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17218         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17219         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17220         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17221         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17222         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17223         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17225         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17226         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17227         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17228         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17229         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17230         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17231         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17232         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17233         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17234         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17235         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17236         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17237         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17238         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17239         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17240         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17241         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17242         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17243         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17244         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17245         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17246         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17247         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17248         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17249         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17250         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17251         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17252         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17253         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17254         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17255         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17256         * sysdeps/powerpc/sysdep.h: Likewise.
17257         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17258         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17259         * sysdeps/sh/dl-trampoline.S: Likewise.
17260         * sysdeps/sh/memset.S: Likewise.
17261         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17262         * sysdeps/sh/strlen.S: Likewise.
17263         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17264         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17265         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17266         * sysdeps/sparc/sparc32/rem.S: Likewise.
17267         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17268         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17269         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17270         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17271         * sysdeps/sparc/sparc32/urem.S: Likewise.
17272         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17273         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17274         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17275         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17277         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17278         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17279         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17280         * sysdeps/unix/bsd/times.c: Likewise.
17281         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17282         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17286         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17287         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17288         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17289         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17290         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17291         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17292         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17293         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17294         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17295         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17296         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17297         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17298         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17299         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17300         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17301         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17302         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17303         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17304         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17305         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17306         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17307         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17308         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17309         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17310         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17311         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17312         * sysdeps/x86_64/strcspn.S: Likewise.
17314 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17316         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17317         generated file.  Regenerate properly from gen-translit.pl.
17318         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17319         locale/C-translit.h.
17321 2013-06-05  Andreas Schwab  <schwab@suse.de>
17323         [BZ #15100]
17324         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17325         week as 6 instead of -1.
17326         * time/tst-strptime.c (day_tests): Add test case.
17328 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17330         * sysdeps/generic/math_private.h
17331         (libc_feholdexcept_setround_53bit): Replace with
17332         libc_feholdsetround_53bit.
17333         (libc_feupdateenv_53bit): Replace with
17334         libc_feresetround_53bit.
17335         (SET_RESTORE_ROUND_53BIT): Adjust.
17337 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17339         * string/test-strchrnul.c: Add copyright header.
17341         * posix/tst-getaddrinfo4.c: Increase test timeout.
17343 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17345         [BZ #15536]
17346         * math/libm-test.inc (MAX_EXP): Remove
17347         (MIN_EXP): Define.
17348         (ulp): Use MIN_EXP - MANT_DIG.
17349         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17351 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17353         * po/be.po: Revert last change.
17354         * po/zh_CN.po: Likewise.
17355         * po/header.pot: Likewise.
17357 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17359         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17360         link-libc-deps to empty as target-specific variable.
17361         * Makerules (link-libc-args): New variable.
17362         (libc-for-link): Likewise.
17363         (link-libc-deps): Likewise.
17364         (lib%.so): Depend on $(link-libc-deps).  Link with
17365         $(link-libc-args).
17366         (build-module): Link with $(link-libc-args).
17367         (build-module-asneeded): Likewise.
17368         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17369         list of objects.
17370         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17371         target-specific variable.
17372         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17373         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17374         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17375         libc.
17376         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17377         libc and ld.so.
17378         ($(objpfx)libpcprofile.so): Likewise.
17379         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17380         libc_nonshared.a.
17381         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17382         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17383         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17384         $(link-libc-deps).
17385         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17386         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17387         * login/Makefile ($(objpfx)libutil.so): Likewise.
17388         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17389         * math/Makefile ($(objpfx)libm.so): Likewise.
17390         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17391         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17392         variable instead of depending directly on libc.
17393         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17394         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17395         $(link-libc-deps).
17396         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17397         libc.
17398         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17399         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17400         ($(objpfx)libanl.so): Likewise.
17401         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17402         ld.so.
17403         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17404         $(link-libc-deps).
17405         * sysdeps/i386/fpu/Makefile: Remove file.
17406         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17407         ($(objpfx)libm.so): Remove dependency on ld.so.
17409 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17411         [BZ # 15553]
17412         * nis/yp_xdr.c (XDRMAXNAME): Define.
17413         (XDRMAXRECORD): Define.
17414         (xdr_domainname): Use XDRMAXNAME.
17415         (xdr_mapname): Likewise.
17416         (xdr_peername): Likewise.
17417         (xdr_keydat): Use XDRMAXRECORD.
17418         (xdr_valdat): Likewise.
17420 2013-05-30  Jeff Law  <law@redhat.com>
17422         [BZ #14256]
17423         * manual/errno.texi (ESTALE): Update to account for more than
17424         just NFS file systems.
17425         * sysdeps/gnu/errlist.c: Regenerated.
17427 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17429         [BZ #15465]
17430         * elf/Makefile (tests): Add tst-null-argv.
17431         (modules-names):  Add tst-null-argv-lib.
17432         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17433         (tst-null-argv-ENV): Set environment for tst-null-argv.
17434         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17435         (RTLD_PROGNAME): New macro.
17436         * elf/tst-null-argv.c: New test case.
17437         * elf/tst-null-argv-lib.c: Library for test case.
17438         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17439         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17440         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17441         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17442         * elf/dl-init.c (call_init): Likewise.
17443         (_dl_init): Likewise.
17444         * elf/dl-load.c (print_search_path): Likewise.
17445         (_dl_map_object): Likewise.
17446         * elf/dl-lookup.c (do_lookup_x): Likewise.
17447         (add_dependency): Likewise.
17448         (_dl_lookup_symbol_x): Likewise.
17449         (_dl_debug_bindings): Likewise.
17450         * elf/dl-open.c (_dl_show_scope): Likewise.
17451         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17452         * elf/dl-version.c (match_symbol): Likewise.
17453         (_dl_check_map_versions): Likewise.
17454         * elf/rtld.c (dl_main): Likewise.
17455         (print_unresolved): Use RTLD_PROGNAME.
17456         (print_missing_version): Likewise.
17457         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17458         (elf_machine_rela): Likewise.
17459         * sysdeps/powerpc/powerpc32/dl-machine.c
17460         (__process_machine_rela): Likewise.
17461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17462         Likewise.
17463         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17464         Likewise.
17465         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17466         Likewise.
17467         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17468         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17469         Likewise.
17470         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17471         Likewise.
17472         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17474 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17476         * po/be.po: Add descriptive title.
17477         * po/zh_CN.po: Likewise.
17478         * po/header.pot: Likewise.
17480 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17482         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17483         error message.
17484         (enlarge_archive): Likewise.
17486 2013-05-28  Ben North  <ben@redfrontdoor.org>
17488         * manual/arith.texi (frexp): It is the magnitude of the return
17489         value which lies in [0.5, 1), not the return value itself.
17491 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17495 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17497         * stdio-common/bug26.c (main): Correct fscanf template.
17499         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17500         declare _dl_skip_args.
17502         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17503         Don't declare.
17505         * manual/platform.texi: Add missing @end deftypefun.
17507 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17509         [BZ #15529]
17510         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17511         bit of mantissa of 2^16382.
17512         * math/libm-test.inc (hypot_test_data): Add more tests.
17514         * math/libm-test.inc: Add drem and pow10 to list of tested
17515         functions.
17516         (pow10_test): New function.
17517         (drem_test): Likewise.
17518         (drem_test_tonearest): Likewise.
17519         (drem_test_towardzero): Likewise.
17520         (drem_test_downward): Likewise.
17521         (drem_test_upward): Likewise.
17522         (main): Call the new functions.
17524         * math/libm-test.inc (finite_test_data): Remove.
17525         (finite_test): Run tests from isfinite_test_data.
17526         (gamma_test_data): Remove.
17527         (gamma_test): Run tests from lgamma_test_data.
17528         * sysdeps/i386/fpu/libm-test-ulps: Update.
17529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17531 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17533         * manual/platform.texi: Add PowerPC PPR function set documentation.
17534         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17535         implementation.
17537 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17539         * math/libm-test.inc (MAX_EXP): Define.
17540         (ULPDIFF): Define.
17541         (ulp): New function.
17542         (check_float_internal): Use ULPDIFF.
17543         (cpow_test): Disable failing test.
17544         (check_ulp): Test ulp() implemetnation.
17545         (main): Call check_ulp before starting tests.
17547 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17549         * math/gen-libm-test.pl (generate_testfile): Do not handle
17550         START_DATA and END_DATA.
17551         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17552         END_DATA.
17553         (acos_tonearest_test_data): Likewise.
17554         (acos_towardzero_test_data): Likewise.
17555         (acos_downward_test_data): Likewise.
17556         (acos_upward_test_data): Likewise.
17557         (acosh_test_data): Likewise.
17558         (asin_test_data): Likewise.
17559         (asin_tonearest_test_data): Likewise.
17560         (asin_towardzero_test_data): Likewise.
17561         (asin_downward_test_data): Likewise.
17562         (asin_upward_test_data): Likewise.
17563         (asinh_test_data): Likewise.
17564         (atan_test_data): Likewise.
17565         (atanh_test_data): Likewise.
17566         (atan2_test_data): Likewise.
17567         (cabs_test_data): Likewise.
17568         (cacos_test_data): Likewise.
17569         (cacosh_test_data): Likewise.
17570         (carg_test_data): Likewise.
17571         (casin_test_data): Likewise.
17572         (casinh_test_data): Likewise.
17573         (catan_test_data): Likewise.
17574         (catanh_test_data): Likewise.
17575         (cbrt_test_data): Likewise.
17576         (ccos_test_data): Likewise.
17577         (ccosh_test_data): Likewise.
17578         (ceil_test_data): Likewise.
17579         (cexp_test_data): Likewise.
17580         (cimag_test_data): Likewise.
17581         (clog_test_data): Likewise.
17582         (clog10_test_data): Likewise.
17583         (conj_test_data): Likewise.
17584         (copysign_test_data): Likewise.
17585         (cos_test_data): Likewise.
17586         (cos_tonearest_test_data): Likewise.
17587         (cos_towardzero_test_data): Likewise.
17588         (cos_downward_test_data): Likewise.
17589         (cos_upward_test_data): Likewise.
17590         (cosh_test_data): Likewise.
17591         (cosh_tonearest_test_data): Likewise.
17592         (cosh_towardzero_test_data): Likewise.
17593         (cosh_downward_test_data): Likewise.
17594         (cosh_upward_test_data): Likewise.
17595         (cpow_test_data): Likewise.
17596         (cproj_test_data): Likewise.
17597         (creal_test_data): Likewise.
17598         (csin_test_data): Likewise.
17599         (csinh_test_data): Likewise.
17600         (csqrt_test_data): Likewise.
17601         (ctan_test_data): Likewise.
17602         (ctan_tonearest_test_data): Likewise.
17603         (ctan_towardzero_test_data): Likewise.
17604         (ctan_downward_test_data): Likewise.
17605         (ctan_upward_test_data): Likewise.
17606         (ctanh_test_data): Likewise.
17607         (ctanh_tonearest_test_data): Likewise.
17608         (ctanh_towardzero_test_data): Likewise.
17609         (ctanh_downward_test_data): Likewise.
17610         (ctanh_upward_test_data): Likewise.
17611         (erf_test_data): Likewise.
17612         (erfc_test_data): Likewise.
17613         (exp_test_data): Likewise.
17614         (exp_tonearest_test_data): Likewise.
17615         (exp_towardzero_test_data): Likewise.
17616         (exp_downward_test_data): Likewise.
17617         (exp_upward_test_data): Likewise.
17618         (exp10_test_data): Likewise.
17619         (exp2_test_data): Likewise.
17620         (expm1_test_data): Likewise.
17621         (fabs_test_data): Likewise.
17622         (fdim_test_data): Likewise.
17623         (finite_test_data): Likewise.
17624         (floor_test_data): Likewise.
17625         (fma_test_data): Likewise.
17626         (fma_towardzero_test_data): Likewise.
17627         (fma_downward_test_data): Likewise.
17628         (fma_upward_test_data): Likewise.
17629         (fmax_test_data): Likewise.
17630         (fmin_test_data): Likewise.
17631         (fmod_test_data): Likewise.
17632         (fpclassify_test_data): Likewise.
17633         (frexp_test_data): Likewise.
17634         (gamma_test_data): Likewise.
17635         (hypot_test_data): Likewise.
17636         (ilogb_test_data): Likewise.
17637         (isfinite_test_data): Likewise.
17638         (isgreater_test_data): Likewise.
17639         (isgreaterequal_test_data): Likewise.
17640         (isinf_test_data): Likewise.
17641         (isless_test_data): Likewise.
17642         (islessequal_test_data): Likewise.
17643         (islessgreater_test_data): Likewise.
17644         (isnan_test_data): Likewise.
17645         (isnormal_test_data): Likewise.
17646         (issignaling_test_data): Likewise.
17647         (isunordered_test_data): Likewise.
17648         (j0_test_data): Likewise.
17649         (j1_test_data): Likewise.
17650         (jn_test_data): Likewise.
17651         (ldexp_test_data): Likewise.
17652         (lgamma_test_data): Likewise.
17653         (lrint_test_data): Likewise.
17654         (lrint_tonearest_test_data): Likewise.
17655         (lrint_towardzero_test_data): Likewise.
17656         (lrint_downward_test_data): Likewise.
17657         (lrint_upward_test_data): Likewise.
17658         (llrint_test_data): Likewise.
17659         (llrint_tonearest_test_data): Likewise.
17660         (llrint_towardzero_test_data): Likewise.
17661         (llrint_downward_test_data): Likewise.
17662         (llrint_upward_test_data): Likewise.
17663         (log_test_data): Likewise.
17664         (log10_test_data): Likewise.
17665         (log1p_test_data): Likewise.
17666         (log2_test_data): Likewise.
17667         (logb_test_data): Likewise.
17668         (logb_downward_test_data): Likewise.
17669         (lround_test_data): Likewise.
17670         (llround_test_data): Likewise.
17671         (modf_test_data): Likewise.
17672         (nearbyint_test_data): Likewise.
17673         (nextafter_test_data): Likewise.
17674         (nexttoward_test_data): Likewise.
17675         (pow_test_data): Likewise.
17676         (pow_tonearest_test_data): Likewise.
17677         (pow_towardzero_test_data): Likewise.
17678         (pow_downward_test_data): Likewise.
17679         (pow_upward_test_data): Likewise.
17680         (remainder_test_data): Likewise.
17681         (remainder_tonearest_test_data): Likewise.
17682         (remainder_towardzero_test_data): Likewise.
17683         (remainder_downward_test_data): Likewise.
17684         (remainder_upward_test_data): Likewise.
17685         (remquo_test_data): Likewise.
17686         (rint_test_data): Likewise.
17687         (rint_tonearest_test_data): Likewise.
17688         (rint_towardzero_test_data): Likewise.
17689         (rint_downward_test_data): Likewise.
17690         (rint_upward_test_data): Likewise.
17691         (round_test_data): Likewise.
17692         (scalb_test_data): Likewise.
17693         (scalbn_test_data): Likewise.
17694         (scalbln_test_data): Likewise.
17695         (signbit_test_data): Likewise.
17696         (sin_test_data): Likewise.
17697         (sin_tonearest_test_data): Likewise.
17698         (sin_towardzero_test_data): Likewise.
17699         (sin_downward_test_data): Likewise.
17700         (sin_upward_test_data): Likewise.
17701         (sincos_test_data): Likewise.
17702         (sinh_test_data): Likewise.
17703         (sinh_tonearest_test_data): Likewise.
17704         (sinh_towardzero_test_data): Likewise.
17705         (sinh_downward_test_data): Likewise.
17706         (sinh_upward_test_data): Likewise.
17707         (sqrt_test_data): Likewise.
17708         (tan_test_data): Likewise.
17709         (tan_tonearest_test_data): Likewise.
17710         (tan_towardzero_test_data): Likewise.
17711         (tan_downward_test_data): Likewise.
17712         (tan_upward_test_data): Likewise.
17713         (tanh_test_data): Likewise.
17714         (tgamma_test_data): Likewise.
17715         (trunc_test_data): Likewise.
17716         (y0_test_data): Likewise.
17717         (y1_test_data): Likewise.
17718         (yn_test_data): Likewise.
17719         (significand_test_data): Likewise.
17721         * math/gen-libm-test.pl (@functions): Remove variable.
17722         (generate_testfile): Don't handle START and END lines.
17723         * math/libm-test.inc (START): New macro.
17724         (END): Likewise.
17725         (END_COMPLEX): Likewise.
17726         (acos_test): Use END macro without arguments.
17727         (acos_test_tonearest): Likewise.
17728         (acos_test_towardzero): Likewise.
17729         (acos_test_downward): Likewise.
17730         (acos_test_upward): Likewise.
17731         (acosh_test): Likewise.
17732         (asin_test): Likewise.
17733         (asin_test_tonearest): Likewise.
17734         (asin_test_towardzero): Likewise.
17735         (asin_test_downward): Likewise.
17736         (asin_test_upward): Likewise.
17737         (asinh_test): Likewise.
17738         (atan_test): Likewise.
17739         (atanh_test): Likewise.
17740         (atan2_test): Likewise.
17741         (cabs_test): Likewise.
17742         (cacos_test): Use END_COMPLEX macro without arguments.
17743         (cacosh_test): Likewise.
17744         (carg_test): Use END macro without arguments.
17745         (casin_test): Use END_COMPLEX macro without arguments.
17746         (casinh_test): Likewise.
17747         (catan_test): Likewise.
17748         (catanh_test): Likewise.
17749         (cbrt_test): Use END macro without arguments.
17750         (ccos_test): Use END_COMPLEX macro without arguments.
17751         (ccosh_test): Likewise.
17752         (ceil_test): Use END macro without arguments.
17753         (cexp_test): Use END_COMPLEX macro without arguments.
17754         (cimag_test): Use END macro without arguments.
17755         (clog_test): Use END_COMPLEX macro without arguments.
17756         (clog10_test): Likewise.
17757         (conj_test): Likewise.
17758         (copysign_test): Use END macro without arguments.
17759         (cos_test): Likewise.
17760         (cos_test_tonearest): Likewise.
17761         (cos_test_towardzero): Likewise.
17762         (cos_test_downward): Likewise.
17763         (cos_test_upward): Likewise.
17764         (cosh_test): Likewise.
17765         (cosh_test_tonearest): Likewise.
17766         (cosh_test_towardzero): Likewise.
17767         (cosh_test_downward): Likewise.
17768         (cosh_test_upward): Likewise.
17769         (cpow_test): Use END_COMPLEX macro without arguments.
17770         (cproj_test): Likewise.
17771         (creal_test): Use END macro without arguments.
17772         (csin_test): Use END_COMPLEX macro without arguments.
17773         (csinh_test): Likewise.
17774         (csqrt_test): Likewise.
17775         (ctan_test): Likewise.
17776         (ctan_test_tonearest): Likewise.
17777         (ctan_test_towardzero): Likewise.
17778         (ctan_test_downward): Likewise.
17779         (ctan_test_upward): Likewise.
17780         (ctanh_test): Likewise.
17781         (ctanh_test_tonearest): Likewise.
17782         (ctanh_test_towardzero): Likewise.
17783         (ctanh_test_downward): Likewise.
17784         (ctanh_test_upward): Likewise.
17785         (erf_test): Use END macro without arguments.
17786         (erfc_test): Likewise.
17787         (exp_test): Likewise.
17788         (exp_test_tonearest): Likewise.
17789         (exp_test_towardzero): Likewise.
17790         (exp_test_downward): Likewise.
17791         (exp_test_upward): Likewise.
17792         (exp10_test): Likewise.
17793         (exp2_test): Likewise.
17794         (expm1_test): Likewise.
17795         (fabs_test): Likewise.
17796         (fdim_test): Likewise.
17797         (finite_test): Likewise.
17798         (floor_test): Likewise.
17799         (fma_test): Likewise.
17800         (fma_test_towardzero): Likewise.
17801         (fma_test_downward): Likewise.
17802         (fma_test_upward): Likewise.
17803         (fmax_test): Likewise.
17804         (fmin_test): Likewise.
17805         (fmod_test): Likewise.
17806         (fpclassify_test): Likewise.
17807         (frexp_test): Likewise.
17808         (gamma_test): Likewise.
17809         (hypot_test): Likewise.
17810         (ilogb_test): Likewise.
17811         (isfinite_test): Likewise.
17812         (isgreater_test): Likewise.
17813         (isgreaterequal_test): Likewise.
17814         (isinf_test): Likewise.
17815         (isless_test): Likewise.
17816         (islessequal_test): Likewise.
17817         (islessgreater_test): Likewise.
17818         (isnan_test): Likewise.
17819         (isnormal_test): Likewise.
17820         (issignaling_test): Likewise.
17821         (isunordered_test): Likewise.
17822         (j0_test): Likewise.
17823         (j1_test): Likewise.
17824         (jn_test): Likewise.
17825         (ldexp_test): Likewise.
17826         (lgamma_test): Likewise.
17827         (lrint_test): Likewise.
17828         (lrint_test_tonearest): Likewise.
17829         (lrint_test_towardzero): Likewise.
17830         (lrint_test_downward): Likewise.
17831         (lrint_test_upward): Likewise.
17832         (llrint_test): Likewise.
17833         (llrint_test_tonearest): Likewise.
17834         (llrint_test_towardzero): Likewise.
17835         (llrint_test_downward): Likewise.
17836         (llrint_test_upward): Likewise.
17837         (log_test): Likewise.
17838         (log10_test): Likewise.
17839         (log1p_test): Likewise.
17840         (log2_test): Likewise.
17841         (logb_test): Likewise.
17842         (logb_test_downward): Likewise.
17843         (lround_test): Likewise.
17844         (llround_test): Likewise.
17845         (modf_test): Likewise.
17846         (nearbyint_test): Likewise.
17847         (nextafter_test): Likewise.
17848         (nexttoward_test): Likewise.
17849         (pow_test): Likewise.
17850         (pow_test_tonearest): Likewise.
17851         (pow_test_towardzero): Likewise.
17852         (pow_test_downward): Likewise.
17853         (pow_test_upward): Likewise.
17854         (remainder_test): Likewise.
17855         (remainder_test_tonearest): Likewise.
17856         (remainder_test_towardzero): Likewise.
17857         (remainder_test_downward): Likewise.
17858         (remainder_test_upward): Likewise.
17859         (remquo_test): Likewise.
17860         (rint_test): Likewise.
17861         (rint_test_tonearest): Likewise.
17862         (rint_test_towardzero): Likewise.
17863         (rint_test_downward): Likewise.
17864         (rint_test_upward): Likewise.
17865         (round_test): Likewise.
17866         (scalb_test): Likewise.
17867         (scalbn_test): Likewise.
17868         (scalbln_test): Likewise.
17869         (signbit_test): Likewise.
17870         (sin_test): Likewise.
17871         (sin_test_tonearest): Likewise.
17872         (sin_test_towardzero): Likewise.
17873         (sin_test_downward): Likewise.
17874         (sin_test_upward): Likewise.
17875         (sincos_test): Likewise.
17876         (sinh_test): Likewise.
17877         (sinh_test_tonearest): Likewise.
17878         (sinh_test_towardzero): Likewise.
17879         (sinh_test_downward): Likewise.
17880         (sinh_test_upward): Likewise.
17881         (sqrt_test): Likewise.
17882         (tan_test): Likewise.
17883         (tan_test_tonearest): Likewise.
17884         (tan_test_towardzero): Likewise.
17885         (tan_test_downward): Likewise.
17886         (tan_test_upward): Likewise.
17887         (tanh_test): Likewise.
17888         (tgamma_test): Likewise.
17889         (trunc_test): Likewise.
17890         (y0_test): Likewise.
17891         (y1_test): Likewise.
17892         (yn_test): Likewise.
17893         (significand_test): Likewise.
17895 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
17897         [BZ #15381]
17898         * libio/genops.c (_IO_no_init): Initialize wide struct info.
17900 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17902         [BZ #14894]
17903         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
17904         __ppc_mdoio and __ppc_mdoom.
17905         * manual/platform.texi: Document new functions __ppc_yield,
17906         __ppc_mdoio and __ppc_mdoom.
17908 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
17910         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
17911         (main): Mention "tls" pseudo-hwcap is legacy.
17912         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
17914 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
17916         * math/gen-libm-test.pl (parse_args): Output only string of
17917         arguments as text for test name, not full call or descriptions of
17918         tests for extra outputs.
17919         (generate_testfile): Do not pass function name to parse_args.
17920         Generate this_func variable from START.
17921         * math/libm-test.inc (struct test_f_f_data): Rename test_name
17922         field to arg_str.
17923         (struct test_ff_f_data): Likewise.
17924         (test_ff_f_data_nexttoward): Likewise.
17925         (struct test_fi_f_data): Likewise.
17926         (struct test_fl_f_data): Likewise.
17927         (struct test_if_f_data): Likewise.
17928         (struct test_fff_f_data): Likewise.
17929         (struct test_c_f_data): Likewise.
17930         (struct test_f_f1_data): Likewise.  Remove field extra_name.
17931         (struct test_fF_f1_data): Likewise.
17932         (struct test_ffI_f1_data): Likewise.
17933         (struct test_c_c_data): Rename test_name field to arg_str.
17934         (struct test_cc_c_data): Likewise.
17935         (struct test_f_i_data): Likewise.
17936         (struct test_ff_i_data): Likewise.
17937         (struct test_f_l_data): Likewise.
17938         (struct test_f_L_data): Likewise.
17939         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
17940         and extra2_name.
17941         (COMMON_TEST_SETUP): New macro.
17942         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
17943         (COMMON_TEST_CLEANUP): Likewise.
17944         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
17945         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
17946         macros.
17947         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
17948         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
17949         macros.
17950         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
17951         (RUN_TEST_fff_f): Take argument string.  Call new setup and
17952         cleanup macros.
17953         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
17954         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
17955         macros.
17956         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
17957         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
17958         macros.
17959         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17960         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
17961         cleanup macros.
17962         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17963         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
17964         cleanup macros.
17965         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17966         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
17967         cleanup macros.
17968         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17969         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
17970         macros.
17971         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
17972         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
17973         macros.
17974         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
17975         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
17976         macros.
17977         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
17978         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
17979         cleanup macros.
17980         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
17981         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
17982         cleanup macros.
17983         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
17984         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
17985         macros.
17986         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
17987         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
17988         cleanup macros.
17989         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
17990         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
17991         macros.
17992         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
17993         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
17994         macros.
17995         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
17996         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
17997         cleanup macros.
17998         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18000 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18002         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18003         to _sifields.sigfault.
18004         (si_addr_lsb): Define new macro.
18005         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18006         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18007         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18009 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18011         [BZ #15441]
18012         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18013         returns -1.
18014         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18015         null return -1.
18016         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18017         loading the domain.
18019 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18021         * math/gen-libm-test.pl (parse_args): Do not include expected
18022         result in test name.
18023         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18024         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18025         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18026         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18027         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18030 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18032         * benchtests/Makefile: Sort function entries.
18034         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18035         tanh, asinh, acosh, atanh.
18036         * benchtests/acos-inputs: New file.
18037         * benchtests/acosh-inputs: New file.
18038         * benchtests/asin-inputs: New file.
18039         * benchtests/asinh-inputs: New file.
18040         * benchtests/atanh-inputs: New file.
18041         * benchtests/cosh-inputs: New file.
18042         * benchtests/log-inputs: New file.
18043         * benchtests/sinh-inputs: New file.
18044         * benchtests/tanh-inputs: New file.
18046 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18048         [BZ #15339]
18049         * posix/tst-getaddrinfo4.c: New test.
18050         * posix/Makefile (tests): Add it.
18052 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18054         [BZ #15339]
18055         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18056         when no services were used.
18057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18058         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18060 2013-05-21  Andreas Schwab  <schwab@suse.de>
18062         [BZ #15014]
18063         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18064         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18065         successful.
18066         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18067         redundant variable declarations and reallocation of buffer when
18068         parsing as IPv6 address.  Always set NSS status when called from
18069         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18070         buffer too small.  Correct computation of needed size.
18071         * nss/Makefile (tests): Add test-digits-dots.
18072         * nss/test-digits-dots.c: New test.
18074 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18076         * benchtests/Makefile: Remove instructions for adding
18077         benchmark tests.
18078         * benchtests/README: New file to explain how to execute and
18079         enhance the benchmark tests.
18081 2013-05-21  Andreas Schwab  <schwab@suse.de>
18083         [BZ #15493]
18084         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18085         * setjmp/tst-sigsetjmp.c: New test.
18087 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18089         * sysdeps/x86_64/memset.S (memset): New implementation.
18090         (__bzero): Likewise.
18091         (__memset_tail): New function.
18093 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18095         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18096         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18097         __memcpy_sse2_unaligned ifunc selection.
18098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18099         Add memcpy-sse2-unaligned.S.
18100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18101         Add: __memcpy_sse2_unaligned.
18103 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18105         [BZ #15490]
18106         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18107         math_force_eval before restoring floating-point envrionment.
18108         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18110         Likewise.
18111         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18112         <math_private.h>.
18113         (__nearbyintl): Use math_force_eval before restoring
18114         floating-point environment.
18115         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18117         * math/gen-libm-test.pl (special_functions): Remove.
18118         (parse_args): Don't handle TEST_extra.  Handle functions with no
18119         return value.
18120         * math/libm-test.inc (struct test_sincos_data): Replace with
18121         struct test_fFF_11_data.
18122         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18123         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18124         (sincos_test_data): Change element type to struct
18125         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18126         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18127         RUN_TEST_LOOP_sincos.
18128         * math/README.libm-test: Don't mention special handling of
18129         individual functions.
18130         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18131         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18132         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18133         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18134         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18137         * math/gen-libm-test.pl (get_variable): Remove function.
18138         (parse_args): Don't show pointer parameters to call in test
18139         names.  Use "extra output N" in test names for extra outputs
18140         rather than naming variables.
18142 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18144         [BZ #15488]
18145         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18146         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18147         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18148         double tests.
18149         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18150         disable.
18151         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18152         check_long_double.
18154         * math/gen-libm-test.pl (@tests): Remove variable.
18155         ($count): Likewise.
18156         (new_test): Remove function.
18157         (show_exceptions): New function.
18158         (special_functions): Use show_exceptions instead of new_test.
18159         (parse_args): Likewise.
18160         (generate_testfile): Pass only function name in generated call to
18161         print_max_error or print_complex_max_error.
18162         (get_ulps): Do not handle complex tests specially.
18163         (output_test): Rename to ...
18164         (get_all_ulps_for_test): ... this.  Return a string rather than
18165         printing to a file.  Require ulps to be present.
18166         (output_ulps): Generate arrays rather than #defines.
18167         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18168         (struct ulp_data): New type.
18169         (BUILD_COMPLEX_ULP): Remove macro.
18170         (compare_ulp_data): New function.
18171         (find_ulps): Likewise.
18172         (find_test_ulps): Likewise.
18173         (find_function_ulps): Likewise.
18174         (find_complex_function_ulps): Likewise.
18175         (print_max_error): Determine allowed ulps using
18176         find_function_ulps.
18177         (print_complex_max_error): Determine allowed ulps using
18178         find_complex_function_ulps.
18179         (check_float_internal): Determine max ulps using find_test_ulps.
18180         (check_float): Do not take max_ulp parameter.  Update call to
18181         check_float_internal.
18182         (check_complex): Likewise.
18183         (check_int): Do not take max_ulp parameter.
18184         (check_long): Likewise.
18185         (check_bool): Likewise.
18186         (check_longlong): Likewise.
18187         (struct test_f_f_data): Remove max_ulp field.
18188         (struct test_ff_f_data): Likewise.
18189         (struct test_ff_f_data_nexttoward): Likewise.
18190         (struct test_fi_f_data): Likewise.
18191         (struct test_fl_f_data): Likewise.
18192         (struct test_if_f_data): Likewise.
18193         (struct test_fff_f_data): Likewise.
18194         (struct test_c_f_data): Likewise.
18195         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18196         (struct test_fF_f1_data): Likewise.
18197         (struct test_ffI_f1_data): Likewise.
18198         (struct test_c_c_data): Remove max_ulp field.
18199         (struct test_cc_c_data): Likewise.
18200         (struct test_f_i_data): Likewise.
18201         (struct test_ff_i_data): Likewise.
18202         (struct test_f_l_data): Likewise.
18203         (struct test_f_L_data): Likewise.
18204         (struct test_sincos_data): Likewise.
18205         (RUN_TEST_f_f): Do not handle ulps.
18206         (RUN_TEST_LOOP_f_f): Likewise.
18207         (RUN_TEST_2_f): Likewise.
18208         (RUN_TEST_LOOP_2_f): Likewise.
18209         (RUN_TEST_fff_f): Likewise.
18210         (RUN_TEST_LOOP_fff_f): Likewise.
18211         (RUN_TEST_c_f): Likewise.
18212         (RUN_TEST_LOOP_c_f): Likewise.
18213         (RUN_TEST_f_f1): Likewise.
18214         (RUN_TEST_LOOP_f_f1): Likewise.
18215         (RUN_TEST_fF_f1): Likewise.
18216         (RUN_TEST_LOOP_fF_f1): Likewise.
18217         (RUN_TEST_fI_f1): Likewise.
18218         (RUN_TEST_LOOP_fI_f1): Likewise.
18219         (RUN_TEST_ffI_f1): Likewise.
18220         (RUN_TEST_LOOP_ffI_f1): Likewise.
18221         (RUN_TEST_c_c): Likewise.
18222         (RUN_TEST_LOOP_c_c): Likewise.
18223         (RUN_TEST_cc_c): Likewise.
18224         (RUN_TEST_LOOP_cc_c): Likewise.
18225         (RUN_TEST_f_i): Likewise.
18226         (RUN_TEST_LOOP_f_i): Likewise.
18227         (RUN_TEST_f_i_tg): Likewise.
18228         (RUN_TEST_LOOP_f_i_tg): Likewise.
18229         (RUN_TEST_ff_i_tg): Likewise.
18230         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18231         (RUN_TEST_f_b): Likewise.
18232         (RUN_TEST_LOOP_f_b): Likewise.
18233         (RUN_TEST_f_b_tg): Likewise.
18234         (RUN_TEST_LOOP_f_b_tg): Likewise.
18235         (RUN_TEST_f_l): Likewise.
18236         (RUN_TEST_LOOP_f_l): Likewise.
18237         (RUN_TEST_f_L): Likewise.
18238         (RUN_TEST_LOOP_f_L): Likewise.
18239         (RUN_TEST_sincos): Likewise.
18240         (RUN_TEST_LOOP_sincos): Likewise.
18242 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18244         [BZ #15480]
18245         [BZ #15485]
18246         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18247         main case of finite arguments, set rounding mode to FE_TONEAREST
18248         and discard exceptions.
18249         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18250         exceptions.
18251         (remainder_tonearest_test_data): New variable.
18252         (remainder_test_tonearest): New function.
18253         (remainder_towardzero_test_data): New variable.
18254         (remainder_test_towardzero): New function.
18255         (remainder_downward_test_data): New variable.
18256         (remainder_test_downward): New function.
18257         (remainder_upward_test_data): New variable.
18258         (remainder_test_upward): New function.
18259         (main): Call the new test functions.
18261         * math/libm-test.inc (struct test_f_f1_data): Remove field
18262         extra_init.
18263         (struct test_fF_f1_data): Likewise.
18264         (struct test_ffI_f1_data): Likewise.
18265         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18266         based on value of EXTRA_EXPECTED.
18267         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18268         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18269         EXTRA_VAR based on value of EXTRA_EXPECTED.
18270         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18271         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18272         EXTRA_VAR based on value of EXTRA_EXPECTED.
18273         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18274         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18275         EXTRA_VAR based on value of EXTRA_EXPECTED.
18276         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18277         * math/gen-libm-test.pl (parse_args): Don't output initializers
18278         for extra output values.
18280         * math/libm-test.inc (check_int): Expect result to be exactly
18281         equal to expected value and do not handle ulps.
18282         (check_long): Likewise.
18283         (check_longlong): Likewise.
18285         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18286         exceptions.
18287         (cimag_test_data): Likewise.
18288         (conj_test_data): Likewise.
18289         (copysign_test_data): Likewise.
18290         (cproj_test_data): Likewise.
18291         (creal_test_data): Likewise.
18292         (fabs_test_data): Likewise.
18293         (fdim_test_data): Likewise.
18294         (finite_test_data): Likewise.
18295         (floor_test_data): Likewise.
18296         (fmax_test_data): Likewise.
18297         (fmin_test_data): Likewise.
18298         (fmod_test_data): Likewise.
18299         (fpclassify_test_data): Likewise.
18300         (frexp_test_data): Likewise.
18301         (ilogb_test_data): Likewise.
18302         (isfinite_test_data): Likewise.
18303         (isgreater_test_data): Likewise.
18304         (isgreaterequal_test_data): Likewise.
18305         (isinf_test_data): Likewise.
18306         (isless_test_data): Likewise.
18307         (islessequal_test_data): Likewise.
18308         (islessgreater_test_data): Likewise.
18309         (isnan_test_data): Likewise.
18310         (isnormal_test_data): Likewise.
18311         (issignaling_test_data): Likewise.
18312         (isunordered_test_data): Likewise.
18313         (ldexp_test_data): Likewise.
18314         (lrint_test_data): Likewise.
18315         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18316         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18317         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18318         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18319         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18320         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18321         test input.
18322         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18323         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18324         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18325         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18326         that test input.
18327         (lrint_downward_test_data): Test for "inexact" exceptions.
18328         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18329         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18330         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18331         test input.
18332         (lrint_upward_test_data): Test for "inexact" exceptions.
18333         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18334         test input.
18335         (llrint_test_data): Test for "inexact" exceptions.
18336         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18337         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18338         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18339         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18340         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18341         (llrint_downward_test_data): Test for "inexact" exceptions.
18342         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18343         (llrint_upward_test_data): Test for "inexact" exceptions.
18344         (logb_test_data): Likewise.
18345         (logb_downward_test_data): Likewise.
18346         (nextafter_test_data): Likewise.
18347         (nexttoward_test_data): Likewise.
18348         (remainder_test_data): Likewise.
18349         (remquo_test_data): Likewise.
18350         (scalbn_test_data): Likewise.
18351         (scalbln_test_data): Likewise.
18352         (signbit_test_data): Likewise.
18353         (sqrt_test_data): Likewise.
18354         (significand_test_data): Likewise.
18356 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18358         [BZ #15424]
18359         * benchtests/bench-modf.c (struct args): Mark arg0 as
18360         volatile.
18361         * scripts/bench.pl: Mark members of struct args as volatile.
18363 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18365         [BZ # 15497]
18366         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18367         negative infinity on POWER6 or lower.
18368         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18370 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18372         [BZ #15442]
18373         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18374         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18375         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18376         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18377         (_FP_SETQNAN): New macro.
18378         (_FP_SETQNAN_SEMIRAW): Likewise.
18379         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18380         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18381         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18382         (FP_EXTEND): Use _FP_FRAC_SNANP.
18383         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18384         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18385         into account.
18386         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18387         New macro.
18388         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18389         Likewise.
18391 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18393         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18394         with DIVIDE_BY_ZERO_EXCEPTION.
18395         (gamma_test_data): Likewise.
18396         (lgamma_test_data): Likewise.
18397         (log_test_data): Likewise.
18398         (log10_test_data): Likewise.
18399         (log2_test_data): Likewise.
18400         (tgamma_test_data): Likewise.
18402         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18403         (acos_test_tonearest): Likewise.
18404         (acos_test_towardzero): Likewise.
18405         (acos_test_downward): Likewise.
18406         (acos_test_upward): Likewise.
18407         (acosh_test): Likewise.
18408         (asin_test): Likewise.
18409         (asin_test_tonearest): Likewise.
18410         (asin_test_towardzero): Likewise.
18411         (asin_test_downward): Likewise.
18412         (asin_test_upward): Likewise.
18413         (asinh_test): Likewise.
18414         (atan_test): Likewise.
18415         (atanh_test): Likewise.
18416         (atan2_test): Likewise.
18417         (cabs_test): Likewise.
18418         (cacos_test): Likewise.
18419         (cacosh_test): Likewise.
18420         (casin_test): Likewise.
18421         (casinh_test): Likewise.
18422         (catan_test): Likewise.
18423         (catanh_test): Likewise.
18424         (cbrt_test): Likewise.
18425         (ccos_test): Likewise.
18426         (ccosh_test): Likewise.
18427         (cexp_test): Likewise.
18428         (clog_test): Likewise.
18429         (clog10_test): Likewise.
18430         (cos_test): Likewise.
18431         (cos_test_tonearest): Likewise.
18432         (cos_test_towardzero): Likewise.
18433         (cos_test_downward): Likewise.
18434         (cos_test_upward): Likewise.
18435         (cosh_test): Likewise.
18436         (cosh_test_tonearest): Likewise.
18437         (cosh_test_towardzero): Likewise.
18438         (cosh_test_downward): Likewise.
18439         (cosh_test_upward): Likewise.
18440         (cpow_test): Likewise.
18441         (csin_test): Likewise.
18442         (csinh_test): Likewise.
18443         (csqrt_test): Likewise.
18444         (ctan_test): Likewise.
18445         (ctan_test_tonearest): Likewise.
18446         (ctan_test_towardzero): Likewise.
18447         (ctan_test_downward): Likewise.
18448         (ctan_test_upward): Likewise.
18449         (ctanh_test): Likewise.
18450         (ctanh_test_tonearest): Likewise.
18451         (ctanh_test_towardzero): Likewise.
18452         (ctanh_test_downward): Likewise.
18453         (ctanh_test_upward): Likewise.
18454         (erf_test): Likewise.
18455         (erfc_test): Likewise.
18456         (exp_test): Likewise.
18457         (exp_test_tonearest): Likewise.
18458         (exp_test_towardzero): Likewise.
18459         (exp_test_downward): Likewise.
18460         (exp_test_upward): Likewise.
18461         (exp10_test): Likewise.
18462         (exp2_test): Likewise.
18463         (expm1_test): Likewise.
18464         (fmod_test): Likewise.
18465         (gamma_test): Likewise.
18466         (hypot_test): Likewise.
18467         (j0_test): Likewise.
18468         (j1_test): Likewise.
18469         (jn_test): Likewise.
18470         (lgamma_test): Likewise.
18471         (log_test): Likewise.
18472         (log10_test): Likewise.
18473         (log1p_test): Likewise.
18474         (log2_test): Likewise.
18475         (logb_test_downward): Likewise.
18476         (pow_test): Likewise.
18477         (pow_test_tonearest): Likewise.
18478         (pow_test_towardzero): Likewise.
18479         (pow_test_downward): Likewise.
18480         (pow_test_upward): Likewise.
18481         (remainder_test): Likewise.
18482         (remquo_test): Likewise.
18483         (sin_test): Likewise.
18484         (sin_test_tonearest): Likewise.
18485         (sin_test_towardzero): Likewise.
18486         (sin_test_downward): Likewise.
18487         (sin_test_upward): Likewise.
18488         (sincos_test): Likewise.
18489         (sinh_test): Likewise.
18490         (sinh_test_tonearest): Likewise.
18491         (sinh_test_towardzero): Likewise.
18492         (sinh_test_downward): Likewise.
18493         (sinh_test_upward): Likewise.
18494         (sqrt_test): Likewise.
18495         (tan_test): Likewise.
18496         (tan_test_tonearest): Likewise.
18497         (tan_test_towardzero): Likewise.
18498         (tan_test_downward): Likewise.
18499         (tan_test_upward): Likewise.
18500         (tanh_test): Likewise.
18501         (tgamma_test): Likewise.
18502         (y0_test): Likewise.
18503         (y1_test): Likewise.
18504         (yn_test): Likewise.
18506         * math/gen-libm-test.pl (adjust_arg): Remove function.
18507         (special_function): Remove argument $in_func.  Only handle
18508         generating output for tables of tests, not inside functions.
18509         (parse_args): Likewise.
18510         (generate_testfile): Remove variable $in_func.  Update call to
18511         parse_args.
18512         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18513         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18514         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18515         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18516         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18517         (MAX_VALUE_INIT): Rename macro to max_value.
18518         (MIN_VALUE_INIT): Rename macro to min_value.
18519         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18520         (plus_zero): Remove variable.
18521         (minus_zero): Likewise.
18522         (plus_infty): Likewise.
18523         (minus_infty): Likewise.
18524         (qnan_value): Likewise.
18525         (max_value): Likewise.
18526         (min_value): Likewise.
18527         (min_subnorm_value): Likewise.
18529 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18531         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18532         uint64_t or uint32_t usage.
18533         * crypt/sha256-block.c: Likewise.
18534         * crypt/sha256-crypt.c: Likewise.
18535         * crypt/sha256.c: Likewise.
18536         * crypt/sha512-block.c: Likewise.
18537         * crypt/sha512-crypt.c: Likewise.
18538         * crypt/sha512.c: Likewise.
18539         * debug/backtrace-tst.c: Likewise.
18540         * debug/pcprofiledump.c: Likewise.
18541         * elf/cache.c: Likewise.
18542         * elf/dl-cache.c: Likewise.
18543         * elf/dl-misc.c: Likewise.
18544         * elf/dl-profile.c: Likewise.
18545         * elf/dl-support.c: Likewise.
18546         * elf/ldconfig.c: Likewise.
18547         * elf/sprof.c: Likewise.
18548         * iconv/dummy-repertoire.c: Likewise.
18549         * iconv/iconv_charmap.c: Likewise.
18550         * iconv/skeleton.c: Likewise.
18551         * iconvdata/8bit-generic.c: Likewise.
18552         * iconvdata/cp737.h: Likewise.
18553         * iconvdata/cp775.h: Likewise.
18554         * iconvdata/ibm1008.h: Likewise.
18555         * iconvdata/ibm1025.h: Likewise.
18556         * iconvdata/ibm1046.h: Likewise.
18557         * iconvdata/ibm1097.h: Likewise.
18558         * iconvdata/ibm1112.h: Likewise.
18559         * iconvdata/ibm1122.h: Likewise.
18560         * iconvdata/ibm1123.h: Likewise.
18561         * iconvdata/ibm1124.h: Likewise.
18562         * iconvdata/ibm1129.h: Likewise.
18563         * iconvdata/ibm1130.h: Likewise.
18564         * iconvdata/ibm1132.h: Likewise.
18565         * iconvdata/ibm1133.h: Likewise.
18566         * iconvdata/ibm1137.h: Likewise.
18567         * iconvdata/ibm1140.h: Likewise.
18568         * iconvdata/ibm1141.h: Likewise.
18569         * iconvdata/ibm1142.h: Likewise.
18570         * iconvdata/ibm1143.h: Likewise.
18571         * iconvdata/ibm1144.h: Likewise.
18572         * iconvdata/ibm1145.h: Likewise.
18573         * iconvdata/ibm1146.h: Likewise.
18574         * iconvdata/ibm1147.h: Likewise.
18575         * iconvdata/ibm1148.h: Likewise.
18576         * iconvdata/ibm1149.h: Likewise.
18577         * iconvdata/ibm1153.h: Likewise.
18578         * iconvdata/ibm1154.h: Likewise.
18579         * iconvdata/ibm1155.h: Likewise.
18580         * iconvdata/ibm1156.h: Likewise.
18581         * iconvdata/ibm1157.h: Likewise.
18582         * iconvdata/ibm1158.h: Likewise.
18583         * iconvdata/ibm1160.h: Likewise.
18584         * iconvdata/ibm1161.h: Likewise.
18585         * iconvdata/ibm1162.h: Likewise.
18586         * iconvdata/ibm1163.h: Likewise.
18587         * iconvdata/ibm1164.h: Likewise.
18588         * iconvdata/ibm1166.h: Likewise.
18589         * iconvdata/ibm1167.h: Likewise.
18590         * iconvdata/ibm12712.h: Likewise.
18591         * iconvdata/ibm1390.h: Likewise.
18592         * iconvdata/ibm1399.h: Likewise.
18593         * iconvdata/ibm16804.h: Likewise.
18594         * iconvdata/ibm4517.h: Likewise.
18595         * iconvdata/ibm4899.h: Likewise.
18596         * iconvdata/ibm4909.h: Likewise.
18597         * iconvdata/ibm4971.h: Likewise.
18598         * iconvdata/ibm5347.h: Likewise.
18599         * iconvdata/ibm803.h: Likewise.
18600         * iconvdata/ibm856.h: Likewise.
18601         * iconvdata/ibm901.h: Likewise.
18602         * iconvdata/ibm902.h: Likewise.
18603         * iconvdata/ibm9030.h: Likewise.
18604         * iconvdata/ibm9066.h: Likewise.
18605         * iconvdata/ibm921.h: Likewise.
18606         * iconvdata/ibm922.h: Likewise.
18607         * iconvdata/ibm9448.h: Likewise.
18608         * iconvdata/isiri-3342.h: Likewise.
18609         * iconvdata/jis0201.h: Likewise.
18610         * include/link.h: Likewise.
18611         * include/netdb.h: Likewise.
18612         * inet/check_native.c: Likewise.
18613         * inet/check_pf.c: Likewise.
18614         * inet/getipv4sourcefilter.c: Likewise.
18615         * inet/getnameinfo.c: Likewise.
18616         * inet/getsourcefilter.c: Likewise.
18617         * inet/htonl.c: Likewise.
18618         * inet/setipv4sourcefilter.c: Likewise.
18619         * inet/setsourcefilter.c: Likewise.
18620         * inet/test-inet6_opt.c: Likewise.
18621         * inet/tst-network.c: Likewise.
18622         * locale/C-collate.c: Likewise.
18623         * locale/C-ctype.c: Likewise.
18624         * locale/C-time.c: Likewise.
18625         * locale/C-translit.h: Likewise.
18626         * locale/loadarchive.c: Likewise.
18627         * locale/programs/3level.h: Likewise.
18628         * locale/programs/charmap.c: Likewise.
18629         * locale/programs/charmap.h: Likewise.
18630         * locale/programs/ld-address.c: Likewise.
18631         * locale/programs/ld-collate.c: Likewise.
18632         * locale/programs/ld-ctype.c: Likewise.
18633         * locale/programs/ld-identification.c: Likewise.
18634         * locale/programs/ld-measurement.c: Likewise.
18635         * locale/programs/ld-messages.c: Likewise.
18636         * locale/programs/ld-monetary.c: Likewise.
18637         * locale/programs/ld-name.c: Likewise.
18638         * locale/programs/ld-numeric.c: Likewise.
18639         * locale/programs/ld-paper.c: Likewise.
18640         * locale/programs/ld-telephone.c: Likewise.
18641         * locale/programs/ld-time.c: Likewise.
18642         * locale/programs/linereader.c: Likewise.
18643         * locale/programs/locale.c: Likewise.
18644         * locale/programs/locarchive.c: Likewise.
18645         * locale/programs/locfile.h: Likewise.
18646         * locale/programs/repertoire.c: Likewise.
18647         * locale/programs/simple-hash.c: Likewise.
18648         * locale/programs/simple-hash.h: Likewise.
18649         * malloc/memusage.c: Likewise.
18650         * malloc/memusagestat.c: Likewise.
18651         * nis/nis_defaults.c: Likewise.
18652         * nis/nis_hash.c: Likewise.
18653         * nis/nis_print.c: Likewise.
18654         * nis/nis_xdr.c: Likewise.
18655         * nscd/connections.c: Likewise.
18656         * nscd/hstcache.c: Likewise.
18657         * nscd/nscd_gethst_r.c: Likewise.
18658         * nscd/nscd_getserv_r.c: Likewise.
18659         * nscd/nscd_helper.c: Likewise.
18660         * nscd/servicescache.c: Likewise.
18661         * nss/makedb.c: Likewise.
18662         * nss/nss_db/db-XXX.c: Likewise.
18663         * nss/nss_db/db-initgroups.c: Likewise.
18664         * nss/nss_db/db-netgrp.c: Likewise.
18665         * nss/nss_files/files-network.c: Likewise.
18666         * nss/nss_files/files-parse.c: Likewise.
18667         * posix/bug-regex5.c: Likewise.
18668         * posix/fnmatch_loop.c: Likewise.
18669         * posix/regcomp.c: Likewise.
18670         * posix/regexec.c: Likewise.
18671         * posix/tst-rfc3484-2.c: Likewise.
18672         * posix/tst-rfc3484-3.c: Likewise.
18673         * posix/tst-rfc3484.c: Likewise.
18674         * resolv/nss_dns/dns-canon.c: Likewise.
18675         * resolv/nss_dns/dns-network.c: Likewise.
18676         * resolv/res_init.c: Likewise.
18677         * resolv/res_mkquery.c: Likewise.
18678         * resolv/tst-aton.c: Likewise.
18679         * stdlib/cxa_atexit.c: Likewise.
18680         * stdlib/cxa_finalize.c: Likewise.
18681         * stdlib/gen-fpioconst.c: Likewise.
18682         * stdlib/strtol_l.c: Likewise.
18683         * string/tst-endian.c: Likewise.
18684         * sunrpc/auth_des.c: Likewise.
18685         * sunrpc/clnt_udp.c: Likewise.
18686         * sunrpc/rtime.c: Likewise.
18687         * sunrpc/svcauth_des.c: Likewise.
18688         * sunrpc/xdr.c: Likewise.
18689         * sunrpc/xdr_intXX_t.c: Likewise.
18690         * sunrpc/xdr_rec.c: Likewise.
18691         * sysdeps/generic/ldconfig.h: Likewise.
18692         * sysdeps/generic/ldsodefs.h: Likewise.
18693         * sysdeps/generic/memusage.h: Likewise.
18694         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18695         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18696         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18697         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18698         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18700         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18701         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18702         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18703         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18704         * sysdeps/posix/getaddrinfo.c: Likewise.
18705         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18706         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18707         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18708         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18709         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18710         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18711         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18712         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18713         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18714         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18715         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18716         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18717         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18718         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18719         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18720         * sysdeps/x86_64/dl-tls.h: Likewise.
18721         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18722         * time/alt_digit.c: Likewise.
18723         * time/era.c: Likewise.
18724         * wcsmbs/tst-c16c32-1.c: Likewise.
18726 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18728         * math/libm-test.inc (struct test_sincos_data): New type.
18729         (RUN_TEST_LOOP_sincos): New macro.
18730         (sincos_test_data): New variable.
18731         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18733 2013-05-16  Richard Henderson  <rth@redhat.com>
18735         * math/atest-exp2.c (LIMB64): New macro.
18736         (CONSTSZ): New macro.
18737         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18738         (hexdig): Move ...
18739         (print_mpn_fp): ... to function scope.
18740         (read_mpn_hex): Remove.
18741         (get_log2): Remove.
18742         (exp2_mpn): Use mp_log2.
18743         (main): Use mp_exp1.
18745 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18747         * math/libm-test.inc: Remove comment about not testing "inexact"
18748         exceptions.
18749         (INEXACT_EXCEPTION): New macro.
18750         (NO_INEXACT_EXCEPTION): Likewise.
18751         (INVALID_EXCEPTION_OK): Update value.
18752         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18753         (OVERFLOW_EXCEPTION_OK): Likewise.
18754         (UNDERFLOW_EXCEPTION_OK): Likewise.
18755         (IGNORE_ZERO_INF_SIGN): Likewise.
18756         (ERRNO_UNCHANGED): Likewise.
18757         (ERRNO_EDOM): Likewise.
18758         (ERRNO_ERANGE): Likewise.
18759         (test_exceptions): Handle testing "inexact" exceptions.
18760         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18761         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18762         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18763         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18764         INEXACT_EXCEPTION.
18765         (rint_towardzero_test_data): Likewise.
18766         (rint_downward_test_data): Likewise.
18767         (rint_upward_test_data): Likewise.
18769         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18770         with OVERFLOW_EXCEPTION.
18771         (exp10_test_data): Likewise.
18772         (exp2_test_data): Likewise.
18773         (expm1_test_data): Likewise.
18774         (lgamma_test_data): Likewise.
18775         (pow_test_data): Likewise.
18776         (tgamma_test_data): Likewise.
18777         (yn_test_data): Remove duplicate test of overflow.
18779         * math/libm-test.inc (struct test_cc_c_data): New type.
18780         (RUN_TEST_LOOP_cc_c): New macro.
18781         (cpow_test_data): New variable.
18782         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18784         * math/libm-test.inc (struct test_f_L_data): New type.
18785         (RUN_TEST_LOOP_f_L): New macro.
18786         (llrint_test_data): New variable.
18787         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18788         (llrint_tonearest_test_data): New variable.
18789         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18790         (llrint_towardzero_test_data): New variable.
18791         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18792         (llrint_downward_test_data): New variable.
18793         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18794         (llrint_upward_test_data): New variable.
18795         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18796         (llround_test_data): New variable.
18797         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18799 2013-05-13  Peter Collingbourne  <pcc@google.com>
18801         * math/atest-exp2.c (get_log2): Remove const attribute.
18803 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18805         * math/libm-test.inc (struct test_f_l_data): New type.
18806         (RUN_TEST_LOOP_f_l): New macro.
18807         (lrint_test_data): New variable.
18808         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18809         (lrint_tonearest_test_data): New variable.
18810         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18811         (lrint_towardzero_test_data): New variable.
18812         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18813         (lrint_downward_test_data): New variable.
18814         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18815         (lrint_upward_test_data): New variable.
18816         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18817         (lround_test_data): New variable.
18818         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18820 2013-05-15  Peter Collingbourne  <pcc@google.com>
18822         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18823         (EXTRACT_WORDS64) Use where appropriate.
18824         (INSERT_WORDS64) Likewise.
18826         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18827         constraints with x constraints.
18828         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18830         * malloc/obstack.c (_obstack_compat): Add initializer.
18832 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18834         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18835         si_trapno and add si_addr_lsb to _sifields.sigfault.
18836         (si_trapno): Remove macro.
18837         (si_addr_lsb): Define new macro.
18838         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18840 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18842         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18843         instead of TEST_f_l.
18844         (llrint_test_tonearest): Likewise.
18845         (llrint_test_towardzero): Likewise.
18846         (llrint_test_downward): Likewise.
18847         (llrint_test_upward): Likewise.
18848         (llround_test): Likewise.
18850         * math/libm-test.inc (struct test_f_i_data): Add comment.
18851         (RUN_TEST_LOOP_f_b): New macro.
18852         (RUN_TEST_LOOP_f_b_tg): Likewise.
18853         (finite_test_data): New variable.
18854         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18855         (isfinite_test_data): New variable.
18856         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18857         (isinf_test_data): New variable.
18858         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18859         (isnan_test_data): New variable.
18860         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18861         (isnormal_test_data): New variable.
18862         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18863         (issignaling_test_data): New variable.
18864         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18865         (signbit_test_data): New variable.
18866         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18868         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18869         with INVALID_EXCEPTION.
18870         (acosh_test_data): Likewise.
18871         (asin_test_data): Likewise.
18872         (atanh_test_data): Likewise.
18873         (fmod_test_data): Likewise.
18874         (log_test_data): Likewise.
18875         (log10_test_data): Likewise.
18876         (log2_test_data): Likewise.
18877         (pow_test_data): Likewise.
18878         (sqrt_test_data): Likewise.
18879         (y0_test_data): Likewise.
18880         (y1_test_data): Likewise.
18881         (yn_test_data): Likewise.
18883         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18884         function contents.
18886         * math/libm-test.inc (struct test_ff_i_data): New type.
18887         (RUN_TEST_LOOP_ff_i_tg): New macro.
18888         (isgreater_test_data): New variable.
18889         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18890         (isgreaterequal_test_data): New variable.
18891         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18892         (isless_test_data): New variable.
18893         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18894         (islessequal_test_data): New variable.
18895         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18896         (islessgreater_test_data): New variable.
18897         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18898         (isunordered_test_data): New variable.
18899         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
18901 2013-05-14  David S. Miller  <davem@davemloft.net>
18903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18905 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
18907         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
18909         * math/libm-test.inc (struct test_fF_f1_data): Change type of
18910         extra_test to int.
18911         (struct test_f_i_data): Change type of max_ulp to int.
18913         * math/libm-test.inc (test_ffI_f1_data): New type.
18914         (RUN_TEST_LOOP_ffI_f1): New macro.
18915         (remquo_test_data): New variable.
18916         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
18918         * setjmp/tst-setjmp-fp.c: New file.
18919         * setjmp/Makefile (tests): Add tst-setjmp-fp.
18920         (link-libm): New variable.
18921         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
18923         * math/libm-test.inc (struct test_f_i_data): New type.
18924         (RUN_TEST_LOOP_f_i): New macro.
18925         (RUN_TEST_LOOP_f_i_tg): Likewise.
18926         (fpclassify_test_data): New variable.
18927         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
18928         (ilogb_test_data): New variable.
18929         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
18931         * math/libm-test.inc (scalbln_test): Correct function name in END
18932         call.
18934         * math/libm-test.inc (struct test_f_f1_data): Add comment.
18935         (RUN_TEST_LOOP_fI_f1): New macro.
18936         (frexp_test_data): New variable.
18937         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
18939         * math/libm-test.inc (struct test_fF_f1_data): New type.
18940         (RUN_TEST_LOOP_fF_f1): New macro.
18941         (modf_test_data): New variable.
18942         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
18944         * math/libm-test.inc (struct test_f_f1_data): New type.
18945         (RUN_TEST_LOOP_f_f1): New macro.
18946         (gamma_test_data): New variable.
18947         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18948         (lgamma_test_data): New variable.
18949         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
18951 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
18953         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
18954         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
18955         (main): Comment "tls" pseudo-hwcap.
18957 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
18959         * math/libm-test.inc (struct test_fl_f_data): New type.
18960         (RUN_TEST_LOOP_fl_f): New variable.
18961         (scalbln_test_data): New variable.
18962         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
18964         * math/libm-test.inc (struct test_fi_f_data): New type.
18965         (RUN_TEST_LOOP_fi_f): New macro.
18966         (ldexp_test_data): New variable.
18967         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
18968         (scalbn_test_data): New variable.
18969         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
18971         * math/libm-test.inc (struct test_c_f_data): New type.
18972         (RUN_TEST_LOOP_c_f): New macro.
18973         (cabs_test_data): New variable.
18974         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
18975         (carg_test_data): New variable.
18976         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
18977         (cimag_test_data): New variable.
18978         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
18979         (creal_test_data): New variable.
18980         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
18982         * math/libm-test.inc (struct test_if_f_data): New type.
18983         (RUN_TEST_LOOP_if_f): New macro.
18984         (jn_test_data): New variable.
18985         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
18986         (yn_test_data): New variable.
18987         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
18989         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
18991 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18993         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
18994         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
18996 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18998         * benchtests/Makefile (CPPFLAGS-nonlib): Add
18999         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19000         (bench-deps): Add bench-timing.h.
19001         * benchtests-bench-skeleton.c: Include bench-timing.h.
19002         (main): Use TIMING_* macros instead of clock_gettime.
19003         * benchtests/bench-timing.h: New file.
19005         [BZ #14582]
19006         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19007         Renamed from _LIB_VERSION.
19008         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19010 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19012         * math/libm-test.inc (struct test_fff_f_data): New type.
19013         (RUN_TEST_LOOP_fff_f): New macro.
19014         (fma_test_data): New variable.
19015         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19016         (fma_towardzero_test_data): New variable.
19017         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19018         (fma_downward_test_data): New variable.
19019         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19020         (fma_upward_test_data): New variable.
19021         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19023         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19024         (struct test_c_c_data): New type.
19025         (RUN_TEST_LOOP_c_c): New macro.
19026         (cacos_test_data): New variable.
19027         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19028         (cacosh_test_data): New variable.
19029         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19030         (casin_test_data): New variable.
19031         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19032         (casinh_test_data): New variable.
19033         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19034         (catan_test_data): New variable.
19035         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19036         (catanh_test_data): New variable.
19037         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19038         (ccos_test_data): New variable.
19039         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19040         (ccosh_test_data): New variable.
19041         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19042         (cexp_test_data): New variable.
19043         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19044         (clog_test_data): New variable.
19045         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19046         (clog10_test_data): New variable.
19047         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19048         (conj_test_data): New variable.
19049         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19050         (cproj_test_data): New variable.
19051         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19052         (csin_test_data): New variable.
19053         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19054         (csinh_test_data): New variable.
19055         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19056         (csqrt_test_data): New variable.
19057         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19058         (ctan_test_data): New variable.
19059         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19060         (ctan_tonearest_test_data): New variable.
19061         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19062         (ctan_towardzero_test_data): New variable.
19063         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19064         (ctan_downward_test_data): New variable.
19065         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19066         (ctan_upward_test_data): New variable.
19067         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19068         (ctanh_test_data): New variable.
19069         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19070         (ctanh_tonearest_test_data): New variable.
19071         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19072         (ctanh_towardzero_test_data): New variable.
19073         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19074         (ctanh_downward_test_data): New variable.
19075         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19076         (ctanh_upward_test_data): New variable.
19077         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19078         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19079         of BUILD_COMPLEX.
19081         * math/libm-test.inc (struct test_ff_f_data): New type.
19082         (struct test_ff_f_data_nexttoward): Likewise.
19083         (RUN_TEST_LOOP_2_f): New macro.
19084         (RUN_TEST_LOOP_ff_f): Likewise.
19085         (atan2_test_data): New variable.
19086         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19087         (copysign_test_data): New variable.
19088         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19089         (fdim_test_data): New variable.
19090         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19091         (fmax_test_data): New variable.
19092         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19093         (fmin_test_data): New variable.
19094         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19095         (fmod_test_data): New variable.
19096         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19097         (hypot_test_data): New variable.
19098         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19099         (nextafter_test_data): New variable.
19100         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19101         (nexttoward_test_data): New variable.
19102         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19103         (pow_test_data): New variable.
19104         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19105         (pow_tonearest_test_data): New variable.
19106         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19107         (pow_towardzero_test_data): New variable.
19108         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19109         (pow_downward_test_data): New variable.
19110         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19111         (pow_upward_test_data): New variable.
19112         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19113         (remainder_test_data): New variable.
19114         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19115         (scalb_test_data): New variable.
19116         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19117         * sysdeps/i386/fpu/libm-test-ulps: Update.
19119 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19121         * math/libm-test.inc (fma_test): Use max_value instead of local
19122         variable fltmax.
19123         (nextafter_test): Likewise.
19125         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19126         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19127         (acos_downward_test_data): New variable.
19128         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19129         (acos_upward_test_data): New variable.
19130         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19131         (acosh_test_data): New variable.
19132         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19133         (asin_test_data): New variable.
19134         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19135         (asin_tonearest_test_data): New variable.
19136         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19137         (asin_towardzero_test_data): New variable.
19138         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19139         (asin_downward_test_data): New variable.
19140         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19141         (asin_upward_test_data): New variable.
19142         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19143         (asinh_test_data): New variable.
19144         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19145         (atan_test_data): New variable.
19146         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19147         (atanh_test_data): New variable.
19148         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19149         (cbrt_test_data): New variable.
19150         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19151         (ceil_test_data): New variable.
19152         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19153         (cos_test_data): New variable.
19154         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19155         (cos_tonearest_test_data): New variable.
19156         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19157         (cos_towardzero_test_data): New variable.
19158         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19159         (cos_downward_test_data): New variable.
19160         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19161         (cos_upward_test_data): New variable.
19162         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19163         (cosh_test_data): New variable.
19164         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19165         (cosh_tonearest_test_data): New variable.
19166         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19167         (cosh_towardzero_test_data): New variable.
19168         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19169         (cosh_downward_test_data): New variable.
19170         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19171         (cosh_upward_test_data): New variable.
19172         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19173         (erf_test_data): New variable.
19174         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19175         (erfc_test_data): New variable.
19176         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19177         (exp_test_data): New variable.
19178         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19179         (exp_tonearest_test_data): New variable.
19180         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19181         (exp_towardzero_test_data): New variable.
19182         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19183         (exp_downward_test_data): New variable.
19184         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19185         (exp_upward_test_data): New variable.
19186         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19187         (exp10_test_data): New variable.
19188         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19189         (exp2_test_data): New variable.
19190         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19191         (expm1_test_data): New variable.
19192         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19193         (fabs_test_data): New variable.
19194         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19195         (floor_test_data): New variable.
19196         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19197         (j0_test_data): New variable.
19198         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19199         (j1_test_data): New variable.
19200         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19201         (log_test_data): New variable.
19202         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19203         (log10_test_data): New variable.
19204         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19205         (log1p_test_data): New variable.
19206         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19207         (log2_test_data): New variable.
19208         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19209         (logb_test_data): New variable.
19210         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19211         (logb_downward_test_data): New variable.
19212         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19213         (nearbyint_test_data): New variable.
19214         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19215         (rint_test_data): New variable.
19216         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19217         (rint_tonearest_test_data): New variable.
19218         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19219         (rint_towardzero_test_data): New variable.
19220         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19221         (rint_downward_test_data): New variable.
19222         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19223         (rint_upward_test_data): New variable.
19224         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19225         (round_test_data): New variable.
19226         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19227         (sin_test_data): New variable.
19228         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19229         (sin_tonearest_test_data): New variable.
19230         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19231         (sin_towardzero_test_data): New variable.
19232         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19233         (sin_downward_test_data): New variable.
19234         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19235         (sin_upward_test_data): New variable.
19236         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19237         (sinh_test_data): New variable.
19238         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19239         (sinh_tonearest_test_data): New variable.
19240         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19241         (sinh_towardzero_test_data): New variable.
19242         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19243         (sinh_downward_test_data): New variable.
19244         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19245         (sinh_upward_test_data): New variable.
19246         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19247         (sqrt_test_data): New variable.
19248         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19249         (tan_test_data): New variable.
19250         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19251         (tan_tonearest_test_data): New variable.
19252         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19253         (tan_towardzero_test_data): New variable.
19254         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19255         (tan_downward_test_data): New variable.
19256         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19257         (tan_upward_test_data): New variable.
19258         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19259         (tanh_test_data): New variable.
19260         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19261         (tgamma_test_data): New variable.
19262         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19263         (trunc_test_data): New variable.
19264         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19265         (y0_test_data): New variable.
19266         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19267         (y1_test_data): New variable.
19268         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19269         (significand_test_data): New variable.
19270         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19272 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19274         [BZ #12387]
19275         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19277 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19279         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19281 2013-05-10  Andreas Jaeger  <aj@suse.de>
19283         [BZ #15448]
19284         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19285         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19287 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19289         * math/gen-libm-test.pl (adjust_arg): New function.
19290         (special_functions): Handle generating output in both functions
19291         and arrays.
19292         (parse_args): Likewise.
19293         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19294         $in_func argument to parse_args.
19295         * math/libm-test.inc (struct test_f_f_data): New type.
19296         (IF_ROUND_INIT_): New macro.
19297         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19298         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19299         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19300         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19301         (ROUND_RESTORE_): Likewise.
19302         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19303         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19304         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19305         (ROUND_RESTORE_FE_UPWARD): Likewise.
19306         (RUN_TEST_LOOP_f_f): New macro.
19307         (acos_test_data): New variable.
19308         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19309         (acos_tonearest_test_data): New variable.
19310         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19312 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19314         * benchtests/bench-skeleton.c (startup): Fix coding style.
19316 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19318         [BZ #6809]
19319         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19320         negative infinity argument.
19321         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19322         negative infinity argument.
19323         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19324         negative infinity argument.
19325         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19326         domain errors.
19328 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19330         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19331         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19332         * iconv/iconv_prog.c (main): Likewise.
19333         * locale/programs/charmap-dir.c (charmap_readdir)
19334         (fopen_uncompressed): Likewise.
19335         * locale/programs/locfile.c (siblings_uncached)
19336         (write_locale_data): Use lstat64 instead of lstat.
19337         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19338         stat.
19340 2013-05-10  Andreas Jaeger  <aj@suse.de>
19342         [BZ #15395]
19343         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19344         localization.
19345         Include <locale.h>.
19347 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19349         * elf/dl-close.c (_dl_close_worker): Add comments.
19351 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19353         [BZ #15359]
19354         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19355         high part of pi/2.
19356         (__ieee754_rem_pio2l): Update comments.
19358         [BZ #15429]
19359         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19360         high part of pi/2.
19361         (__ieee754_rem_pio2l): Update comments.
19363         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19364         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19366         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19367         M_PI_4l.
19369         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19370         (M_PI_34_LOG10El): Likewise.
19371         (M_PI2_LOG10El): Likewise.
19372         (M_PI4_LOG10El): Likewise.
19373         (M_PI_LOG10El): Likewise.
19375 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19379 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19381         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19382         (MINUS_ZERO_INIT): Likewise.
19383         (PLUS_INFTY_INIT): Likewise.
19384         (MINUS_INFTY_INIT): Likewise.
19385         (QNAN_VALUE_INIT): Likewise.
19386         (MAX_VALUE_INIT): Likewise.
19387         (MIN_VALUE_INIT): Likewise.
19388         (MIN_SUBNORM_VALUE_INIT): Likewise.
19389         (plus_zero): Initialize with PLUS_ZERO_INIT.
19390         (minus_zero): Initialize with MINUS_ZERO_INIT.
19391         (plus_infty): Initialize with PLUS_INFTY_INIT.
19392         (minus_infty): Initialize with MINUS_INFTY_INIT.
19393         (qnan_value): Initialize with QNAN_VALUE_INIT.
19394         (max_value): Initialize with MAX_VALUE_INIT.
19395         (min_value): Initialize with MIN_VALUE_INIT.
19396         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19398         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19399         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19400         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19401         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19403         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19404         (RUN_TEST_2_f): Likewise.
19405         (RUN_TEST_ff_f): Likewise.
19406         (RUN_TEST_fi_f): Likewise.
19407         (RUN_TEST_fl_f): Likewise.
19408         (RUN_TEST_fff_f): Likewise.
19409         (RUN_TEST_c_f): Likewise.
19410         (RUN_TEST_f_f1): Likewise.
19411         (RUN_TEST_fF_f1): Likewise.
19412         (RUN_TEST_fI_f1): Likewise.
19413         (RUN_TEST_ffI_f1): Likewise.
19414         (RUN_TEST_c_c): Likewise.
19415         (RUN_TEST_cc_c): Likewise.
19416         (RUN_TEST_f_i): Likewise.
19417         (RUN_TEST_f_i_tg): Likewise.
19418         (RUN_TEST_ff_i_tg): Likewise.
19419         (RUN_TEST_f_b): Likewise.
19420         (RUN_TEST_f_b_tg): Likewise.
19421         (RUN_TEST_f_l): Likewise.
19422         (RUN_TEST_f_L): Likewise.
19423         (RUN_TEST_sincos): Likewise.
19424         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19425         whether to show exceptions.  Do not include ");\n" in return
19426         value.
19427         (special_functions): Output call to RUN_TEST_sincos instead of
19428         check_float calls.  Update calls to new_test.
19429         (parse_args): Output call to single RUN_TEST_* macro instead of
19430         check_* calls and other assignments.  Update calls to new_test.
19432         [BZ #2546]
19433         [BZ #2560]
19434         [BZ #5159]
19435         [BZ #15426]
19436         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19437         input to result for tgamma overflow.
19438         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19439         (gamma_coeff): New variable.
19440         (NCOEFF): New macro.
19441         (gamma_positive): New function.
19442         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19443         underflow here.  Use gamma_positive instead of exp (lgamma) for
19444         other arguments.
19445         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19446         (gamma_coeff): New variable.
19447         (NCOEFF): New macro.
19448         (gammaf_positive): New function.
19449         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19450         underflow here.  Use gamma_positive instead of exp (lgamma) for
19451         other arguments.
19452         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19453         (gamma_coeff): New variable.
19454         (NCOEFF): New macro.
19455         (gammal_positive): New function.
19456         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19457         underflow here.  Use gamma_positive instead of exp (lgamma) for
19458         other arguments.
19459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19460         (gamma_coeff): New variable.
19461         (NCOEFF): New macro.
19462         (gammal_positive): New function.
19463         (__ieee754_gammal_r): Handle positive infinity, overflow and
19464         underflow here.  Handle NaN the same as positive infinity.  Remove
19465         check x < 0xffffffff for negative integers.  Use gamma_positive
19466         instead of exp (lgamma) for other arguments.
19467         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19468         (gamma_coeff): New variable.
19469         (NCOEFF): New macro.
19470         (gammal_positive): New function.
19471         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19472         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19473         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19474         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19475         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19476         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19477         * sysdeps/generic/math_private.h (__gamma_productf): New
19478         prototype.
19479         (__gamma_product): Likewise.
19480         (__gamma_productl): Likewise.
19481         * math/Makefile (libm-calls): Add gamma_product.
19482         * math/libm-test.inc (tgamma_test): Add more tests.
19483         * sysdeps/i386/fpu/libm-test-ulps: Update.
19484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19486 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19488         * benchtests/bench-skeleton.c (main): Preheat CPU.
19490 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19492         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19494 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19496         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19497         and _dl_skip_args_internal.
19499 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19501         * manual/message.texi (Message Translation): Talk about users.
19502         Message to key mapping impacts design.
19504 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19506         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19508         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19510         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19511         * sysdeps/wordsize-64/glob64.c: ... here.
19513         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19514         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19515         New macros.
19517         * debug/getlogin_r_chk.c: Moved to ...
19518         * login/getlogin_r_chk.c: ... here.
19519         * debug/Makefile (routines): Move getlogin_r_chk to ...
19520         * login/Makefile (routines): ... here.
19521         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19522         * login/Versions (libc: GLIBC_2.4): ... here.
19524         * io/poll.c (__poll): Renamed from poll.
19525         Add libc_hidden_def.
19526         (poll): Define as weak alias.
19528         * debug/ptsname_r_chk.c: Moved to ...
19529         * login/ptsname_r_chk.c: ... here.
19530         * debug/Makefile (routines): Move ptsname_r_chk to ...
19531         * login/Makefile (routines): ... here.
19532         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19533         * login/Versions (libc: GLIBC_2.4): ... here.
19535         * posix/getlogin.c: Moved to ...
19536         * login/getlogin.c: ... here.
19537         * posix/getlogin_r.c: Moved to ...
19538         * login/getlogin_r.c: ... here.
19539         * posix/getlogin_r.c: Moved to ...
19540         * login/getlogin_r.c: ... here.
19541         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19542         * login/Makefile (routines): ... here.
19543         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19544         * login/Versions (libc: GLIBC_2.0): ... here.
19546         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19547         (setrlimit): Define as weak alias.
19549         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19550         Call __ names for open, ftruncate, and close.
19551         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19552         (truncate): Define as weak alias.
19554 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19556         * math/gen-libm-test.pl (parse_args): Initialize x before each
19557         test of frexp, modf and remquo.
19559         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19560         test signgam value.
19562 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19564         [BZ #15418]
19565         [BZ #15419]
19566         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19567         internal tests.
19568         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19570 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19572         * elf/dl-writev.h: New file.
19573         * elf/dl-misc.c: Include it.
19574         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19575         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19577 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19579         * math/libm-test.inc (noXFails): Remove variable.
19580         (noXPasses): Likewise.
19581         (BUILD_COMPLEX_INT): Remove macro.
19582         (print_screen): Remove xfail argument.
19583         (print_screen_max_error): Likewise.
19584         (update_stats): Likewise.
19585         (print_max_error): Likewise.  Update calls to other affected
19586         functions.
19587         (print_complex_max_error): Likewise.
19588         (test_single_exception): Update calls to print_screen.
19589         (test_single_errno): Likewise.
19590         (check_float_internal): Remove xfail argument.  Update calls to
19591         other affected functions.
19592         (check_float): Likewise.
19593         (check_complex): Likewise.
19594         (check_int): Likewise.
19595         (check_long): Likewise.
19596         (check_bool): Likewise.
19597         (check_longlong): Likewise.
19598         (main): Don't print noXFails and noXPasses.
19599         * math/gen-libm-test.pl (top level): Don't mention expected
19600         failure handling in comment.
19601         (new_test): Don't handle expected failures.
19602         (parse_args): Don't mention expected failure handling in comment.
19603         (generate_testfile): Don't handle expected failures.
19604         (parse_ulps): Likewise.
19605         (print_ulps_file): Likewise.
19606         (get_failure): Remove function.
19607         (output_test): Don't handle expected failures.
19608         * make/README.libm-test: Don't mention expected failure handling.
19610         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19611         (minus_zero): Likewise.
19612         (plus_infty): Likewise.
19613         (minus_infty): Likewise.
19614         (qnan_value): Likewise.
19615         (max_value): Likewise.
19616         (min_value): Likewise.
19617         (min_subnorm_value): Likewise.
19618         (initialize): Do not initialize those variables dynamically.
19620 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19622         * io/open.c (__open_2): Moved to ...
19623         * io/open_2.c: ... this new file.
19624         * io/open64.c (__open64_2): Moved to ...
19625         * io/open64_2.c: ... this new file.
19626         * io/openat.c (__openat_2): Moved to ...
19627         * io/openat_2.c: ... this new file.
19628         * io/openat64.c (__openat64_2): Moved to ...
19629         * io/openat64_2.c: ... this new file.
19630         * io/Makefile (routines): Add them.
19631         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19632         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19633         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19634         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19635         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19636         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19637         (__openat64): Add hidden_ver.
19638         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19639         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19641         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19642         Separately conditionalize setting of GLRO(dl_sysinfo) so
19643         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19644         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19646 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19648         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19649         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19650         definition.
19651         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19652         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19653         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19654         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19655         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19657 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19659         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19660         test signgam value.
19662         * math/libm-test.inc (hypot_test): Do not use
19663         IGNORE_ZERO_INF_SIGN.
19665 2013-05-03  Andreas Jaeger  <aj@suse.de>
19667         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19668         Linux 3.9.
19669         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19670         (PF_MAX): Adjust for VSOCK change.
19672 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19676 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19678         [BZ #15264]
19679         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19680         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19681         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19683 2013-05-02  David S. Miller  <davem@davemloft.net>
19685         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19687 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19689         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19691 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19693         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19695 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19697         [BZ #14952]
19698         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19699         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19700         Use __attribute__ ((__gnu_inline__)).
19701         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19702         Don't use __attribute__ ((__gnu_inline__)).
19704 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19706         [BZ #15423]
19707         * math/s_catan.c (__catan): Handle small real or imaginary part of
19708         input specially to avoid spurious underflow.
19709         * math/s_catanf.c (__catanf): Likewise.
19710         * math/s_catanh.c (__catanh): Likewise.
19711         * math/s_catanhf.c (__catanhf): Likewise.
19712         * math/s_catanhl.c (__catanhl): Likewise.
19713         * math/s_catanl.c (__catanl): Likewise.
19714         * math/libm-test.inc (catan_test): Add more tests.
19715         (catanh_test): Likewise.
19716         * sysdeps/i386/fpu/libm-test-ulps: Update.
19717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19719 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19723 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19725         [BZ #15416]
19726         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19727         accurately for denominator in atan2.
19728         * math/s_catanf.c (__catanf): Likewise.
19729         * math/s_catanh.c (__catanh): Likewise.
19730         * math/s_catanhf.c (__catanhf): Likewise.
19731         * math/s_catanhl.c (__catanhl): Likewise.
19732         * math/s_catanl.c (__catanl): Likewise.
19733         * math/libm-test.inc (catan_test): Add more tests.
19734         (catanh_test): Likewise.
19735         * sysdeps/i386/fpu/libm-test-ulps: Update.
19736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19738 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19740         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19742         * benchtests/Makefile (bench): Remove slow benchmarks.
19743         * benchtests/atan-inputs: Add slow benchmark inputs.
19744         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19745         (BENCH_FUNC): Accept variant offset.
19746         (VARIANT): Define.
19747         * benchtests/bench-skeleton.c (main): Run benchmark for each
19748         variant.
19749         * benchtests/cos-inputs: Add slow benchmark inputs.
19750         * benchtests/exp-inputs: Likewise.
19751         * benchtests/pow-inputs: Likewise.
19752         * benchtests/sin-inputs: Likewise.
19753         * benchtests/slowatan-inputs: Remove.
19754         * benchtests/slowatan.c: Remove.
19755         * benchtests/slowcos-inputs: Remove.
19756         * benchtests/slowcos.c: Remove.
19757         * benchtests/slowexp-inputs: Remove.
19758         * benchtests/slowexp.c: Remove.
19759         * benchtests/slowpow-inputs: Remove.
19760         * benchtests/slowpow.c: Remove.
19761         * benchtests/slowsin-inputs: Remove.
19762         * benchtests/slowsin.c: Remove.
19763         * benchtests/slowtan-inputs: Remove.
19764         * benchtests/slowtan.c: Remove.
19765         * benchtests/tan-inputs: Add slow benchmark inputs.
19766         * scripts/bench.pl: Parse comments and directives.
19768         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19769         in CPPFLAGS.
19770         ($(objpfx)bench-%.c): Remove *-ITER.
19771         * benchtests/bench-modf.c: Remove definition of ITER.
19772         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19773         (main): Loop for DURATION seconds instead of fixed number of
19774         iterations.
19775         * scripts/bench.pl: Don't expect iterations in parameters.
19777 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19779         * io/fchdir.c (__fchdir): Renamed from fchdir.
19780         (fchdir): Define as weak alias.
19782 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19784         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19785         (ERRNO_EDOM): Likewise.
19786         (ERRNO_ERANGE): Likewise.
19787         (noErrnoTests): New variable.
19788         (init_max_error): Set errno to 0.
19789         (test_single_errno): New function.
19790         (test_errno): Likewise.
19791         (check_float_internal): Call test_errno.  Set errno to 0.
19792         (check_complex): Refer to errno tests in comment.
19793         (check_int): Call test_errno.  Set errno to 0.
19794         (check_long): Likewise.
19795         (check_bool): Likewise.
19796         (check_longlong): Likewise.
19797         (cos_test): Use ERRNO_* flags for errno tests instead of
19798         check_int.
19799         (expm1_test): Likewise.
19800         (fmod_test): Likewise.
19801         (ilogb_test): Likewise.
19802         (lgamma_test): Likewise.
19803         (pow_test): Likewise.
19804         (remainder_test): Likewise.
19805         (sin_test): Likewise.
19806         (tan_test): Likewise.
19807         (yn_test): Likewise.
19808         (initialize): Set errno to 0.
19809         (main): Print number of errno tests.
19810         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19812 2013-04-29  Andreas Jaeger  <aj@suse.de>
19814         [BZ #15084]
19815         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19816         and RES_USEVC.
19818         [BZ #15085]
19819         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19820         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19821         unimplemented.
19823         [BZ #15380]
19824         * stdlib/random.c (__initstate): Return NULL if
19825         __initstate fails.
19827         [BZ #15086]
19828         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19829         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19830         RES_SNGLKUPREOP.
19832 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19836 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19838         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19839         of individual tests.
19840         (casin_test): Likewise.
19841         (casinh_test): Likewise.
19843 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19845         [BZ #15409]
19846         * math/s_catan.c (__catan): Handle arguments with large real or
19847         imaginary part separately without squaring.
19848         * math/s_catanf.c (__catanf): Likewise.
19849         * math/s_catanh.c (__catanh): Likewise.
19850         * math/s_catanhf.c (__catanhf): Likewise.
19851         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19852         and redefine.
19853         (__catanhl): Handle arguments with large real or imaginary part
19854         separately without squaring.
19855         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19856         and redefine.
19857         (__catanl): Handle arguments with large real or imaginary part
19858         separately without squaring.
19859         * math/libm-test.inc (catan_test): Add more tests.
19860         (catanh_test): Likewise.
19861         * sysdeps/i386/fpu/libm-test-ulps: Update.
19862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19864 2013-04-27  Andreas Jaeger  <aj@suse.de>
19866         [BZ #15007]
19867         * stdlib/stdlib.h: Update guards for qecvt.
19868         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19869         <stdlib.h>.
19871 2013-04-27  Allan McRae  <allan@archlinux.org>
19873         * sysdeps/i386/fpu/libm-test-ulps: Update.
19875 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19877         [BZ #15406]
19878         * math/s_catan.c: Include <float.h>.
19879         (__catan): Ensure underflow exception occurs for underflowed
19880         result.
19881         * math/s_catanf.c: Include <float.h>.
19882         (__catanf): Ensure underflow exception occurs for underflowed
19883         result.
19884         * math/s_catanh.c: Include <float.h>.
19885         (__catanh): Ensure underflow exception occurs for underflowed
19886         result.
19887         * math/s_catanhf.c: Include <float.h>.
19888         (__catanhf): Ensure underflow exception occurs for underflowed
19889         result.
19890         * math/s_catanhl.c: Include <float.h>.
19891         (__catanhl): Ensure underflow exception occurs for underflowed
19892         result.
19893         * math/s_catanl.c: Include <float.h>.
19894         (__catanl): Ensure underflow exception occurs for underflowed
19895         result.
19896         * math/libm-test.inc (catan_test): Add more tests.
19897         (catanh_test): Likewise.
19899         [BZ #15405]
19900         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
19901         underflowed result.
19902         * math/s_ccoshf.c (__ccoshf): Likewise.
19903         * math/s_ccoshl.c (__ccoshl): Likewise.
19904         * math/s_csin.c (__csin): Likewise.
19905         * math/s_csinf.c (__csinf): Likewise.
19906         * math/s_csinh.c (__csinh): Likewise.
19907         * math/s_csinhf.c (__csinhf): Likewise.
19908         * math/s_csinhl.c (__csinhl): Likewise.
19909         * math/s_csinl.c (__csinl): Likewise.
19910         * math/libm-test.inc (ccos_test): Add more tests.
19911         (ccosh_test): Likewise.
19912         (csin_test): Likewise.
19913         (csinh_test): Likewise.
19915 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19917         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
19918         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
19919         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
19920         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
19921         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
19922         powerpc/power5+/fpu folders.
19923         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
19926 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19930 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
19932         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
19933         additions to variable.
19934         [$(config-machine) = x86_64] (modules-names): Likewise.
19935         ($(objpfx)tst-audit3): Remove dependency.
19936         ($(objpfx)tst-audit3.out): Likewise.
19937         ($(objpfx)tst-audit4): Likewise.
19938         ($(objpfx)tst-audit4.out): Likewise.
19939         ($(objpfx)tst-audit5): Likewise.
19940         ($(objpfx)tst-audit5.out): Likewise.
19941         ($(objpfx)tst-audit6): Likewise.
19942         ($(objpfx)tst-audit6.out): Likewise.
19943         ($(objpfx)tst-audit7): Likewise.
19944         ($(objpfx)tst-audit7.out): Likewise.
19945         (tst-audit3-ENV): Remove variable.
19946         (tst-audit4-ENV): Likewise.
19947         (tst-audit5-ENV): Likewise.
19948         (tst-audit6-ENV): Likewise.
19949         (tst-audit7-ENV): Likewise.
19950         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
19951         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
19952         addition to variable.
19953         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
19954         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
19955         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
19956         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
19957         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
19958         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
19959         tst-audit3, tst-audit4 and tst-audit5.
19960         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
19961         tst-audit6 and tst-audit7.
19962         [$(subdir) = elf] (modules-names): Add audit modules for those
19963         tests.
19964         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
19965         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
19966         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
19967         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
19968         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
19969         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
19970         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
19971         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
19972         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
19973         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
19974         [$(subdir) = elf] (tst-audit3-ENV): New variable.
19975         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
19976         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
19977         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
19978         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
19979         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
19980         Likewise.
19981         [$(subdir) = elf && $(config-cflags-avx) = yes]
19982         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
19983         [$(subdir) = elf && $(config-cflags-avx) = yes]
19984         (CFLAGS-tst-auditmod4a.c): Likewise.
19985         [$(subdir) = elf && $(config-cflags-avx) = yes]
19986         (CFLAGS-tst-auditmod4b.c): Likewise.
19987         [$(subdir) = elf && $(config-cflags-avx) = yes]
19988         (CFLAGS-tst-auditmod6b.c): Likewise.
19989         [$(subdir) = elf && $(config-cflags-avx) = yes]
19990         (CFLAGS-tst-auditmod6c.c): Likewise.
19991         [$(subdir) = elf && $(config-cflags-avx) = yes]
19992         (CFLAGS-tst-auditmod7b.c): Likewise.
19993         * elf/tst-audit3.c: Move to ...
19994         * sysdeps/x86_64/tst-audit3.c: ... here.
19995         * elf/tst-audit4.c: Move to ...
19996         * sysdeps/x86_64/tst-audit4.c: ... here.
19997         * elf/tst-audit5.c: Move to ...
19998         * sysdeps/x86_64/tst-audit5.c: ... here.
19999         * elf/tst-audit6.c: Move to ...
20000         * sysdeps/x86_64/tst-audit6.c: ... here.
20001         * elf/tst-audit7.c: Move to ...
20002         * sysdeps/x86_64/tst-audit7.c: ... here.
20003         * elf/tst-auditmod3a.c: Move to ...
20004         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20005         * elf/tst-auditmod3b.c: Move to ...
20006         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20007         * elf/tst-auditmod4a.c: Move to ...
20008         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20009         * elf/tst-auditmod4b.c: Move to ...
20010         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20011         * elf/tst-auditmod5a.c: Move to ...
20012         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20013         * elf/tst-auditmod5b.c: Move to ...
20014         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20015         * elf/tst-auditmod6a.c: Move to ...
20016         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20017         * elf/tst-auditmod6b.c: Move to ...
20018         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20019         * elf/tst-auditmod6c.c: Move to ...
20020         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20021         * elf/tst-auditmod7a.c: Move to ...
20022         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20023         * elf/tst-auditmod7b.c: Move to ...
20024         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20026 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20028         [BZ #15366]
20029         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20030         define unconditionally.
20031         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20032         define unconditionally.
20033         (INT8_C, INT16_C, etc.): Likewise.
20035 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20037         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20038         __ehdr_start with hidden visibility.
20040         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20042 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20044         * math/libm-test.inc (cos_test): Use accurate hex constants.
20045         (sincost_test): Likewise.
20047 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20049         * math/libm-test.inc (catan_test): Add more tests.
20050         (catanh_test): Likewise.
20052         * math/s_catanf.c (__catanf): Use suffixed floating-point
20053         constants.
20054         * math/s_catanhf.c (__catanhf): Likewise.
20055         * math/s_catanhl.c (__catanhl): Likewise.
20056         * math/s_catanl.c (__catanl): Likewise.
20058         [BZ #15394]
20059         * math/s_catan.c (__catan): Calculate imaginary part of result
20060         with log1p not log unless computing log of number close to 0.
20061         * math/s_catanf.c (__catanf): Likewise.
20062         * math/s_catanl.c (__catanl): Likewise.
20063         * math/s_catanh.c (__catanh): Calculate real part of result with
20064         log1p not log unless computing log of number close to 0.
20065         * math/s_catanhf.c (__catanhf): Likewise.
20066         * math/s_catanhl.c (__catanhl): Likewise.
20067         * math/libm-test.inc (catan_test): Add more tests.
20068         (catanh_test): Likewise.
20069         * sysdeps/i386/fpu/libm-test-ulps: Update.
20070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20072 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20074         * benchtests/Makefile: Mention files in which fast and slow
20075         paths of math functions are implemented.
20077 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20079         * sysdeps/posix/timespec_get.c: New file.
20081 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20083         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20084         POWER.
20085         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20086         for POWER.
20087         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20088         powerpc/power5/fpu folders.
20089         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20090         * benchtests/Makefile: Add modf testcase.
20091         * benchtests/bench-modf.c: New file: Benchmark test for mo
20093 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20095         [BZ #14888]
20096         * time/Makefile (tests): Add tst-strptime-whitespace.
20097         * time/strptime_l.c (get_number): Use ISSPACE.
20098         (__strptime_internal): Likewise.
20099         * time/tst-strptime-whitespace.c: New test case.
20101 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20103         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20104         member.
20105         (_nss_files_init): Set it here.
20107 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20109         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20110         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20111         unsigned.
20113 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20115         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20117 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20120         size just once.
20122 2013-04-21  David S. Miller  <davem@davemloft.net>
20124         * po/ru.po: Update Russion translation from translation project.
20126 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20128         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20129         and setfsgid.
20131 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20133         * configure.in: Remove i386 configure warning. Remove i386 case.
20134         * configure: Regenerate.
20135         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20136         Add example to error message.
20137         * sysdeps/i386/configure: Regenerate.
20139 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20141         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20142         slowtan.
20143         * benchtests/cos-inputs: New file.
20144         * benchtests/slowcos-inputs: New file.
20145         * benchtests/slowcos.c: New file.
20146         * benchtests/slowtan-inputs: New file.
20147         * benchtests/slowtan.c: New file.
20148         * benchtests/tan-inputs: New file.
20150 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20152         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20153         considered kosher.
20155 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20157         * benchtests/Makefile: Include cppflags-iterator.mk to add
20158         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20160         * Makefile.in (bench-clean): New target.
20161         * benchtests/Makefile (bench-clean): Likewise.
20163 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20165         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20167 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20169         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20171 2013-04-15  Andreas Schwab  <schwab@suse.de>
20173         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20175         * nscd/pwdcache.c (cache_addpw): Likewise.
20176         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20177         more than recsize.
20179 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20181         * benchtests/Makefile (bench): Write all output to
20182         bench-out.tmp together.
20184 2013-04-15  Andreas Schwab  <schwab@suse.de>
20186         * nscd/nscd.c (main): Don't fork again after closing files.
20188 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20190         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20192         * benchtests/Rules (bench-deps): Collect dependencies into a
20193         single variable.  Add Makefile to dependencies.
20194         ($(objpfx)bench-%.c): Depend on bench-deps.
20196 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20197             Xavier Roche  <roche+kml2@exalead.com>
20199         [BZ #15361]
20200         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20201         just that it's a file descriptor.
20202         * manual/llio.texi (Synchronizing AIO Operations): Update description
20203         for EBADF error from aio_fsync.
20205 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20207         * Rules (bench): Move target definition...
20208         * benchtests/Makefile: ... here.
20210 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20212         * math/libm-test.inc (cos_test): Fix PI/2 test.
20213         (sincos_test): Likewise.
20214         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20215         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20217 2013-04-11  Andreas Schwab  <schwab@suse.de>
20219         [BZ #13988]
20220         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20221         accept exponent character only when digits were seen.
20222         * stdio-common/Makefile (tests): Add bug26.
20223         * stdio-common/bug26.c: New file.
20225         [BZ #14293]
20226         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20227         non-freeable.
20229 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20231         * Makeconfig (rtld-prefix): Define built linker prefix.
20232         * Rules (run-bench): Use it.
20233         * math/Makefile (run-regen-ulps): Likewise.
20235         * Rules (bench): Remove eval.
20237 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20238             Roland McGrath  <roland@hack.frob.com>
20239             Ondrej Bilka  <neleai@seznam.cz>
20241         [BZ #15346]
20242         * time/getdate.c: Include ctype.h and alloca.h.
20243         (__getdate_r): Trim leading and trailing spaces of input.
20244         * time/tst-getdate.c (tests): Add tests with leading and
20245         trailing spaces.
20247 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20249         [BZ #14280]
20250         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20251         when computing value.
20253 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20255         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20256         Use testrun.sh to run libm tests.
20258         [BZ #15309]
20259         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20261 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20263         [BZ #15264]
20264         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20266 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20268         * Makefile.in (regen-ulps): New target.
20269         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20270         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20271         [ifneq (no,$(PERL)] (regen-ulps): New target.
20272         [ifeq (no,$(PERL)] (regen-ulps): New target.
20273         * math/libm-test.inc (ulps_file_name): Define.
20274         (output_dir): New variable.
20275         (options): Add "output-dir" option.
20276         (parse_opt): Handle 'o' case.
20277         (main): If output_dir is non-NULL use it as a prefix
20278         otherwise use "".
20279         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20281 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20283         [BZ #10060, #10062]
20284         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20285         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20286         fail configure if __sync_val_compare_and_swap is not inlined.
20287         * sysdeps/i386/configure: Regenerate.
20288         * configure.in: Build for i686 when configured for i386.
20289         * configure: Regenerate.
20290         * README: Remove i386 reference.
20292 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20294         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20295         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20297 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20299         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20300         (lmsnanval): New variables.
20301         (F): Add conversion tests.
20302         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20303         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20305         * stdio-common/tstdiomisc.c (F): Properly collect individual
20306         tests' results.
20308         [BZ #14686, #15336]
20309         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20310         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20311         Instead, use input NaN values or generate a qNaN by arithmetic
20312         operation.  Also fix bugs to comply with the standard.
20313         * math/libm-test.inc (remainder_test): Add more tests.
20315         [BZ #15335, #15342]
20316         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20317         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20318         input NaN values or generate a qNaN by arithmetic operation.
20320         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20321         unreachable code.
20323         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20324         definitions.
20326 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20328         [BZ #14478]
20329         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20330         underflowed result.
20331         * math/s_cexpf.c (__cexpf): Likewise.
20332         * math/s_cexpl.c (__cexpl): Likewise.
20333         * math/libm-test.inc (cexp_test): Add more tests.
20335 2013-04-03  Andreas Schwab  <schwab@suse.de>
20337         [BZ #15330]
20338         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20339         order arrays from heap if bigger than alloca cutoff.
20341 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20343         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20344         (SNAN_TESTS_double): Refer to GCC PR56831.
20345         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20346         GCC PR56828.
20348 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20350         * Rules (bench): Move bench.out after the run is complete.
20352         * Rules (bench): Echo currently running benchmark.
20354         * benchtests/Makefile (bench): Add atan and slowatan.
20355         * benchtests/atan-inputs: New file.
20356         * benchtests/slowatan-inputs: New file.
20357         * benchtests/slowatan.c: New file.
20359         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20361         its value.
20363         [BZ #15305]
20364         * sysdeps/unix/sysv/linux/kernel-features.h
20365         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20366         __ASSUME_XFS_RESTRICTED_CHOWN.
20367         * sysdeps/unix/sysv/linux/pathconf.c
20368         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20369         Save and restore errno.
20371 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20373         [BZ #15327]
20374         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20375         arguments using __kernel_casinh.
20376         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20377         arguments using __kernel_casinhf.
20378         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20379         arguments using __kernel_casinhl.
20380         * math/libm-test.inc (cacosh_test): Add more tests.
20381         * sysdeps/i386/fpu/libm-test-ulps: Update.
20382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20384 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20386         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20387         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20389         * bench/Makefile (bench): Add sin and slowsin.
20390         * benchtests/sin-inputs: New file.
20391         * benchtests/slowsin-inputs: New file.
20392         * benchtests/slowsin.c: New file.
20394         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20395         (bench): Add slowexp and slowpow.
20396         (exp-ITER): Increase iterations.
20397         (pow-ITER): Likewise.
20398         * benchtests/exp-inputs: Change input.
20399         * benchtests/pow-inputs: Likewise.
20400         * benchtests/slowexp-inputs: New file.
20401         * benchtests/slowexp.c: New file.
20402         * benchtests/slowpow-inputs: New file.
20403         * benchtests/slowpow.c: New file.
20405 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20407         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20408         instructions.
20409         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20410         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20411         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20412         * benchtests/Makefile: Add rint benchtest.
20413         * benchtests/rint-inputs: Input for rint benchtest.
20415 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20417         * Versions.def (libm): Add GLIBC_2.18.
20418         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20419         hidden libm prototypes.
20420         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20421         * math/Makefile (libm-calls): Add s_issignaling.
20422         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20423         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20424         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20425         declaration.
20426         * math/math.h [__USE_GNU] (issignaling): New macro.
20427         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20428         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20429         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20430         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20431         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20432         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20433         * manual/arith.texi (issignaling): New section.
20434         * manual/libm-err-tab.pl (@all_functions): Update comment.
20435         * math/gen-libm-test.pl (parse_args): Apply special handling for
20436         issignaling.
20437         * math/libm-test.inc (print_float, issignaling_test): New
20438         functions.
20439         (check_float_internal): Add issignaling checks.
20440         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20441         default definition.
20442         * sysdeps/powerpc/math-tests.h: New file.
20443         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20444         tests.
20445         * math/test-snan.c (TEST_FUNC): Likewise.
20447 2013-03-30  David S. Miller  <davem@davemloft.net>
20449         * po/de.po: Update from translation team.
20451 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20453         [BZ #10357]
20454         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20455         imaginary part less than 1.0 and real part less than 0.5
20456         specially.
20457         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20458         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20459         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20460         (cacos_test): Add more tests.
20461         (casin_test): Likewise.
20462         (casinh_test): Likewise.
20463         * sysdeps/i386/fpu/libm-test-ulps: Update.
20464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20466 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20468         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20469         ONE with its value.
20471         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20472         (__pow_mp): Replace ONE and MONE with their values.
20473         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20474         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20475         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20476         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20477         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20478         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20480         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20482         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20483         (__pow_mp): Replace ZERO and MZERO with their values.
20484         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20485         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20486         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20487         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20488         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20489         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20490         (__sqr): Likewise.
20492         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20494         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20496 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20498         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20499         Declare with __attribute__ ((weak)).
20500         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20501         Call __call_tls_dtors only if it's not NULL.
20503 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20505         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20506         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20507         magic __ehdr_start linker symbol if it's defined.
20508         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20509         them up here if it was already done.
20511         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20512         (_dl_aux_init): Use const in cast when setting it.
20513         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20514         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20515         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20517         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20518         Declare them here.
20519         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20520         * csu/libc-tls.c: Nor here.
20521         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20523         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20524         (__libc_message): Never call vsyslog.
20526 2013-03-28  Alan Modra  <amodra@gmail.com>
20528         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20529         Define as empty.
20530         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20531         Likewise.
20533 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20535         [BZ #15214]
20536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20537         underflow.
20538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20540 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20542         [BZ #15304]
20543         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20544         Don't add gid passed as argument.
20546         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20548 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20550         [BZ #15307]
20551         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20552         imaginary part between 1.0 and 1.5 and real part less than 0.5
20553         specially.
20554         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20555         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20556         * math/libm-test.inc (cacos_test): Add more tests.
20557         (casin_test): Likewise.
20558         (casinh_test): Likewise.
20559         * sysdeps/i386/fpu/libm-test-ulps: Update.
20560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20562 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20564         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20565         constants.
20566         (norm): Likewise.
20567         (denorm): Likewise.
20568         (__dbl_mp): Likewise.
20569         (add_magnitudes): Likewise.
20570         (sub_magnitudes): Likewise.
20571         (__add): Likewise.
20572         (__sub): Likewise.
20573         (__mul): Likewise.
20574         (__sqr): Likewise.
20575         (__inv): Likewise.
20576         (__dvd): Likewise.
20578         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20579         commented code.
20580         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20581         (__dubcos): Likewise.
20582         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20583         (__ieee754_acos): Likewise.
20584         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20585         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20586         (__exp1): Likewise.
20587         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20588         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20589         (log1): Likewise.
20590         (my_log2): Likewise.
20591         (checkint): Likewise.
20592         * sysdeps/ieee754/dbl-64/e_remainder.c
20593         (__ieee754_remainder): Likewise.
20594         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20595         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20596         (bsloww): Likewise.
20597         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20599         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20600         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20601         MANTISSA_STORE_T to store computations on mantissa.  Use
20602         macros for rounding and division.
20603         (denorm): Likewise.
20604         (__dbl_mp): Likewise.
20605         (add_magnitudes): Likewise.
20606         (sub_magnitudes): Likewise.
20607         (__mul): Likewise.
20608         (__sqr): Likewise.
20609         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20610         powers of two in terms of TWOPOW macro.
20611         (mp_no): Make type of mantissa as MANTISSA_T.
20612         [!RADIXI]: Define RADIXI.
20613         [!TWO52]: Define TWO52.
20614         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20616 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20618         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20619         llroundl symbol when building for PPC32.
20621 2013-03-24  Mark H Weaver  <mhw@netris.org>
20623         * manual/arith.texi (Normalization Functions): Fix prototypes for
20624         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20626 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20628         [BZ #13889]
20629         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20630         high value to check if expl overflow.
20631         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20632         to check for underflow and overflow.
20633         * math/libm-test.inc: Add exp test.
20635 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20637         [BZ #11120]
20638         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20639         with NOT_IN_libc.
20641 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20643         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20644         symbol.
20646 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20648         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20649         wrap blocks consisting of several statements.
20651         * sysdeps/generic/math-tests.h: New file.
20652         * sysdeps/i386/fpu/math-tests.h: Likewise.
20653         * math/test-snan.c: Include it.
20654         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20656 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20658         [BZ #15285]
20659         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20660         (__ieee754_j0l): Do not improve calculations using cos of twice
20661         input for inputs above LDBL_MAX / 2.0L.
20662         (__ieee754_y0l): Likewise.
20663         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20664         (__ieee754_j1l): Do not improve calculations using cos of twice
20665         input for inputs above LDBL_MAX / 2.0L.
20666         (__ieee754_y1l): Likewise.
20667         * math/libm-test.inc (j0_test): Add another test.
20668         (j1_test): Likewise.
20669         (y0_test): Likewise.
20670         (y1_test): Likewise.
20671         * sysdeps/i386/fpu/libm-test-ulps: Update.
20673 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20675         * Rules ($(objpfx)bench-%.c): Include code from a C source
20676         file.
20678 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20680         [BZ #15287]
20681         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20682         imaginary part 1.0 and real part less than 0.5 specially.
20683         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20684         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20685         * math/libm-test.inc (cacos_test): Add more tests.
20686         (casin_test): Likewise.
20687         (casinh_test): Likewise.
20688         * sysdeps/i386/fpu/libm-test-ulps: Update.
20689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20691 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20693         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20694         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20696 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20698         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20699         * config.make.in (config-cflags-sse4): Remove variable.
20700         (config-cflags-avx): Likewise.
20701         (config-cflags-sse2avx): Likewise.
20702         (config-cflags-novzeroupper): Likewise.
20703         (config-asflags-i686): Likewise.
20704         (have-mfma4): Likewise.
20705         (have-as-vis3): Likewise.
20706         (MIG): Likewise.
20707         * configure.in (MIG): Do not AC_SUBST.
20708         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20709         (libc_cv_cc_sse4): Do not AC_SUBST.
20710         (libc_cv_cc_avx): Likewise.
20711         (libc_cv_cc_sse2avx): Likewise.
20712         (libc_cv_cc_novzeroupper): Likewise.
20713         (libc_cv_cc_fma4): Likewise.
20714         (libc_cv_as_i686): Likewise.
20715         (libc_cv_sparc_as_vis3): Likewise.
20716         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20717         LIBC_CONFIG_VAR.
20718         (config-asflags-i686): Likewise.
20719         (config-cflags-avx): Likewise.
20720         (config-cflags-sse2avx): Likewise.
20721         (have-mfma4): Likewise.
20722         (config-cflags-novzeroupper): Likewise.
20723         * sysdeps/mach/configure.in (MIG): Likewise.
20724         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20725         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20726         LIBC_CONFIG_VAR.
20727         (config-cflags-avx): Likewise.
20728         (config-cflags-sse2avx): Likewise.
20729         (have-mfma4): Likewise.
20730         (config-cflags-novzeroupper): Likewise.
20731         * configure: Regenerated.
20732         * sysdeps/i386/configure: Likewise.
20733         * sysdeps/mach/configure: Likewise.
20734         * sysdeps/sparc/configure: Likewise.
20735         * sysdeps/x86_64/configure: Likewise.
20737 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20739         [BZ #14812]
20740         * locale/programs/localedef.c (options): Put N_ translation marker
20741         on argument names, not just descriptions.
20743 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20745         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20747 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20749         [BZ #14176]
20750         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20752 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20754         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20755         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20756         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20757         [!BEFORE_ABORT] (before_abort): New function.
20758         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20759         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20760         (writev_for_fatal): New function.
20761         (WRITEV_FOR_FATAL): New macro; call that.
20762         (backtrace_and_maps): New function.
20763         (BEFORE_ABORT): New macro; call that.
20764         (struct str_list): Type removed.
20765         (__libc_message, __libc_fatal): Functions removed.
20766         Include <sysdeps/posix/libc_fatal.c> instead.
20768 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20770         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20771         constants.
20772         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20773         double constants.
20775 2013-03-19  Andreas Schwab  <schwab@suse.de>
20777         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20778         * sysdeps/gnu/configure: Regenerate.
20780         * configure.in: Substitute libc_cv_rtlddir.
20781         * configure: Regenerate.
20782         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20783         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20784         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20785         * elf/Makefile (install-others, CFLAGS-interp.c)
20786         (ldso_install, common-ldd-rewrite): Likewise.
20787         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20788         $(inst_slibdir)/$(rtld-installed-name).
20789         * scripts/rellns-sh: Add -p option.
20790         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20791         for source.
20793 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20795         * manual/nptl.texi: Renamed to ...
20796         * manual/threads.texi: ... this.
20797         * manual/Makefile (chapters): Update.
20799 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20801         [BZ #14812]
20802         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20803         on argument names, not just descriptions.
20804         * malloc/memusagestat.c (options): Likewise.
20805         * nss/getent.c (options): Likewise.
20807 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20809         [BZ #14812]
20810         * iconv/iconv_prog.c (options): Put N_ translation marker
20811         on argument names, not just descriptions.
20812         * iconv/iconvconfig.c (options): Likewise.
20814 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20816         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20817         implementation which is faster on all x86_64 architectures.
20818         Tested on AMD, Intel Nehalem, SNB, IVB.
20819         * sysdeps/x86_64/strnlen.S: Likewise.
20821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20822         Remove all multiarch strlen and strnlen versions.
20823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20824         Remove strlen and strnlen related parts.
20826         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20827         Inline strlen part.
20828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20830         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20831         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20832         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20833         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20834         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20835         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20837 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20839         * manual/memory.texi (Malloc Tunable Parameters):
20840         Sort parameters alphabetically. Add comments for missing entries.
20842 2013-03-17  David S. Miller  <davem@davemloft.net>
20844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20846 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20848         [BZ #15283]
20849         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20850         for arguments at most half maximum finite value.
20851         * math/libm-test.inc (j0_test): Add more tests.
20852         (j1_test): Likewise.
20853         (y0_test): Likewise.
20854         (y1_test): Likewise.
20855         * sysdeps/i386/fpu/libm-test-ulps: Update.
20856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20858         [BZ #14155]
20859         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20860         1 / x and functions P and Q for arguments above 0x1p256L.
20861         (__ieee754_y0l): Likewise.
20862         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20863         (__ieee754_y1l): Likewise.
20864         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20865         (j1_test): Likewise.
20866         (y0_test): Likewise.
20867         (y1_test): Likewise.
20869 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20871         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20872         variable.
20874 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20876         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20877         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20878         zero since it's initialized to EXEC_PAGESIZE.
20880         * sysdeps/unix/sysv/linux/ldsodefs.h
20881         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20882         * sysdeps/generic/ldsodefs.h: ... here.
20884 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20886         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
20888         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
20889         math/test-snan.c.
20890         * math/test-snan.c: Renamed from
20891         sysdeps/powerpc/fpu/test-powerpc-snan.c.
20892         * math/Makefile (tests): Add test-snan.
20893         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
20894         test-powerpc-snan.
20896         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
20897         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
20898         functions.
20899         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
20900         __builtin_nan family of functions.
20901         * math/libm-test.inc (initialize): Initialize qnan_value with
20902         __builtin_nan family of functions.
20903         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
20904         Remove variables.
20905         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
20906         Remove functions.
20907         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
20908         storage class.  Initialize qNaN_var and sNaN_var with
20909         __builtin_nan and __builtin_nans families of functions,
20910         respectively.
20912         * math/libm-test.inc (acosh_test): Also test with qNaN input.
20913         (sqrt_test): Remove duplicate test with qNaN input.
20914         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
20915         (round_test, signbit_test, significand_test): Note missing +/-Inf
20916         as well as qNaN tests.
20918         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
20919         qNaN_var.  Fix a few strings, too.
20920         * math/libm-test.inc (nan_value): Rename to qnan_value.
20921         * math/gen-libm-test.pl (%beautify): Adjust to that.
20922         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
20923         * math/test-misc.c (main): Likewise.
20924         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
20925         to __qnan_bytes, and __qnan_union, respectively.
20926         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
20927         Likewise.
20928         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
20929         and lqnanval, respectively.
20930         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
20931         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
20932         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
20933         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
20935         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
20936         * math/test-misc.c (main) [__x86_64__]: Enable test for long
20937         doubles.
20939         * math/test-misc.c (main): Fix copy'n'pastos.
20940         * misc/tst-efgcvt.c (special): Likewise.
20942         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
20943         Remove declarations.
20945 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20947         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
20948         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
20949         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
20950         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
20952 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20954         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
20955         macro to return vdso values correctly in IFUNC implementations.
20956         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20957         Optimization by using IFUNC.
20959 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20960             Richard Henderson  <rth@redhat.com>
20961             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20963         * Makefile.in (bench): New target.
20964         * NEWS: Mention the benchmark framework.
20965         * Rules (bench): Likewise.
20966         (binaries-bench): Generate binaries for functions to
20967         benchmark.
20968         * benchtests/Makefile: New makefile for benchmark tests.
20969         * benchtests/bench-skeleton.c: New skeleton file for benchmark
20970         programs.
20971         * benchtests/exp-inputs: New input file for EXP function.
20972         * benchtests/pow-inputs: New input file for POW function.
20973         * scripts/bench.pl: New script to generate source files for
20974         benchmark programs.
20976 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20978         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20979         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
20980         computations on mantissa.  Use macros for rounding and
20981         division.
20982         (denorm): Likewise.
20983         (__dbl_mp): Likewise.
20984         (add_magnitudes): Likewise.
20985         (sub_magnitudes): Likewise.
20986         (__mul): Likewise.
20987         (__sqr): Likewise.
20988         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20989         powers of two in terms of TWOPOW macro.
20990         (mp_no): Make type of mantissa as MANTISSA_T.
20991         [!RADIXI]: Define RADIXI.
20992         [!TWO52]: Define TWO52.
20993         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20995         * manual/nptl.texi (cindex): Modify threads to pthreads.
20997 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
20999         * sysdeps/x86_64/preconfigure: Regenerated.
21001 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #14155]
21004         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21005         0x1p28 and above.
21006         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21007         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21008         0x1p28 and above.
21009         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21010         * math/libm-test.inc (j0_test): Do not allow one spurious
21011         underflow exception.
21012         (y1_test): Likewise.
21014 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21016         * manual/Makefile (chapters): Add nptl.
21017         * manual/debug.texi (Debugging Support): Add link to Threads
21018         chapter.
21019         * manual/nptl.texi: New file.
21021         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21023 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21025         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21026         for non-NULL pointer before the memory validity test. Pointed
21027         out by Holger Brunck <holger.brunck@keymile.com>.
21029 2013-03-13  Andreas Schwab  <schwab@suse.de>
21031         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21032         instead of .os.
21034 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21036         * timezone/zic.c: Update from tzcode 2013b.
21038 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21040         * manual/install.texi (Configuring and compiling):
21041         Mention i686 and i586.
21042         * INSTALL: Regenerate.
21044 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21046         * sysdeps/init_array/elf-init.c: New file.
21047         * csu/elf-init.c
21048         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21049         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21051         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21052         __gmon_start__ as global, but as static with a .preinit_array pointer.
21053         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21054         * sysdeps/init_array/crti.S: New file, empty except for comments.
21055         * sysdeps/init_array/crtn.S: Likewise.
21057 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21059         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21060         definining bcopy.
21061         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21062         Remove Prefer_SSE_for_memop.
21063         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21064         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21065         HAS_PREFER_SSE_FOR_MEMOP.
21066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21067         memset-x86-64.
21068         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21069         Remove bzero, memset ifunc support.
21070         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21071         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21072         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21073         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21075 2013-03-11  Andreas Schwab  <schwab@suse.de>
21077         [BZ #15234]
21078         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21079         by SHLIB_COMPAT.
21080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21081         (GLIBC_2.16): Remove pthread_atfork.
21083 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21085         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21086         (ptestcases.h): Likewise.
21088 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21090         * Makeconfig ($(common-objpfx)config.status): Depend on
21091         sysdeps/*/preconfigure{,.in} too.
21093 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21095         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21096         (__free_hook): Use void * instead of __malloc_ptr_t.
21097         (__malloc_hook): Likewise.
21098         (__realloc_hook): Likewise.
21099         (__memalign_hook): Likewise.
21100         (__after_morecore_hook): Likewise.
21101         * malloc/arena.c (save_malloc_hook): Likewise.
21102         (save_free_hook): Likewise.
21103         * malloc/hooks.c (malloc_hook_ini): Likewise.
21104         (realloc_hook_ini): Likewise.
21105         (memalign_hook_ini): Likewise.
21106         * malloc/malloc.c (malloc_hook_ini): Likewise.
21107         (realloc_hook_ini): Likewise.
21108         (memalign_hook_ini): Likewise.
21109         (__free_hook): Likewise.
21110         (__malloc_hook): Likewise.
21111         (__realloc_hook): Likewise.
21112         (__memalign_hook): Likewise.
21113         (__libc_malloc): Likewise.
21114         (__libc_free): Likewise.
21115         (__libc_realloc): Likewise.
21116         (__libc_memalign): Likewise.
21117         (__libc_valloc): Likewise.
21118         (__libc_pvalloc): Likewise.
21119         (__libc_calloc): Likewise.
21120         (__posix_memalign): Likewise.
21121         * malloc/morecore.c (__sbrk): Likewise.
21122         (__default_morecore): Likewise.
21124         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21126         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21127         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21128         __malloc_ptrdiff_t.
21130         * malloc/malloc.h (__malloc_size_t): Remove macro.
21131         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21132         __malloc_size_t.
21133         (old_memalign_hook): Likewise.
21134         (old_realloc_hook): Likewise.
21135         (struct hdr): Likewise.
21136         (flood): Likewise.
21137         (mallochook): Likewise.
21138         (memalignhook): Likewise.
21139         (reallochook): Likewise.
21140         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21141         (tr_old_realloc_hook): Likewise.
21142         (tr_old_memalign_hook): Likewise.
21143         (tr_mallochook): Likewise.
21144         (tr_reallochook): Likewise.
21145         (tr_memalignhook): Likewise.
21147 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21149         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21150         default_ldbl_pack and using as default implementation.
21151         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21152         implementation.
21153         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21154         redundant definition.
21155         (ldbl_insert_mantissa): Likewise.
21156         (ldbl_canonicalize): Likewise.
21157         (ldbl_nearbyint): Likewise.
21158         (ldbl_pack): Rename to ldbl_pack_ppc.
21159         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21160         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21161         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21163 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21166         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21167         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21168         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21169         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21170         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21171         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21172         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21174 2013-03-07  Andreas Jaeger  <aj@suse.de>
21176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21177         bits/mman-linux.h.
21179 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21181         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21182         Include mpa.h and declare __MPEXP.
21183         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21184         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21185         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21186         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21187         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21188         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21189         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21191         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21192         (__slowpow): Use long double EXPL and LOGL functions to
21193         compute POW.
21194         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21195         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21196         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21197         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21198         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21199         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21202         intermediate variable to calculate exponent.
21203         (__sqr): Likewise.
21204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21205         Likewise.
21206         (__sqr): Likewise.
21208         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21209         [!NO__SQR]: Define __sqr.
21210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21211         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21212         sysdeps/ieee754/dbl-64/mpa.c.
21213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21215         [BZ #12723]
21216         * posix/Makefile (tests): Add tst-pathconf.
21217         * posix/tst-pathconf.c: New test case.
21218         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21219         _PC_PIPE_BUF.
21220         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21222 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21224         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21226 2013-03-06  Andreas Jaeger  <aj@suse.de>
21228         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21229         definition via __MAP_ANONYMOUS.
21231         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21232         it's not part of Linux headers.
21234         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21235         (MAP_HUGE_MASK): Define.
21237         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21238         Define.
21239         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21240         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21241         Define.
21242         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21243         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21244         Define.
21245         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21246         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21247         Define.
21248         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21250         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21251         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21252         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21253         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21254         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21255         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21257         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21258         Handle f2fs.
21260         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21261         Handle f2fs and efivarfs.
21263         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21264         f2fs.
21266         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21267         (EFIVARFS_MAGIC): Add.
21268         (F2FS_LINK_MAX): Add.
21270 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21272         * stdio-common/vfprintf.c: Replace __builtin_expect with
21273         __glibc_unlikely.
21275 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21277         [BZ #13550]
21278         * sysdeps/generic/bp-sym.h: Remove file.
21279         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21280         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21281         <bp-sym.h> and <bp-asm.h>.
21282         (__longjmp): Don't use BP_SYM.
21283         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21284         and <bp-asm.h>.
21285         (memcpy): Don't use BP_SYM.
21286         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21287         <bp-sym.h> and <bp-asm.h>.
21288         (memcpy): Don't use BP_SYM.
21289         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21290         <bp-asm.h>.
21291         (memcpy): Don't use BP_SYM.
21292         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21293         <bp-asm.h>.
21294         (memset): Don't use BP_SYM.
21295         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21296         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21297         (__bzero): Don't use BP_SYM.
21298         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21299         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21300         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21301         <bp-sym.h> and <bp-asm.h>.
21302         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21303         pointers.
21304         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21305         <bp-sym.h> and <bp-asm.h>.
21306         (memcpy): Don't use BP_SYM.
21307         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21308         <bp-sym.h> and <bp-asm.h>.
21309         (memset): Don't use BP_SYM.
21310         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21311         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21312         (__bzero): Don't use BP_SYM.
21313         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21314         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21315         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21316         <bp-sym.h> and <bp-asm.h>.
21317         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21318         pointers.
21319         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21320         <bp-sym.h> and <bp-asm.h>.
21321         (memcpy): Don't use BP_SYM.
21322         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21323         <bp-sym.h> and <bp-asm.h>.
21324         (memset): Don't use BP_SYM.
21325         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21326         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21327         (__bzero): Don't use BP_SYM.
21328         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21329         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21330         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21331         <bp-sym.h> and <bp-asm.h>.
21332         (__memchr): Don't use BP_SYM.
21333         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21334         <bp-sym.h> and <bp-asm.h>.
21335         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21336         pointers.
21337         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21338         <bp-sym.h> and <bp-asm.h>.
21339         (memcpy): Don't use BP_SYM.
21340         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21341         <bp-sym.h> and <bp-asm.h>.
21342         (__mempcpy): Don't use BP_SYM.
21343         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21344         <bp-sym.h> and <bp-asm.h>.
21345         (__memrchr): Don't use BP_SYM.
21346         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21347         <bp-sym.h> and <bp-asm.h>.
21348         (memset): Don't use BP_SYM.
21349         (__bzero): Likewise.
21350         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21351         <bp-sym.h> and <bp-asm.h>.
21352         (__rawmemchr): Don't use BP_SYM.
21353         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21354         <bp-sym.h> and <bp-asm.h>.
21355         (__STRCMP): Don't use BP_SYM.
21356         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21357         <bp-sym.h> and <bp-asm.h>.
21358         (strchr): Don't use BP_SYM.
21359         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21360         <bp-sym.h> and <bp-asm.h>.
21361         (__strchrnul): Don't use BP_SYM.
21362         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21363         <bp-sym.h> and <bp-asm.h>.
21364         (strlen): Don't use BP_SYM.
21365         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21366         <bp-sym.h> and <bp-asm.h>.
21367         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21368         pointers.
21369         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21370         <bp-sym.h> and <bp-asm.h>.
21371         (__strnlen): Don't use BP_SYM.
21372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21373         <bp-sym.h> and <bp-asm.h>.
21374         (__GI__setjmp): Don't use BP_SYM.
21375         (_setjmp): Likewise.
21376         (__sigsetjmp): Likewise.
21377         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21378         (L(start_addresses)): Don't use BP_SYM.
21379         (_start): Likewise.
21380         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21381         <bp-asm.h>.
21382         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21383         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21384         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21385         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21386         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21387         <bp-asm.h>.
21388         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21389         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21390         about bounded pointers.
21391         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21392         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21393         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21394         <bp-asm.h>.
21395         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21396         about bounded pointers.  Remove GKM FIXME comments.
21397         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21398         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21399         <bp-asm.h>.
21400         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21401         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21402         Remove GKM FIXME comments.
21403         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21404         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21405         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21406         <bp-asm.h>.
21407         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21408         about bounded pointers.  Remove GKM FIXME comment.
21409         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21410         and <bp-asm.h>.
21411         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21412         pointers.
21413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21414         <bp-sym.h> and <bp-asm.h>.
21415         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21417         <bp-sym.h> and <bp-asm.h>.
21418         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21419         comment.
21421 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21423         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21424         call free(NULL).
21426 2013-03-05  David S. Miller  <davem@davemloft.net>
21428         * po/es.po: Update from translation team.
21430 2013-03-05  Andreas Jaeger  <aj@suse.de>
21432         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21433         <bits/mman-linux.h>.
21434         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21435         is fine.
21436         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21437         <bits/mman-linux.h> to end of file.
21438         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21439         is fine.
21440         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21441         <bits/mman-linux.h> to end of file.
21442         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21443         is fine.
21444         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21445         <bits/mman-linux.h> to end of file.
21447         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21448         (MCL_CURRENT, MCL_FUTURE): Define here.
21450 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21452         [BZ #15232]
21453         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21454         attribute_hidden.
21455         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21457 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21459         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21460         fourth parameter needed for rt_sigprocmask syscall.
21461         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21462         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21463         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21464         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21465         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21466         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21468 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21470         [BZ #13550]
21471         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21472         comment about bounded pointers.
21473         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21474         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21476 2013-03-04  Andreas Jaeger  <aj@suse.de>
21478         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21479         common definitions.
21481         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21482         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21483         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21484         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21485         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21486         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21488 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21490         [BZ #15055]
21491         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21492         __ieee754_sqrl instead of __sqrl.
21494 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21496         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21497         * sysdeps/powerpc/fpu_control.h: ... here.
21498         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21499         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21500         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21501         * sysdeps/powerpc/bits/mathinline.h: ... here.
21503 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21505         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21506         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21507         to just [NEED_DL_SYSINFO_DSO].
21508         * elf/dl-support.c: Likewise.
21509         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21510         * elf/rtld.c (dl_main): Likewise.
21511         * elf/setup-vdso.h (setup_vdso): Likewise.
21512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21513         * sysdeps/unix/sysv/linux/dl-sysdep.c
21514         (_dl_discover_osversion): Likewise.
21516 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21518         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21519         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21521 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21523         * NEWS: Mention libm performance improvements and non-x86 PI
21524         futex support.
21526         * csu/libc-start.c (__pthread_initialize_minimal): Change
21527         function arguments.
21528         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21530 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21532         [BZ #13550]
21533         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21534         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21535         <bp-sym.h> and <bp-asm.h>.
21536         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21537         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21538         and <bp-asm.h>.
21539         (memcpy): Don't use BP_SYM.
21540         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21541         <bp-asm.h>.
21542         (__mpn_add_n): Don't use BP_SYM.
21543         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21544         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21545         and <bp-asm.h>.
21546         (__mpn_addmul_1): Don't use BP_SYM.
21547         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21548         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21549         <bp-sym.h>.
21550         (_setjmp): Don't use BP_SYM.
21551         (__novmx_setjmp): Likewise.
21552         (__GI__setjmp): Likewise.
21553         (__vmx_setjmp): Likewise.
21554         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21555         <bp-sym.h>.
21556         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21557         (__bzero): Don't use BP_SYM.
21558         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21559         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21560         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21561         <bp-sym.h> and <bp-asm.h>.
21562         (memcpy): Don't use BP_SYM.
21563         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21564         <bp-sym.h> and <bp-asm.h>.
21565         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21566         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21567         <bp-sym.h> and <bp-asm.h>.
21568         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21569         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21570         <bp-asm.h>.
21571         (__mpn_lshift): Don't use BP_SYM.
21572         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21573         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21574         <bp-asm.h>.
21575         (memset): Don't use BP_SYM.
21576         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21577         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21578         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21579         <bp-asm.h>.
21580         (__mpn_mul_1): Don't use BP_SYM.
21581         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21582         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21583         <bp-sym.h> and <bp-asm.h>.
21584         (memcmp): Don't use BP_SYM.
21585         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21586         <bp-sym.h> and <bp-asm.h>.
21587         (memcpy): Don't use BP_SYM.
21588         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21589         <bp-sym.h> and <bp-asm.h>.
21590         (memset): Don't use BP_SYM.
21591         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21592         <bp-sym.h> and <bp-asm.h>.
21593         (strncmp): Don't use BP_SYM.
21594         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21595         <bp-sym.h> and <bp-asm.h>.
21596         (memcpy): Don't use BP_SYM.
21597         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21598         <bp-sym.h> and <bp-asm.h>.
21599         (memset): Don't use BP_SYM.
21600         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21601         <bp-sym.h> and <bp-asm.h>.
21602         (__memchr): Don't use BP_SYM.
21603         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21604         <bp-sym.h> and <bp-asm.h>.
21605         (memcmp): Don't use BP_SYM.
21606         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21607         <bp-sym.h> and <bp-asm.h>.
21608         (memcpy): Don't use BP_SYM.
21609         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21610         <bp-sym.h> and <bp-asm.h>.
21611         (__mempcpy): Don't use BP_SYM.
21612         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21613         <bp-sym.h> and <bp-asm.h>.
21614         (__memrchr): Don't use BP_SYM.
21615         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21616         <bp-sym.h> and <bp-asm.h>.
21617         (memset): Don't use BP_SYM.
21618         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21619         <bp-sym.h> and <bp-asm.h>.
21620         (__rawmemchr): Don't use BP_SYM.
21621         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21622         <bp-sym.h> and <bp-asm.h>.
21623         (__STRCMP): Don't use BP_SYM.
21624         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21625         <bp-sym.h> and <bp-asm.h>.
21626         (strchr): Don't use BP_SYM.
21627         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21628         <bp-sym.h> and <bp-asm.h>.
21629         (__strchrnul): Don't use BP_SYM.
21630         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21631         <bp-sym.h> and <bp-asm.h>.
21632         (strlen): Don't use BP_SYM.
21633         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21634         <bp-sym.h> and <bp-asm.h>.
21635         (strncmp): Don't use BP_SYM.
21636         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21637         <bp-sym.h> and <bp-asm.h>.
21638         (__strnlen): Don't use BP_SYM.
21639         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21640         <bp-asm.h>.
21641         (__mpn_rshift): Don't use BP_SYM.
21642         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21643         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21644         <bp-sym.h> and <bp-asm.h>.
21645         (__sigsetjmp): Don't use BP_SYM.
21646         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21647         (L(start_addresses)): Don't use BP_SYM.
21648         (_start): Likewise.
21649         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21650         <bp-asm.h>.
21651         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21652         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21653         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21654         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21655         <bp-asm.h>.
21656         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21657         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21658         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21659         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21660         <bp-asm.h>.
21661         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21662         comments.
21663         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21664         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21665         <bp-asm.h>.
21666         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21667         FIXME comments.
21668         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21669         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21670         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21671         <bp-asm.h>.
21672         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21673         comment.
21674         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21675         and <bp-asm.h>.
21676         (strncmp): Don't use BP_SYM,
21677         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21678         <bp-asm.h>.
21679         (__mpn_sub_n): Don't use BP_SYM.
21680         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21681         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21682         and <bp-asm.h>.
21683         (__mpn_submul_1): Don't use BP_SYM.
21684         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21686         <bp-sym.h> and <bp-asm.h>.
21687         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21689         <bp-sym.h> and <bp-asm.h>.
21690         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21691         comment.
21693 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21695         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21696         Use ZK to minimize writes to Z.
21697         (sub_magnitudes): Simplify code a bit.
21698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21699         Use ZK to minimize writes to Z.
21700         (sub_magnitudes): Simplify code a bit.
21702 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21704         * csu/gmon-start.c: Add special exception to license text.
21706 2013-02-27  Richard Henderson  <rth@redhat.com>
21708         * scripts/config.guess: Update from config.git.
21709         * scripts/config.sub: Likewise.
21711 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21713         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21715         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21717         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21719         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21721         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21723 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21725         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21726         [$(build-shared = yes].
21728 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21730         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21731         (__mul): Reduce iterations for calculating mantissa.
21733         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21734         MPTWO.
21735         (__mpranred): Likewise.
21737         [BZ #15160]
21738         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21739         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21741 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21743         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21744         Define __attribute__.
21746 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21748         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21749         unused.
21750         * posix/regex_internal.h (__attribute): Remove.
21751         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21752         (re_string_context_at): Likewise.
21753         (bitset_not): Use __attribute__ and mark function as possibly
21754         unused.
21755         (bitset_merge): Likewise.
21756         (bitset_mask): Likewise.
21757         (re_string_char_size_at): Likewise.
21758         (re_string_wchar_at): Likewise.
21759         (re_string_elem_size_at): Likewise.
21761 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21763         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21764         code.
21765         (cc32): Likewise.
21767         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21768         (__acr): Likewise.
21769         (__cpy): Likewise.
21770         (norm): Likewise.
21771         (denorm): Likewise.
21772         (__dbl_mp): Likewise.
21773         (add_magnitudes): Likewise.
21774         (sub_magnitudes): Likewise.
21775         (__mul): Likewise.
21776         (__inv): Likewise.
21778         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21779         style.
21781         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21782         style.
21784         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21785         code.
21787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21788         up changes with default code.
21789         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21790         Likewise.
21792 2013-02-24  Allan McRae  <allan@archlinux.org>
21794         * manual/socket.texi (The Internet Namespace): Order menu items
21795         to match that in the file.
21797         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21798         node listing of the info page menu.
21800 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21802         [BZ #13550]
21803         * sysdeps/i386/bp-asm.h: Remove file.
21804         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21805         (PARMS): Do not use macros from bp-asm.h.
21806         (S1): Likewise.
21807         (S2): Likewise.
21808         (SIZE): Likewise.
21809         (__mpn_add_n): Do not use BP_SYM
21810         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21811         "bp-asm.h".
21812         (PARMS): Do not use macros from bp-asm.h.
21813         (S1): Likewise.
21814         (SIZE): Likewise.
21815         (__mpn_addmul_1): Do not use BP_SYM
21816         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21817         "bp-asm.h".
21818         (PARMS): Do not use macros from bp-asm.h.
21819         (SIGMSK): Likewise.
21820         (_setjmp): Likewise.  Do not use BP_SYM.
21821         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21822         "bp-asm.h".
21823         (PARMS): Do not use macros from bp-asm.h.
21824         (SIGMSK): Likewise.
21825         (setjmp): Likewise.  Do not use BP_SYM.
21826         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21827         "bp-asm.h".
21828         (PARMS): Do not use macros from bp-asm.h.
21829         (__frexp): Do not use BP_SYM.
21830         (frexp): Likewise.
21831         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21832         "bp-asm.h".
21833         (PARMS): Do not use macros from bp-asm.h.
21834         (__frexpf): Do not use BP_SYM.
21835         (frexpf): Likewise.
21836         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21837         "bp-asm.h".
21838         (PARMS): Do not use macros from bp-asm.h.
21839         (__frexpl): Do not use BP_SYM.
21840         (frexpl): Likewise.
21841         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21842         "bp-asm.h".
21843         (PARMS): Do not use macros from bp-asm.h.
21844         (__remquo): Do not use BP_SYM.
21845         (remquo): Likewise.
21846         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21847         "bp-asm.h".
21848         (PARMS): Do not use macros from bp-asm.h.
21849         (__remquof): Do not use BP_SYM.
21850         (remquof): Likewise.
21851         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21852         "bp-asm.h".
21853         (PARMS): Do not use macros from bp-asm.h.
21854         (__remquol): Do not use BP_SYM.
21855         (remquol): Likewise.
21856         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21857         "bp-asm.h".
21858         (PARMS): Do not use macros from bp-asm.h.
21859         (DEST): Likewise.
21860         (SRC): Likewise.
21861         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21862         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21863         "bp-asm.h".
21864         (PARMS): Do not use macros from bp-asm.h.
21865         (strlen): Do not use BP_SYM.
21866         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21867         "bp-asm.h".
21868         (PARMS): Do not use macros from bp-asm.h.
21869         (S1): Likewise.
21870         (S2): Likewise.
21871         (SIZE): Likewise.
21872         (__mpn_add_n): Do not use BP_SYM.
21873         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21874         "bp-asm.h".
21875         (PARMS): Do not use macros from bp-asm.h.
21876         (S1): Likewise.
21877         (SIZE): Likewise.
21878         (__mpn_addmul_1): Do not use BP_SYM.
21879         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21880         weak_alias.
21881         (bzero): Likewise.
21882         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21883         "bp-asm.h".
21884         (PARMS): Do not use macros from bp-asm.h.
21885         (S): Likewise.
21886         (SIZE): Likewise.
21887         (__mpn_lshift): Do not use BP_SYM.
21888         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
21889         "bp-asm.h".
21890         (PARMS): Do not use macros from bp-asm.h.
21891         (DEST): Likewise.
21892         (SRC): Likewise.
21893         (LEN): Likewise.
21894         (memcpy): Likewise.  Do not use BP_SYM.
21895         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
21896         libc_hidden_def and weak_alias.
21897         (mempcpy): Do not use BP_SYM in weak_alias.
21898         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
21899         "bp-asm.h".
21900         (PARMS): Do not use macros from bp-asm.h.
21901         (DEST): Likewise.
21902         (LEN): Likewise.
21903         [!BZERO_P] (CHR): Likewise.
21904         (memset): Likewise.  Do not use BP_SYM.
21905         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
21906         "bp-asm.h".
21907         (PARMS): Do not use macros from bp-asm.h.
21908         (S1): Likewise.
21909         (SIZE): Likewise.
21910         (__mpn_mul_1): Do not use BP_SYM.
21911         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
21912         "bp-asm.h".
21913         (PARMS): Do not use macros from bp-asm.h.
21914         (S): Likewise.
21915         (SIZE): Likewise.
21916         (__mpn_rshift): Do not use BP_SYM.
21917         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
21918         "bp-asm.h".
21919         (PARMS): Do not use macros from bp-asm.h.
21920         (STR): Likewise.
21921         (CHR): Likewise.
21922         (strchr): Likewise.  Do not use BP_SYM.
21923         (index): Do not use BP_SYM in weak_alias.
21924         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
21925         "bp-asm.h".
21926         (PARMS): Do not use macros from bp-asm.h.
21927         (DEST): Likewise.
21928         (SRC): Likewise.
21929         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
21930         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
21931         "bp-asm.h".
21932         (PARMS): Do not use macros from bp-asm.h.
21933         (strlen): Do not use BP_SYM.
21934         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
21935         "bp-asm.h".
21936         (PARMS): Do not use macros from bp-asm.h.
21937         (S1): Likewise.
21938         (S2): Likewise.
21939         (SIZE): Likewise.
21940         (__mpn_sub_n): Do not use BP_SYM.
21941         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
21942         "bp-asm.h".
21943         (PARMS): Do not use macros from bp-asm.h.
21944         (S1): Likewise.
21945         (SIZE): Likewise.
21946         (__mpn_submul_1): Do not use BP_SYM.
21947         * sysdeps/i386/i686/add_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_add_n): Do not use BP_SYM.
21954         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
21955         weak_alias.
21956         (bzero): Likewise.
21957         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
21958         "bp-asm.h".
21959         (PARMS): Do not use macros from bp-asm.h.
21960         (BLK2): Likewise.
21961         (LEN): Likewise.
21962         (memcmp): Do not use BP_SYM.
21963         (bcmp): Do not use BP_SYM in weak_alias.
21964         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
21965         "bp-asm.h".
21966         (PARMS): Do not use macros from bp-asm.h.
21967         (DEST): Likewise.
21968         (SRC): Likewise.
21969         (LEN): Likewise.
21970         (memcpy): Likewise.  Do not use BP_SYM.
21971         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
21972         "bp-asm.h".
21973         (PARMS): Do not use macros from bp-asm.h.
21974         (DEST): Likewise.
21975         (SRC): Likewise.
21976         (LEN): Likewise.
21977         (memmove): Likewise.  Do not use BP_SYM.
21978         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
21979         "bp-asm.h".
21980         (PARMS): Do not use macros from bp-asm.h.
21981         (DEST): Likewise.
21982         (SRC): Likewise.
21983         (LEN): Likewise.
21984         (__mempcpy): Likewise.  Do not use BP_SYM.
21985         (mempcpy): Do not use BP_SYM in weak_alias.
21986         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
21987         "bp-asm.h".
21988         (PARMS): Do not use macros from bp-asm.h.
21989         (DEST): Likewise.
21990         (LEN): Likewise.
21991         [!BZERO_P] (CHR): Likewise.
21992         (memset): Likewise.  Do not use BP_SYM.
21993         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
21994         "bp-asm.h".
21995         (PARMS): Do not use macros from bp-asm.h.
21996         (STR2): Likewise.
21997         (strcmp): Do not use BP_SYM.
21998         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
21999         "bp-asm.h".
22000         (PARMS): Do not use macros from bp-asm.h.
22001         (STR): Likewise.
22002         (DELIM): Likewise.
22003         [USE_AS_STRTOK_R] (SAVE): Likewise.
22004         (FUNCTION): Likewise.  Do not use BP_SYM.
22005         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22006         aliases.
22007         (strtok_r): Likewise.
22008         (__GI___strtok_r): Likewise.
22009         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22010         (PARMS): Do not use macros from bp-asm.h.
22011         (S): Likewise.
22012         (SIZE): Likewise.
22013         (__mpn_lshift): Do not use BP_SYM.
22014         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22015         (PARMS): Do not use macros from bp-asm.h.
22016         (STR): Likewise.
22017         (CHR): Likewise.
22018         (__memchr): Do not use BP_SYM.
22019         (memchr): Do not use BP_SYM in weak_alias.
22020         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22021         (PARMS): Do not use macros from bp-asm.h.
22022         (BLK2): Likewise.
22023         (LEN): Likewise.
22024         (memcmp): Do not use BP_SYM.
22025         (bcmp): Do not use BP_SYM in weak_alias.
22026         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22027         (PARMS): Do not use macros from bp-asm.h.
22028         (S1): Likewise.
22029         (SIZE): Likewise.
22030         (__mpn_mul_1): Do not use BP_SYM.
22031         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22032         "bp-asm.h".
22033         (PARMS): Do not use macros from bp-asm.h.
22034         (STR): Likewise.
22035         (CHR): Likewise.
22036         (__rawmemchr): Do not use BP_SYM.
22037         (rawmemchr): Do not use BP_SYM in weak_alias.
22038         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22039         (PARMS): Do not use macros from bp-asm.h.
22040         (S): Likewise.
22041         (SIZE): Likewise.
22042         (__mpn_rshift): Do not use BP_SYM.
22043         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22044         (PARMS): Do not use macros from bp-asm.h.
22045         (SIGMSK): Likewise.
22046         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22047         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22048         (_start): Do not use BP_SYM.
22049         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22050         (PARMS): Do not use macros from bp-asm.h.
22051         (DEST): Likewise.
22052         (SRC): Likewise.
22053         (__stpcpy): Likewise.  Do not use BP_SYM.
22054         (stpcpy): Do not use BP_SYM in weak_alias.
22055         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22056         "bp-asm.h".
22057         (PARMS): Do not use macros from bp-asm.h.
22058         (DEST): Likewise.
22059         (SRC): Likewise.
22060         (LEN): Likewise.
22061         (__stpncpy): Likewise.  Do not use BP_SYM.
22062         (stpncpy): Do not use BP_SYM in weak_alias.
22063         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22064         (PARMS): Do not use macros from bp-asm.h.
22065         (STR): Likewise.
22066         (CHR): Likewise.
22067         (strchr): Likewise.  Do not use BP_SYM.
22068         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22069         "bp-asm.h".
22070         (PARMS): Do not use macros from bp-asm.h.
22071         (STR): Likewise.
22072         (CHR): Likewise.
22073         (__strchrnul): Likewise.  Do not use BP_SYM.
22074         (strchrnul): Do not use BP_SYM in weak_alias.
22075         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22076         "bp-asm.h".
22077         (PARMS): Do not use macros from bp-asm.h.
22078         (STOP): Likewise.
22079         (strcspn): Do not use BP_SYM.
22080         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22081         "bp-asm.h".
22082         (PARMS): Do not use macros from bp-asm.h.
22083         (STR): Likewise.
22084         (STOP): Likewise.
22085         (strpbrk): Likewise.  Do not use BP_SYM.
22086         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22087         "bp-asm.h".
22088         (PARMS): Do not use macros from bp-asm.h.
22089         (STR): Likewise.
22090         (CHR): Likewise.
22091         (strrchr): Likewise.  Do not use BP_SYM.
22092         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22093         (PARMS): Do not use macros from bp-asm.h.
22094         (SKIP): Likewise.
22095         (strspn): Do not use BP_SYM.
22096         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22097         (PARMS): Do not use macros from bp-asm.h.
22098         (STR): Likewise.
22099         (DELIM): Likewise.
22100         (SAVE): Likewise.
22101         (FUNCTION): Likewise.  Do not use BP_SYM.
22102         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22103         aliases.
22104         (strtok_r): Likewise.
22105         (__GI___strtok_r): Likewise.
22106         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22107         (PARMS): Do not use macros from bp-asm.h.
22108         (S1): Likewise.
22109         (S2): Likewise.
22110         (SIZE): Likewise.
22111         (__mpn_sub_n): Do not use BP_SYM.
22112         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22113         "bp-asm.h".
22114         (PARMS): Do not use macros from bp-asm.h.
22115         (S1): Likewise.
22116         (SIZE): Likewise.
22117         (__mpn_submul_1): Do not use BP_SYM.
22118         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22119         <bp-sym.h>.
22120         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22121         and <bp-asm.h>.
22122         (PARMS): Do not use macros from bp-asm.h.
22123         (FLAGS): Likewise.
22124         (PTID): Likewise.
22125         (TLS): Likewise.
22126         (CTID): Likewise.
22127         (__clone): Do not use BP_SYM.
22128         (clone): Do not use BP_SYM in weak_alias.
22129         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22130         and <bp-asm.h>.
22131         (PARMS): Do not use macros from bp-asm.h.
22132         (LEN): Likewise.
22133         (__mmap64): Do not use BP_SYM.
22134         (mmap64): Do not use BP_SYM in weak_alias.
22135         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22136         <bp-sym.h> and <bp-asm.h>.
22137         (PARMS): Do not use macros from bp-asm.h.
22138         (__posix_fadvise64_l64): Do not use BP_SYM.
22139         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22140         (PARMS): Do not use macros from bp-asm.h.
22141         (NSOPS): Likewise.
22142         (semtimedop): Do not use BP_SYM.
22143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22144         and <bp-asm.h>.
22146 2013-02-21  Allan McRae  <allan@archlinux.org>
22148         * manual/message.texi (Charset conversion in gettext):
22149         Move @end statement to beginning of line.
22151 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22153         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22154         static.
22155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22156         Likewise.
22158         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22159         (denorm): Likewise.
22160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22163 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22165         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22166         tail-call to the resolved function if pltexit isn't needed.
22168 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22170         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22171         or Y being zero as being unlikely.
22172         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22173         Likewise.
22175 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22177         * manual/nss.texi (System Databases and Name Service Switch):
22178         Remove frobnicate @pxref.
22180 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22182         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22183         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22185 2013-02-20  Petr Machata  <pmachata@redhat.com>
22187         * elf/elf.h (R_ARM_TARGET1): New macro.
22188         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22189         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22190         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22191         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22192         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22193         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22194         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22195         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22196         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22197         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22198         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22199         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22200         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22201         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22202         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22203         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22204         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22205         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22206         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22207         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22208         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22209         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22210         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22211         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22212         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22213         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22214         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22215         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22216         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22217         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22218         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22219         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22220         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22221         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22222         (R_ARM_THM_GOT_BREL12): Likewise.
22223         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22224         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22225         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22226         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22227         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22228         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22229         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22230         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22231         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22233 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22235         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22236         __attribute_used__ to __attribute__ ((unused)).
22238 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22240         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22241         powerpc mpa.c.
22242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22243         comment formatting.
22244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22246 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22248         [BZ #13550]
22249         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22250         Remove macro.
22251         (ENTER): Remove both macro definitions.
22252         (LEAVE): Likewise.
22253         (CHECK_BOUNDS_LOW): Likewise.
22254         (CHECK_BOUNDS_HIGH): Likewise.
22255         (CHECK_BOUNDS_BOTH): Likewise.
22256         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22257         (RETURN_BOUNDED_POINTER): Likewise.
22258         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22259         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22260         (POP_ERRNO_LOCATION_RETURN): Likewise.
22261         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22262         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22263         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22264         macros.
22265         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22266         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22267         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22268         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22269         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22270         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22271         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22272         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22273         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22274         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22275         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22276         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22278         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22279         removed macros.
22280         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22281         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22282         macros.
22283         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22284         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22285         * sysdeps/i386/i586/memset.S (memset): Likewise.
22286         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22287         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22288         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22289         macros.
22290         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22291         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22292         Change uses of L(2) to L(out).
22293         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22294         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22295         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22296         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22297         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22298         removed macros.
22299         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22300         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22301         macros.
22302         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22303         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22304         (RETURN): Do not use macro LEAVE.
22305         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22306         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22307         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22308         * sysdeps/i386/i686/memset.S (memset): Likewise.
22309         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22310         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22311         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22312         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22313         Likewise.
22314         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22315         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22316         L(1_2) and L(1_3) into L(1).
22317         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22318         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22319         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22320         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22321         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22322         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22323         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22324         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22325         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22326         macros.
22327         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22328         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22329         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22330         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22331         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22332         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22333         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22334         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22335         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22336         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22337         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22338         * sysdeps/i386/strspn.S (strspn): Likewise.
22339         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22340         conditional code.
22341         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22342         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22343         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22344         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22345         L(1_3) into L(1_1).
22346         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22347         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22348         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22349         macros.
22350         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22352 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22354         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22355         macro.
22357 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22359         * math/atest-exp.c (exp_mpn): Remove ROUND.
22360         * math/atest-exp2.c (exp_mpn): Likewise.
22361         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22363         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22364         * stdlib/tst-tls-atexit-lib.c: Likewise.
22365         * stdlib/tst-tls-atexit.c: Likewise.
22367 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22369         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22370         and __attribute_alloc_size__.
22372 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22374         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22375         __attribute_alloc_size__.
22376         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22377         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22379 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22381         * include/programs/xmalloc.h: New file.
22382         * catgets/gencat.c: Include it.
22383         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22384         * elf/pldd.c: Likewise.
22385         * iconv/iconv_charmap.c: Likewise.
22386         * iconv/iconvconfig.c: Likewise.
22387         * iconv/strtab.c: Likewise.
22388         * locale/programs/locale.c: Likewise.
22389         * locale/programs/localedef.h: Likewise.
22390         * locale/programs/simple-hash.c: Likewise.
22391         * nscd/nscd.h: Likewise.
22392         * nss/makedb.c: Likewise.
22393         * sysdeps/generic/ldconfig.h: Likewise.
22395 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22397         * Versions.def: Add GLIBC_2.18.
22398         * include/link.h (struct link_map): New member l_tls_dtor_count.
22399         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22400         (__call_tls_dtors): Likewise.
22401         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22402         __cxa_thread_atexit_impl.
22403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22404         Likewise.
22405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22406         Likewise.
22407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22408         Likewise.
22409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22410         Likewise.
22411         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22412         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22413         Likewise.
22414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22415         Likewise.
22416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22418         Likewise.
22419         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22420         (tests): Add test case tst-tls-atexit.
22421         (modules-names): Add shared library for tst-tls-atexit.
22422         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22423         (GLIBC_PRIVATE): Add __call_tls_dtors.
22424         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22425         for libstdc++.
22426         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22427         * stdlib/tst-tls-atexit.c: New test case.
22428         * stdlib/tst-tls-atexit-lib.c: New test case.
22430         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22432         * elf/Versions (ld): Add _dl_find_dso_for_object.
22433         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22434         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22435         (dl_open_worker): Use _dl_find_dso_for_object.
22436         * elf/dl-sym.c (do_sym): Likewise.
22437         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22439 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22441         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22442         Syntactic changes only.
22443         (_dl_runtime_profile): Do a tail-call to the resolved function.
22445 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22447         [BZ #13550]
22448         * sysdeps/x86_64/bp-asm.h: Remove file.
22449         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22450         <bp-sym.h> and <bp-asm.h>.
22451         (__clone): Do not use BP_SYM.
22452         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22453         <bp-sym.h> and <bp-asm.h>.
22454         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22455         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22456         "bp-asm.h".
22457         (_setjmp): Do not use BP_SYM.
22458         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22459         "bp-asm.h".
22460         (setjmp): Do not use BP_SYM.
22461         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22462         libc_hidden_def.
22463         (mempcpy): Do not use BP_SYM in weak_alias.
22464         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22465         "bp-asm.h".
22466         (strchr): Do not use BP_SYM.
22467         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22468         "bp-asm.h".
22469         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22470         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22471         (_start): Do not use BP_SYM.
22472         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22473         "bp-asm.h".
22474         (strcat): Do not use BP_SYM.
22475         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22476         "bp-asm.h".
22477         (STRCMP): Do not use BP_SYM.
22478         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22479         "bp-asm.h".
22480         (STRCPY): Do not use BP_SYM.
22481         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22482         "bp-asm.h".
22483         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22484         "bp-asm.h".
22485         (FUNCTION): Do not use BP_SYM.
22486         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22487         weak_alias.
22488         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22490 2013-02-17  Andreas Jaeger  <aj@suse.de>
22492         * time/Versions: Sort entries.
22493         * string/Versions: Likewise.
22494         * resolv/Versions: Likewise.
22495         * posix/Versions: Likewise.
22496         * iconv/Versions: Likewise.
22497         * elf/Versions: Likewise.
22498         * wcsmbs/Versions: Likewise.
22500 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22502         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22503         loop termination condition.
22505         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22506         variable to calculate EZ.
22507         (__sqr): Likewise.
22509         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22510         the lower precision input.
22512 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22514         [BZ #13550]
22515         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22516         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22517         (run-via-rtld-prefix): Do not handle %-bp tests.
22518         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22519         (all-object-suffixes): Remove .ob.
22520         (bppfx): Remove variable.
22521         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22522         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22523         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22524         [$(build-bounded) = yes] (libtype.ob): Likewise.
22525         * Makerules (elide-routines.ob): Remove variable.
22526         (do-tests-clean): Do not handle *-bp.out.
22527         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22528         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22529         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22530         (tests): Do not include $(tests-bp.out).
22531         (xtests): Do not include $(xtests-bp.out).
22532         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22533         [$(build-bounded) = yes] ($(addprefix
22534         $(objpfx),$(binaries-bounded))): Remove rule.
22535         ($(objpfx)%-bp.out): Remove rule.
22536         * config.make.in (build-bounded): Remove variable.
22537         * crypt/Makefile [$(build-bounded) = yes]
22538         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22539         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22540         append to variable.
22541         [$(build-bounded) = yes] (install-lib): Likewise.
22542         [$(build-bounded) = yes] (generated): Likewise.
22543         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22544         Remove rule.
22545         * intl/Makefile [$(build-bounded) = yes]
22546         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22547         * math/Makefile [$(build-bounded) = yes]
22548         ($(tests:%=$(objpfx)%-bp): Likewise.
22549         * misc/Makefile [$(build-bounded) = yes]
22550         ($(objpfx)tst-tsearch-bp): Likewise.
22551         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22552         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22553         Remove dependency.
22554         * string/Makefile (o-objects.ob): Remove variable.
22555         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22556         (CFLAGS-.ob): Remove variable.
22557         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22558         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22559         both definitions of variable.
22560         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22561         (ASFLAGS-.ob): Remove variable.
22563 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22565         [BZ #13550]
22566         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22567         Remove __BOUNDED_POINTERS__ from condition.
22568         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22569         * string/bits/string2.h [!__NO_STRING_INLINES &&
22570         !__BOUNDED_POINTERS__]: Likewise.
22571         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22572         Likewise.
22573         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22574         Remove conditional code.
22575         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22576         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22577         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22578         condition.
22580         [BZ #13550]
22581         * csu/libc-start.c: Do not include <bp-sym.h>.
22582         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22583         * elf/dl-open.c: Do not include <bp-sym.h>.
22584         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22585         * math/fegetenv.c: Do not include <bp-sym.h>.
22586         (fegetenv): Do not use BP_SYM in versioned symbols.
22587         * nptl/sysdeps/pthread/bits/libc-lockP.h
22588         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22589         <bp-sym.h>.
22590         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22591         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22592         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22593         (__pthread_mutex_destroy): Likewise.
22594         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22595         (__pthread_mutex_lock): Likewise.
22596         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22597         (__pthread_mutex_trylock): Likewise.
22598         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22599         (__pthread_mutex_unlock): Likewise.
22600         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22601         (__pthread_mutexattr_init): Likewise.
22602         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22603         (__pthread_mutexattr_destroy): Likewise.
22604         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22605         (__pthread_mutexattr_settype): Likewise.
22606         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22607         (__pthread_rwlock_init): Likewise.
22608         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22609         (__pthread_rwlock_destroy): Likewise.
22610         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22611         (__pthread_rwlock_rdlock): Likewise.
22612         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22613         (__pthread_rwlock_tryrdlock): Likewise.
22614         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22615         (__pthread_rwlock_wrlock): Likewise.
22616         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22617         (__pthread_rwlock_trywrlock): Likewise.
22618         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22619         (__pthread_rwlock_unlock): Likewise.
22620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22621         (__pthread_key_create): Likewise.
22622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22623         (__pthread_setspecific): Likewise.
22624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22625         (__pthread_getspecific): Likewise.
22626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22627         Likewise.
22628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22629         (_pthread_cleanup_push_defer): Likewise.
22630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22631         (_pthread_cleanup_pop_restore): Likewise.
22632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22633         (pthread_setcancelstate): Likewise.
22634         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22635         <bp-sym.h>.
22636         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22637         (memchr): Do not use BP_SYM in weak_alias.
22638         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22639         (fegetenv): Do not use BP_SYM in versioned symbols.
22640         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22641         (fesetenv): Do not use BP_SYM in versioned symbols.
22642         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22643         (feupdateenv): Do not use BP_SYM in versioned symbols.
22644         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22645         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22646         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22647         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22648         (open64): Do not use BP_SYM in weak_alias.
22649         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22650         (fegetenv): Do not use BP_SYM in versioned symbols.
22651         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22652         (fesetenv): Do not use BP_SYM in versioned symbols.
22653         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22654         (feupdateenv): Do not use BP_SYM in versioned symbols.
22655         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22656         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22657         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22658         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22659         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22660         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22661         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22662         <bp-sym.h>.
22663         (__libc_start_main): Do not use BP_SYM.
22665 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22667         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22668         redundant return line.
22669         (norm): Likewise.
22670         (denorm): Likewise.
22671         (dbl_mp): Likewise.
22672         (sub_magnitudes): Likewise.
22673         (__add): Likewise.
22674         (__sub): Likewise.
22675         (__mul): Likewise.
22676         (__inv): Likewise.
22677         (__dvd): Likewise.
22678         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22679         (norm): Likewise.
22680         (denorm): Likewise.
22681         (dbl_mp): Likewise.
22682         (sub_magnitudes): Likewise.
22683         (__add): Likewise.
22684         (__sub): Likewise.
22685         (__mul): Likewise.
22686         (__inv): Likewise.
22687         (__dvd): Likewise.
22689         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22690         instead of __mul.
22691         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22692         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22693         (cc32): Likewise.
22695         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22696         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22698         of __mul for squares.
22699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22700         function
22701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22702         Likewise.
22703         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22704         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22706 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22708         [BZ #13550]
22709         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22710         code.
22711         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22712         prototype or function definition.  Rename ubp_* variables and
22713         parameters.  Remove argv definitions conditional on
22714         [__BOUNDED_POINTERS__].
22715         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22716         * elf/dl-runtime.c (_dl_fixup): Likewise.
22717         * include/set-hooks.h (RUN_HOOK): Likewise.
22718         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22719         definition.
22720         * string/strcpy.c (strcpy): Do not use __unbounded.
22721         * sysdeps/generic/frame.h (struct layout): Likewise.
22722         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22723         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22724         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22725         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22726         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22727         (__backtrace): Likewise.
22728         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22729         use __ptrvalue.
22730         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22731         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22732         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22733         Likewise.
22734         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22735         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22736         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22737         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22738         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22739         Do not use __unbounded.
22740         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22741         Rename __unboundedrlimits parameter to rlimits in prototype.
22742         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22743         Do not use __unbounded.
22744         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22745         not use __ptrvalue.
22746         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22747         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22748         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22749         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22750         __ptrvalue or __unbounded.
22751         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22752         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22753         use __unbounded.
22754         (__new_msgctl): Do not use __ptrvalue.
22755         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22756         __unbounded.
22757         (__libc_msgrcv): Do not use __ptrvalue.
22758         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22759         startup_info): Do not use __unbounded.
22760         (__libc_start_main): Likewise.  Rename ubp_* variables and
22761         parameters.  Remove argv definitions conditional on
22762         [__BOUNDED_POINTERS__].
22763         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22764         __ptrvalue.
22765         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22766         use __unbounded.
22767         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22768         or __ptrvalue.
22769         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22770         use __unbounded.
22771         (__new_shmctl): Do not use __ptrvalue.
22772         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22773         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22774         Likewise.
22775         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22776         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22777         (__libc_sigaction): Likewise.
22778         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22779         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22780         Likewise.
22781         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22783 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22785         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22787         * string/mempcpy.c: Implement by calling memcpy.
22789 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22794         evaluation.
22796         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22797         values in the mantissa.
22799         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22800         minimize writes to Z.
22801         (sub_magnitudes): Simplify code a bit.
22803 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22805         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22806         from the message.  The linker prefixes all warnings with that already.
22808 2013-02-12  Andreas Schwab  <schwab@suse.de>
22810         [BZ #15078]
22811         * posix/regexec.c (extend_buffers): Add parameter min_len.
22812         (check_matching): Pass minimum needed length.
22813         (clean_state_log_if_needed): Likewise.
22814         (get_subexp): Likewise.
22815         * posix/Makefile (tests): Add bug-regex34.
22816         (bug-regex34-ENV): Define.
22817         * posix/bug-regex34.c: New file.
22819         [BZ #11561]
22820         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22821         elements compare against the byte sequence of it, not its name.
22822         * posix/Makefile (tests): Add bug-regex35.
22823         (bug-regex35-ENV): Define.
22824         * posix/bug-regex35.c: New file.
22826 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22828         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22829         comment.
22830         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22831         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22832         (CHECK_EOL): Add undef.
22834 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22836         * bits/stdlib-bsearch.h: New file.
22837         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22838         * stdlib/stdlib.h: Likewise.
22840 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22842         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22843         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22844         declaration.
22845         * manual/search.texi (Array Search Function): Add missing const in
22846         lfind prototype.
22847         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22848         declaration to use rlim_t.
22849         (Basic Scheduling Functions): Remove erroneous const from
22850         sched_getparam prototype.  Remove erroneous * from
22851         sched_get_priority_max and sched_get_priority_min prototypes.
22852         (Resource Usage): Fix summary @comment on vtimes to refer to
22853         sys/vtimes.h rather than vtimes.h.
22854         Add missing *s in vtimes prototype.
22855         (Limits on Resources): Fix ulimit prototype to return long int.
22856         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22857         prototypes to use long int rather than double.
22858         (BSD Random): Fix initstate and setstate to use char *, not void *.
22859         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22860         prototype to make second argument 'struct aiocb64 *const[]'.
22861         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22862         (Status of AIO Operations): Remove erroneous const in aio_return and
22863         aio_return64 prototypes.
22864         (Synchronizing I/O): Fix sync prototype to return void.
22865         * manual/startup.texi (Suboptions): Remove an erroneous const in
22866         getsubopt prototype.
22867         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22868         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22869         use size_t rather than int.
22870         (Scanning All Users): Likewise for getpwent_r.
22871         (Setting Groups): Add missing const to setgroups prototype.
22872         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22873         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22874         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22875         'const void *' rather than 'const char *'.
22876         (Host Address Functions): Likewise for inet_ntop.
22877         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22878         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22879         ssize_t for return value.
22880         (Sending Data): Likewise for send, sendto, sendmsg.
22881         (Socket Option Functions): Add a missing const in setsockopt prototype.
22882         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22883         use wchar_t for the argument.
22884         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22885         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22886         take no arguments.
22887         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
22888         double/float/long double for second argument.
22889         Fix return types of significand, significandf, significandl.
22890         * manual/filesys.texi (Setting Permissions): Use mode_t for second
22891         argument in fchmod prototype.
22892         (File Owner): Use uid_t and gid_t in fchown prototype.
22893         (File Times): Add const to utimes, futimes, and lutimes prototypes.
22894         (Making Special Files): Use mode_t and dev_t in mknod prototype.
22895         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
22896         use 'const struct dirent **' as argument types to CMP function pointer
22897         argument.
22898         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
22899         (File Times): Fix summary magic @comment for struct utimbuf and utime
22900         to refer to utime.h, not time.h.
22901         * manual/string.texi (Argz Functions): Add missing const in
22902         argz_extract and argz_next prototypes.
22903         (Finding Tokens in a String): Likewise for basename.
22904         (String/Array Comparison): Fix typo in wcscasecmp prototype.
22905         (Copying and Concatenation): Fix typo in wmemmove prototype.
22906         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
22907         (Signal Stack): Remove erroneous const in sigstack prototype.
22908         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
22909         prototype.
22910         (Simple Calendar Time): Likewise for stime.
22911         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
22912         prototype.
22913         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
22914         say sys/sysctl.h instead.
22915         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
22916         and vsyslog prototypes.
22918 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22920         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
22921         Remove.
22923 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22925         * misc/sys/mman.h: Fix typo in mremap comment.
22927 2013-02-08  Roland McGrath  <roland@hack.frob.com>
22929         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
22930         the '\0' terminator.
22932 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
22934         [BZ #13550]
22935         * debug/segfault.c: Don't include <bp-checks.h>.
22936         * sysdeps/generic/bp-checks.h: Remove file.
22937         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
22938         (__GETDENTS): Don't use CHECK_N.
22939         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
22940         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22941         (__getgroups): Don't use CHECK_N.
22942         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
22943         (setgroups): Don't use CHECK_N.
22944         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
22945         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
22946         (__libc_msgrcv): Don't use CHECK_N.
22947         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
22948         (__libc_msgsnd): Don't use CHECK_N.
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
22950         <bp-checks.h>.
22951         (__libc_pread): Don't use CHECK_N.
22952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
22953         include <bp-checks.h>.
22954         (__libc_pread64): Don't use CHECK_N.
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
22956         include <bp-checks.h>.
22957         (__libc_pwrite): Don't use CHECK_N.
22958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
22959         include <bp-checks.h>.
22960         (__libc_pwrite64): Don't use CHECK_N.
22961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
22962         <bp-checks.h>.
22963         (__libc_pread): Don't use CHECK_N.
22964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
22965         include <bp-checks.h>.
22966         (__libc_pread64): Don't use CHECK_N.
22967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
22968         include <bp-checks.h>.
22969         (__libc_pwrite): Don't use CHECK_N.
22970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
22971         include <bp-checks.h>.
22972         (__libc_pwrite64): Don't use CHECK_N.
22973         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
22974         (do_pread): Don't use CHECK_N.
22975         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
22976         (do_pread64): Don't use CHECK_N.
22977         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
22978         (do_pwrite): Don't use CHECK_N.
22979         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
22980         (do_pwrite64): Don't use CHECK_N.
22981         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
22982         (__libc_readv): Don't use CHECK_N.
22983         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
22984         (semop): Don't use CHECK_N.
22985         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
22986         <bp-checks.h>.
22987         (semtimedop): Don't use CHECK_N.
22988         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
22989         (__libc_pread): Don't use CHECK_N.
22990         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
22991         <bp-checks.h>.
22992         (__libc_pread64): Don't use CHECK_N.
22993         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
22994         <bp-checks.h>.
22995         (__libc_pwrite): Don't use CHECK_N.
22996         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
22997         <bp-checks.h>.
22998         (__libc_pwrite64): Don't use CHECK_N.
22999         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23000         <bp-checks.h>.
23001         (__libc_msgrcv): Don't use CHECK_N.
23002         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23003         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23004         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23005         (__libc_writev): Don't use CHECK_N.
23007 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23009         * string/strcpy.c: Removed unused variable.
23011         * Makeconfig (+sysdep-includes): Define with := rather than =.
23012         Use an existing include/ subdir of each sysdeps dir before it.
23014 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23016         * nscd/connection.c (register_traced_file): Comment function.
23017         [HAVE_INOTIFY] (union __inev): Define.
23018         [HAVE_INOTIFY] (inotify_check_files): New function.
23019         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23020         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23021         clear_db_cache.
23022         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23024 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23026         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23027         loaded if not already and that a failure is permanent.
23029 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23031         [BZ #15006]
23032         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23033         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23035 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23037         [BZ #13550]
23038         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23039         (CHECK_1_NULL_OK): Likewise.
23040         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23041         (__fxstat): Do not use CHECK_1.
23042         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23043         <bp-checks.h>.
23044         (___fxstat64): Do not use CHECK_1.
23045         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23046         <bp-checks.h>.
23047         (__fxstatat): Do not use CHECK_1.
23048         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23049         <bp-checks.h>.
23050         (__fxstatat64): Do not use CHECK_1.
23051         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23052         <bp-checks.h>.
23053         (__fxstat): Do not use CHECK_1.
23054         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23055         <bp-checks.h>.
23056         (__fxstatat): Do not use CHECK_1.
23057         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23058         <bp-checks.h>.
23059         (__getresgid): Do not use CHECK_1.
23060         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23061         <bp-checks.h>.
23062         (__getresuid): Do not use CHECK_1.
23063         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23064         <bp-checks.h>.
23065         (__lxstat): Do not use CHECK_1.
23066         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23067         <bp-checks.h>.
23068         (__old_msgctl): Do not use CHECK_1.
23069         (__new_msgctl): Likewise.
23070         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23071         <bp-checks.h>.
23072         (__new_setrlimit): Do not use CHECK_1.
23073         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23074         <bp-checks.h>.
23075         (__old_shmctl): Do not use CHECK_1.
23076         (__new_shmctl): Likewise.
23077         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23078         <bp-checks.h>.
23079         (__xstat): Do not use CHECK_1.
23080         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23081         (__lxstat): Do not use CHECK_1.
23082         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23083         <bp-checks.h>.
23084         (___lxstat64): Do not use CHECK_1.
23085         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23086         (__old_msgctl): Do not use CHECK_1.
23087         (__new_msgctl): Likewise.
23088         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23089         <bp-checks.h>.
23090         (__gettimeofday): Do not use CHECK_1.
23091         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23092         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23093         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23094         <bp-checks.h>.
23095         (__gettimeofday): Do not use CHECK_1.
23096         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23097         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23098         (__new_shmctl): Do not use CHECK_1.
23099         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23100         <bp-checks.h>.
23101         (do_sigtimedwait): Do not use CHECK_1.
23102         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23103         <bp-checks.h>.
23104         (do_sigwaitinfo): Do not use CHECK_1.
23105         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23106         <bp-checks.h>.
23107         (msgctl): Do not use CHECK_1.
23108         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23109         <bp-checks.h>.
23110         (shmctl): Do not use CHECK_1.
23111         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23112         (ustat): Do not use CHECK_1.
23113         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23114         <bp-checks.h>.
23115         (__fxstat): Do not use CHECK_1.
23116         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23117         <bp-checks.h>.
23118         (__fxstatat): Do not use CHECK_1.
23119         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23120         <bp-checks.h>.
23121         (__lxstat): Do not use CHECK_1.
23122         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23123         <bp-checks.h>.
23124         (__xstat): Do not use CHECK_1.
23125         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23126         (__xstat): Do not use CHECK_1.
23127         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23128         (___xstat64): Do not use CHECK_1.
23130         [BZ #13550]
23131         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23132         definitions.
23133         (CHECK_BOUNDS_HIGH): Likewise.
23134         * string/strcpy.c: Do not include <bp-checks.h>.
23135         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23137 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23139         * nscd/nscd-client.h (__nscd_drop_map_ref):
23140         Add __attribute__ ((unused)).
23141         * nis/nss-nisplus.h (niserr2nss): Likewise.
23143         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23144         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23146         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23147         Remove inline keyword.
23148         * include/rounding-mode.h (round_away): Likewise.
23149         * libio/wfileops.c (adjust_wide_data): Likewise.
23150         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23151         (__m128i_strloadu_tolower): Likewise.
23152         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23153         (__m128i_strloadu_tolower): Likewise.
23154         * time/mktime.c (ydhms_diff): Likewise.
23155         * locale/elem-hash.h (elem_hash): Likewise.
23156         * locale/setlocale.c (setdata): Likewise.
23157         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23158         (re_string_wchar_at): Likewise.
23159         (bitset_not, bitset_merge, bitset_mask): Likewise.
23160         [!(__GNUC__ > 3)] (inline): Remove macro.
23161         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23162         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23163         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23164         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23165         * string/memcmp.c (memcmp_bytes): Likewise.
23166         * locale/programs/locarchive.c (compute_hashval): Likewise.
23167         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23168         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23169         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23170         * nss/getent.c (print_rpc, print_protocols): Likewise.
23171         (print_passwd, print_group, print_aliases): Likewise.
23172         * nis/nss-nisplus.h (niserr2nss): Likewise.
23173         * nscd/connections.c (restart_p): Likewise.
23174         Change return type to bool.
23176 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23178         * Makeconfig (all-Depend-files): Add existing
23179         $(sorted-subdirs:=/Depend) files.
23180         (all-subdirs): Remove nss.
23181         * sysdeps/unix/inet/Subdirs: Add it here instead.
23182         * hesiod/Depend: New file.
23184         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23185         instead of calling alloca.
23187         * io/lseek.c (__lseek): Rename to __libc_lseek.
23188         Define __lseek as an alias.
23190         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23192 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23194         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23195         else clause and remove check for non-standard endianness.
23197 2013-02-04  David S. Miller  <davem@davemloft.net>
23199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23201 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23203         [BZ #13550]
23204         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23205         (__ubp_memchr): Remove prototype.
23206         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23207         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23208         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23209         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23210         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23211         Remove alias.
23212         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23213         (__ubp_memchr): Likewise.
23214         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23215         (__ubp_memchr): Likewise.
23216         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23217         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23218         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23219         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23220         CHECK_STRING.
23221         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23222         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23223         (__getcwd): Do not use CHECK_STRING.
23224         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23225         <bp-checks.h>.
23226         (__real_chown): Do not use CHECK_STRING.
23227         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23228         <bp-checks.h>.
23229         (fchownat): Do not use CHECK_STRING.
23230         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23231         CHECK_STRING.
23232         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23233         <bp-checks.h>.
23234         (__lchown): Do not use CHECK_STRING.
23235         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23236         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23237         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23238         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23240         include <bp-checks.h>.
23241         (truncate64): Do not use CHECK_STRING.
23242         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23243         <bp-checks.h>.
23244         (__real_chown): Do not use CHECK_STRING.
23245         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23246         <bp-checks.h>.
23247         (__lchown): Do not use CHECK_STRING.
23248         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23249         <bp-checks.h>.
23250         (__chown): Do not use CHECK_STRING.
23251         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23252         <bp-checks.h>.
23253         (truncate64): Do not use CHECK_STRING.
23254         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23255         Likewise.
23256         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23257         (__xmknod): Do not use CHECK_STRING.
23258         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23259         <bp-checks.h>.
23260         (__xmknodat): Do not use CHECK_STRING.
23261         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23262         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23264 2013-02-04  Andreas Schwab  <schwab@suse.de>
23266         [BZ #14142]
23267         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23268         * include/netdb.h: Likewise for h_errno.
23269         * elf/tst-stackguard1.c: Include <tls.h>.
23271 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23273         * elf/link.h (struct link_map): Extend the l_addr comment.
23274         * include/link.h (struct link_map): Likewise.
23276 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23278         [BZ #13550]
23279         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23280         (BOUNDED_1): Remove macro.
23281         * debug/backtrace.c: Don't include <bp-checks.h>.
23282         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23283         (__backtrace): Likewise.
23284         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23285         <bp-checks.h>.
23286         (__backtrace): Don't use BOUNDED_1.
23287         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23288         <bp-checks.h>.
23289         (__backtrace): Don't use BOUNDED_1.
23290         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23291         (__backtrace): Don't use BOUNDED_1.
23292         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23293         (shmat): Don't use BOUNDED_N.
23295 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23297         [BZ #13550]
23298         * sysdeps/generic/bp-start.h: Remove file.
23299         * csu/libc-start.c: Don't include <bp-start.h>.
23300         (LIBC_START_MAIN): Set up __environ directly instead of using
23301         INIT_ARGV_and_ENVIRON.
23302         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23303         <bp-start.h>.
23305         [BZ #13550]
23306         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23307         definitions.
23308         (CHECK_FCNTL): Likewise.
23309         (CHECK_N_PAGES): Likewise.
23311         [BZ #13550]
23312         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23313         definitions.
23314         (CHECK_SIGSET_NULL_OK): Likewise.
23315         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23316         <bp-checks.h>.
23317         (sigpending): Don't use CHECK_SIGSET.
23318         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23319         <bp-checks.h>.
23320         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23321         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23322         <bp-checks.h>.
23323         (do_sigsuspend): Don't use CHECK_SIGSET.
23324         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23325         use CHECK_SIGSET.
23326         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23327         (do_sigwait): Don't use CHECK_SIGSET.
23328         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23329         use CHECK_SIGSET.
23330         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23331         include <bp-checks.h>.
23332         (sigpending): Don't use CHECK_SIGSET.
23333         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23334         include <bp-checks.h>.
23335         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23336         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23337         <bp-checks.h>.
23338         (sigpending): Don't use CHECK_SIGSET.
23339         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23340         <bp-checks.h>.
23341         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23343         [BZ #13550]
23344         * sysdeps/generic/bp-semctl.h: Remove file.
23345         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23346         <bp-checks.h> and <bp-semctl.h>.
23347         (__old_semctl): Don't use CHECK_SEMCTL.
23348         (__new_semctl): Likewise.
23349         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23350         and <bp-semctl.h>.
23351         (__old_semctl): Don't use CHECK_SEMCTL.
23352         (__new_semctl): Likewise.
23353         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23354         <bp-checks.h> and <bp-semctl.h>.
23355         (__old_semctl): Don't use CHECK_SEMCTL.
23356         (__new_semctl): Likewise.
23357         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23358         <bp-checks.h> and <bp-semctl.h>.
23359         (semctl): Don't use CHECK_SEMCTL.
23361         [BZ #13550]
23362         * Makerules (elide-bp-thunks): Remove variable.
23363         (elide-routines.oS): Don't use $(elide-bp-thunks).
23364         (elide-routines.os): Likewise.
23365         (elide-routines.o): Likewise.
23366         (elide-routines.op): Likewise.
23367         (elide-routines.og): Likewise.
23368         (objects): Don't use $(bp-thunks).
23369         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23370         include.
23371         (common-generated): Do not add s-proto-bp.d.
23372         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23373         (int): Likewise.
23374         (typ): Likewise.
23375         Do not generate makefile rules for bounded-pointer thunks.
23376         * sysdeps/generic/bp-thunks.h: Remove file.
23377         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23378         * sysdeps/unix/s-proto-bp.S: Likewise.
23380         [BZ #15062]
23381         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23382         parts of result separately when argument is not close to line from
23383         -i to i and one part of argument is small.
23384         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23385         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23386         * math/libm-test.inc (cacos_test): Add more tests.
23387         (casin_test): Likewise.
23388         (casinh_test): Likewise.
23389         * sysdeps/i386/fpu/libm-test-ulps: Update.
23390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23392 2013-01-31  David S. Miller  <davem@davemloft.net>
23394         * po/de.po: Update from translation team.
23396 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23398         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23400 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23402         * configure.in (_AC_PROG_CC_C89): New definition.
23403         * configure: Regenerate.
23405         * configure.in (AC_PROG_CPP): New definition.
23406         * configure: Regenerate.
23408 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23410         * debug/tst-backtrace.h: New file.
23411         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23412         (ret): Remove variable.
23413         (x): Likewise.
23414         (FAIL): Remove macro.
23415         (NO_INLINE): Likewise.
23416         (fn1): Use match function instead of strstr.
23417         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23418         (ret): Remove variable.
23419         (x): Likewise.
23420         (FAIL): Remove macro.
23421         (NO_INLINE): Likewise.
23422         (fn): Use match function instead of strstr.
23423         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23424         (ret): Remove variable.
23425         (x): Likewise.
23426         (FAIL): Remove macro.
23427         (NO_INLINE): Likewise.
23428         (handle_signal): Use match function instead of strstr.
23429         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23430         (ret): Remove variable.
23431         (x): Likewise.
23432         (FAIL): Remove macro.
23433         (NO_INLINE): Likewise.
23434         (handle_signal): Use match function instead of strstr.
23436 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23438         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23440 2013-01-23  David S. Miller  <davem@davemloft.net>
23442         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23443         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23444         argument of CAS if possible.
23445         * sysdeps/sparc/sparc64/bits/atomic.h
23446         (__arch_compare_and_exchange_val_32_acq): Likewise.
23447         (__arch_compare_and_exchange_val_64_acq): Likewise.
23449 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23451         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23452         * sysdeps/posix/ulimit.c: ... this.
23453         Include <limits.h>.
23454         * sysdeps/unix/bsd/ulimit.c: Remove file.
23456 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23458         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23459         (LDFLAGS-tst-array5): Likewise.
23461 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23463         [BZ #15036]
23464         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23465         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23466         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23467         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23469 2013-01-21  David S. Miller  <davem@davemloft.net>
23471         * sysdeps/sparc/backtrace.c: New file.
23472         * sysdeps/sparc/sparc32/backtrace.h: New file.
23473         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23474         * sysdeps/sparc/sparc64/backtrace.h: New file.
23475         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23476         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23477         -funwind-tables.
23479 2013-01-21  Andreas Schwab  <schwab@suse.de>
23481         [BZ #15020]
23482         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23483         closed its stdout.
23485 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23488         "mpa2.h".
23489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23491 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23492             Mark Mitchell  <mark@codesourcery.com>
23493             Tom de Vries  <tom@codesourcery.com>
23494             Paul Pluzhnikov  <ppluzhnikov@google.com>
23496         * debug/tst-backtrace2.c: New file.
23497         * debug/tst-backtrace3.c: Likewise.
23498         * debug/tst-backtrace4.c: Likewise.
23499         * debug/tst-backtrace5.c: Likewise.
23500         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23501         (CFLAGS-tst-backtrace3.c): Likewise.
23502         (CFLAGS-tst-backtrace4.c): Likewise.
23503         (CFLAGS-tst-backtrace5.c): Likewise.
23504         (LDFLAGS-tst-backtrace2): Likewise.
23505         (LDFLAGS-tst-backtrace3): Likewise.
23506         (LDFLAGS-tst-backtrace4): Likewise.
23507         (LDFLAGS-tst-backtrace5): Likewise.
23508         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23509         tst-backtrace4 and tst-backtrace5.
23511 2013-01-18  Anton Blanchard  <anton@samba.org>
23512             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23514         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23515         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23516         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23517         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23519         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23520         "+r" and remove output regs list as redundant.  Add explicit inline
23521         asm to specify register of return val to work around compiler codegen
23522         bug.  Remove (int) cast on return value.  Add return type parameter to
23523         use in macro so that this macro does not truncate return value for
23524         64-bit values.
23525         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23526         pass to INTERNAL_VSYSCALL_NCS.
23527         (INLINE_VSYSCALL): Add 'long int' as return type to
23528         INTERNAL_VSYSCALL_NCS macro invocation.
23529         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23530         INTERNAL_VSYSCALL_NCS macro invocation.
23531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23533 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23535         [BZ #14496]
23536         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23537         Fix application of SIMD FP exception mask.
23539         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23540         mp_no from a power of two.
23541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23542         __mpexp_twomm1.  Use __pow_mp.
23544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23545         multiplication.
23547 2013-01-17  David S. Miller  <davem@davemloft.net>
23549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23551 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23553         [BZ #15023]
23554         * include/complex.h: Condition contents on [!_COMPLEX_H].
23555         (__kernel_casinhf): New prototype.
23556         (__kernel_casinh): Likewise.
23557         (__kernel_casinhl): Likewise.
23558         * math/Makefile (libm_calls): Add k_casinh.
23559         * math/k_casinh.c: New file.
23560         * math/k_casinhf.c: Likewise.
23561         * math/k_casinhl.c: Likewise.
23562         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23563         finite nonzero arguments.
23564         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23565         finite nonzero arguments.
23566         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23567         finite nonzero arguments.
23568         * math/s_casinh.c: Do not include <float.h>.
23569         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23570         * math/s_casinhf.c: Do not include <float.h>.
23571         (__casinhf): Move code for finite nonzero arguments to
23572         k_casinhf.c.
23573         * math/s_casinhl.c: Do not include <float.h>.
23574         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23575         redefine.
23576         (__casinhl): Move code for finite nonzero arguments to
23577         k_casinhl.c.
23578         * math/libm-test.inc (cacos_test): Add more tests.
23579         * sysdeps/i386/fpu/libm-test-ulps: Update.
23580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23582 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23584         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23585         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23586         [!HAVE_MREMAP]: Remove [defined linux] case.
23587         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23589 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23591         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23593 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23595         * elf/elf.h (R_386_SIZE32): New relocation.
23596         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23597         R_386_SIZE32.
23598         (elf_machine_rela): Likewise.
23599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23600         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23602 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23604         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23605         (FP_FAST_FMA): Do not define.
23606         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23607         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23608         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23609         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23610         !_SOFT_FLOAT]: Likewise.
23611         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23612         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23613         value.
23614         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23615         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23616         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23617         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23618         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23619         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23620         file.
23622 2013-01-16  Andreas Schwab  <schwab@suse.de>
23624         [BZ #14327]
23625         * include/stdlib.h (__mktemp): Add declaration.
23626         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23627         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23629 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23631         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23632         definitions.
23633         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23634         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23635         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23636         definitions here.
23637         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23638         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23639         definitions.
23640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23641         and ONE.
23642         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23643         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23644         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23645         definitions.
23646         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23647         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23648         definitions.
23649         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23651         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23653 2013-01-15  David S. Miller  <davem@davemloft.net>
23655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23656         trunc{,f} to libm-sysdep_routes.
23657         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23659         file.
23660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23662         file.
23663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23664         file.
23665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23667         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23668         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23669         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23670         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23671         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23672         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23675         nearbyint{,f} to libm-sysdep_routes.
23676         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23678         New file.
23679         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23680         file.
23681         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23682         New file.
23683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23684         file.
23685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23687         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23688         file.
23689         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23690         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23691         file.
23692         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23693         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23694         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23696         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23697         libc_feholdexcept and libc_fesetenv.
23699 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23701         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23703 2013-01-14  David S. Miller  <davem@davemloft.net>
23705         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23706         (SPARC_ASM_VIS2_IFUNC): Likewise.
23707         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23709         use of 'siam' instruction.
23710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23711         Likewise.
23712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23713         Likewise.
23714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23715         Likewise.
23716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23717         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23718         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23721         file.
23722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23723         file.
23724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23725         file.
23726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23727         file.
23728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23733         new VIS2 routines.
23734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23737         Likewise.
23738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23740         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23741         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23743         routines to libm-sysdep_routines.
23744         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23747         fdim/fdimf to libm-sysdep_routines.
23748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23749         file.
23750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23752         file.
23753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23756         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23757         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23758         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23759         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23761 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23763         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23764         to optimize copies.
23766         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23770         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23771         local variable MPTWO.
23772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23773         Likewise.
23775 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23777         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23778         GLOB_NOESCAPE.
23780 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23782         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23784 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23786         * manual/pattern.texi (glob_t): Document gl_flags.
23787         (glob64_t): Likewise.
23789 2013-01-11  David S. Miller  <davem@davemloft.net>
23791         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23792         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23793         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23794         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23795         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23796         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23797         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23798         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23799         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23800         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23801         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23802         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23803         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23805         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23806         sparc V9 rather than using V8 code.
23807         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23808         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23810         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23811         Move to...
23812         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23813         Here.
23815 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23817         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23818         not in the main loop.
23819         * configure: Regenerated.
23821 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23823         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23824         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23825         to just #else.
23826         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23827         [!__GLIBC_HAVE_LONG_LONG] case.
23828         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23829         condition to just #else.
23830         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23831         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23832         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23833         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23834         unconditional.
23835         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23836         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23837         #elif condition to just #else.
23838         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23839         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23840         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23841         #elif condition to just #else.
23843 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23845         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23846         (EF_MIPS_ARCH_64): Fix value.
23847         (EF_MIPS_ARCH_32R2): New.
23848         (EF_MIPS_ARCH_64R2): New.
23850 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23852         * Makeconfig (+link-pie-before-libc): New.
23853         (+link-pie-after-libc): Likewise.
23854         (+link-pie-tests): Likewise.
23855         (+link-pie): Rewritten.
23856         (link-before-libc): Remove $(config-LDFLAGS).
23857         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23858         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23859         (config-LDFLAGS): Renamed to ...
23860         (rtld-LDFLAGS): This.
23861         (rtld-tests-LDFLAGS): New macro.
23862         (link-libc-rpath-link): Likewise.
23863         (link-libc-tests-rpath-link): Likewise.
23864         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23865         (link-libc): Prepand $(link-libc-rpath-link).
23866         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23867         (test-program-prefix): New macro.
23868         (test-via-rtld-prefix): Likewise.
23869         (test-program-cmd): Likewise.
23870         (host-test-program-cmd): Likewise.
23871         * Makefile ($(common-objpfx)testrun.sh): Replace
23872         $(run-program-prefix) with $(test-program-prefix).
23873         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23874         $(rtld-LDFLAGS).
23875         ($(common-objpfx)shlib.lds): Likewise.
23876         (build-module-helper): Likewise.
23877         ($(common-objpfx)format.lds): Likewise.
23878         * Rules (binaries-pie-tests): New.
23879         (binaries-pie-notests): Likewise.
23880         (binaries-pie): Rewritten.
23881         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23882         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23883         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23884         (make-test-out): Replace $(host-built-program-cmd) with
23885         $(host-test-program-cmd).
23886         * config.make.in (build-hardcoded-path-in-tests): New variable.
23887         * configure.in (--enable-hardcoded-path-in-tests): New configure
23888         option.
23889         (hardcoded_path_in_tests): New AC_SUBST.
23890         * configure: Regenerated.
23891         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
23892         $(built-program-cmd) with $(test-program-cmd).
23893         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
23894         (test_program_cmd): This.
23895         * elf/Makefile ($(objpfx)order.out): Run test with
23896         $(test-program-prefix).
23897         ($(objpfx)order2.out): Likewise.
23898         ($(objpfx)tst-initorder.out): Likewise.
23899         ($(objpfx)tst-initorder2.out): Likewise.
23900         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
23901         $(test-program-cmd).
23902         ($(objpfx)tst-array1-static.out): Likewise.
23903         ($(objpfx)tst-array2.out): Likewise.
23904         ($(objpfx)tst-array3.out): Likewise.
23905         ($(objpfx)tst-array4.out): Likewise.
23906         ($(objpfx)tst-array5.out): Likewise.
23907         ($(objpfx)tst-array5-static.out): Likewise.
23908         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
23909         $(test-program-cmd).
23910         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
23911         $(run-program-prefix) with $(test-program-prefix).
23912         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
23913         (test_program_prefix): This.
23914         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
23915         $(run-program-prefix) with $(test-program-prefix).
23916         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
23917         (test_program_prefix): This.
23918         * iconvdata/tst-tables.sh: Likewise.
23919         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
23920         $(run-program-prefix) with $(test-program-prefix).
23921         ($(objpfx)tst-translit.out): Likewise.
23922         ($(objpfx)tst-gettext2.out): Likewise.
23923         ($(objpfx)tst-gettext4.out): Likewise.
23924         ($(objpfx)tst-gettext6.out): Likewise.
23925         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
23926         (test_program_prefix): This.
23927         * intl/tst-gettext2.sh: Likewise.
23928         * intl/tst-gettext4.sh  Likewise.
23929         * intl/tst-gettext6.sh: Likewise.
23930         * intl/tst-translit.sh: Likewise.
23931         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
23932         with $(test-program-cmd).
23933         * libio/Makefile ($(objpfx)test-freopen.out): Replace
23934         $(run-program-prefix) with $(test-program-prefix).
23935         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
23936         (test_program_prefix): This.
23937         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
23938         $(run-program-prefix) with $(test-program-prefix).
23939         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
23940         (test_program_prefix): This.
23941         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
23942         * posix/Makefile ($(objpfx)globtest.out): Replace
23943         $(run-via-rtld-prefix) and $(test-wrapper) with
23944         $(test-program-prefix) and $(test-via-rtld-prefix).
23945         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
23946         $(test-program-prefix).
23947         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
23948         $(host-test-program-cmd).
23949         (tst-spawn-ARGS): Likewise.
23950         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
23951         $(test-program-prefix).
23952         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
23953         (test_via_rtld_prefix): This.
23954         (test_wrapper): Renamed to ...
23955         (test_program_prefix): This.
23956         (run_program_prefix): Replaced by test_program_prefix.
23957         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
23958         (test_program_prefix): This.
23959         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
23960         with $(host-test-program-cmd).
23961         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
23962         $(run-program-prefix) with $(test-program-prefix).
23963         ($(objpfx)tst-printf.out): Likewise.
23964         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
23965         $(test-program-cmd).
23966         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
23967         (test_program_prefix): This.
23968         * stdio-common/tst-unbputc.sh: Likewise.
23969         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
23970         $(run-program-prefix) with $(test-program-prefix).
23971         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
23972         (test_program_prefix): This.
23973         * string/Makefile ($(objpfx)tst-svc.out):  Replace
23974         $(built-program-cmd) with $(test-program-cmd).
23976 2013-01-11  Andreas Jaeger  <aj@suse.de>
23978         [BZ #15003]
23979         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
23980         value. Sync with Linux 3.7.
23982 2013-01-10  David S. Miller  <davem@davemloft.net>
23984         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
23985         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23986         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23988 2013-01-10  Roland McGrath  <roland@hack.frob.com>
23990         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
23991         never set.
23992         * configure: Regenerated.
23994 2013-01-10  David S. Miller  <davem@davemloft.net>
23996         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23997         sparc V9 rather than using V8 code.
23998         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23999         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24001 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24003         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24004         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24005         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24006         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24007         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24008         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24009         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24010         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24011         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24012         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24013         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24014         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24015         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24016         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24017         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24018         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24019         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24020         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24021         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24022         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24023         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24024         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24025         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24026         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24027         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24028         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24029         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24031 2013-01-10  David S. Miller  <davem@davemloft.net>
24033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24035 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24037         * posix/Makefile (tests-static): New variable.
24038         (tests): Add $(tests-static).
24039         (tst-exec-static-ARGS): New variable.
24040         (tst-spawn-static-ARGS): Likewise.
24041         * posix/tst-exec-static.c: New file.
24042         * posix/tst-spawn-static.c: Likewise.
24043         * posix/tst-exec.c: Support run directly.
24044         * posix/tst-spawn.c: Likewise.
24046 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24048         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24049         long.
24050         * math/bits/mathcalls.h (llrint): Likewise.
24051         (llround): Likewise.
24052         * stdlib/stdlib.h (struct drand48_data): Likewise.
24053         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24054         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24055         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24056         Likewise.
24057         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24058         Likewise.
24059         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24060         (elf_greg_t): Likewise.
24061         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24062         (__jmp_buf): Likewise.
24063         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24064         definitions.
24065         (llrint): Likewise, for all definitions.
24066         (llrintl): Likewise.
24068         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24069         Remove [__GNUC__] condition.
24070         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24071         condition to just [__USE_ISOC99].
24072         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24074 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24076         [BZ #14200]
24077         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24078         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24079         defined.
24080         (_POSIX_V6_ILP32_OFF32): Likewise.
24081         (_XBS5_ILP32_OFF32): Likewise.
24082         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24083         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24085 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24087         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24090         doubles __mpexp_twomm1.  Adjust usage.
24091         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24092         Remove.
24094 2013-01-10  Andreas Schwab  <schwab@suse.de>
24096         [BZ #14964]
24097         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24098         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24100 2013-01-09  David S. Miller  <davem@davemloft.net>
24102         [BZ #15003]
24103         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24104         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24105         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24106         (TCP_FASTOPEN): Define.
24107         (tcp_repair_opt): New structure.
24108         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24109         enum values.
24110         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24111         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24112         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24113         (tcp_cookie_transactions): New structure.
24115 2013-01-09  Anton Blanchard  <anton@samba.org>
24117         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24118         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24119         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24120         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24122 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24124         * include/features.h (__USE_ANSI): Remove.
24126 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24128         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24130         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24132 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24134         * sysdeps/s390/fpu/libm-test-ulps: Update.
24136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24138         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24139         (__acr): Likewise.
24140         (__cpy): Likewise.
24141         (norm): Likewise.
24142         (denorm): Likewise.
24143         (__mp_dbl): Likewise.
24144         (__dbl_mp): Likewise.
24145         (add_magnitudes): Likewise.
24146         (sub_magnitudes): Likewise.
24147         (__add): Likewise.
24148         (__sub): Likewise.
24149         (__mul): Likewise.
24150         (__inv): Likewise.
24151         (__dvd): Likewise.
24152         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24153         (__acr): Likewise.
24154         (__cpy): Likewise.
24155         (norm): Likewise.
24156         (denorm): Likewise.
24157         (__mp_dbl): Likewise.
24158         (__dbl_mp): Likewise.
24159         (add_magnitudes): Likewise.
24160         (sub_magnitudes): Likewise.
24161         (__add): Likewise.
24162         (__sub): Likewise.
24163         (__mul): Likewise.
24164         (__inv): Likewise.
24165         (__dvd): Likewise.
24166         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24167         (__acr): Likewise.
24168         (__cpy): Likewise.
24169         (norm): Likewise.
24170         (denorm): Likewise.
24171         (__mp_dbl): Likewise.
24172         (__dbl_mp): Likewise.
24173         (add_magnitudes): Likewise.
24174         (sub_magnitudes): Likewise.
24175         (__add): Likewise.
24176         (__sub): Likewise.
24177         (__mul): Likewise.
24178         (__inv): Likewise.
24179         (__dvd): Likewise.
24181 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24183         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24184         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24185         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24186         2 && __USE_EXTERN_INLINES]: Likewise.
24188 2013-01-08  Andreas Jaeger  <aj@suse.de>
24190         [BZ# 14985]
24191         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24192         Remove.
24193         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24194         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24196 2013-01-07  Anton Blanchard  <anton@samba.org>
24198         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24199         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24200         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24201         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24202         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24203         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24204         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24205         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24207         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24208         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24209         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24210         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24211         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24212         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24213         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24214         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24215         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24216         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24217         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24218         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24219         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24220         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24221         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24222         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24223         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24224         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24225         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24226         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24227         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24228         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24230         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24231         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24232         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24233         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24234         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24235         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24236         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24237         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24238         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24239         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24240         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24242 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24244         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24245         (__MALLOC_PMT): Likewise.
24246         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24247         [__GNUC__], only on [_LIBC].
24248         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24249         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24250         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24251         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24252         forward declaration.
24253         (realloc_hook_ini): Likewise.
24254         (memalign_hook_ini): Likewise.
24255         (__libc_memalign): Do not use __MALLOC_PMT in variable
24256         declaration.
24257         (__libc_valloc): Likewise.
24258         (__libc_pvalloc): Likewise.
24259         (__libc_calloc): Likewise.
24260         (__posix_memalign): Likewise.
24262         [BZ #14996]
24263         * math/s_casinh.c: Include <float.h>.
24264         (__casinh): Do not do computation with squaring and square root
24265         for large arguments.
24266         * math/s_casinhf.c: Include <float.h>.
24267         (__casinhf): Do not do computation with squaring and square root
24268         for large arguments.
24269         * math/s_casinhl.c: Include <float.h>.
24270         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24271         (__casinhl): Do not do computation with squaring and square root
24272         for large arguments.
24273         * math/libm-test.inc (casin_test): Add more tests.
24274         (casinh_test): Likewise.
24275         * sysdeps/i386/fpu/libm-test-ulps: Update.
24276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24278 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24280         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24281         (__x86_64_raw_data_cache_size): Likewise.
24282         (__x86_64_data_cache_size_half): Likewise.
24283         (__x86_64_raw_data_cache_size_half): Likewise.
24284         (__x86_64_shared_cache_size): Likewise.
24285         (__x86_64_raw_shared_cache_size): Likewise.
24286         (__x86_64_shared_cache_size_half): Likewise.
24287         (__x86_64_raw_shared_cache_size_half): Likewise.
24288         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24289         to ...
24290         (__x86_data_cache_size): This.
24291         (__x86_64_raw_data_cache_size): Renamed to ...
24292         (__x86_raw_data_cache_size): This.
24293         (__x86_64_data_cache_size_half): Renamed to ...
24294         (__x86_data_cache_size_half): This.
24295         (__x86_64_raw_data_cache_size_half): Renamed to ...
24296         (__x86_raw_data_cache_size_half): This.
24297         (__x86_64_shared_cache_size): Renamed to ...
24298         (__x86_shared_cache_size): This.
24299         (__x86_64_raw_shared_cache_size): Renamed to ...
24300         (__x86_raw_shared_cache_size): This.
24301         (__x86_64_shared_cache_size_half): Renamed to ...
24302         (__x86_shared_cache_size_half): This.
24303         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24304         (__x86_raw_shared_cache_size_half): This.
24305         * sysdeps/x86_64/memcpy.S: Updated.
24306         * sysdeps/x86_64/memset.S: Likewise.
24307         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24308         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24309         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24311 2013-01-04  David S. Miller  <davem@davemloft.net>
24313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24315 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24317         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24318         1 to avoid redefinition warning.
24319         (__USE_GNU): Don't define.
24320         (init_signaling_nan): Protoize.
24322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24324 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24326         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24327         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24328         (__cpymn): Likewise.
24329         (norm): Remove commented code.
24330         (denorm): Likewise.
24331         (__mp_dbl): Likewise.
24332         (__inv): Likewise.
24333         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24334         (__cpymn): Likewise.
24335         (norm): Remove commented code.
24336         (denorm): Likewise.
24337         (__mp_dbl): Likewise.
24338         (__inv): Likewise.
24340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24341         mp_no value for 1.0 and 2.0.
24342         (norm): Use RADIXI instead of radixi.d.
24343         (denorm): Likewise.
24344         (__mul): Use 0.0 instead of zero.d.
24345         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24346         mp_no value for 1.0 and 2.0.
24347         (norm): Use RADIXI instead of radixi.d.
24348         (denorm): Likewise.
24349         (__mul): Use 0.0 instead of zero.d.
24351 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24353         [BZ #14994]
24354         * math/s_casinh.c (__casinh): Reduce finite argument to first
24355         quadrant then set signs of results at the end.
24356         * math/s_casinhf.c (__casinhf): Likewise.
24357         * math/s_casinhl.c (__casinhl): Likewise.
24358         * math/libm-test.inc (casin_test): Add more tests.
24359         (casinh_test): Likewise.
24360         * sysdeps/i386/fpu/libm-test-ulps: Update.
24361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24363 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24365         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24367         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24369         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24370         declarations.
24371         (denorm): Likewise.
24372         (__mp_dbl): Likewise.
24373         (__inv): Likewise.
24375         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24376         and adjust the header comment.
24378         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24379         variable name from declaration.
24381 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24384         Initialize COMMON_CPUID_INDEX_7 element.
24385         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24386         (CPUID_RTM): Likewise.
24387         (HAS_RTM): Likewise.
24388         (COMMON_CPUID_INDEX_7): New enum.
24390 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24392         [BZ #14981]
24393         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24394         size is zero, record memory as freed.
24396 2013-01-03  Andreas Jaeger  <aj@suse.de>
24398         * po/ia.po: Add new Interlingua translation.
24400 2012-01-03  Allan McRae  <allan@archlinux.org>
24402         * locale/programs/localedef.c: Fix description of '--posix' flag.
24404 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24406         * NEWS: Update dates in second copyright notice.
24407         * README: Update copyright dates in example.
24408         * manual/libc.texinfo: Update copyright dates.
24409         * scripts/test-installation.pl: Update copyright date in --version
24410         output.
24412         * hurd/ctty-input.c: Fix copyright notice formatting.
24413         * hurd/ctty-output.c: Likewise.
24414         * hurd/dtable.c: Likewise.
24415         * hurd/hurd-raise.c: Likewise.
24416         * hurd/hurdprio.c: Likewise.
24417         * hurd/msgportdemux.c: Likewise.
24418         * misc/sys/file.h: Likewise.
24419         * misc/sys/ioctl.h: Likewise.
24420         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24421         * sysdeps/mach/hurd/chdir.c: Likewise.
24422         * sysdeps/mach/hurd/fchdir.c: Likewise.
24423         * sysdeps/mach/hurd/rename.c: Likewise.
24424         * sysdeps/mach/hurd/rmdir.c: Likewise.
24425         * sysdeps/mach/hurd/seekdir.c: Likewise.
24426         * sysdeps/mach/hurd/setsid.c: Likewise.
24427         * sysdeps/posix/wait3.c: Likewise.
24429         * All files with FSF copyright notices: Update copyright dates
24430         using scripts/update-copyrights.
24431         * intl/plural.c: Regenerated.
24432         * locale/programs/charmap-kw.h: Likewise.
24433         * locale/programs/locfile-kw.h: Likewise.
24435 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24437         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24438         four values.
24440         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24441         calculation loop and add branch prediction.
24443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24444         check access beyond bounds of m1np.
24446         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24447         MPTWO.
24448         (__inv): Remove local variable MPTWO to use the global
24449         constant.
24450         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24451         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24452         variable MPTWO.
24453         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24454         MP3HALFS static const.
24456 2013-01-01  David S. Miller  <davem@davemloft.net>
24458         * po/ca.po: Update from translation team.
24460 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24462         * scripts/update-copyrights: New file.
24463         * Makeconfig: Reformat copyright notice.
24464         * ctype/ctype.h: Likewise.
24465         * debug/swprintf_chk.c: Likewise.
24466         * elf/dl-cache.c: Likewise.
24467         * elf/dl-debug.c: Likewise.
24468         * elf/dl-object.c: Likewise.
24469         * grp/initgroups.c: Likewise.
24470         * hurd/Makefile: Likewise.
24471         * hurd/hurd/signal.h: Likewise.
24472         * hurd/hurdfault.c: Likewise.
24473         * hurd/hurdioctl.c: Likewise.
24474         * hurd/hurdlookup.c: Likewise.
24475         * hurd/intr-msg.c: Likewise.
24476         * iconv/gconv_open.c: Likewise.
24477         * libio/swprintf.c: Likewise.
24478         * locale/lc-ctype.c: Likewise.
24479         * locale/nl_langinfo.c: Likewise.
24480         * mach/Machrules: Likewise.
24481         * mach/Makefile: Likewise.
24482         * malloc/obstack.h: Likewise.
24483         * manual/Makefile: Likewise.
24484         * manual/tsort.awk: Likewise.
24485         * misc/bits/stab.def: Likewise.
24486         * nis/nis_print_group_entry.c: Likewise.
24487         * nis/nis_table.c: Likewise.
24488         * nis/nss_compat/compat-pwd.c: Likewise.
24489         * nis/nss_compat/compat-spwd.c: Likewise.
24490         * po/Makefile: Likewise.
24491         * posix/fnmatch.c: Likewise.
24492         * posix/regex.h: Likewise.
24493         * resolv/Makefile: Likewise.
24494         * resolv/nss_dns/dns-network.c: Likewise.
24495         * resolv/res_hconf.c: Likewise.
24496         * scripts/gen-sorted.awk: Likewise.
24497         * soft-fp/soft-fp.h: Likewise.
24498         * stdio-common/printf.h: Likewise.
24499         * stdlib/monetary.h: Likewise.
24500         * stdlib/random.c: Likewise.
24501         * stdlib/random_r.c: Likewise.
24502         * sysdeps/generic/Makefile: Likewise.
24503         * sysdeps/gnu/Makefile: Likewise.
24504         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24505         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24506         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24507         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24508         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24509         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24510         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24511         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24512         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24513         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24514         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24515         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24516         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24517         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24518         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24519         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24520         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24521         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24522         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24523         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24524         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24525         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24526         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24527         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24528         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24529         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24530         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24531         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24532         * sysdeps/mach/hurd/errnos.awk: Likewise.
24533         * sysdeps/mach/hurd/fork.c: Likewise.
24534         * sysdeps/mach/hurd/getcwd.c: Likewise.
24535         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24536         * sysdeps/mach/hurd/mmap.c: Likewise.
24537         * sysdeps/mach/hurd/utimes.c: Likewise.
24538         * sysdeps/mach/hurd/xmknod.c: Likewise.
24539         * sysdeps/posix/profil.c: Likewise.
24540         * sysdeps/posix/readdir_r.c: Likewise.
24541         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24542         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24543         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24544         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24546         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24547         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24548         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24550         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24551         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24552         * sysdeps/pthread/lio_listio.c: Likewise.
24553         * sysdeps/sparc/dl-procinfo.h: Likewise.
24554         * sysdeps/unix/i386/sysdep.S: Likewise.
24555         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24556         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24557         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24558         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24560         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24561         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24562         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24563         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24564         * sysdeps/wordsize-32/divdi3.c: Likewise.
24565         * time/sys/time.h: Likewise.
24566         * wcsmbs/Makefile: Likewise.
24568 2013-01-01  David S. Miller  <davem@davemloft.net>
24570         * po/fr.po: Update from translation team.
24572         * catgets/gencat.c: Update copyright year.
24573         * csu/version.c: Likewise.
24574         * debug/catchsegv.sh: Likewise.
24575         * debug/pcprofiledump.c: Likewise.
24576         * debug/xtrace.sh: Likewise.
24577         * elf/ldconfig.c: Likewise.
24578         * elf/ldd.bash.in: Likewise.
24579         * elf/pldd.c: Likewise.
24580         * elf/sotruss.ksh: Likewise.
24581         * elf/sprof.c: Likewise.
24582         * iconv/iconv_prog.c: Likewise.
24583         * iconv/iconvconfig.c: Likewise.
24584         * locale/programs/locale.c: Likewise.
24585         * locale/programs/localedef.c: Likewise.
24586         * login/programs/pt_chown.c: Likewise.
24587         * malloc/memusage.sh: Likewise.
24588         * malloc/memusagestat.c: Likewise.
24589         * malloc/mtrace.pl: Likewise.
24590         * nscd/nscd.c: Likewise.
24591         * nss/getent.c: Likewise.
24592         * nss/makedb.c: Likewise.
24593         * posix/getconf.c: Likewise.
24595 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24597         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24598         numbers.
24600 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24602         * math/bits/mathcalls.h (modf): Use __nonnull.
24604 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24606         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24607         (split): Use macro CN instead of the bare value.
24608         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24609         could be used.
24610         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24611         instead of the bare value.
24612         (power1): Likewise.
24614 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24616         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24617         __ATAN_TWOM.
24618         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24620         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24621         their values.
24622         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24623         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24624         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24625         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24627 2012-12-28  Andreas Jaeger  <aj@suse.de>
24629         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24630         values are from Linux 3.7.
24632         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24633         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24635 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24637         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24638         TRUE case.
24640         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24641         (norm): Likewise.
24642         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24643         variables with preprocessor constants.
24644         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24645         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24646         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24648 2012-12-27  Bruno Haible  <bruno@clisp.org>
24650         [BZ #14317]
24651         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24652         only if needed.
24654 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24656         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24657         and use variable directly.
24658         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24660         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24661         MPONE.
24662         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24663         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24664         variable MPONE.
24665         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24666         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24667         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24668         include directive.  Remove local variable MPONE.
24669         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24670         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24671         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24673 2012-12-25  David S. Miller  <davem@davemloft.net>
24675         * version.h (RELEASE): Set to "development".
24676         (VERSION): Set to "2.17.90".
24677         * NEWS: Add 2.18 section.
24679 2012-12-21  David S. Miller  <davem@davemloft.net>
24681         * po/hr.po: Update from translation team.
24683 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24685         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24687 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24689         * NEWS:  Mention new memcpy for MIPS.
24691 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24693         * manual/contrib.texi (Contributors): Spelling correction.
24695 2012-12-15  David S. Miller  <davem@davemloft.net>
24697         * po/ru.po: Update from translation team.
24699 2012-12-13  David S. Miller  <davem@davemloft.net>
24701         * NEWS: Mention IFUNC testsuite enhancements.
24703         * po/pl.po: Update from translation team.
24704         * po/bg.po: Likewise.
24706         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24707         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24709 2012-12-11  David S. Miller  <davem@davemloft.net>
24711         * po/sv.po: Update from translation team.
24713         * po/vi.po: Update from translation team.
24715         * po/cs.po: Update from translation team.
24717         * po/de.po: Update from translation team.
24718         * po/eo.po: Likewise.
24719         * po/nl.po: Likewise.
24721 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24723         [BZ #14246]
24724         * manual/argp.texi (Argp Helper Functions): Move node to follow
24725         Argp Parsing State.
24727         [BZ #14872]
24728         * manual/conf.texi (Limits on File System Capacity): Mention if
24729         terminating null is included in the max size.
24731 2012-12-10  Andreas Jaeger  <aj@suse.de>
24733         * po/cs.po: Update from translation team.
24735 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24737         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24738         void pointer and cast to uintptr_t.
24739         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24740         path.
24741         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24742         * sysdeps/s390/s390-64/memset.S: Likewise.
24744 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24746         [BZ #14833]
24747         * menual/message.texi (Message Translation): Fix typos.
24748         (Helper programs for gettext): Likewise.
24750 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24752         [BZ #14898]
24753         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24754         Change to -1.
24756 2012-12-07  David S. Miller  <davem@davemloft.net>
24758         * po/libc.pot: Update.
24760 2012-12-07  Richard Henderson  <rth@redhat.com>
24762         [BZ #10114]
24763         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24764         normal/normal case to before the switch.
24765         (_FP_DIV): Likewise.
24767 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24768             Mike Frysinger  <vapier@gentoo.org>
24770         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24771         check for __NR_fadvise64_64.
24773 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24775         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24776         0, not just to plain "0" as a statement.
24777         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24778         with cw.
24780 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24782         * NEWS: Use sourceware.org in Bugzilla URL.
24784 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24787         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24789         * stdio-common/tst-put-error.c (do_test): Add newline to the
24790         padded test to ensure flush.
24792 2012-12-05  Jeff Law  <law@redhat.com>
24794         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24796 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24798         * README: Don't refer to ports add-on as distributed separately.
24799         Mention AArch64 in list of systems supported in the ports add-on.
24801         * LICENSES: Add more non-FSF copyright and license notices.
24803         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24804         ((unused)).
24806         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24808         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24809         10000 as width of padded output.
24811 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24813         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24816         variable LX with __attribute__ ((unused)).
24817         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24818         Likewise.
24819         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24820         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24821         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24822         with __attribute__ ((unused)).
24824 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24826         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24828 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24830         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24831         (CFLAGS-nldbl-acos.c): New variable.
24832         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24833         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24834         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24835         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24836         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24837         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24838         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24839         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24840         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24841         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24842         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24843         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24844         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24845         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24846         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24847         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24848         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24849         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24850         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24851         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24852         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24853         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24854         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24855         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24856         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24857         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24858         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24859         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24860         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24861         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24862         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24863         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24864         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24865         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24866         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24867         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24868         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24869         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24870         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24871         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24872         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24873         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24874         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24875         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24876         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24877         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24878         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24879         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24880         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24881         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24882         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24883         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24884         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24885         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24886         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
24887         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
24888         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
24889         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
24890         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
24891         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
24892         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
24893         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
24894         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
24895         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
24896         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
24897         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
24898         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
24899         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
24900         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
24901         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
24902         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
24903         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
24904         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
24905         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
24906         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
24907         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
24908         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
24909         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
24910         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
24911         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
24912         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
24913         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
24914         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
24915         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
24916         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
24917         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
24918         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
24919         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
24920         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
24921         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
24922         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
24923         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
24924         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
24925         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
24926         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
24927         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
24928         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
24930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24931         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24933         [BZ #14914]
24934         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
24935         whole low double instead of just low 47 bits when splitting values
24936         into two parts.
24938 2012-12-03  Allan McRae  <allan@archlinux.org>
24940         * manual/stdio.texi (Predefined Printf Handlers): Remove
24941         @hsep and @vsep usage.
24943 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
24945         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
24946         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
24948 2012-12-03  Jeff Law  <law@redhat.com>
24950         * time/sys/time.h (settimeofday): Do not mark TV argument
24951         as __nonnull.
24953 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
24955         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
24956         when currently writing and seek to current position when not.
24957         * libio/Makefile (tests): Remove bug-fclose1.
24958         * libio/bug-fclose1.c: Delete.
24960 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
24962         * manual/arith.texi (feenableexcept): Fix typo.
24963         (fedisableexcept): Likewise.
24965 2012-11-30  Roland McGrath  <roland@hack.frob.com>
24967         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
24968         second, differently-typed declaration, rather than a cast.
24970 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
24972         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
24973         * include/rpc/svc.h: ... here.
24975 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
24977         [BZ #13013]
24978         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
24979         depending n and resplen2 to catch cases where answer
24980         equals answerp2.
24982 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
24984         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
24985         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
24987 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
24989         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
24991 2012-11-29  Roland McGrath  <roland@hack.frob.com>
24993         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
24995 2012-11-28  Jeff Law  <law@redhat.com>
24997         [BZ #13761]
24998         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
24999         dataset_temporary.  Track alloca usage into alloca_used.
25000         If dataset is large allocate and release it via malloc/free.
25002 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25004         [BZ #14197]
25005         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25007 2012-11-28  David S. Miller  <davem@davemloft.net>
25009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25011 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25013         [BZ #14803]
25014         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25015         of pi/2 rounded to nearest to 64 bits.
25016         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25017         nearest to 64 bits.
25018         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25019         bits.
25021 2012-11-28  Jeff Law <law@redhat.com>
25022             Martin Osvald <mosvald@redhat.com>
25024         [BZ #14889]
25025         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25026         * sunrpc/svc.c: Include time.h.
25027         (__svc_accept_failed): New function.
25028         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25029         any reason other than EINTR, call __svc_accept_failed.
25030         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25031         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25033 2012-11-28  Andreas Schwab  <schwab@suse.de>
25035         * scripts/abilist.awk: Also handle indirect functions in .opd
25036         section.
25038 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25040         [BZ #13881]
25041         * sysdeps/x86/fpu/powl_helper.c: New file.
25042         * sysdeps/x86/fpu/Makefile: Likewise.
25043         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25044         (p3): New object.
25045         (__ieee754_powl): Use __powl_helper for finite arguments except
25046         integer exponents below 8.
25047         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25048         (p3): New object.
25049         (__ieee754_powl): Use __powl_helper for finite arguments except
25050         integer exponents below 8.
25051         * math/libm-test.inc (pow_test): Add more tests and enable some
25052         previously disabled tests.
25053         * sysdeps/i386/fpu/libm-test-ulps: Update.
25054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25056 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25057             Carlos O'Donell  <carlos_odonell@mentor.com>
25059         * nss/makedb.c (is_prime): Assert that input is odd and greater
25060         than 4.  Note that fact in a comment too.
25061         (next_prime): Add 4 to input.
25063 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25065         [BZ #11741]
25066         * libio/Makefile (tests): Add test case tst-fwrite-error.
25067         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25068         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25069         * libio/tst-fwrite-error.c: New test case.
25071 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25073         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25074         before casting to void *.
25075         * include/libc-internal.h (__pointer_type): New macro.
25076         (__integer_if_pointer_type_sub): Likewise.
25077         (__integer_if_pointer_type): Likewise.
25078         (cast_to_integer): Likewise.
25079         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25080         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25081         before casting to atomic64_t.
25082         (atomic_exchange_acq): Likewise.
25083         (__arch_exchange_and_add_body): Likewise.
25084         (__arch_add_body): Likewise.
25085         (atomic_add_negative): Likewise.
25086         (atomic_add_zero): Likewise.
25088 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25090         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25091         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25092         (add_fdes): Likewise.
25093         (linear_search_fdes): Likewise.
25094         (binary_search_unencoded_fdes): Likewise.
25096 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25098         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25100 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25102         * configure.in: Autodetect C++ header directories.
25103         * configure: Regenerated.
25105 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25107         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25109 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25113 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25115         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25116         LDBL_MANT_DIG == 106]: Disable some tests.
25117         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25118         Likewise.
25119         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25120         Likewise.
25122         [BZ #14871]
25123         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25124         input for small inputs.  Return +/- pi/2 for large inputs.
25125         * math/libm-test.inc (atan_test): Add more tests.
25127         * sysdeps/generic/unwind-dw2-fde-glibc.c
25128         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25129         __attribute__ ((unused)).
25131         [BZ #14645]
25132         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25133         x * y if x and y are nonzero and z is zero.
25135         [BZ #14811]
25136         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25137         nonzero exponents with absolute value below 0x1p-117 to +/-
25138         0x1p-117.
25140         [BZ #14869]
25141         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25142         up arguments below 2**-450, not just those below 2**-500.
25143         * math/libm-test.inc (hypot_test): Add another test.
25145         [BZ #14868]
25146         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25147         Return a+b for ratio over 2**120, not 2**60.
25148         * math/libm-test.inc (hypot_test): Add another test.
25150         * math/libm-test.inc (clog_test): Use
25151         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25152         (clog10_test): Likewise.
25154         [BZ #6778]
25155         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25157 2012-11-22  Andreas Schwab  <schwab@suse.de>
25159         * sysdeps/i386/fpu/libm-test-ulps: Update.
25161 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25163         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25164         printf output with newline.
25166 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25168         [BZ #14865]
25169         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25170         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25171         -z nodlopen, -z initfirst and -z execstack support.
25172         * configure: Regenerated.
25174         * elf/elf.h (DF_1_NODIRECT): New macro.
25175         (DF_1_IGNMULDEF): Likewise.
25176         (DF_1_NOKSYMS): Likewise.
25177         (DF_1_NOHDR): Likewise.
25178         (DF_1_EDITED): Likewise.
25179         (DF_1_NORELOC): Likewise.
25180         (DF_1_SYMINTPOSE): Likewise.
25181         (DF_1_GLOBAUDIT): Likewise.
25182         (DF_1_SINGLETON): Likewise.
25183         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25184         DT_1_SUPPORTED_MASK bits.
25185         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25187 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25189         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25191 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25193         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25194         macro.
25196         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25197         (sendmmsg): Move declarations...
25198         * socket/sys/socket.h: ... here.
25199         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25200         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25201         include it from...
25202         * socket/recvmmsg.c: ... this new file.
25203         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25204         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25205         definition of __sendmmsg hidden.
25206         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25207         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25208         Move ENOSYS stub into and include it from...
25209         * socket/sendmmsg.c: ... this new file.
25210         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25211         (sysdep_routines): Move recvmmsg and sendmmsg...
25212         * socket/Makefile (routines): ... here.
25213         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25214         (GLIBC_PRIVATE): Add __sendmmsg.
25215         * include/sys/socket.h (__sendmmsg): Add declarations.
25216         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25217         sendmmsg.
25219 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25221         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25222         variable I1 with __attribute__ ((unused)).
25223         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25225 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25227         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25228         DUMMY variables with __attribute__ ((unused)).
25230         * bits/byteswap.h: Include <bits/types.h>.
25231         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25233 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25235         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25236         string_t.  Do not manually set errno.
25237         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25238         length with __strnlen.  Make sure to both set errno and return it on
25239         failure.
25241 2012-11-19  David S. Miller  <davem@davemloft.net>
25243         With help from Joseph Myers.
25244         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25245         very large arguments properly.
25246         * math/libm-test.inc (atan_test): New tests.
25247         (atan2_test): New tests.
25248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25251 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25253         [BZ #14856]
25254         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25255         Define to 3.
25257         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25258         [POSIX] (EADDRNOTAVAIL): Likewise.
25259         [POSIX] (EAFNOSUPPORT): Likewise.
25260         [POSIX] (EALREADY): Likewise.
25261         [POSIX] (ECONNABORTED): Likewise.
25262         [POSIX] (ECONNREFUSED): Likewise.
25263         [POSIX] (ECONNRESET): Likewise.
25264         [POSIX] (EDESTADDRREQ): Likewise.
25265         [POSIX] (EDQUOT): Likewise.
25266         [POSIX] (EHOSTUNREACH): Likewise.
25267         [POSIX] (EIDRM): Likewise.
25268         [POSIX] (EISCONN): Likewise.
25269         [POSIX] (ELOOP): Likewise.
25270         [POSIX] (EMULTIHOP): Likewise.
25271         [POSIX] (ENETDOWN): Likewise.
25272         [POSIX] (ENETUNREACH): Likewise.
25273         [POSIX] (ENOBUFS): Likewise.
25274         [POSIX] (ENODATA): Likewise.
25275         [POSIX] (ENOLINK): Likewise.
25276         [POSIX] (ENOMSG): Likewise.
25277         [POSIX] (ENOPROTOOPT): Likewise.
25278         [POSIX] (ENOSR): Likewise.
25279         [POSIX] (ENOSTR): Likewise.
25280         [POSIX] (ENOTCONN): Likewise.
25281         [POSIX] (ENOTSOCK): Likewise.
25282         [POSIX] (EOPNOTSUPP): Likewise.
25283         [POSIX] (EOVERFLOW): Likewise.
25284         [POSIX] (EPROTO): Likewise.
25285         [POSIX] (EPROTONOSUPPORT): Likewise.
25286         [POSIX] (EPROTOTYPE): Likewise.
25287         [POSIX] (ESTALE): Likewise.
25288         [POSIX] (ETIME): Likewise.
25289         [POSIX] (ETXTBSY): Likewise.
25290         [POSIX] (EWOULDBLOCK): Likewise.
25291         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25292         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25293         [POSIX] (SEEK_CUR): Likewise.
25294         [POSIX] (SEEK_END): Likewise.
25295         [POSIX || UNIX98] (mode_t): Do not require.
25296         [POSIX] (off_t): Likewise.
25297         [POSIX] (pid_t): Likewise.
25298         [POSIX] (sys/stat.h): Do not allow header.
25299         [POSIX] (unistd.h): Likewise.
25300         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25301         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25302         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25303         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25304         require.
25305         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25306         sigevent): Specify elements.
25307         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25308         entry.
25309         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25310         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25312         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25313         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25314         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25315         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25316         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25317         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25318         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25319         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25320         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25321         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25322         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25323         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25324         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25325         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25326         Likewise.
25327         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25328         Likewise.
25329         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25330         Likewise.
25331         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25332         Likewise.
25333         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25334         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25335         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25336         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25337         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25338         Specify lower bound on value.
25339         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25340         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25341         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25342         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25343         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25344         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25345         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25346         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25347         value.
25348         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25349         as optional.
25350         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25351         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25352         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25353         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25354         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25355         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25356         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25357         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25358         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25359         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25360         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25361         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25362         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25363         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25364         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25365         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25366         entry.
25367         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25368         optional.
25369         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25370         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25371         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25372         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25373         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25374         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25375         Likewise.
25376         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25377         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25378         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25379         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25380         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25381         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25382         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25383         as optional.
25384         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25385         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25386         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25387         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25388         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25389         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25390         specify as optional.
25391         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25392         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25393         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25394         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25395         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25396         [XPG3] (NL_LANGMAX): Likewise.
25397         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25398         [POSIX || XPG3] (NL_NMAX): Likewise.
25399         [POSIX || XPG3] (NL_SETMAX): Likewise.
25400         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25401         [XPG3] (NZERO): Likewise.
25402         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25403         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25404         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25405         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25406         (REG_ERANGE): Expect.
25407         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25408         optional-constant.
25409         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25410         Use (void) in prototype.
25411         [POSIX] (*_t): Allow.
25412         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25413         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25414         (WRDE_BADVAL): Expect.
25416         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25417         expect.
25418         [XPG3 || XPG4] (O_RSYNC): Likewise.
25419         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25420         Likewise.
25421         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25422         [XPG3 || XPG4] (sigqueue): Likewise.
25423         [XPG3 || XPG4] (sigtimedwait): Likewise.
25424         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25425         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25426         [XPG3 || XPG4] (vsnprintf): Likewise.
25427         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25428         Likewise.
25429         [XPG3 || XPG4] (blksize_t): Likewise.
25430         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25431         Likewise.
25432         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25433         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25434         [XPG3 || XPG4] (struct itimerspec): Likewise.
25435         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25436         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25437         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25438         [XPG3 || XPG4] (clockid_t): Likewise.
25439         [XPG3 || XPG4] (timer_t): Likewise.
25440         [XPG3 || XPG4] (clock_getres): Likewise.
25441         [XPG3 || XPG4] (clock_gettime): Likewise.
25442         [XPG3 || XPG4] (clock_settime): Likewise.
25443         [XPG3 || XPG4] (nanosleep): Likewise.
25444         [XPG3 || XPG4] (timer_create): Likewise.
25445         [XPG3 || XPG4] (timer_delete): Likewise.
25446         [XPG3 || XPG4] (timer_gettime): Likewise.
25447         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25448         [XPG3 || XPG4] (timer_settime): Likewise.
25449         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25450         [XPG3 || XPG4] (getlogin_r): Likewise.
25451         [XPG3 || XPG4] (pread): Likewise.
25452         [XPG3 || XPG4] (pthread_atfork): Likewise.
25453         [XPG3 || XPG4] (pwrite): Likewise.
25455         [BZ #14835]
25456         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25457         <bits/siginfo.h>.
25459 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25461         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25462         finalizing MALLSTREAM.
25464         * sysdeps/mach/hurd/syncfs.c: New file.
25466 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25468         [BZ #14719]
25469         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25470         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25471         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25472         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25473         (_nss_dns_gethostbyname4_r): Likewise.
25474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25475         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25477 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25479         [BZ #13763]
25480         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25482 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25484         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25485         * elf/cache.c (print_entry): Print ",AArch64" for
25486         FLAG_AARCH64_LIB64
25488         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25489         * elf/cache.c (print_entry): Print ",hard-float" for
25490         FLAG_ARM_LIBHF.
25492 2012-11-18  David S. Miller  <davem@davemloft.net>
25494         With help from Joseph Myers.
25495         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25496         cutoff to 2**-13.
25497         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25498         cutoff to 2**-25.
25499         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25500         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25501         small.
25502         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25503         * math/libm-test.inc (y0_test): New tests.
25504         (y1_test): New tests.
25505         * sysdeps/i386/fpu/libm-test-ulps: Update.
25506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25509 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25511         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25512         64-bit targets.
25513         * configure: Regenerated.
25515 2012-11-17  David S. Miller  <davem@davemloft.net>
25517         [BZ #14811]
25518         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25519         nonzero exponents with absolute value below 0x1p-128 to +/-
25520         0x1p-128.
25522 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25524         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25526         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25528         * posix/getconf-speclist.c: New file.
25529         * posix/posix-envs.def: Likewise.
25530         * posix/confstr.c (START_ENV_GROUP): New macro.
25531         (END_ENV_GROUP): Likewise.
25532         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25533         (KNOWN_PRESENT_ENV_STRING): Likewise.
25534         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25535         (UNKNOWN_ENVIRONMENT): Likewise.
25536         (confstr): Include posix-envs.def instead of handling
25537         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25538         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25539         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25540         (END_ENV_GROUP): Likewise.
25541         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25542         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25543         (UNKNOWN_ENVIRONMENT): Likewise.
25544         (__sysconf): Include posix-envs.def instead of handling associated
25545         cases directly here.
25546         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25547         preprocessing getconf-speclist.c rather than running getconf or
25548         generating empty file.
25550 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25552         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25554 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25556         [BZ #14672]
25557         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25559 2012-11-16  David S. Miller  <davem@davemloft.net>
25561         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25562         smaller than LDBL_EPSILON/2.0L, just return xm1.
25564 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25566         * elf/tst-array1.c (init): Set constructor priority to 1000.
25567         (fini): Set destructor priority to 1000.
25568         * elf/tst-array2dep.c: Likewise.
25570 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25572         [BZ #11741]
25573         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25574         (_IO_new_file_xsputn): Also return EOF if none of the input
25575         data was written when overflow failed.
25576         * libio/iopadn.c (_IO_padn): Likewise.
25577         * libio/iowpadn.c (_IO_wpadn): Likewise.
25578         * stdio-common/tst-put-error.c: Add copyright notice.
25579         (do_test): Add case for printing padded string.
25580         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25581         _IO_padn returned error.
25582         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25583         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25584         return EOF.
25586 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25588         * libio/libioP.h: Add comment note that the references to C++
25589         bits are now obsolete.
25591 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25593         * math/libm-test.inc (check_complex): Use asprintf.
25595 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25597         * debug/pcprofiledump.c (print_version): Update copyright year.
25598         * malloc/memusagestat.c (print_version): Likewise.
25600 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25602         [BZ #14831]
25603         * elf/Makefile (tests): Add tst-audit8.
25604         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25605         ($(objpfx)tst-audit8.out): New target.
25606         (tst-audit8-ENV): New variable.
25607         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25608         audit if l_reloc_result is NULL.
25609         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25610         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25611         * elf/tst-audit8.c: New file.
25613 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25615         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25616         * misc/Makefile (CFLAGS-select.c): Define.
25617         * posix/Makefile (CFLAGS-pause.c): Define.
25619 2012-11-13  David S. Miller  <davem@davemloft.net>
25621         * crypt/Makefile: Move test targets after toplevel Rules
25622         inclusion.  Grab any necessary sysdep routines when linking.
25623         * crypt/md5.c (md5_process_block): Remove define, we will always
25624         name it __md5_process_block.
25625         (md5_finish_ctx): Update md5_process_block call.
25626         (md5_stream): Likewise.
25627         (md5_process_bytes): Likewise.
25628         (md5_process_block): Rename to __md5_process_block and move to ...
25629         * crypt/md5-block.c: ... here.
25630         * crypt/sha256.c (sha256_process_block): Move to ...
25631         * crypt/sha256-block.c: ... here.
25632         * crypt/sha512.c (sha512_process_block): Move to ...
25633         * crypt/sha512-block.c: ... here.
25634         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25635         path.
25636         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25637         * sysdeps/sparc/sparc64/multiarch/Makefile
25638         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25639         crypt subdir.
25640         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25641         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25642         multiarch changes.
25643         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25644         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25645         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25646         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25647         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25648         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25649         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25650         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25651         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25652         file.
25653         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25654         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25655         file.
25656         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25658 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25660         * timezone/tzselect.ksh: Update from tzcode git revision
25661         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25662         * timezone/zdump.c: Likewise.
25663         * timezone/zic.c: Likewise.
25664         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25665         in TZVERSION setting, not $(PKGVERSION).
25666         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25667         REPORT_BUGS_TO settings.
25669         [BZ #14838]
25670         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25671         macro.
25673 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25675         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25676         detection to immediately after _FP_ROUND().
25677         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25678         bits are 0.
25680 2012-11-11  David S. Miller  <davem@davemloft.net>
25682         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25683         inttypes.h
25684         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25685         __close rather than their public counterparts.
25687 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25689         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25690         file.
25691         [UNIX98] (sem_timedwait): Do not expect.
25692         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25693         [XPG4 || UNIX98] (sockatmark): Do not expect.
25694         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25695         (clock_getcpuclockid): Do not expect.
25696         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25697         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25698         Do not expect.
25699         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25700         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25701         [UNIX98] (vwscanf): Likewise.
25702         [UNIX98] (vswscanf): Likewise.
25704 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25706         * timezone/version.h: Remove file.
25707         * timezone/README: Do not refer to version.h.
25708         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25709         $(objpfx)version.h.
25710         ($(objpfx)zdump.o): Likewise.
25711         ($(objpfx)version.h): New target.
25713         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25714         2012i.
25715         * timezone/README: Don't mention modification to tzselect.ksh.
25716         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25717         work on unmodified tzselect.ksh.  Substitute version numbers in
25718         tzselect.ksh.
25720         * Makefile (format-me): Remove.
25721         (INSTALL): Adjust indentation.  Use commands directly instead of
25722         using $(format-me).
25724         * aclocal.m4 (ACX_PKGVERSION): New macro.
25725         (ACX_BUGURL): Likewise.
25726         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25727         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25728         (REPORT_BUGS_TO): Likewise.
25729         * configure: Regenerated.
25730         * config.h.in (PKGVERSION): New macro.
25731         (REPORT_BUGS_TO): Likewise.
25732         * config.make.in (PKGVERSION): New variable.
25733         (PKGVERSION_TEXI): Likewise.
25734         (REPORT_BUGS_TO): Likewise.
25735         (REPORT_BUGS_TEXI): Likewise.
25736         * Makefile (format-me): Use -I$(common-objpfx)manual.
25737         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25738         ($(common-objpfx)manual/%): New target.
25739         (manual/%): Remove target.
25740         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25741         (print_version): Use PKGVERSION.
25742         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25743         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25744         and REPORT_BUGS_TO.
25745         ($(objpfx)xtrace): Likewise.
25746         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25747         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25748         (print_version): Use PKGVERSION.
25749         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25750         (do_version): Use PKGVERSION.
25751         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25752         REPORT_BUGS_TO.
25753         (common-ldd-rewrite): Likewise.
25754         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25755         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25756         (print_version): Use PKGVERSION.
25757         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25758         * elf/pldd.c (argp_program_bug_address): Remove variable.
25759         (more_help): New function.
25760         (argp): Use more_help.
25761         (print_version): Use PKGVERSION.
25762         * elf/sln.c (main): Use PKGVERSION.
25763         (usage): Use REPORT_BUGS_TO.
25764         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25765         (top level): Use PKGVERSION.
25766         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25767         (print_version): Use PKGVERSION.
25768         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25769         (print_version): Use PKGVERSION.
25770         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25771         (print_version): Use PKGVERSION.
25772         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25773         (print_version): Use PKGVERSION.
25774         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25775         (print_version): Use PKGVERSION.
25776         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25777         (print_version): Use PKGVERSION.
25778         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25779         and BUGURL.
25780         ($(objpfx)memusage): Likewise.
25781         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25782         (do_version): Use PKGVERSION.
25783         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25784         (print_version): Use PKGVERSION.
25785         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25786         ($PKGVERSION): New variable.
25787         ($REPORT_BUGS_TO): Likewise.
25788         (usage): Use $REPORT_BUGS_TO.
25789         (top level): Use $PKGVERSION.
25790         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25791         ($(objpfx)pkgvers.texi): New rule.
25792         ($(objpfx)stamp-pkgvers): Likewise.
25793         * manual/install.texi: Include pkgvers.texi.
25794         (--with-pkgversion): Document new configure option.
25795         (--with-bugurl): Likewise.
25796         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25797         than necessarily for this particular distribution.  Use
25798         REPORT_BUGS_TO for where to report bugs.
25799         * INSTALL: Regenerated.
25800         * manual/libc.texinfo: Include pkgvers.texi.
25801         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25802         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25803         (print_version): Use PKGVERSION.
25804         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25805         (print_version): Use PKGVERSION.
25806         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25807         (print_version): Use PKGVERSION.
25808         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25809         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25810         macro.
25811         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25812         (print_version): Use PKGVERSION.
25813         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25814         (print_version): Use PKGVERSION.
25815         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25816         and PKGVERSION.
25818         * timezone/checktab.awk: Update from tzcode 2012i.
25819         * timezone/ialloc.c: Likewise.
25820         * timezone/private.h: Likewise.
25821         * timezone/scheck.c: Likewise.
25822         * timezone/tzfile.h: Likewise.
25823         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25824         (TZVERSION): Hardcode tzcode version number.
25825         * timezone/zdump.c: Update from tzcode 2012i.
25826         * timezone/zic.c: Likewise.
25827         * timezone/version.h: New file.
25828         * timezone/README: Describe version.h.  Update upstream location.
25830         [BZ #14824]
25831         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25832         (mktemp): Enable declaration.
25833         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25834         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25835         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25836         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25837         Likewise.
25838         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25839         Likewise.
25840         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25841         Likewise.
25842         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25843         Likewise.
25844         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25845         Likewise.
25846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25847         Likewise.
25849         [BZ #14821]
25850         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25851         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25852         for copies of such integer values.
25853         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25854         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25856 2012-11-09  Andreas Jaeger  <aj@suse.de>
25858         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25859         definitions and declarations that are provided by
25860         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25862 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25864         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25865         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25866         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25867         definition.
25869 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25871         * elf/elf.h: Update comment before AArch64 relocations.
25873 2012-11-07  David S. Miller  <davem@davemloft.net>
25875         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25876         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25877         (__start_context): Declare.
25878         (__makecontext_ret): Delete.
25879         (__makecontext): Hook up __start_context instead of
25880         __makecontext_ret.
25881         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25882         (sysdep_routines): Add __start_context when in stdlib.
25884 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25886         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
25887         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
25888         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
25889         hardcoded "nm".
25890         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
25891         (READELF): New variable.  Use it instead of hardcoded "readelf".
25893 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
25895         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
25896         * sysdeps/x86/Makefile: Here.
25897         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
25898         * sysdeps/x86/tst-xmmymm.sh: This.
25900 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25902         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
25903         expectations.
25904         [UNIX98] (pthread_barrier_t): Do not expect.
25905         [UNIX98] (pthread_barrierattr_t): Likewise.
25906         [UNIX98] (pthread_spinlock_t): Likewise.
25907         [UNIX98] (pthread_barrier_destroy): Likewise.
25908         [UNIX98] (pthread_barrier_init): Likewise.
25909         [UNIX98] (pthread_barrier_wait): Likewise.
25910         [UNIX98] (pthread_barrierattr_destroy): Likewise.
25911         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
25912         [UNIX98] (pthread_barrierattr_init): Likewise.
25913         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
25914         [UNIX98] (pthread_getcpuclockid): Likewise.
25915         [UNIX98] (pthread_mutex_timedlock): Likewise.
25916         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
25917         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
25918         [UNIX98] (pthread_sigmask): Likewise.
25919         [UNIX98] (pthread_spin_destroy): Likewise.
25920         [UNIX98] (pthread_spin_init): Likewise.
25921         [UNIX98] (pthread_spin_lock): Likewise.
25922         [UNIX98] (pthread_spin_trylock): Likewise.
25923         [UNIX98] (pthread_spin_unlock): Likewise.
25924         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
25925         Do not expect.
25926         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
25927         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
25928         [XPG3 || XPG4] (pthread_cond_t): Likewise.
25929         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
25930         [XPG3 || XPG4] (pthread_key_t): Likewise.
25931         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
25932         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
25933         [XPG3 || XPG4] (pthread_once_t): Likewise.
25934         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
25935         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
25936         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
25937         [XPG3 || XPG4] (pthread_t): Likewise.
25939         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
25940         not expect.
25941         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
25943         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
25944         Change function return type to int.
25946         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
25947         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
25948         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
25949         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
25950         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
25951         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
25952         [!POSIX] (posix_madvise): Likewise.
25953         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
25954         && !UNIX98].
25955         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
25956         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
25957         (mode_t): Likewise.
25958         (posix_mem_offset): Likewise.
25959         (posix_typed_mem_get_info): Likewise.
25960         (posix_typed_mem_open): Likewise.
25962         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
25963         Change condition to [XOPEN2K8].
25965         * conform/conformtest.pl: Preprocess allow-header data with -x c
25966         instead of from stdin.
25967         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
25968         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
25969         [C99-based standards] (cerfc): Likewise.
25970         [C99-based standards] (cexp2): Likewise.
25971         [C99-based standards] (cexpm1): Likewise.
25972         [C99-based standards] (clog10): Likewise.
25973         [C99-based standards] (clog1p): Likewise.
25974         [C99-based standards] (clog2): Likewise.
25975         [C99-based standards] (clgamma): Likewise.
25976         [C99-based standards] (ctgamma): Likewise.
25977         [C99-based standards] (cerff): Likewise.
25978         [C99-based standards] (cerfcf): Likewise.
25979         [C99-based standards] (cexp2f): Likewise.
25980         [C99-based standards] (cexpm1f): Likewise.
25981         [C99-based standards] (clog10f): Likewise.
25982         [C99-based standards] (clog1pf): Likewise.
25983         [C99-based standards] (clog2f): Likewise.
25984         [C99-based standards] (clgammaf): Likewise.
25985         [C99-based standards] (ctgammaf): Likewise.
25986         [C99-based standards] (cerfl): Likewise.
25987         [C99-based standards] (cerfcl): Likewise.
25988         [C99-based standards] (cexp2l): Likewise.
25989         [C99-based standards] (cexpm1l): Likewise.
25990         [C99-based standards] (clog10l): Likewise.
25991         [C99-based standards] (clog1pl): Likewise.
25992         [C99-based standards] (clog2l): Likewise.
25993         [C99-based standards] (clgammal): Likewise.
25994         [C99-based standards] (ctgammal): Likewise.
25995         * conform/data/inttypes.h-data [C99-based standards]: Include
25996         stdint.h-data.  Remove all expectations for stdint.h contents.
25997         [C99-based standards] (PRI*): Do not allow.
25998         [C99-based standards] (SCN*): Likewise.
25999         [C99-based standards] (*_t): Likewise.
26000         [C99-based-standards] (PRId8): Expect macro.
26001         [C99-based-standards] (PRIi8): Likewise.
26002         [C99-based-standards] (PRIo8): Likewise.
26003         [C99-based-standards] (PRIu8): Likewise.
26004         [C99-based-standards] (PRIx8): Likewise.
26005         [C99-based-standards] (PRIX8): Likewise.
26006         [C99-based-standards] (SCNd8): Likewise.
26007         [C99-based-standards] (SCNi8): Likewise.
26008         [C99-based-standards] (SCNo8): Likewise.
26009         [C99-based-standards] (SCNu8): Likewise.
26010         [C99-based-standards] (SCNx8): Likewise.
26011         [C99-based-standards] (PRIdLEAST8): Likewise.
26012         [C99-based-standards] (PRIiLEAST8): Likewise.
26013         [C99-based-standards] (PRIoLEAST8): Likewise.
26014         [C99-based-standards] (PRIuLEAST8): Likewise.
26015         [C99-based-standards] (PRIxLEAST8): Likewise.
26016         [C99-based-standards] (PRIXLEAST8): Likewise.
26017         [C99-based-standards] (SCNdLEAST8): Likewise.
26018         [C99-based-standards] (SCNiLEAST8): Likewise.
26019         [C99-based-standards] (SCNoLEAST8): Likewise.
26020         [C99-based-standards] (SCNuLEAST8): Likewise.
26021         [C99-based-standards] (SCNxLEAST8): Likewise.
26022         [C99-based-standards] (PRIdFAST8): Likewise.
26023         [C99-based-standards] (PRIiFAST8): Likewise.
26024         [C99-based-standards] (PRIoFAST8): Likewise.
26025         [C99-based-standards] (PRIuFAST8): Likewise.
26026         [C99-based-standards] (PRIxFAST8): Likewise.
26027         [C99-based-standards] (PRIXFAST8): Likewise.
26028         [C99-based-standards] (SCNdFAST8): Likewise.
26029         [C99-based-standards] (SCNiFAST8): Likewise.
26030         [C99-based-standards] (SCNoFAST8): Likewise.
26031         [C99-based-standards] (SCNuFAST8): Likewise.
26032         [C99-based-standards] (SCNxFAST8): Likewise.
26033         [C99-based-standards] (PRId16): Likewise.
26034         [C99-based-standards] (PRIi16): Likewise.
26035         [C99-based-standards] (PRIo16): Likewise.
26036         [C99-based-standards] (PRIu16): Likewise.
26037         [C99-based-standards] (PRIx16): Likewise.
26038         [C99-based-standards] (PRIX16): Likewise.
26039         [C99-based-standards] (SCNd16): Likewise.
26040         [C99-based-standards] (SCNi16): Likewise.
26041         [C99-based-standards] (SCNo16): Likewise.
26042         [C99-based-standards] (SCNu16): Likewise.
26043         [C99-based-standards] (SCNx16): Likewise.
26044         [C99-based-standards] (PRIdLEAST16): Likewise.
26045         [C99-based-standards] (PRIiLEAST16): Likewise.
26046         [C99-based-standards] (PRIoLEAST16): Likewise.
26047         [C99-based-standards] (PRIuLEAST16): Likewise.
26048         [C99-based-standards] (PRIxLEAST16): Likewise.
26049         [C99-based-standards] (PRIXLEAST16): Likewise.
26050         [C99-based-standards] (SCNdLEAST16): Likewise.
26051         [C99-based-standards] (SCNiLEAST16): Likewise.
26052         [C99-based-standards] (SCNoLEAST16): Likewise.
26053         [C99-based-standards] (SCNuLEAST16): Likewise.
26054         [C99-based-standards] (SCNxLEAST16): Likewise.
26055         [C99-based-standards] (PRIdFAST16): Likewise.
26056         [C99-based-standards] (PRIiFAST16): Likewise.
26057         [C99-based-standards] (PRIoFAST16): Likewise.
26058         [C99-based-standards] (PRIuFAST16): Likewise.
26059         [C99-based-standards] (PRIxFAST16): Likewise.
26060         [C99-based-standards] (PRIXFAST16): Likewise.
26061         [C99-based-standards] (SCNdFAST16): Likewise.
26062         [C99-based-standards] (SCNiFAST16): Likewise.
26063         [C99-based-standards] (SCNoFAST16): Likewise.
26064         [C99-based-standards] (SCNuFAST16): Likewise.
26065         [C99-based-standards] (SCNxFAST16): Likewise.
26066         [C99-based-standards] (PRId32): Likewise.
26067         [C99-based-standards] (PRIi32): Likewise.
26068         [C99-based-standards] (PRIo32): Likewise.
26069         [C99-based-standards] (PRIu32): Likewise.
26070         [C99-based-standards] (PRIx32): Likewise.
26071         [C99-based-standards] (PRIX32): Likewise.
26072         [C99-based-standards] (SCNd32): Likewise.
26073         [C99-based-standards] (SCNi32): Likewise.
26074         [C99-based-standards] (SCNo32): Likewise.
26075         [C99-based-standards] (SCNu32): Likewise.
26076         [C99-based-standards] (SCNx32): Likewise.
26077         [C99-based-standards] (PRIdLEAST32): Likewise.
26078         [C99-based-standards] (PRIiLEAST32): Likewise.
26079         [C99-based-standards] (PRIoLEAST32): Likewise.
26080         [C99-based-standards] (PRIuLEAST32): Likewise.
26081         [C99-based-standards] (PRIxLEAST32): Likewise.
26082         [C99-based-standards] (PRIXLEAST32): Likewise.
26083         [C99-based-standards] (SCNdLEAST32): Likewise.
26084         [C99-based-standards] (SCNiLEAST32): Likewise.
26085         [C99-based-standards] (SCNoLEAST32): Likewise.
26086         [C99-based-standards] (SCNuLEAST32): Likewise.
26087         [C99-based-standards] (SCNxLEAST32): Likewise.
26088         [C99-based-standards] (PRIdFAST32): Likewise.
26089         [C99-based-standards] (PRIiFAST32): Likewise.
26090         [C99-based-standards] (PRIoFAST32): Likewise.
26091         [C99-based-standards] (PRIuFAST32): Likewise.
26092         [C99-based-standards] (PRIxFAST32): Likewise.
26093         [C99-based-standards] (PRIXFAST32): Likewise.
26094         [C99-based-standards] (SCNdFAST32): Likewise.
26095         [C99-based-standards] (SCNiFAST32): Likewise.
26096         [C99-based-standards] (SCNoFAST32): Likewise.
26097         [C99-based-standards] (SCNuFAST32): Likewise.
26098         [C99-based-standards] (SCNxFAST32): Likewise.
26099         [C99-based-standards] (PRId64): Likewise.
26100         [C99-based-standards] (PRIi64): Likewise.
26101         [C99-based-standards] (PRIo64): Likewise.
26102         [C99-based-standards] (PRIu64): Likewise.
26103         [C99-based-standards] (PRIx64): Likewise.
26104         [C99-based-standards] (PRIX64): Likewise.
26105         [C99-based-standards] (SCNd64): Likewise.
26106         [C99-based-standards] (SCNi64): Likewise.
26107         [C99-based-standards] (SCNo64): Likewise.
26108         [C99-based-standards] (SCNu64): Likewise.
26109         [C99-based-standards] (SCNx64): Likewise.
26110         [C99-based-standards] (PRIdLEAST64): Likewise.
26111         [C99-based-standards] (PRIiLEAST64): Likewise.
26112         [C99-based-standards] (PRIoLEAST64): Likewise.
26113         [C99-based-standards] (PRIuLEAST64): Likewise.
26114         [C99-based-standards] (PRIxLEAST64): Likewise.
26115         [C99-based-standards] (PRIXLEAST64): Likewise.
26116         [C99-based-standards] (SCNdLEAST64): Likewise.
26117         [C99-based-standards] (SCNiLEAST64): Likewise.
26118         [C99-based-standards] (SCNoLEAST64): Likewise.
26119         [C99-based-standards] (SCNuLEAST64): Likewise.
26120         [C99-based-standards] (SCNxLEAST64): Likewise.
26121         [C99-based-standards] (PRIdFAST64): Likewise.
26122         [C99-based-standards] (PRIiFAST64): Likewise.
26123         [C99-based-standards] (PRIoFAST64): Likewise.
26124         [C99-based-standards] (PRIuFAST64): Likewise.
26125         [C99-based-standards] (PRIxFAST64): Likewise.
26126         [C99-based-standards] (PRIXFAST64): Likewise.
26127         [C99-based-standards] (SCNdFAST64): Likewise.
26128         [C99-based-standards] (SCNiFAST64): Likewise.
26129         [C99-based-standards] (SCNoFAST64): Likewise.
26130         [C99-based-standards] (SCNuFAST64): Likewise.
26131         [C99-based-standards] (SCNxFAST64): Likewise.
26132         [C99-based-standards] (PRIdMAX): Likewise.
26133         [C99-based-standards] (PRIiMAX): Likewise.
26134         [C99-based-standards] (PRIoMAX): Likewise.
26135         [C99-based-standards] (PRIuMAX): Likewise.
26136         [C99-based-standards] (PRIxMAX): Likewise.
26137         [C99-based-standards] (PRIXMAX): Likewise.
26138         [C99-based-standards] (SCNdMAX): Likewise.
26139         [C99-based-standards] (SCNiMAX): Likewise.
26140         [C99-based-standards] (SCNoMAX): Likewise.
26141         [C99-based-standards] (SCNuMAX): Likewise.
26142         [C99-based-standards] (SCNxMAX): Likewise.
26143         [C99-based-standards] (PRIdPTR): Likewise.
26144         [C99-based-standards] (PRIiPTR): Likewise.
26145         [C99-based-standards] (PRIoPTR): Likewise.
26146         [C99-based-standards] (PRIuPTR): Likewise.
26147         [C99-based-standards] (PRIxPTR): Likewise.
26148         [C99-based-standards] (PRIXPTR): Likewise.
26149         [C99-based-standards] (SCNdPTR): Likewise.
26150         [C99-based-standards] (SCNiPTR): Likewise.
26151         [C99-based-standards] (SCNoPTR): Likewise.
26152         [C99-based-standards] (SCNuPTR): Likewise.
26153         [C99-based-standards] (SCNxPTR): Likewise.
26154         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26155         allow.
26156         * conform/data/stdint.h-data: Update comments to clarify
26157         requirements.
26158         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26159         type.
26160         [C99-based standards] (INT8_MAX): Likewise.
26161         [C99-based standards] (INT16_MIN): Likewise.
26162         [C99-based standards] (INT16_MAX): Likewise.
26163         [C99-based standards] (INT32_MIN): Likewise.
26164         [C99-based standards] (INT32_MAX): Likewise.
26165         [C99-based standards] (INT64_MIN): Likewise.
26166         [C99-based standards] (INT64_MAX): Likewise.
26167         [C99-based standards] (UINT8_MAX): Likewise.
26168         [C99-based standards] (UINT16_MAX): Likewise.
26169         [C99-based standards] (UINT32_MAX): Likewise.
26170         [C99-based standards] (UINT64_MAX): Likewise.
26171         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26172         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26173         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26174         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26175         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26176         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26177         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26178         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26179         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26180         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26181         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26182         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26183         [C99-based standards] (INT_FAST8_MIN): Likewise.
26184         [C99-based standards] (INT_FAST8_MAX): Likewise.
26185         [C99-based standards] (INT_FAST16_MIN): Likewise.
26186         [C99-based standards] (INT_FAST16_MAX): Likewise.
26187         [C99-based standards] (INT_FAST32_MIN): Likewise.
26188         [C99-based standards] (INT_FAST32_MAX): Likewise.
26189         [C99-based standards] (INT_FAST64_MIN): Likewise.
26190         [C99-based standards] (INT_FAST64_MAX): Likewise.
26191         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26192         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26193         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26194         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26195         [C99-based standards] (INTPTR_MIN): Likewise.
26196         [C99-based standards] (INTPTR_MAX): Likewise.
26197         [C99-based standards] (UINTPTR_MAX): Likewise.
26198         [C99-based standards] (INTMAX_MIN): Likewise.
26199         [C99-based standards] (INTMAX_MAX): Likewise.
26200         [C99-based standards] (UINTMAX_MAX): Likewise.
26201         [C99-based standards] (PTRDIFF_MIN): Likewise.
26202         [C99-based standards] (PTRDIFF_MAX): Likewise.
26203         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26204         [C99-based standards] (SIZE_MAX): Likewise.
26205         [C99-based standards] (WCHAR_MAX): Likewise.
26206         [C99-based standards] (WINT_MAX): Likewise.
26207         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26208         constraint on value.
26209         [C99-based standards] (WCHAR_MIN): Likewise.
26210         [C99-based standards] (WINT_MIN): Likewise.
26211         [C99-based standards] (*_t): Allow.
26212         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26213         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26214         Include math.h-data and complex.h-data.  Remove all expectations
26215         of math.h and complex.h contents.
26216         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26217         at end of line.
26218         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26219         (struct tm): Expect tag.
26220         [C99-based-standards] (wcstof): Expect function.
26221         [C99-based-standards] (wcstold): Likewise.
26222         [C99-based-standards] (wcstoll): Likewise.
26223         [C99-based-standards] (wcstoull): Likewise.
26224         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26225         macro-int-constant.  Specify type.
26226         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26227         constraint on value.
26228         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26229         Specify type.
26230         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26231         Specify value.
26232         [ISO C standards]: Do not allow headers.
26233         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26234         wcs[abcdefghijklmnopqrstuvwxyz]*.
26235         [ISO C standards] (*_t): Do not allow.
26236         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26237         Expect function.
26238         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26239         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26240         Specify type.
26241         [ISO C standards]: Do not allow headers.
26242         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26243         is[abcdefghijklmnopqrstuvwxyz]*.
26244         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26245         to[abcdefghijklmnopqrstuvwxyz]*.
26246         [ISO C standards] (*_t): Do not allow.
26247         * conform/data/stdalign.h-data: New file.
26248         * conform/data/stdbool.h-data: Likewise.
26249         * conform/data/stdnoreturn.h-data: Likewise.
26251 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26253         [BZ #14815]
26254         * manual/filesys.texi (Directory Entries): Typo fix.
26255         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26257 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26259         * elf/elf.h (EM_AARCH64): New macro.
26260         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26261         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26262         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26263         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26264         (R_AARCH64_TLSDESC): Likewise.
26265         (NT_ARM_TLS): Likewise.
26266         (NT_ARM_HW_BREAK): Likewise.
26267         (NT_ARM_HW_WATCH): Likewise.
26269 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26271         [BZ #14811]
26272         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26273         (__ieee754_powl): Saturate nonzero exponents with absolute value
26274         below 0x1p-79 to +/- 0x1p-79.
26275         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26276         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26277         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26278         nonzero exponents with absolute value below 0x1p-32 to +/-
26279         0x1p-32.
26280         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26281         (__ieee754_powl): Saturate nonzero exponents with absolute value
26282         below 0x1p-79 to +/- 0x1p-79.
26283         * math/libm-test.inc (pow_test): Add more tests.
26285 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26287         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26288         _dl_s390_cap_flags with kernel. Increase string length.
26289         (_dl_s390_platforms): Add z196 and zEC12.
26291 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26293         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26294         Change XOPEN21K to XOPEN2K.
26296 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26298         * string/memmove.c: Use memcpy when possible.
26300 2012-11-06  Andreas Jaeger  <aj@suse.de>
26302         * po/eo.po: Update from translation team.
26304 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26306         [BZ #14793]
26307         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26308         exponent and small x and y exponents, scale x or y up.  Increase
26309         by 2 the exponent used in scaling up.
26310         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26311         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26312         * math/libm-test.inc (fma_test): Add more tests.
26313         (fma_test_towardzero): Likewise.
26314         (fma_test_downward): Likewise.
26315         (fma_test_upward): Likewise.
26317 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26319         [BZ #14805]
26320         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26321         fenv_t *.
26323         [BZ #14801]
26324         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26325         namespace for names of struct fields.
26326         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26327         fenv_t fields.
26328         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26329         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26331 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26333         [BZ #3665]
26334         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26336 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26338         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26339         PTR_DEMANGLE.
26341         [BZ #5246]
26342         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26343         PTR_DEMANGLE.
26345 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26347         [BZ #14797]
26348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26349         definitely overflow as x * y not x * y + z.
26350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26352         * math/libm-test.inc (fma_test): Add more tests.
26353         (fma_test_towardzero): Likewise.
26354         (fma_test_downward): Likewise.
26355         (fma_test_upward): Likewise.
26357 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26359         [BZ #157]
26361         * include/stub-tag.h: Remove file.
26362         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26363         '#include' of it.
26364         * manual/maint.texi (Porting): Don't reference it.
26365         * Makerules ($(objpfx)stubs): Likewise.
26366         * dirent/closedir.c: Don't include <stub-tag.h>.
26367         * dirent/dirfd.c: Likewise.
26368         * dirent/fdopendir.c: Likewise.
26369         * dirent/getdents.c: Likewise.
26370         * dirent/getdents64.c: Likewise.
26371         * dirent/opendir.c: Likewise.
26372         * dirent/readdir.c: Likewise.
26373         * dirent/readdir64.c: Likewise.
26374         * dirent/readdir64_r.c: Likewise.
26375         * dirent/readdir_r.c: Likewise.
26376         * dirent/rewinddir.c: Likewise.
26377         * dirent/seekdir.c: Likewise.
26378         * dirent/telldir.c: Likewise.
26379         * gmon/profil.c: Likewise.
26380         * grp/setgroups.c: Likewise.
26381         * inet/if_index.c: Likewise.
26382         * io/access.c: Likewise.
26383         * io/chdir.c: Likewise.
26384         * io/chmod.c: Likewise.
26385         * io/chown.c: Likewise.
26386         * io/close.c: Likewise.
26387         * io/dup.c: Likewise.
26388         * io/dup2.c: Likewise.
26389         * io/dup3.c: Likewise.
26390         * io/euidaccess.c: Likewise.
26391         * io/faccessat.c: Likewise.
26392         * io/fchdir.c: Likewise.
26393         * io/fchmod.c: Likewise.
26394         * io/fchmodat.c: Likewise.
26395         * io/fchown.c: Likewise.
26396         * io/fchownat.c: Likewise.
26397         * io/fcntl.c: Likewise.
26398         * io/flock.c: Likewise.
26399         * io/fstatfs.c: Likewise.
26400         * io/fstatfs64.c: Likewise.
26401         * io/fstatvfs.c: Likewise.
26402         * io/fstatvfs64.c: Likewise.
26403         * io/futimens.c: Likewise.
26404         * io/fxstat.c: Likewise.
26405         * io/fxstat64.c: Likewise.
26406         * io/fxstatat.c: Likewise.
26407         * io/fxstatat64.c: Likewise.
26408         * io/getcwd.c: Likewise.
26409         * io/isatty.c: Likewise.
26410         * io/lchmod.c: Likewise.
26411         * io/lchown.c: Likewise.
26412         * io/link.c: Likewise.
26413         * io/linkat.c: Likewise.
26414         * io/lseek.c: Likewise.
26415         * io/lseek64.c: Likewise.
26416         * io/lxstat64.c: Likewise.
26417         * io/mkdir.c: Likewise.
26418         * io/mkdirat.c: Likewise.
26419         * io/mkfifo.c: Likewise.
26420         * io/mkfifoat.c: Likewise.
26421         * io/open.c: Likewise.
26422         * io/open64.c: Likewise.
26423         * io/openat.c: Likewise.
26424         * io/openat64.c: Likewise.
26425         * io/pipe.c: Likewise.
26426         * io/pipe2.c: Likewise.
26427         * io/poll.c: Likewise.
26428         * io/posix_fadvise.c: Likewise.
26429         * io/posix_fadvise64.c: Likewise.
26430         * io/posix_fallocate.c: Likewise.
26431         * io/posix_fallocate64.c: Likewise.
26432         * io/read.c: Likewise.
26433         * io/readlink.c: Likewise.
26434         * io/readlinkat.c: Likewise.
26435         * io/rmdir.c: Likewise.
26436         * io/sendfile.c: Likewise.
26437         * io/sendfile64.c: Likewise.
26438         * io/statfs.c: Likewise.
26439         * io/statfs64.c: Likewise.
26440         * io/statvfs.c: Likewise.
26441         * io/statvfs64.c: Likewise.
26442         * io/symlink.c: Likewise.
26443         * io/symlinkat.c: Likewise.
26444         * io/ttyname.c: Likewise.
26445         * io/ttyname_r.c: Likewise.
26446         * io/umask.c: Likewise.
26447         * io/unlink.c: Likewise.
26448         * io/unlinkat.c: Likewise.
26449         * io/utime.c: Likewise.
26450         * io/utimensat.c: Likewise.
26451         * io/write.c: Likewise.
26452         * io/xmknod.c: Likewise.
26453         * io/xmknodat.c: Likewise.
26454         * io/xstat.c: Likewise.
26455         * io/xstat64.c: Likewise.
26456         * login/getpt.c: Likewise.
26457         * login/grantpt.c: Likewise.
26458         * login/unlockpt.c: Likewise.
26459         * math/e_acoshl.c: Likewise.
26460         * math/e_acosl.c: Likewise.
26461         * math/e_asinl.c: Likewise.
26462         * math/e_atan2l.c: Likewise.
26463         * math/e_atanhl.c: Likewise.
26464         * math/e_coshl.c: Likewise.
26465         * math/e_expl.c: Likewise.
26466         * math/e_fmodl.c: Likewise.
26467         * math/e_gammal_r.c: Likewise.
26468         * math/e_hypotl.c: Likewise.
26469         * math/e_j0l.c: Likewise.
26470         * math/e_j1l.c: Likewise.
26471         * math/e_jnl.c: Likewise.
26472         * math/e_lgammal_r.c: Likewise.
26473         * math/e_log10l.c: Likewise.
26474         * math/e_log2l.c: Likewise.
26475         * math/e_logl.c: Likewise.
26476         * math/e_powl.c: Likewise.
26477         * math/e_rem_pio2l.c: Likewise.
26478         * math/e_sinhl.c: Likewise.
26479         * math/e_sqrtl.c: Likewise.
26480         * math/fclrexcpt.c: Likewise.
26481         * math/fedisblxcpt.c: Likewise.
26482         * math/feenablxcpt.c: Likewise.
26483         * math/fegetenv.c: Likewise.
26484         * math/fegetexcept.c: Likewise.
26485         * math/fegetround.c: Likewise.
26486         * math/feholdexcpt.c: Likewise.
26487         * math/fesetenv.c: Likewise.
26488         * math/fesetround.c: Likewise.
26489         * math/feupdateenv.c: Likewise.
26490         * math/fgetexcptflg.c: Likewise.
26491         * math/fraiseexcpt.c: Likewise.
26492         * math/fsetexcptflg.c: Likewise.
26493         * math/ftestexcept.c: Likewise.
26494         * math/k_cosl.c: Likewise.
26495         * math/k_rem_pio2l.c: Likewise.
26496         * math/k_sinl.c: Likewise.
26497         * math/k_tanl.c: Likewise.
26498         * math/s_asinhl.c: Likewise.
26499         * math/s_atanl.c: Likewise.
26500         * math/s_cbrtl.c: Likewise.
26501         * math/s_erfl.c: Likewise.
26502         * math/s_expm1l.c: Likewise.
26503         * math/s_log1pl.c: Likewise.
26504         * math/s_tanhl.c: Likewise.
26505         * misc/acct.c: Likewise.
26506         * misc/brk.c: Likewise.
26507         * misc/chflags.c: Likewise.
26508         * misc/chroot.c: Likewise.
26509         * misc/fchflags.c: Likewise.
26510         * misc/fgetxattr.c: Likewise.
26511         * misc/flistxattr.c: Likewise.
26512         * misc/fremovexattr.c: Likewise.
26513         * misc/fsetxattr.c: Likewise.
26514         * misc/fsync.c: Likewise.
26515         * misc/ftruncate.c: Likewise.
26516         * misc/futimes.c: Likewise.
26517         * misc/futimesat.c: Likewise.
26518         * misc/getdomain.c: Likewise.
26519         * misc/getdtsz.c: Likewise.
26520         * misc/gethostid.c: Likewise.
26521         * misc/gethostname.c: Likewise.
26522         * misc/getloadavg.c: Likewise.
26523         * misc/getpagesize.c: Likewise.
26524         * misc/getsysstats.c: Likewise.
26525         * misc/getxattr.c: Likewise.
26526         * misc/gtty.c: Likewise.
26527         * misc/ioctl.c: Likewise.
26528         * misc/lgetxattr.c: Likewise.
26529         * misc/listxattr.c: Likewise.
26530         * misc/llistxattr.c: Likewise.
26531         * misc/lremovexattr.c: Likewise.
26532         * misc/lsetxattr.c: Likewise.
26533         * misc/lutimes.c: Likewise.
26534         * misc/madvise.c: Likewise.
26535         * misc/mincore.c: Likewise.
26536         * misc/mlock.c: Likewise.
26537         * misc/mlockall.c: Likewise.
26538         * misc/mmap.c: Likewise.
26539         * misc/mprotect.c: Likewise.
26540         * misc/msync.c: Likewise.
26541         * misc/munlock.c: Likewise.
26542         * misc/munlockall.c: Likewise.
26543         * misc/munmap.c: Likewise.
26544         * misc/preadv.c: Likewise.
26545         * misc/preadv64.c: Likewise.
26546         * misc/ptrace.c: Likewise.
26547         * misc/pwritev.c: Likewise.
26548         * misc/pwritev64.c: Likewise.
26549         * misc/readv.c: Likewise.
26550         * misc/reboot.c: Likewise.
26551         * misc/remap_file_pages.c: Likewise.
26552         * misc/removexattr.c: Likewise.
26553         * misc/revoke.c: Likewise.
26554         * misc/select.c: Likewise.
26555         * misc/setdomain.c: Likewise.
26556         * misc/setegid.c: Likewise.
26557         * misc/seteuid.c: Likewise.
26558         * misc/sethostid.c: Likewise.
26559         * misc/sethostname.c: Likewise.
26560         * misc/setregid.c: Likewise.
26561         * misc/setreuid.c: Likewise.
26562         * misc/setxattr.c: Likewise.
26563         * misc/sstk.c: Likewise.
26564         * misc/stty.c: Likewise.
26565         * misc/swapoff.c: Likewise.
26566         * misc/swapon.c: Likewise.
26567         * misc/sync.c: Likewise.
26568         * misc/syncfs.c: Likewise.
26569         * misc/syscall.c: Likewise.
26570         * misc/truncate.c: Likewise.
26571         * misc/ualarm.c: Likewise.
26572         * misc/usleep.c: Likewise.
26573         * misc/ustat.c: Likewise.
26574         * misc/utimes.c: Likewise.
26575         * misc/vhangup.c: Likewise.
26576         * misc/writev.c: Likewise.
26577         * posix/_exit.c: Likewise.
26578         * posix/alarm.c: Likewise.
26579         * posix/execve.c: Likewise.
26580         * posix/fexecve.c: Likewise.
26581         * posix/fork.c: Likewise.
26582         * posix/fpathconf.c: Likewise.
26583         * posix/getaddrinfo.c: Likewise.
26584         * posix/getegid.c: Likewise.
26585         * posix/geteuid.c: Likewise.
26586         * posix/getgid.c: Likewise.
26587         * posix/getgroups.c: Likewise.
26588         * posix/getlogin.c: Likewise.
26589         * posix/getlogin_r.c: Likewise.
26590         * posix/getpgid.c: Likewise.
26591         * posix/getpid.c: Likewise.
26592         * posix/getppid.c: Likewise.
26593         * posix/getresgid.c: Likewise.
26594         * posix/getresuid.c: Likewise.
26595         * posix/getsid.c: Likewise.
26596         * posix/getuid.c: Likewise.
26597         * posix/glob64.c: Likewise.
26598         * posix/nanosleep.c: Likewise.
26599         * posix/pathconf.c: Likewise.
26600         * posix/pause.c: Likewise.
26601         * posix/posix_madvise.c: Likewise.
26602         * posix/pread.c: Likewise.
26603         * posix/pread64.c: Likewise.
26604         * posix/pwrite.c: Likewise.
26605         * posix/pwrite64.c: Likewise.
26606         * posix/sched_getaffinity.c: Likewise.
26607         * posix/sched_getp.c: Likewise.
26608         * posix/sched_gets.c: Likewise.
26609         * posix/sched_primax.c: Likewise.
26610         * posix/sched_primin.c: Likewise.
26611         * posix/sched_rr_gi.c: Likewise.
26612         * posix/sched_setaffinity.c: Likewise.
26613         * posix/sched_setp.c: Likewise.
26614         * posix/sched_sets.c: Likewise.
26615         * posix/sched_yield.c: Likewise.
26616         * posix/setgid.c: Likewise.
26617         * posix/setlogin.c: Likewise.
26618         * posix/setpgid.c: Likewise.
26619         * posix/setresgid.c: Likewise.
26620         * posix/setresuid.c: Likewise.
26621         * posix/setsid.c: Likewise.
26622         * posix/setuid.c: Likewise.
26623         * posix/sleep.c: Likewise.
26624         * posix/spawni.c: Likewise.
26625         * posix/sysconf.c: Likewise.
26626         * posix/times.c: Likewise.
26627         * posix/wait.c: Likewise.
26628         * posix/wait3.c: Likewise.
26629         * posix/wait4.c: Likewise.
26630         * posix/waitpid.c: Likewise.
26631         * resolv/gai_sigqueue.c: Likewise.
26632         * resource/getpriority.c: Likewise.
26633         * resource/getrlimit.c: Likewise.
26634         * resource/getrusage.c: Likewise.
26635         * resource/nice.c: Likewise.
26636         * resource/setpriority.c: Likewise.
26637         * resource/setrlimit.c: Likewise.
26638         * resource/ulimit.c: Likewise.
26639         * rt/aio_cancel.c: Likewise.
26640         * rt/aio_fsync.c: Likewise.
26641         * rt/aio_read.c: Likewise.
26642         * rt/aio_sigqueue.c: Likewise.
26643         * rt/aio_suspend.c: Likewise.
26644         * rt/aio_write.c: Likewise.
26645         * rt/clock_getres.c: Likewise.
26646         * rt/clock_gettime.c: Likewise.
26647         * rt/clock_nanosleep.c: Likewise.
26648         * rt/clock_settime.c: Likewise.
26649         * rt/lio_listio.c: Likewise.
26650         * rt/mq_close.c: Likewise.
26651         * rt/mq_getattr.c: Likewise.
26652         * rt/mq_notify.c: Likewise.
26653         * rt/mq_open.c: Likewise.
26654         * rt/mq_receive.c: Likewise.
26655         * rt/mq_send.c: Likewise.
26656         * rt/mq_setattr.c: Likewise.
26657         * rt/mq_timedreceive.c: Likewise.
26658         * rt/mq_timedsend.c: Likewise.
26659         * rt/mq_unlink.c: Likewise.
26660         * rt/shm_open.c: Likewise.
26661         * rt/shm_unlink.c: Likewise.
26662         * rt/timer_create.c: Likewise.
26663         * rt/timer_delete.c: Likewise.
26664         * rt/timer_getoverr.c: Likewise.
26665         * rt/timer_gettime.c: Likewise.
26666         * rt/timer_settime.c: Likewise.
26667         * setjmp/__longjmp.c: Likewise.
26668         * setjmp/setjmp.c: Likewise.
26669         * signal/kill.c: Likewise.
26670         * signal/killpg.c: Likewise.
26671         * signal/raise.c: Likewise.
26672         * signal/sigaction.c: Likewise.
26673         * signal/sigaltstack.c: Likewise.
26674         * signal/sigblock.c: Likewise.
26675         * signal/sigignore.c: Likewise.
26676         * signal/sigintr.c: Likewise.
26677         * signal/signal.c: Likewise.
26678         * signal/sigpause.c: Likewise.
26679         * signal/sigpending.c: Likewise.
26680         * signal/sigqueue.c: Likewise.
26681         * signal/sigreturn.c: Likewise.
26682         * signal/sigset.c: Likewise.
26683         * signal/sigsetmask.c: Likewise.
26684         * signal/sigstack.c: Likewise.
26685         * signal/sigsuspend.c: Likewise.
26686         * signal/sigtimedwait.c: Likewise.
26687         * signal/sigvec.c: Likewise.
26688         * signal/sigwait.c: Likewise.
26689         * signal/sigwaitinfo.c: Likewise.
26690         * signal/sysv_signal.c: Likewise.
26691         * socket/accept.c: Likewise.
26692         * socket/accept4.c: Likewise.
26693         * socket/bind.c: Likewise.
26694         * socket/connect.c: Likewise.
26695         * socket/getpeername.c: Likewise.
26696         * socket/getsockname.c: Likewise.
26697         * socket/getsockopt.c: Likewise.
26698         * socket/isfdtype.c: Likewise.
26699         * socket/listen.c: Likewise.
26700         * socket/recv.c: Likewise.
26701         * socket/recvfrom.c: Likewise.
26702         * socket/recvmsg.c: Likewise.
26703         * socket/send.c: Likewise.
26704         * socket/sendmsg.c: Likewise.
26705         * socket/sendto.c: Likewise.
26706         * socket/setsockopt.c: Likewise.
26707         * socket/shutdown.c: Likewise.
26708         * socket/sockatmark.c: Likewise.
26709         * socket/socket.c: Likewise.
26710         * socket/socketpair.c: Likewise.
26711         * stdio-common/ctermid.c: Likewise.
26712         * stdio-common/cuserid.c: Likewise.
26713         * stdio-common/remove.c: Likewise.
26714         * stdio-common/rename.c: Likewise.
26715         * stdio-common/renameat.c: Likewise.
26716         * stdio-common/tempname.c: Likewise.
26717         * stdlib/getcontext.c: Likewise.
26718         * stdlib/makecontext.c: Likewise.
26719         * stdlib/setcontext.c: Likewise.
26720         * stdlib/swapcontext.c: Likewise.
26721         * stdlib/system.c: Likewise.
26722         * streams/fattach.c: Likewise.
26723         * streams/fdetach.c: Likewise.
26724         * streams/getmsg.c: Likewise.
26725         * streams/getpmsg.c: Likewise.
26726         * streams/putmsg.c: Likewise.
26727         * streams/putpmsg.c: Likewise.
26728         * sysdeps/unix/bsd/getpt.c: Likewise.
26729         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26730         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26731         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26733         Likewise.
26734         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26735         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26736         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26737         * sysvipc/msgctl.c: Likewise.
26738         * sysvipc/msgget.c: Likewise.
26739         * sysvipc/msgrcv.c: Likewise.
26740         * sysvipc/msgsnd.c: Likewise.
26741         * sysvipc/semctl.c: Likewise.
26742         * sysvipc/semget.c: Likewise.
26743         * sysvipc/semop.c: Likewise.
26744         * sysvipc/semtimedop.c: Likewise.
26745         * sysvipc/shmat.c: Likewise.
26746         * sysvipc/shmctl.c: Likewise.
26747         * sysvipc/shmdt.c: Likewise.
26748         * sysvipc/shmget.c: Likewise.
26749         * termios/tcdrain.c: Likewise.
26750         * termios/tcflow.c: Likewise.
26751         * termios/tcflush.c: Likewise.
26752         * termios/tcgetattr.c: Likewise.
26753         * termios/tcgetpgrp.c: Likewise.
26754         * termios/tcsendbrk.c: Likewise.
26755         * termios/tcsetattr.c: Likewise.
26756         * termios/tcsetpgrp.c: Likewise.
26757         * time/adjtime.c: Likewise.
26758         * time/clock.c: Likewise.
26759         * time/getitimer.c: Likewise.
26760         * time/gettimeofday.c: Likewise.
26761         * time/setitimer.c: Likewise.
26762         * time/settimeofday.c: Likewise.
26763         * time/stime.c: Likewise.
26764         * time/time.c: Likewise.
26766 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26768         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26769         /usr/old/bin.
26771         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26772         instead of spaces.
26773         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26775 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26777         [BZ #14796]
26778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26779         FE_TONEAREST before applying Dekker multiplication and Knuth
26780         addition.  Clear inexact exceptions and check for exact zero
26781         results afterwards.
26782         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26783         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26785         * math/libm-test.inc (fma_test): Add more tests.
26786         (fma_test_towardzero): Likewise.
26787         (fma_test_downward): Likewise.
26788         (fma_test_upward): Likewise.
26789         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26790         function.
26791         (libc_fesetround): New macro.
26792         (libc_fesetroundf): Likewise.
26793         (libc_fesetroundl): Likewise.
26794         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26795         function.
26796         (libc_fesetround_387): Likewise.
26797         (libc_fesetroundf): New macro.
26798         (libc_fesetround): Likewise.
26799         (libc_fesetroundl): Likewise.
26800         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26801         function.
26802         (libc_fesetroundf): New macro.
26803         (libc_fesetround): Likewise.
26804         (libc_fesetroundl): Likewise.
26805         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26806         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26807         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26808         libm_hidden_ver.
26809         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26810         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26811         libm_hidden_def.
26812         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26813         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26814         libm_hidden_ver.
26815         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26816         libm_hidden_def.
26818         [BZ #3439]
26819         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26820         integer constant usable in #if and use that to give value to enum
26821         constant.
26822         (FE_DIVBYZERO): Likewise.
26823         (FE_UNDERFLOW): Likewise.
26824         (FE_OVERFLOW): Likewise.
26825         (FE_INVALID): Likewise.
26826         (FE_INVALID_SNAN): Likewise.
26827         (FE_INVALID_ISI): Likewise.
26828         (FE_INVALID_IDI): Likewise.
26829         (FE_INVALID_ZDZ): Likewise.
26830         (FE_INVALID_IMZ): Likewise.
26831         (FE_INVALID_COMPARE): Likewise.
26832         (FE_INVALID_SOFTWARE): Likewise.
26833         (FE_INVALID_SQRT): Likewise.
26834         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26835         (FE_TONEAREST): Likewise.
26836         (FE_TOWARDZERO): Likewise.
26837         (FE_UPWARD): Likewise.
26838         (FE_DOWNWARD): Likewise.
26839         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26840         (FE_DIVBYZERO): Likewise.
26841         (FE_OVERFLOW): Likewise.
26842         (FE_UNDERFLOW): Likewise.
26843         (FE_INEXACT): Likewise.
26844         (FE_TONEAREST): Likewise.
26845         (FE_DOWNWARD): Likewise.
26846         (FE_UPWARD): Likewise.
26847         (FE_TOWARDZERO): Likewise.
26848         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26849         (FE_UNDERFLOW): Likewise.
26850         (FE_OVERFLOW): Likewise.
26851         (FE_DIVBYZERO): Likewise.
26852         (FE_INVALID): Likewise.
26853         (FE_TONEAREST): Likewise.
26854         (FE_TOWARDZERO): Likewise.
26855         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26856         (FE_OVERFLOW): Likewise.
26857         (FE_UNDERFLOW): Likewise.
26858         (FE_DIVBYZERO): Likewise.
26859         (FE_INEXACT): Likewise.
26860         (FE_TONEAREST): Likewise.
26861         (FE_TOWARDZERO): Likewise.
26862         (FE_UPWARD): Likewise.
26863         (FE_DOWNWARD): Likewise.
26864         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26865         (FE_DIVBYZERO): Likewise.
26866         (FE_OVERFLOW): Likewise.
26867         (FE_UNDERFLOW): Likewise.
26868         (FE_INEXACT): Likewise.
26869         (FE_TONEAREST): Likewise.
26870         (FE_DOWNWARD): Likewise.
26871         (FE_UPWARD): Likewise.
26872         (FE_TOWARDZERO): Likewise.
26874 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26876         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26878 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26880         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26881         commands.  Quote $PWD.
26882         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26883         -x" by "export".
26884         (remove_newlines): Remove.
26886 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
26888         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
26889         * stdlib/stdlib.h (atof): Moved to ...
26890         * include/bits/stdlib-float.h: Here.  New file.
26891         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
26892         * stdlib/bits/stdlib-float.h: New file.
26893         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
26894         -mno-sse -mno-mmx.
26895         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
26896         <xmmintrin.h>.
26898 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26900         * conform/conformtest.pl (@headers): Add fenv.h.
26901         * conform/data/fenv.h-data: New file.
26902         * include/fenv.h [_ISOMAC]: Disable all contents of file except
26903         include of <math/fenv.h>.
26905         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
26906         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
26907         && !UNIX98].  Enables tests for XOPEN2K8.
26908         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
26909         POSIX2008]: Likewise.
26911         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
26912         (struct rusage): Do not expect type or its members.
26914         [BZ #3439]
26915         * math/math.h (FP_NAN): Define macro to integer constant usable in
26916         #if and use that to give value to enum constant.
26917         (FP_INFINITE): Likewise.
26918         (FP_ZERO): Likewise.
26919         (FP_SUBNORMAL): Likewise.
26920         (FP_NORMAL): Likewise.
26922 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
26924         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
26925         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
26926         arguments.
26928 2012-11-02  Roland McGrath  <roland@hack.frob.com>
26930         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
26931         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
26932         autoconf-time if not.
26933         * configure.in: Remove AC_PREREQ.
26935 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26937         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
26938         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
26939         of the internal implementation.
26941 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
26943         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
26944         except include of <misc/sys/syslog.h>.
26946 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
26949         function returns with a NULL context exit with zero.
26951 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26953         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
26955 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
26957         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
26958         (run_program_cmd): This.
26959         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
26960         (tst_langinfo): New variable.  Use it.
26962 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
26964         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
26965         floating point opcodes.
26967 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26969         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
26970         variable.
26972         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
26974         * sysdeps/mach/hurd/powerpc: Remove directory.
26975         * sysdeps/mach/powerpc: Likewise.
26977 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
26979         * scripts/check-local-headers.sh: Ignore c++ headers.
26981 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
26983         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
26984         __libc_cleanup_region_start argument.
26986 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
26988         [BZ #14784]
26989         [BZ #14785]
26990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
26991         x * y using scaling, not as x * y + z.
26992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26994         * math/libm-test.inc (fma_test): Add more tests.
26995         (fma_test_towardzero): Likewise.
26996         (fma_test_downward): Likewise.
26997         (fma_test_upward): Likewise.
26999 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27001         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27003 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27005         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27006         New variable.
27008 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27010         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27012 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27015         Fix sort order.
27016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27017         Likewise.
27019 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27022         Fix the order of the list for glibc 2.17.
27023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27024         Likewise.
27026 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27030 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27032         [BZ #14610]
27033         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27034         for low part of x being zero before using __atanl (y).
27035         * math/libm-test.inc (atan2_test): Add another test.
27037         * manual/install.texi (Configuring and compiling): Document
27038         general use of test-wrapper and test-wrapper-env.
27039         * INSTALL: Regenerated.
27041         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27042         (__fma): Do not extract and scale down low bits on after-rounding
27043         systems when result rounded to normal precision would have normal
27044         exponent.
27045         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27046         (__fmal): Do not extract and scale down low bits on after-rounding
27047         systems when result rounded to normal precision would have normal
27048         exponent.
27049         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27050         (__fmal): Do not extract and scale down low bits on after-rounding
27051         systems when result rounded to normal precision would have normal
27052         exponent.
27053         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27054         macro.
27055         (fma_test): Add more tests.
27056         (fma_test_towardzero): Likewise.
27057         (fma_test_downward): Likewise.
27058         (fma_test_upward): Likewise.
27060 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27062         * sysdeps/i386/tininess.h: Renamed to ...
27063         * sysdeps/x86/tininess.h: This.
27064         * sysdeps/x86_64/tininess.h: Removed.
27066 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27068         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27069         input.  Use $(build-program-cmd).
27070         ($(objpfx)tst-array1-static.out): Likewise.
27071         ($(objpfx)tst-array2.out): Likewise.
27072         ($(objpfx)tst-array3.out): Likewise.
27073         ($(objpfx)tst-array4.out): Likewise.
27074         ($(objpfx)tst-array5.out): Likewise.
27075         ($(objpfx)tst-array5-static.out): Likewise.
27077 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27079         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27080         if defined.
27082         * nss/nsswitch.h (nss_interface_function): Provide new
27083         macro for use with NSS functions.
27084         * grp/initgroups.c: Use new macro.
27085         * nss/getXXbyYY.c: Likewise.
27086         * nss/getXXbyYY_r.c: Likewise.
27087         * nss/getXXent.c: Likewise.
27088         * nss/getXXent_r.c: Likewise.
27089         * sysdeps/posix/getaddrinfo.c: Likewise.
27091 2012-10-30  Andreas Jaeger  <aj@suse.de>
27093         * po/ru.po: Update Russion translation from translation project.
27095 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27097         [BZ #14152]
27098         [BZ #14783]
27099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27100         result and shift together with sticky bit instead of replicating
27101         round-to-nearest rounding.
27102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27103         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27104         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27105         missing underflow exceptions.
27106         (fma_test_towardzero): Add more tests.
27107         (fma_test_downward): Likewise.
27108         (fma_test_upward): Likewise.
27110         [BZ #14047]
27111         * sysdeps/generic/tininess.h: New file.
27112         * sysdeps/i386/tininess.h: Likewise.
27113         * sysdeps/sh/tininess.h: Likewise.
27114         * sysdeps/x86_64/tininess.h: Likewise.
27115         * stdlib/tst-strtod-underflow.c: Likewise.
27116         * stdlib/tst-tininess.c: Likewise.
27117         * stdlib/strtod_l.c: Include <tininess.h>.
27118         (round_and_return): Do not set errno for exact underflow cases.
27119         Force an underflow exception when setting errno for underflow.
27120         Determine underflow based on rounding to normal precision if
27121         TININESS_AFTER_ROUNDING.
27122         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27123         ERANGE for exact underflow cases.
27124         * stdlib/Makefile (tests): Add tst-tininess and
27125         tst-strtod-underflow.
27126         ($(objpfx)tst-tininess): Use $(link-libm).
27127         ($(objpfx)tst-strtod-underflow): Likewise.
27129 2012-10-30  Andreas Jaeger  <aj@suse.de>
27131         [BZ#14767]
27132         * elf/Makefile (tests): Remove conditional for have-initfini-array
27133         since this is now always required and the variable does not exist
27134         anymore.
27135         (tests-static): Likewise.
27136         (modules-names): Likewise.
27138         * po/eo.po: Add Esperanto translation from translation project.
27140         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27141         merged with constructor/destructor.
27142         (init_array): Likewise.
27143         * elf/tst-array2dep.c (fini_array): Likewise.
27144         (init_array): Likewise.
27146 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27148         * manual/message.texi: Delete @cartouche tags.
27150 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27152         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27153         EOPNOTSUPP.
27154         * sysdeps/mach/hurd/fsync.c: Likewise.
27156         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27157         [_POSIX_REALTIME_SIGNALS]: Change condition to
27158         [_POSIX_REALTIME_SIGNALS > 0].
27160 2012-10-27  Andreas Jaeger  <aj@suse.de>
27162         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27163         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27164         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27165         [__WORDSIZE != 64]: Likewise.
27167 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27169         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27170         *  iconvdata/tst-tables.sh: Likewise.
27172 2012-10-25  David S. Miller  <davem@davemloft.net>
27174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27175         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27176         of strtoull.
27178         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27179         ifunc-impl-list.c
27180         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27181         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27182         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27183         file.
27185 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27188         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27189         __getdirentries.
27191 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27192             Jim Blandy  <jimb@codesourcery.com>
27194         * scripts/cross-test-ssh.sh: New file.
27195         * manual/install.texi (Configuring and compiling): Document use of
27196         cross-test-ssh.sh.
27197         * INSTALL: Regenerated.
27199 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27201         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27202         EOPNOTSUPP.
27204 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27206         * Makeconfig (run-program-prefix): Fix comment.
27208 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27209             Jim Blandy  <jimb@codesourcery.com>
27211         * Makeconfig (test-wrapper): New variable,
27212         (test-wrapper-env): Likewise.
27213         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27214         (run-built-tests): Define to yes.
27215         (run-program-prefix): Use $(test-wrapper).
27216         (built-program-cmd): Likewise.
27217         * Rules (make-test-out): Use $(test-wrapper-env) and
27218         $(host-built-program-cmd).
27219         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27220         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27221         tst-pathopt.sh.
27222         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27223         $(test-wrapper-env) to tst-rtld-load-self.sh.
27224         ($(objpfx)order2.out): Use $(test-wrapper).
27225         ($(objpfx)tst-initorder.out): Likewise.
27226         ($(objpfx)tst-initorder2.out): Likewise.
27227         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27228         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27229         (test_wrapper_env): New variable.  Use it to run ld.so.
27230         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27231         Use it to run ld.so.
27232         (test_wrapper_env): Likewise.
27233         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27234         $(test-wrapper) to run-iconv-test.sh.
27235         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27236         (ICONV): Use $test_wrapper.
27237         * posix/Makefile ($(objpfx)globtest.out): Pass
27238         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27239         globtest.sh, not $(run-program-prefix).
27240         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27241         (test_wrapper): Likewise.
27242         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27243         set together with run_via_rtld_prefix.
27244         (run_program_prefix): Define in terms of test_wrapper and
27245         run_via_rtld_prefix.
27247 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27249         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27250         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27251         Targets removed.
27253         [BZ #14743]
27254         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27255         Declare __clock_getres, __clock_gettime, __clock_settime,
27256         __clock_nanosleep, and __clock_getcpuclockid.
27257         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27258         Remove librt_hidden_def (clock_gettime).
27259         * sysdeps/unix/clock_gettime.c: Likewise.
27260         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27261         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27262         * rt/clock_getres.c: Define __clock_getres as an alias.
27263         * sysdeps/posix/clock_getres.c: Likewise.
27264         * rt/clock_settime.c: Define __clock_settime as an alias.
27265         * sysdeps/unix/clock_settime.c: Likewise.
27266         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27267         * sysdeps/unix/clock_nanosleep.c: Likewise.
27268         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27269         * rt/clock-compat.c: New file.
27270         * rt/Makefile (librt-routines): Add clock-compat and move
27271         $(clock-routines) to ...
27272         (routines): ... here, new variable.
27273         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27274         Don't add get_clockfreq here.
27275         * rt/Versions (libc: GLIBC_2.17): New version set.
27276         Add clock_* symbols here.
27277         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27278         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27279         (GLIBC_2.17): Add clock_* symbols.
27280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27282         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27284         Likewise.
27285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27286         Likewise.
27287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27291         * NEWS: Mention the move.
27293         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27294         Use __open, __read, __close rather than their public counterparts.
27295         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27296         (__get_clockfreq_via_cpuinfo): Likewise.
27297         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27298         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27300         * config.h.in (HAVE_IFUNC): New #undef.
27301         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27302         was successful.
27303         * configure: Regenerated.
27305 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27307         * configure.in: Move READELF check to start of file.
27308         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27309         libc_cv_asm_gnu_indirect_function in the process.
27310         * configure: Regenerated.
27312 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27314         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27315         send the output to /dev/null.
27316         (libc_cv_cc_with_libunwind): Likewise.
27317         (libc_cv_as_noexecstack): Likewise.
27318         * configure: Regenerate.
27320 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27322         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27324         * posix/globtest.sh (TMPDIR): Do not set.
27325         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27326         (testout): Likewise.
27328 2012-10-24  Andreas Jaeger  <aj@suse.de>
27330         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27331         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27332         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27333         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27334         posix_fadvise64, posix_fallocate64.
27336         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27337         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27338         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27339         Likewise.
27340         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27341         Likewise.
27342         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27345         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27346         <bits/fcntl-linux.h>.
27347         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27349         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27350         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27351         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27352         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27353         [__WORDSIZE != 64]: Likewise.
27355 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27357         * Makeconfig (run-built-tests): New variable.
27358         * Rules [$(cross-compiling) = yes]: Change condition to
27359         [$(run-built-tests) = no].
27360         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27361         to [$(run-built-tests) = yes].
27362         * elf/Makefile [$(cross-compiling) = no]: Likewise
27363         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27364         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27365         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27366         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27367         * io/Makefile [$(cross-compiling) = no]: Likewise.
27368         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27369         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27370         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27371         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27372         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27373         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27374         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27375         * string/Makefile [$(cross-compiling) = no]: Likewise.
27377         * posix/Makefile ($(objpfx)globtest.out): Pass
27378         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27379         $(rtld-installed-name).
27380         * posix/globtest.sh (elf_objpfx): Remove variable.
27381         (rtld_installed_name): Likewise.
27382         (library_path): Likewise.
27383         (run_program_prefix): New variable.  Use for running globtest
27384         binary.
27386 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27387             Joseph Myers  <joseph@codesourcery.com>
27389         * Makeconfig (host-built-program-cmd): New variable.
27390         * elf/Makefile (tst-stackguard1-ARGS): Use
27391         $(host-built-program-cmd).
27392         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27393         (tst-spawn-ARGS): Likewise.
27394         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27396 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27397             Jim Blandy  <jimb@codesourcery.com>
27399         * Makeconfig (run-via-rtld-prefix): New variable.
27400         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27401         (built-program-cmd): Likewise.
27403 2012-10-22  Andreas Jaeger  <aj@suse.de>
27405         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27406         __O_RSYNC if it exists, otherwise to O_SYNC.
27408 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27409             Joseph Myers  <joseph@codesourcery.com>
27411         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27412         /dev/null.
27413         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27414         from /dev/null
27415         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27416         /dev/null.
27418 2012-10-22  Andreas Jaeger  <aj@suse.de>
27420         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27421         Define always.
27422         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27425         bits/fcntl-linux.h.
27427         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27428         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27431         to __O_LARGEFILE.
27432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27433         to __O_LARGEFILE.
27435 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27436             Joseph Myers  <joseph@codesourcery.com>
27438         * config.make.in (NM): New variable.
27440 2012-10-21  Andreas Jaeger  <aj@suse.de>
27442         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27443         definitions and declarations that are provided by
27444         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27446 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27448         [BZ #14683]
27449         * elf/Makefile (tests-static): Add tst-leaks1-static.
27450         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27451         ($(objpfx)tst-leaks1-static): New rule.
27452         ($(objpfx)tst-leaks1-static-mem): Likewise.
27453         (tst-leaks1-static-ENV): New macro.
27454         * elf/dl-open.c (dl_open_worker): Check the main application
27455         only if SHARED is defined.
27456         * elf/tst-leaks1-static.c: New file.
27458 2012-10-20  Andreas Jaeger  <aj@suse.de>
27460         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27461         generic values for Linux.
27462         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27463         and declarations that are provided by <bits/fcntl-linux.h> and
27464         include <bits/fcntl-linux.h>.
27465         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27468 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27470         * io/fcntl.h: Move include of <bits/types.h> to the top and
27471         include it unconditionally.
27473 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27475         * wcsmbs/Makefile (tests-ifunc): New variable.
27476         (tests): Add $(tests-ifunc).
27477         * wcsmbs/test-wcschr-ifunc.c: New file.
27478         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27479         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27480         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27481         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27482         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27484         * string/Makefile (tests-ifunc): New variable.
27485         (tests): Add $(tests-ifunc).
27486         * string/test-memccpy.c (TEST_NAME): New macro.
27487         * string/test-memchr.c (TEST_NAME): Likewise.
27488         * string/test-memcmp.c (TEST_NAME): Likewise.
27489         * string/test-memcpy.c (TEST_NAME): Likewise.
27490         * string/test-memmem.c (TEST_NAME): Likewise.
27491         * string/test-memmove.c (TEST_NAME): Likewise.
27492         * string/test-memset.c (TEST_NAME): Likewise.
27493         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27494         * string/test-stpcpy.c (TEST_NAME): Likewise.
27495         * string/test-stpncpy.c (TEST_NAME): Likewise.
27496         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27497         * string/test-strcasestr.c (TEST_NAME): Likewise.
27498         * string/test-strcat.c (TEST_NAME): Likewise.
27499         * string/test-strchr.c (TEST_NAME): Likewise.
27500         * string/test-strcmp.c(TEST_NAME): Likewise.
27501         * string/test-strcpy.c (TEST_NAME): Likewise.
27502         * string/test-strcspn.c (TEST_NAME): Likewise.
27503         * string/test-strlen.c (TEST_NAME): Likewise.
27504         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27505         * string/test-strncmp.c (TEST_NAME): Likewise.
27506         * string/test-strncpy.c (TEST_NAME): Likewise.
27507         * string/test-strnlen.c (TEST_NAME): Likewise.
27508         * string/test-strpbrk.c (TEST_NAME): Likewise.
27509         * string/test-strrchr.c (TEST_NAME): Likewise.
27510         * string/test-strspn.c (TEST_NAME): Likewise.
27511         * string/test-strstr.c (TEST_NAME): Likewise.
27512         * string/test-bcopy-ifunc.c: New file.
27513         * string/test-bzero-ifunc.c: Likewise.
27514         * string/test-memccpy-ifunc.c: Likewise.
27515         * string/test-memchr-ifunc.c: Likewise.
27516         * string/test-memcmp-ifunc.c: Likewise.
27517         * string/test-memcpy-ifunc.c: Likewise.
27518         * string/test-memmem-ifunc.c: Likewise.
27519         * string/test-memmove-ifunc.c: Likewise.
27520         * string/test-mempcpy-ifunc.c: Likewise.
27521         * string/test-memset-ifunc.c: Likewise.
27522         * string/test-rawmemchr-ifunc.c: Likewise.
27523         * string/test-stpcpy-ifunc.c: Likewise.
27524         * string/test-stpncpy-ifunc.c: Likewise.
27525         * string/test-strcasecmp-ifunc.c: Likewise.
27526         * string/test-strcasestr-ifunc.c: Likewise.
27527         * string/test-strcat-ifunc.c: Likewise.
27528         * string/test-strchr-ifunc.c: Likewise.
27529         * string/test-strchrnul-ifunc.c: Likewise.
27530         * string/test-strcmp-ifunc.c: Likewise.
27531         * string/test-strcpy-ifunc.c: Likewise.
27532         * string/test-strcspn-ifunc.c: Likewise.
27533         * string/test-strlen-ifunc.c: Likewise.
27534         * string/test-strncasecmp-ifunc.c: Likewise.
27535         * string/test-strncat-ifunc.c: Likewise.
27536         * string/test-strncmp-ifunc.c: Likewise.
27537         * string/test-strncpy-ifunc.c: Likewise.
27538         * string/test-strnlen-ifunc.c: Likewise.
27539         * string/test-strpbrk-ifunc.c: Likewise.
27540         * string/test-strrchr-ifunc.c: Likewise.
27541         * string/test-strspn-ifunc.c: Likewise.
27542         * string/test-strstr-ifunc.c: Likewise.
27544         * debug/Makefile (tests-ifunc): New variable.
27545         (tests): Add $(tests-ifunc).
27546         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27547         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27548         * debug/test-stpcpy_chk-ifunc.c: New file.
27549         * debug/test-strcpy_chk-ifunc.c: Likewise.
27551 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27553         [BZ #13601]
27554         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27555         header is not read in.
27557 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27559         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27560         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27561         directly.  Pass built executable to script as
27562         $(built-program-cmd).
27563         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27564         $testprogram without using LD_LIBRARY_PATH and $ldso.
27566         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27567         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27568         $(rtld-installed-name).
27569         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27570         (rtld_installed_name): Likewise.
27571         (library_path): Likewise.
27572         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27573         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27574         $(run-program-prefix) to tst-tables.sh.
27575         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27576         it to run tst-table-from and tst-table-to.
27577         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27578         Pass it to tst-table.sh.
27579         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27580         $(run-program-prefix) to tst-gettext.sh.
27581         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27582         tst-translit.sh.
27583         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27584         tst-gettext2.sh.
27585         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27586         to run tst-gettext.
27587         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27588         to run tst-gettext2.
27589         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27590         to run tst-translit.
27591         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27592         $(run-program-prefix) to tst-mtrace.sh.
27593         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27594         to run tst-mtrace.
27595         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27596         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27597         $(rtld-installed-name).
27598         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27599         (rtld_installed_name): Likewise.
27600         (run_program_prefix): New variable.  Use it to run wordexp-test.
27602         * Makeconfig (ARCH): Remove all definitions.
27603         (machine): Likewise.
27604         [ARCH]: Remove conditional code.
27605         [!objdir]: Give error.
27606         [!objdir] (objpfx): Remove.
27607         [!objdir] (common-objpfx): Likewise.
27608         [!objdir] (common-objdir): Likewise.
27609         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27610         AC_CONFIG_FILES call.
27611         * configure: Regenerated.
27613         [BZ #13888]
27614         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27615         or TMPDIR.
27616         (testout): Likewise.
27618         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27619         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27620         $(rtld-installed-name).
27621         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27622         (rtld_installed_name): Likwise.
27623         (runit): Remove function.
27624         (run_getconf): New variable,  Use it for running getconf binary.
27626 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27628         [BZ #14716]
27629         * string/test-memmem.c (check_result): New function.
27630         (do_one_test): Use it.
27631         (check1): New function.
27632         (test_main): Use it.
27634 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27636         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27638 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27640         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27641         (_G_LSEEK64): Likewise.
27642         (_G_MMAP64): Likewise.
27643         (_G_FSTAT64): Likewise.
27644         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27645         (_G_LSEEK64): Likewise.
27646         (_G_MMAP64): Likewise.
27647         (_G_FSTAT64): Likewise.
27648         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27649         unconditional.  Call __mmap64 directly.
27650         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27651         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27652         __lseek64 directly.
27653         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27654         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27655         __mmap64 directly.
27656         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27657         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27658         __lseek64 directly.
27659         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27660         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27661         __lseek64 directly.
27662         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27663         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27664         __lseek64 directly.
27665         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27666         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27667         __fxstat64 directly.
27668         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27669         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27670         unconditional.
27671         (freopen64) [!_G_OPEN64]: Remove conditional code.
27672         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27673         unconditional.
27674         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27675         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27676         unconditional.
27677         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27678         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27679         unconditional.
27680         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27681         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27682         unconditional.
27683         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27684         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27685         unconditional.
27686         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27687         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27688         unconditional.
27689         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27690         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27691         unconditional.
27692         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27694 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27696         [BZ #12140]
27697         * manual/memory.texi (Malloc Tunable Parameters): Add note
27698         about free list pointers overwriting some perturb bytes.
27699         Wording suggested by Roland McGrath.
27701 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27703         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27704         (lgamma_test): Likewise.
27705         (tgamma_test): Likewise.
27707 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27709         [BZ #14700]
27710         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27711         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27713 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27715         * NEWS: Mention BZ #14716.
27716         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27717         when removing AVAILABLE1_USES_J macro.
27719 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27721         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27722         (__bswap_64): __uint64_t for unsigned 64-bit int.
27724 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27726         * include/string.h (memmem): Declare libc hidden alias.
27727         * string/memmem.c (memmem): Define libc hidden alias.
27728         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27729         __read, __close instead of open, read, close.
27731 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27733         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27734         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27735         global and hidden.
27736         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27737         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27738         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27739         Likewise.
27740         (__rawmemchr_sse2): Likewise.
27741         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27742         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27743         (__strchr_sse2): Likewise.
27744         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27745         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27746         (__strcasecmp_sse2): Likewise.
27747         (__strncasecmp_sse2): Likewise.
27748         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27749         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27750         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27751         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27752         (__strrchr_sse2): Likewise.
27753         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27754         ifunc-impl-list.c.
27755         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27756         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27757         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27758         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27759         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27760         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27761         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27762         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27763         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27764         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27765         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27766         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27767         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27768         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27769         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27770         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27771         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27772         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27773         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27774         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27775         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27776         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27777         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27778         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27779         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27780         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27781         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27782         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27783         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27784         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27786         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27787         global and hidden.
27788         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27789         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27790         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27791         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27792         Likewise.
27793         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27794         Likewise.
27795         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27796         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27797         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27798         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27799         ifunc-impl-list.c.
27800         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27801         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27802         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27803         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27804         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27805         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27806         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27807         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27808         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27809         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27810         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27811         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27812         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27813         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27814         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27815         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27816         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27817         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27818         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27819         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27820         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27821         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27822         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27823         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27824         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27825         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27826         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27827         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27828         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27829         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27830         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27831         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27832         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27833         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27834         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27835         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27836         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27837         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27838         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27839         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27840         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27842         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27843         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27844         * include/ifunc-impl-list.h: New file.
27845         * misc/ifunc-impl-list.c: Likewise.
27846         * misc/Makefile (routines): Add ifunc-impl-list.
27847         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27848         * string/test-string.h: Include <ifunc-impl-list.h>.
27849         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27850         TEST_NAME]: New variables.
27851         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27852         are defined.
27853         (test_init): Call __libc_ifunc_impl_list to initialize
27854         func_list if TEST_IFUNC and TEST_NAME are defined.
27856         * string/Makefile (strop-tests): Add bcopy and bzero.
27857         * string/test-bcopy.c: New file.
27858         * string/test-bzero.c: Likewise.
27859         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27860         defined.
27861         * string/test-memset.c: Support bzero test if TEST_BZERO is
27862         defined.
27863         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27864         __libc_memmove.
27865         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27866         __libc_memset.
27867         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27868         of memset.
27870 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27872         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27873         * configure: Regenerated.
27875         * Makeconfig (+link-static-before-libc): Don't include
27876         $(link-static-libc).
27878         * libio/libio.h (_IO_pos_t): Remove.
27880 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27882         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27883         McGrath.
27885 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27887         * crypt/crypt-entry.c: Include fips-private.h.
27888         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
27889         * crypt/md5c-test.c (main): Tolerate disabled MD5.
27890         * sysdeps/unix/sysv/linux/fips-private.h: New file.
27891         * sysdeps/generic/fips-private.h: New file, dummy fallback.
27893 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27895         * crypt/crypt-private.h: Include stdbool.h.
27896         (_ufc_setup_salt_r): Return bool.
27897         * crypt/crypt-entry.c: Include errno.h.
27898         (__crypt_r): Return NULL with EINVAL for bad salt.
27899         * crypt/crypt_util.c (bad_for_salt): New.
27900         (_ufc_setup_salt_r): Check that salt is long enough and within
27901         the specified alphabet.
27902         * crypt/badsalttest.c: New file.
27903         * crypt/Makefile (tests): Add it.
27904         ($(objpfx)badsalttest): New.
27906 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
27908         * NEWS: Add entry for BZ #14602.
27910 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27912         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
27913         type-generic.
27914         * math/libm-test.inc: Update comment listing what functions and
27915         macros are tested.
27916         (isgreater_test): New function.
27917         (isgreaterequal_test): Likewise.
27918         (isless_test): Likewise.
27919         (islessequal_test): Likewise.
27920         (islessgreater_test): Likewise.
27921         (isunordered_test): Likewise.
27922         (main): Call the new functions.
27924 2012-10-09  Roland McGrath  <roland@hack.frob.com>
27926         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
27927         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
27928         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
27929         * sysdeps/i386/configure: Regenerated.
27930         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
27931         * sysdeps/mach/configure: Regenerated.
27932         * sysdeps/mach/hurd/configure: Regenerated.
27933         * sysdeps/powerpc/configure: Regenerated.
27934         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27935         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27936         * sysdeps/s390/s390-32/configure: Regenerated.
27937         * sysdeps/s390/s390-64/configure: Regenerated.
27938         * sysdeps/sh/configure: Regenerated.
27939         * sysdeps/sparc/configure: Regenerated.
27940         * sysdeps/unix/sysv/linux/configure: Regenerated.
27941         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
27942         * sysdeps/x86_64/configure: Regenerated.
27944         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
27945         defined.  Don't check if MAP is NULL.
27947 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
27949         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
27950         (_G_stat64): Likewise.
27951         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
27952         (_G_stat64): Likewise.
27953         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
27954         instead of struct _G_stat64.
27955         * libio/fileops.c (mmap_remap_check): Likewise.
27956         (decide_maybe_mmap): Likewise.
27957         (_IO_new_file_seekoff): Likewise.
27958         (_IO_file_stat): Likewise.
27959         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
27960         _G_off64_t.
27961         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
27962         instead of struct _G_stat64.
27963         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27965 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
27967         [BZ #14602]
27968         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27969         Replace with ...
27970         (CHECK_EOL): New macro.
27971         (two_way_short_needle): Check beginning of haystack for EOL.  Use
27972         CHECK_EOL.
27973         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27974         Replace with CHECK_EOL.
27975         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
27976         Replace with CHECK_EOL.
27978 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
27980         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
27981         type-generic.
27982         * math/libm-test.inc: Update comment listing what functions and
27983         macros are tested.
27984         (finite_test): New function.
27985         (isinf_test): Likewise.
27986         (isnan_test): Likewise.
27987         (fpclassify_test): Test subnormal input.
27988         (isfinite_test): Likewise.
27989         (isnormal_test): Likewise.
27990         (main): Call the new functions.
27992 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
27994         [BZ #14660]
27995         * Makerules (%.dynsym): Force C locale when running
27996         $(OBJDUMP) --dynamic-syms.
27998 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28000         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28001         <stdint.h>.
28003 2012-10-06  David S. Miller  <davem@davemloft.net>
28005         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28006         upper 32-bits of the length value in %o2 since we use branch-on-register
28007         tests which consider the entire 64-bit register.
28009 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28011         * string/test-strstr.c (check2): Add a test for page boundary.
28013 2012-10-05  David S. Miller  <davem@davemloft.net>
28015         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28016         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28017         file.
28018         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28019         sysdep_routines.
28020         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28021         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28022         and bzero when HWCAP_SPARC_CRYPTO is present.
28024 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28026         [BZ #14602]
28027         * string/test-strstr.c (check2): New function.
28028         (test_main): Call check2.
28030         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28031         and bug-strchr1.
28032         * string/bug-strcasestr1.c (do_test): Moved to ...
28033         * string/test-strcasestr.c (check1): Here.  New function.
28034         (do_one_test): Break out result checking code into ...
28035         (check_result): This.  New function.
28036         (do_one_test): Call check_result.
28037         (test_main): Call check1.
28038         * string/bug-strchr1.c (do_test): Moved to ...
28039         * string/test-strchr.c (check1): Here.  New function.
28040         (do_one_test): Break out result checking code into ...
28041         (check_result): This.  New function.
28042         (do_one_test): Call check_result.
28043         (test_main): Call check1.
28044         * string/bug-strstr1.c (main): Moved to ...
28045         * string/test-strstr.c (check1): Here.  New function.
28046         (do_one_test): Break out result checking code into ...
28047         (check_result): This.  New function.
28048         (do_one_test): Call check_result.
28049         (test_main): Call check1.
28050         * string/bug-strcasestr1.c: Removed.
28051         * string/bug-strchr1.c: Likewise.
28052         * string/bug-strstr1.c: Likewise.
28054         * elf/Makefile (dl-routines): Add hwcaps.
28055         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28056         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28057         (_dl_important_hwcaps): Moved to ...
28058         * elf/dl-hwcaps.c: Here.  New file.
28059         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28061         [BZ #14557]
28062         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28063         if IS_IN_rtld isn't defined.
28065         * elf/dl-support.c (_dl_sysinfo_map): New.
28066         Include "get-dynamic-info.h" and "setup-vdso.h".
28067         (_dl_non_dynamic_init): Call setup_vdso.
28068         * elf/dynamic-link.h: Don't include <assert.h>.
28069         (elf_get_dynamic_info): Moved to ...
28070         * elf/get-dynamic-info.h: Here.  New file.
28071         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28072         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28073         * elf/setup-vdso.h: Here.  New file.
28074         * elf/rtld.c: Include "setup-vdso.h".
28075         (dl_main): Call setup_vdso.
28077 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28079         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28080         creal in comment listing functions tested.  List finite, isinf,
28081         isnan, isless, islessequal, isgreater, isgreaterequal,
28082         islessgreater, isunordered, lgamma_r and pow10 as functions and
28083         macros not tested.  Mention which functions not tested are aliases
28084         for other functions.  Fix typo.  Note that signs of NaNs are not
28085         tested.
28087         * scripts/config.guess: Update from config.git.
28088         * scripts/config.sub: Likewise.
28090 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28092         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28093         * misc/madvise.c (madvise): Renamed to __madvise.
28094         Make madvise a weak alias.
28095         * include/sys/mman.h: Declare __madvise.
28096         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28097         * sysdeps/unix/syscalls.list
28098         (madvise): Make __madvise the strong name, and madvise a weak alias.
28099         * sysdeps/unix/sysv/linux/syscalls.list
28100         (madvise, mmap): Remove redundant entries.
28101         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28102         * malloc/malloc.c (mtrim): Likewise.
28103         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28105 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28107         * sysdeps/mach/hurd/dl-cache.c: File removed.
28108         * config.h.in (USE_LDCONFIG): New #undef.
28109         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28110         * configure: Regenerated.
28111         * elf/Makefile (dl-routines): Add dl-cache only under
28112         [$(use-ldconfig) = yes].
28113         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28114         cache on [USE_LDCONFIG].
28115         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28116         [USE_LDCONFIG].
28117         * elf/rtld.c (dl_main): Likewise.
28119 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28121         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28122         _SC_LEVEL4_CACHE_LINESIZE.
28124 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28126         * sysdeps/unix/bsd/confstr.h: File removed.
28128 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28130         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28131         sys/sdt-config.h.
28133 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28135         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28136         Make 'mapoff' field ElfW(Off) rather than off_t.
28138 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28140         * nscd/Makefile: Remove nscd-cflags and all its users.
28141         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28142         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28144         [BZ #10631]
28145         * malloc.c (malloc_printerr): Clarify error message.
28147 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28149         [BZ #14648]
28150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28151         Set bit_FMA_Usable if FMA is supported.
28152         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28153         macro.
28154         (bit_FMA4_Usable): Updated.
28155         (index_FMA_Usable): New macro.
28156         (CPUID_FMA): Likewise
28157         (HAS_FMA): Defined with bit_FMA_Usable.
28159 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28161         * bits/types.h (__swblk_t): Type removed.
28162         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28163         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28164         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28165         (__SWBLK_T_TYPE): Likewise.
28166         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28167         (__SWBLK_T_TYPE): Likewise.
28168         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28169         (__SWBLK_T_TYPE): Likewise.
28170         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28171         (__SWBLK_T_TYPE): Likewise.
28173 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28174             Honza Horak <hhorak@redhat.com>
28176         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28177         (xdr_mapname): Use YPMAXMAP as maxsize.
28178         (xdr_peername): Use YPMAXPEER as maxsize.
28179         (xdr_keydat): Use YPAXRECORD as maxsize.
28180         (xdr_valdat): Use YPMAXRECORD as maxsize.
28182 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28184         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28186         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28187         * csu/init-first.c: ... here.
28188         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28189         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28190         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28191         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28192         * sysdeps/i386/init-first.c: File removed.
28193         * sysdeps/sh/init-first.c: File removed.
28195 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28197         [BZ #14645]
28198         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28199         if x * y might underflow to zero and z is zero.
28200         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28202         * math/libm-test.inc (min_subnorm_value): New variable.
28203         (fma_test): Add more tests.
28204         (fma_test_towardzero): Likewise.
28205         (fma_test_downward): Likewise
28206         (fma_test_upward): Likewise.
28207         (initialize): Set min_subnorm_value.
28209 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28211         [BZ #14638]
28212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28213         0 + 0.
28214         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28215         mode for addition resulting in exact zero.
28216         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28217         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28218         exact 0 + 0.
28219         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28221         * math/libm-test.inc (fma_test): Add more tests.
28222         (fma_test_towardzero): New function.
28223         (fma_test_downward): Likewise.
28224         (fma_test_upward): Likewise.
28225         (main): Call the new functions.
28227 2012-09-28  David S. Miller  <davem@davemloft.net>
28229         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28231 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28233         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28234         instead of SIGALRM.
28236         * sysdeps/gnu/_G_config.h: Moved to ...
28237         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28238         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28239         * sysdeps/generic/_G_config.h: ... here.
28241         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28243         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28245         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28246         Conditionalize target on [libnss_test1.so-version].
28248         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28250         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28251         (elfobjdir): Move out of conditionals.
28253         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28254         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28255         (__nss_lookup_function): Conditionalize label remove_from_tree on
28256         [!DO_STATIC_NSS || SHARED], matching its only use.
28258 2012-09-28  David S. Miller  <davem@davemloft.net>
28260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28261         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28262         file.
28263         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28264         sysdep_routines.
28265         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28266         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28267         when HWCAP_SPARC_CRYPTO is present.
28269 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28271         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28273 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28275         [BZ #6530]
28276         * stdio-common/vfprintf.c (process_string_arg): Revert
28277         2000-07-22 change.
28279 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28281         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28282         for testcase.
28283         * stdio-common/tst-sprintf.c: Include <locale.h>
28284         (main): Test sprintf's handling of incomplete multibyte
28285         characters.
28287 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28289         * elf/dl-runtime.c (VERSYMIDX): Removed.
28290         * elf/dl-version.c (VERSYMIDX): Likewise.
28291         * elf/do-rel.h (VERSYMIDX): Likewise.
28292         (VALIDX): Likewise.
28293         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28294         * elf/rtld.c (VALIDX): Likewise.
28295         (ADDRIDX): Likewise.
28296         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28297         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28298         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28299         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28300         (VALIDX): Likewise.
28301         (ADDRIDX): Likewise.
28303 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28305         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28307 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28309         [BZ #11438]
28310         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28311         to global scope.
28312         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28313         addresses are in the same scope as 192.0.2/24.
28314         * posix/gai.conf: Document new scope table defaults.
28316 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28318         [BZ #5298]
28319         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28320         for ftell.  Compute offsets from write pointers instead.
28321         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28323 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28325         [BZ #14543]
28326         * libio/Makefile (tests): New test case tst-fseek.
28327         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28328         combination works in wide mode.
28329         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28330         state when the external buffer state changes.
28332 2012-09-27  David S. Miller  <davem@davemloft.net>
28334         [BZ #14376]
28335         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28336         pass reloc->r_addend in as the 'high' argument to
28337         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28341 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28343         * rt/tst-aio2.c: Include <pthread.h>.
28344         * rt/tst-aio3.c: Likewise.
28346 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28348         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28350 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28352         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28353         contents on [SHARED].
28355 2012-09-26  Marek Polacek  <polacek@redhat.com>
28357         [BZ #14530]
28358         [BZ #13741]
28359         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28360         for C++ and GCC <4.3 as well as for non GCC compilers.
28362 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28364         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28366 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28368         * Makefile.in (all, install): Declare with .PHONY.
28369         Reported by Michael Hope <michael.hope@linaro.org>.
28371 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28373         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28374         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28375         system header.
28376         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28377         Likewise.
28378         (sydep_routines): Add the new and the internal functions.
28379         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28380         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28382         (GLIBC_2.17): Add the new function.
28383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28384         (GLIBC_2.17): Likewise.
28385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28386         (GLIBC_2.17): Likewise.
28387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28388         (GLIBC_2.17): Likewise.
28389         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28391 2012-09-25  Alan Modra  <amodra@gmail.com>
28393         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28394         Add release barrier before setting once_control to say
28395         initialisation is done.  Add hints on lwarx.  Use macro in
28396         place of isync.
28397         (clear_once_control): Add release barrier.
28399 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28401         [BZ #13629]
28402         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28403         specially.
28404         * math/s_clog10.c (__clog10): Likewise.
28405         * math/s_clog10f.c (__clog10f): Likewise.
28406         * math/s_clog10l.c (__clog10l): Likewise.
28407         * math/s_clogf.c (__clogf): Likewise.
28408         * math/s_clogl.c (__clogl): Likewise.
28409         * math/Makefile (libm-calls): Add x2y2m1.
28410         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28411         (__x2y2m1): Likewise.
28412         (__x2y2m1l): Likewise.
28413         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28414         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28415         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28416         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28417         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28418         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28419         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28420         * sysdeps/i386/fpu/libm-test-ulps: Update.
28421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28423         [BZ #14621]
28424         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28425         int as type of variable DEPTH.
28426         (glob): Use size_t instead of int as type of variables NEWCOUNT
28427         and OLD_PATHC.
28429 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28431         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28432         Add s_sincosf-sse2.
28433         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28434         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28435         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28436         macros for using routine as __sincosf_ia32.
28437         Use macro for function declaration and weak_alias.
28438         * sysdeps/i386/fpu/libm-test-ulps: Update.
28440         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28441         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28443         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28444         subnormal argument.
28445         * math/s_cexpf.c (__cexpf): Likewise.
28446         * math/s_csinf.c (__csinf): Likewise.
28447         * math/s_csinhf.c (__csinhf): Likewise.
28448         * math/s_ctanf.c (__ctanf): Likewise.
28449         * math/s_ctanhf.c (__ctanhf): Likewise.
28450         * math/s_ccosh.c (__ccoshf): Likewise.
28451         * math/s_cexp.c (__cexpl): Likewise.
28452         * math/s_csin.c (__csin): Likewise.
28453         * math/s_csinh.c (__csinh): Likewise.
28454         * math/s_ctan.c (__ctan): Likewise.
28455         * math/s_ctanh.c (ctanh): Likewise.
28456         * math/s_ccoshl.c (__ccoshl): Likewise.
28457         * math/s_cexpl.c (__cexpl): Likewise.
28458         * math/s_csinl.c (__csinl): Likewise.
28459         * math/s_csinhl.c (__csinhl): Likewise.
28460         * math/s_ctanl.c (__ctanl): Likewise.
28461         * math/s_ctanhl.c (__ctanhl): Likewise.
28463 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28465         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28466         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28467         (_IO_off_t): Define to __off_t, not _G_off_t.
28468         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28469         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28470         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28471         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28472         type of __dummy and __dummy2 fields.
28473         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28474         (_G_ssize_t): Likewise.
28475         (_G_off_t): Likewise.
28476         (_G_pid_t): Likewise.
28477         (_G_uid_t): Likewise.
28478         (_G_wchar_t): Likewise.
28479         (_G_wint_t): Likewise.
28480         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28481         (_G_ssize_t): Likewise.
28482         (_G_off_t): Likewise.
28483         (_G_pid_t): Likewise.
28484         (_G_uid_t): Likewise.
28485         (_G_wchar_t): Likewise.
28486         (_G_wint_t): Likewise.
28487         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28488         (_G_ssize_t): Likewise.
28489         (_G_off_t): Likewise.
28490         (_G_pid_t): Likewise.
28491         (_G_uid_t): Likewise.
28492         (_G_wchar_t): Likewise.
28493         (_G_wint_t): Likewise.
28495 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28497         * malloc/arena.c: Include malloc-sysdep.h.
28498         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28499         is sufficient to shrink the heap or an unmap is needed.
28500         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28501         new function check_may_shrink_heap.
28502         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28503         new function check_may_shrink_heap.
28505 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28507         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28508         comments.
28510 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28512         * catgets/test-gencat.sh: Add "set -e".
28513         * elf/tst-pathopt.sh: Likewise.
28514         * grp/tst_fgetgrent.sh: Likewise.
28515         * iconvdata/run-iconv-test.sh: Likewise.
28516         * intl/tst-gettext.sh: Likewise.
28517         * intl/tst-gettext2.sh: Likewise.
28518         * intl/tst-gettext4.sh: Likewise.
28519         * intl/tst-gettext6.sh: Likewise.
28520         * intl/tst-translit.sh: Likewise.
28521         * io/ftwtest-sh: Likewise.
28522         * libio/test-freopen.sh: Likewise.
28523         * malloc/tst-mtrace.sh: Likewise.
28524         * posix/globtest.sh: Likewise.
28525         * posix/tst-getconf.sh: Likewise.
28526         * posix/wordexp-tst.sh: Likewise.
28527         * stdio-common/tst-printf.sh: Likewise.
28528         * stdio-common/tst-unbputc.sh: Likewise.
28529         * stdlib/tst-fmtmsg.sh: Likewise.
28530         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28531         * catgets/Makefile: Do not specify -e option when running
28532         testsuite shell scripts.
28533         * elf/Makefile: Likewise.
28534         * grp/Makefile: Likewise.
28535         * iconvdata/Makefile: Likewise.
28536         * intl/Makefile: Likewise.
28537         * io/Makefile: Likewise.
28538         * libio/Makefile: Likewise.
28539         * malloc/Makefile: Likewise.
28540         * posix/Makefile: Likewise.
28541         * stdio-common/Makefile: Likewise.
28542         * stdlib/Makefile: Likewise.
28543         * sysdeps/x86_64/Makefile: Likewise.
28545         * io/ftwtest-sh: Add copyright header.
28546         * posix/globtest.sh: Likewise.
28547         * posix/tst-getconf.sh: Likewise.
28548         * posix/wordexp-tst.sh: Likewise.
28549         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28551 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28553         [BZ #13679]
28554         * Makeconfig (+link): Defined as $(+link-static) if
28555         $(build-shared) isn't yes.
28556         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28557         isn't yes.
28558         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28560         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28562         [BZ #14562]
28563         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28564         new chunk size with MALLOC_ALIGN_MASK.
28566 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28568         [BZ #5044]
28569         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28570         <rounding-mode.h>.
28571         (__printf_fphex): Determine rounding using get_rounding_mode and
28572         round_away.
28573         * stdio-common/tst-printf-round.c (struct hex_test): New
28574         structure.
28575         (hex_tests): New variable.
28576         (test_hex_in_one_mode): New function.
28577         (do_test): Also run tests for hex float output.
28579 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28581         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28582         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28583         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28584         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28585         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28586         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28587         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28588         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28590 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28592         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28593         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28594         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28595         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28597 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28599         [BZ #14579]
28600         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28601         mode only.
28602         * elf/tst-rtld-load-self.sh: New test.
28603         * elf/Makefile: Run it.
28605 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28607         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28608         (tst-writev-ENV): Remove.
28609         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28611 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28613         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28615 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28617         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28618         unconditional.
28619         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28620         Likewise.
28621         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28622         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28623         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28624         Likewise.
28626 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28628         [BZ #14587]
28629         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28630         * config.make.in (have-cpp-asm-debuginfo): Removed.
28631         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28632         * configure: Regenerated.
28634 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28636         [BZ #5044]
28637         * stdio-common/printf_fp.c: Include <stdbool.h> and
28638         <rounding-mode.h>.
28639         (___printf_fp): Determine rounding using get_rounding_mode and
28640         round_away.
28641         * stdio-common/tst-printf-round.c: New file.
28642         * stdio-common/Makefile (tests): Add tst-printf-round.
28643         (link-libm): New variable.
28644         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28646 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28648         [BZ #14576]
28649         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28650         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28651         Likewise.
28652         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28653         Likewise.
28655 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28657         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28658         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28659         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28660         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28662 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28664         [BZ #14518]
28665         * include/rounding-mode.h: New file.
28666         * sysdeps/generic/get-rounding-mode.h: Likewise.
28667         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28668         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28669         (MAX_VALUE): New macro.
28670         (MIN_VALUE): Likewise.
28671         (overflow_value): New function.
28672         (underflow_value): Likewise.
28673         (round_and_return): Use overflow_value and underflow_value to
28674         determine return values in overflow and underflow cases.  Use
28675         round_away to determine rounding depending on rounding mode.
28676         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28677         determine return values in overflow and underflow cases.
28678         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28679         (struct test_results): New structure.
28680         (struct test): Use struct test_results to store expected results
28681         for all rounding modes.
28682         (TEST): Include expected results for all rounding modes.
28683         (test_in_one_mode): New function.
28684         (do_test): Use test_in_one_mode to compute and check results.
28685         Check results for all rounding modes.
28686         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28687         $(link-libm).
28689 2012-12-09  Allan McRae  <allan@archlinux.org>
28691         * sysdeps/i386/fpu/libm-test-ulps: Update
28693 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28695         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28696         (_G_int32_t): Likewise.
28697         (_G_uint16_t): Likewise.
28698         (_G_uint32_t): Likewise.
28699         (_G_HAVE_BOOL): Likewise.
28700         (_G_HAVE_ATEXIT): Likewise.
28701         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28702         (_G_HAVE_IO_FILE_OPEN): Likewise.
28703         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28704         (_G_int32_t): Likewise.
28705         (_G_uint16_t): Likewise.
28706         (_G_uint32_t): Likewise.
28707         (_G_HAVE_BOOL): Likewise.
28708         (_G_HAVE_ATEXIT): Likewise.
28709         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28710         (_G_HAVE_IO_FILE_OPEN): Likewise.
28711         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28712         (_G_int32_t): Likewise.
28713         (_G_uint16_t): Likewise.
28714         (_G_uint32_t): Likewise.
28715         (_G_HAVE_BOOL): Likewise.
28716         (_G_HAVE_ATEXIT): Likewise.
28717         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28718         (_G_HAVE_IO_FILE_OPEN): Likewise.
28720 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28722         * csu/libc-tls.c: Update copyright years.
28724 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28726         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28727         [!_G_USING_THUNKS]: Remove conditional code.
28728         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28729         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28731         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28732         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28733         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28734         (_G_VTABLE_LABEL_PREFIX): Likewise.
28735         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28736         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28737         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28738         (_G_VTABLE_LABEL_PREFIX): Likewise.
28739         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28740         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28741         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28742         (_G_VTABLE_LABEL_PREFIX): Likewise.
28743         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28745 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28747         * libio/Makefile: Include ../Makeconfig before tests.
28748         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28749         only if $(build-shared) is yes.
28751         * iconv/gconv_db.c: Update copyright years.
28753 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28755         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28756         unwind info if defined PIC. Fix special cases description.
28757         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28759         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28760         DP_HI_MASK entry.
28761         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28763 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28765         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28767         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28768         is NULL.
28770         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28771         (LDLIBS-tst-chk4): This.
28772         (LDFLAGS-tst-chk5): Renamed to ...
28773         (LDLIBS-tst-chk5): This.
28774         (LDFLAGS-tst-chk6): Renamed to ...
28775         (LDLIBS-tst-chk6): This.
28776         (LDFLAGS-tst-lfschk4): Renamed to ...
28777         (LDLIBS-tst-lfschk4): This.
28778         (LDFLAGS-tst-lfschk5): Renamed to ...
28779         (LDLIBS-tst-lfschk5): This.
28780         (LDFLAGS-tst-lfschk6): Renamed to ...
28781         (LDLIBS-tst-lfschk6): This.
28783         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28784         on $(common-objpfx)soversions.mk.
28786 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28788         [BZ #10014]
28789         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28790         example host name.
28792 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28794         * malloc/arena.c (arena_get_retry): New function that gets
28795         another arena for the caller to try its request on.
28796         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28797         current arena cannot fulfill the request.
28798         (__libc_memalign): Likewise.
28799         (__libc_memalign): Likewise.
28800         (__libc_pvalloc): Likewise.
28801         (__libc_calloc): Likewise.
28803 2012-09-05  John Tobey  <john.tobey@gmail.com>
28805         [BZ #13542]
28806         * manual/arith.texi (Operations on Complex): Fix description
28807         of carg branch cut.
28809 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28811         [BZ #10014]
28812         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28813         host name.
28815         [BZ #10038]
28816         * manual/memory.texi (Memory): Make order of menu items match
28817         order of sections.
28819 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28821         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28822         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28823         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28825 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28827         * csu/libc-tls.c (static_dtv): Renamed to ...
28828         (_dl_static_dtv): This.  Make it global.
28829         (_dl_initial_dtv): Removed.
28830         (__libc_setup_tls): Updated.
28831         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28832         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28833         DL_INITIAL_DTV.
28835 2012-09-06  Petr Machata  <pmachata@redhat.com>
28837         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28838         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28839         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28840         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28842 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28844         [BZ #14545]
28845         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28846         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28847         freeing dtv[-1].
28849 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28851         [BZ #14544]
28852         * Makeconfig (link-static-before-libc): Replace $(+prector)
28853         with $(+prectorT).
28854         (link-static-after-libc): Replace $(+postctor) with
28855         $(+postctorT).
28856         (link-bounded): Replace $(+prector)/$(+postctor) with
28857         $(+prectorT)/$(+postctorT).
28858         (+prectorT): New macro.
28859         (+postctorT): Likewise.
28861 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28863         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28864         (round_str): Handle values above the maximum for IBM long double
28865         as inexact.
28866         * stdlib/tst-strtod-round.c (tests): Regenerated.
28868 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28870         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28871         assembler flag.
28872         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28873         zarch_nohighgprs around the zarch optimized routines.
28874         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28875         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28876         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28877         for zarch.
28879 2012-09-05  David S. Miller  <davem@davemloft.net>
28881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28883         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28884         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28885         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28886         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28887         entries.
28889 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28891         * malloc/arena.c: Fold copyright years.
28892         * malloc/mcheck.c, malloc/memusage.c: Likewise.
28894 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28896         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
28898 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28900         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
28902 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28904         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
28905         change internal state upon failure.
28907 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
28909         * malloc/mcheck.c (mcheck_check_all): Fix typo.
28910         * malloc/memusage.c (mmap): Likewise.
28911         (mmap64, mremap): Likewise.  Adjust name in comment.
28913 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28915         * libio/fileops.c: Fix typos in comments.
28916         * libio/oldfileops.c: Likewise.
28917         * libio/wfileops.c: Likewise.
28919 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28921         [BZ #1349]
28922         * malloc/Makefile (tests): Add tst-malloc-usable test case.
28923         (tst-malloc-usable-ENV): Set environment for test case.
28924         * malloc/hooks.c (malloc_check_get_size): New function to get
28925         requested size.
28926         * malloc/malloc.c (musable): Use malloc_check_get_size.
28927         * malloc/tst-malloc-usable.c: New test case.
28929 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28931         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
28933 2012-09-05  Allan McRae  <allan@archlinux.org>
28935         [BZ #13966]
28936         * configure.in (CXX_SYSINCLUDES): Use compiler output to
28937         determine header location.
28938         * configure: Regenerated.
28940 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
28942         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
28943         float format.
28944         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
28945         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
28946         format.
28947         (test): Regenerate.
28949 2012-09-04  David S. Miller  <davem@davemloft.net>
28951         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
28952         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
28953         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
28955 2012-09-04  Florian Weimer  <fweimer@redhat.com>
28957         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
28958         failures.
28960         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
28962 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
28964         [BZ #9914]
28965         * libio/iogetdelim.c: Include <limits.h>.
28966         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
28967         + len + 1 would overflow.
28969 2012-09-03  Andreas Jaeger  <aj@suse.de>
28971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28972         * sysdeps/i386/fpu/libm-test-ulps: Update.
28974 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28976         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28977         Add s_sinf-sse2, s_conf-sse2.
28979         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
28980         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
28981         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
28982         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
28984         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
28985         for using routine as __sinf_ia32.
28986         Use macro for function declaration and weak_alias.
28987         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
28988         for using routine as __cosf_ia32.
28989         Use macro for function declaration and weak_alias.
28991         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
28992         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
28994         * sysdeps/x86_64/fpu/s_sinf.S: New file.
28995         * sysdeps/x86_64/fpu/s_cosf.S: New file.
28996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28998         * math/libm-test.inc (cos_test): Add more test cases.
28999         (sin_test): Likewise.
29000         (sincos_test): Likewise.
29002 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29004         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29005         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29006         hidden.
29007         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29009 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29011         [BZ #14538]
29012         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29013         first element of the GOT.
29014         (elf_machine_load_address): Return the difference between
29015         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29017 2012-09-01  Allan McRae  <allan@archlinux.org>
29019         [BZ #13412]
29020         * configure.in (AWK): Require gawk version 3.0 or later.
29021         * configure: Regenerated.
29023 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29025         * sysdeps/unix/sysv/linux/kernel-features.h
29026         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29027         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29028         [__NR_clock_getres]: Make code unconditional.
29029         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29030         (clock_getcpuclockid): Remove code left unreachable by removal of
29031         conditionals.
29032         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29033         code unconditional.
29034         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29035         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29036         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29037         Make code unconditional.
29038         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29039         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29040         * sysdeps/unix/sysv/linux/clock_settime.c
29041         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29042         conditional code.
29043         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29044         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29046 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29048         [BZ #14476]
29049         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29050         scripts/test-installation.pl.
29052         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29053         and $ld_so_version if it is set.
29055 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29057         [BZ #14516]
29058         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29059         failure if reading from procfs failed.
29060         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29062 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29064         * sysdeps/unix/sysv/linux/kernel-features.h
29065         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29066         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29067         Remove conditional code.
29068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29069         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29070         Remove conditional code.
29071         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29072         * sysdeps/unix/sysv/linux/i386/fxstat.c
29073         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29075         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29076         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29077         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29078         * sysdeps/unix/sysv/linux/i386/lxstat.c
29079         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29080         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29081         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29082         Remove conditional code.
29083         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29084         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29085         Remove conditional code.
29086         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29087         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29088         <kernel-features.h>.
29089         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29090         Remove.
29091         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29092         Remove conditional code.
29093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29094         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29095         Remove conditional.
29097 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29099         [BZ #5400]
29100         * NEWS: Add fixed bug number.
29102 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29104         [BZ #14519]
29105         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29106         underflowing exponent in case of negative sign.
29107         * stdlib/tst-strtod-round-data: Add more tests.
29108         * stdlib/tst-strtod-round.c (tests): Regenerated.
29110         [BZ #3479]
29111         * stdlib/strtod_l.c (NDIG): Remove.
29112         (HEXNDIG): Likewise.
29113         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29114         smallest representable value.
29115         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29116         lie within an exact representation of 1/2 ulp of the result.
29117         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29118         unconditionally.
29119         (TENS_P9_IDX): Define unconditionally.
29120         (TENS_P9_SIZE): Likewise.
29121         (TENS_P10_IDX): Likewise.
29122         (TENS_P10_SIZE): Likewise.
29123         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29124         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29125         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29126         entries for 10^2^13 and 10^2^14.
29127         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29128         (TENS_P13_IDX): Define.
29129         (TENS_P13_SIZE): Likewise.
29130         (TENS_P14_IDX): Likewise.
29131         (TENS_P14_SIZE): Likewise.
29132         (_fpioconst_pow10): Change array size to
29133         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29134         unconditional.
29135         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29136         1024]: Add entries for 10^2^13 and 10^2^14.
29137         [LAST_POW10 > _LAST_POW10]: Remove #error.
29138         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29139         (_fpioconst_pow10): Change array size to
29140         FPIOCONST_POW10_ARRAY_SIZE.
29141         * stdlib/gen-fpioconst.c: New file.
29142         * stdlib/gen-tst-strtod-round.c: Likewise.
29143         * stdlib/tst-strtod-round-data: Likewise.
29144         * stdlib/tst-strtod-round.c: Likewise.
29145         * stdlib/Makefile (tests): Add tst-strtod-round.
29147         [BZ #14459]
29148         * stdlib/strtod_l.c: Include <stdint.h>.
29149         (NDEBUG): Do not define.
29150         (round_and_return): Change EXPONENT parameter to type intmax_t.
29151         Rearrange calculations to avoid internal overflow possibilities.
29152         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29153         Rearrange calculations to avoid internal overflow possibilities.
29154         Assert that number fits inside MPNSIZE limbs.
29155         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29156         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29157         calculations and add assertions to avoid internal overflow
29158         possibilities.  Add casts to avoid signed/unsigned operations.
29159         * stdlib/tst-strtod-overflow.c: New file.
29160         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29162 2012-08-25  Marek Polacek  <polacek@redhat.com>
29164         * time/time.h: Fix some typos in comments.
29166 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29168         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29169         * posix/tst-rfc3484-2.c: Likewise.
29170         * posix/tst-rfc3484-3.c: Likewise.
29172 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29174         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29175         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29177 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29179         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29180         #include of fxstatat64.c.
29182 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29184         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29185         * shadow/getspent_r.c: Likewise.
29186         * shadow/getspnam.c: Likewise.
29187         * shadow/getspnam_r.c: Likewise.
29188         * gshadow/getsgent.c: Likewise.
29189         * gshadow/getsgent_r.c: Likewise.
29190         * gshadow/getsgnam.c: Likewise.
29191         * gshadow/getsgnam_r.c: Likewise.
29192         * inet/getnetbyad.c: Likewise.
29193         * inet/getnetbyad_r.c: Likewise.
29194         * inet/getnetbynm.c: Likewise.
29195         * inet/getnetbynm_r.c: Likewise.
29196         * inet/getnetent.c: Likewise.
29197         * inet/getnetent_r.c: Likewise.
29198         * inet/getproto.c: Likewise.
29199         * inet/getproto_r.c: Likewise.
29200         * inet/getprtent.c: Likewise.
29201         * inet/getprtent_r.c: Likewise.
29202         * inet/getprtname.c: Likewise.
29203         * inet/getprtname_r.c: Likewise.
29204         * inet/getrpcbyname.c: Likewise.
29205         * inet/getrpcbyname_r.c: Likewise.
29206         * inet/getrpcbynumber.c: Likewise.
29207         * inet/getrpcbynumber_r.c: Likewise.
29208         * inet/getrpcent.c: Likewise.
29209         * inet/getrpcent_r.c: Likewise.
29210         * inet/getaliasent.c: Likewise.
29211         * inet/getaliasent_r.c: Likewise.
29212         * inet/getaliasname.c: Likewise.
29213         * inet/getaliasname_r.c: Likewise.
29214         * nscd/getgrgid_r.c: Likewise.
29215         * nscd/getgrnam_r.c: Likewise.
29216         * nscd/gethstbyad_r.c: Likewise.
29217         * nscd/gethstbynm3_r.c: Likewise.
29218         * nscd/getpwnam_r.c: Likewise.
29219         * nscd/getpwuid_r.c: Likewise.
29220         * nscd/getsrvbynm_r.c: Likewise.
29221         * nscd/getsrvbypt_r.c: Likewise.
29222         * nscd/gai.c: Likewise.
29224         * configure.in (build_nscd): New substituted variable, set
29225         by --disable-build-nscd and defaults to $use_nscd.
29226         * configure: Regenerated.
29227         * config.make.in (build-nscd): New substituted variable.
29228         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29229         Change conditional to require [$(build-nscd) = yes] as well.
29230         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29232         [BZ# 13696]
29233         * configure.in (use_nscd): New substituted variable, set by
29234         --disable-nscd.  If enabled, define USE_NSCD.
29235         * configure: Regenerated.
29236         * config.h.in: Add USE_NSCD.
29237         * config.make.in (use-nscd): New substituted variable.
29238         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29239         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29240         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29241         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29242         (CFLAGS-getgrnam_r.c): Likewise.
29243         (CFLAGS-initgroups.c): Likewise.
29244         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29245         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29246         Variables removed.
29247         * inet/getnetgrent_r.c
29248         (nscd_setnetgrent): New function, broken out of ...
29249         (setnetgrent): ... here.  Call it.
29250         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29251         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29252         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29253         * nscd/Makefile (routines, aux): Move definitions after include of
29254         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29255         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29256         Conditionalize on [USE_NSCD].
29257         (is_nscd, nscd_init_cb): Likewise.
29258         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29259         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29260         * nss/nss_db/db-init.c: Likewise.
29261         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29262         [USE_NSCD].
29263         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29264         (make_request): Use it.
29265         (cache_valid_p): New function.
29266         (__check_pf): Use it.
29267         * NEWS: Add item for --disable-nscd.
29269 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29271         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29272         to support sed >= 4.2.1-20-ga9bf076.
29273         * configure: Regenerated.
29275 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29277         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29278         Conditionalize whole body on [IREL].
29280 2012-08-22  Jeff Law <law@redhat.com>
29282         [BZ #14505]
29283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29284         if the family is PF_UNSPEC.
29286 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29288         * Makerules (lib-version): Rename from V.
29289         (install-lib-nosubdir): Change V to lib-version.
29291 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29293         [BZ #14252]
29294         * powerpc32/power6/wcschr.c: New file.
29295         * powerpc32/power6/wcscpy.c: New file.
29296         * powerpc32/power6/wcsrchr.c: New file.
29297         * powerpc64/power6/wcschr.c: New file.
29298         * powerpc64/power6/wcscpy.c: New file.
29299         * powerpc64/power6/wcsrchr.c: New file.
29301 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29303         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29304         (two_way_short_needle): Use it.
29305         * string/strstr.c (AVAILABLE1_USES_J): Define.
29306         * string/strcasestr.c: Likewise.
29308         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29309         array references.
29310         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29312         [BZ #11607]
29313         * NEWS: Add an entry.
29314         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29315         define their defaults.
29316         (two_way_short_needle): Detect end-of-string on-the-fly.
29317         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29318         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29319         * string/bug-strcasestr1.c: New test.
29320         * string/Makefile: Run it.
29322 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29324         [BZ #11607]
29325         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29326         the first character.
29328 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29330         * csu/elf-init.c (__libc_csu_irel): Function removed.
29331         * csu/libc-start.c (apply_irel): New function.
29332         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29334 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29336         * sysdeps/unix/sysv/linux/kernel-features.h
29337         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29338         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29339         <kernel-features.h>.
29340         [__NR_fadvise64_64]: Make code unconditional.
29341         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29342         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29343         !__NR_fadvise64_64)]: Likewise.
29344         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29345         !__NR_fadvise64_64))]: Likewise.
29346         [__NR_fadvise64]: Make code unconditional.
29347         [!__NR_fadvise64]: Remove conditional code.
29348         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29349         <kernel-features.h>.
29350         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29351         unconditional.
29352         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29353         conditional code.
29354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29355         not include <kernel-features.h>.
29356         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29357         unconditional.
29358         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29359         conditional code.
29360         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29361         include <kernel-features.h>.
29362         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29363         unconditional.
29364         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29365         conditional code.
29367 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29369         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29370         slight instruction rearrangements per scrollpipe analysis.
29371         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29373 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29375         * manual/syslog.texi (syslog; vsyslog, closelog):
29376         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29377         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29379         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29380         DSOCAPS to match condition on defining it.
29382 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29384         * sysdeps/unix/sysv/linux/kernel-features.h
29385         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29387         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29388         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29390         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29391         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29393         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29394         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29396         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29397         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29399         * sysdeps/unix/sysv/linux/kernel-features.h
29400         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29401         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29402         unconditional.
29403         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29404         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29405         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29406         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29407         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29408         Make code unconditional.
29409         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29410         (__mmap64) [!__NR_mmap2]: Likewise.
29411         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29412         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29413         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29414         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29415         [__NR_mmap2]: Make code unconditional.
29416         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29417         (__mmap64) [!__NR_mmap2]: Likewise.
29419 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29421         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29423 2012-08-18  Andreas Jaeger  <aj@suse.de>
29425         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29427 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29429         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29430         * include/unistd.h (__have_sock_cloexec): Likewise.
29431         (__have_pipe2): Likewise.
29432         (__have_dup3): Likewise.
29434 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29436         [BZ #9685]
29437         * include/unistd.h (__have_pipe2): Change define into an extern int.
29438         (__have_dup3): Likewise.
29439         * socket/have_sock_cloexec.c: Include fcntl.h.
29440         (__have_pipe2): New variable.
29441         (__have_dup3): Likewise.
29443 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29445         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29447 2012-08-17  Marek Polacek  <polacek@redhat.com>
29449         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29450         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29452 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29454         * configure.in: Add AC_SUBST for sysheaders.
29455         * configure: Regenerated.
29456         * config.make.in (sysheaders): New substituted variable.
29458         * sysdeps/unix/mkfifo.c: Moved ...
29459         * sysdeps/posix/mkfifo.c: ... here.
29460         * sysdeps/unix/mkfifoat.c: Moved ...
29461         * sysdeps/posix/mkfifoat.c: ... here.
29463         * sysdeps/unix/utime.c: Moved ...
29464         * sysdeps/posix/utime.c: ... here.
29466         * sysdeps/unix/time.c: Moved ...
29467         * sysdeps/posix/time.c: ... here.
29468         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29469         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29471         * sysdeps/unix/nice.c: Moved ...
29472         * sysdeps/posix/nice.c: ... here.
29474         * sysdeps/unix/alarm.c: Moved ...
29475         * sysdeps/posix/alarm.c: ... here.
29477         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29479 2012-08-17  Jeff Law <law@redhat.com>
29481         * intl/Makefile (codeset_mo): New variable.
29482         ($(codeset_mo)): New target.
29483         (tst-codeset.out): Depend on that.  Remove explicit rule.
29484         (tst-gettext3.out, tst-gettext5.out): Likewise.
29485         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29486         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29487         * intl/tst-codeset.sh: Remove.
29488         * intl/tst-gettext3.sh: Likewise.
29489         * intl/tst-gettext5.sh: Likewise.
29491 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29493         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29494         * sysdeps/unix/syscalls.list: ... here.
29496         * sysdeps/posix/getaddrinfo.c
29497         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29498         (gaiconf_init, gaiconf_reload): Use them.
29499         [!_STATBUF_ST_NSEC]
29500         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29501         Define using time_t rather than struct timespec.
29503         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29504         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29505         Macros removed.
29506         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29507         [!NO_THREADS].
29508         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29509         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29510         Likewise.
29512         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29513         __libc_cleanup_push argument.
29515         * bits/param.h: New file.
29516         * misc/sys/param.h: New file.
29517         * include/sys/param.h: New file.
29518         * misc/Makefile (headers): Add bits/param.h.
29519         * sysdeps/generic/sys/param.h: File removed.
29520         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29521         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29522         * sysdeps/mach/hurd/bits/param.h: New file.
29523         * sysdeps/mach/hurd/sys/param.h: File removed.
29525         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29526         last change.
29528         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29529         [_IO_MTSAFE_IO].
29530         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29531         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29532         New macros.
29534         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29535         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29536         rather than -D_IO_MTSAFE_IO conditionally.
29537         * stdio-common/Makefile (CPPFLAGS): Likewise.
29538         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29539         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29540         Use $(libio-mtsafe).
29541         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29542         of -D_IO_MTSAFE_IO.
29543         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29544         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29545         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29546         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29547         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29548         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29549         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29550         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29551         (CFLAGS-fread_u_chk.c): Likewise.
29552         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29553         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29554         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29555         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29556         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29557         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29558         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29559         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29560         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29562         * libio/Makefile: Test [$(libc-reentrant) = yes]
29563         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29565         * Makeconfig
29566         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29567         * sysdeps/pthread/configure: File removed.
29568         * sysdeps/pthread/Makeconfig: New file.
29569         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29570         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29572 2012-08-16  Gary Benson  <gbenson@redhat.com>
29574         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29575         unmapping the first object in a namespace.
29577 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29579         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29580         (__internal_setnetgrent): ... this.  Add internal_function to
29581         definition.  Add libc_hidden_def.
29582         (setnetgrent): Update caller.
29583         (internal_endnetgrent): Renamed to ...
29584         (__internal_endnetgrent): ... this.  Add internal_function to
29585         definition.  Add libc_hidden_def.
29586         (endnetgrent): Update caller.
29587         (internal_getnetgrent_r): Renamed to ...
29588         (__internal_getnetgrent_r): ... this.  Add internal_function to
29589         definition.  Add libc_hidden_def.
29590         (__getnetgrent_r): Update caller.
29591         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29593 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29595         * stdlib/longlong.h: Update from GCC.
29597 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29599         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29600         on _QL, which is set by umul_ppmm but never used.
29601         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29602         variables, which are set by GMP macros but never used.
29603         * stdio-common/_itowa.c (_itowa): Likewise.
29604         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29605         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29607 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29609         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29610         struct La_sh_regs is not constant.
29611         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29612         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29613         and struct La_sparc64_regs are not constant.
29615 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29617         * sysdeps/unix/sysv/linux/kernel-features.h
29618         (__ASSUME_POSIX_TIMERS): Remove.
29619         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29620         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29621         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29622         Make code unconditional.
29623         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29624         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29625         Make code unconditional.
29626         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29627         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29628         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29629         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29630         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29631         Make code unconditional.
29632         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29633         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29634         (__libc_missing_posix_timers): Remove.
29636 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29638         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29639         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29641         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29643         * elf/dl-sym.c: Include <stdlib.h>.
29645         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29646         constants, which avoids warnings in 32-bit builds.
29648         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29649         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29651         * misc/lseek.c: File moved to ...
29652         * io/lseek.c: ... here.
29654         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29656         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29657         shifting LEN more than 31 bits at once.
29659 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29661         [BZ #14195]
29662         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29663         segmentation fault for a case of two empty input strings.
29664         * string/test-strncasecmp.c (check1): Renamed to...
29665         (bz12205): ...this.
29666         (bz14195): Add new testcase for two empty input strings and N > 0.
29667         (test_main): Call new testcase, adapt for renamed function.
29669 2012-08-15  Andreas Jaeger  <aj@suse.de>
29671         [BZ #14090]
29672         * crypt/md5test2.c: New test, based on test supplied by Serge
29673         Belyshev <belyshev@depni.sinp.msu.ru>.
29674         * crypt/Makefile (xtests): Add md5test-giant..
29675         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29677 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29679         [BZ #14090]
29680         * crypt/md5.c (md5_process_block): Don't assume the buffer
29681         length is less than 2**32.
29682         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29683         length is less than 2**64.
29685 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29687         * string/str-two-way.h: Include <sys/param.h>.
29688         (MAX): Macro removed.
29690         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29691         Move #define and #undef of memmove to just before and after
29692         including <string.h>.
29694         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29695         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29696         and after including <string.h>.  Move declarations of
29697         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29698         to before #include "string/memmove.c".
29700         * include/dirent.h: Declare __getdirentries.
29702         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29703         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29705 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29707         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29708         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29709         * sysdeps/i386/configure: Regenerated.
29710         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29711         STABS_CURRENT_FILE, and STABS_FUN.
29712         (END): Remove call to STABS_FUN_END.
29713         (STABS_CURRENT_FILE1): Delete.
29714         (STABS_CURRENT_FILE): Likewise.
29715         (STABS_FUN): Likewise.
29716         (STABS_FUN_END): Likewise.
29717         (STABS_FUN2): Likewise.
29718         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29719         * sysdeps/x86_64/configure: Regenerated.
29721 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29723         * elf/dl-open.c: Include <atomic.h>.
29724         * elf/dl-lookup.c: Likewise.
29726 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29728         * sysdeps/unix/sysv/linux/kernel-features.h
29729         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29730         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29731         unconditionally.
29732         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29733         unconditionally.
29734         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29735         condition on __ASSUME_CLONE_THREAD_FLAGS.
29737 2012-08-14  Andreas Jaeger  <aj@suse.de>
29739         * sysdeps/i386/fpu/libm-test-ulps: Update.
29741 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29743         * include/atomic.h (atomic_exchange_and_add): Split into ...
29744         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29745         New atomic macros.
29747 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29751 2012-08-13  Jeff Law <law@redhat.com>
29753         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29754         null byte in the output string.
29756 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29758         * sysdeps/unix/sysv/linux/kernel-features.h
29759         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29760         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29761         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29762         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29763         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29764         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29765         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29767 2012-08-09  Jeff Law <law@redhat.com>
29769         [BZ #13939]
29770         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29771         When avoid_arena is set, don't retry in the that arena.  Pick the
29772         next one, whatever it might be.
29773         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29774         (arena_lock): Pass in new parameter to arena_get2.
29775         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29776         arena_get2.
29777         (__libc_malloc): Unify retrying after main arena failure with
29778         __libc_memalign version.
29779         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29781 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29783         [BZ #14166]
29784         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29785         to __redirect_strstr.
29786         (__strstr_sse42): Use typeof __redirect_strstr.
29787         (__strstr_ia32): Likewise.
29788         (__libc_strstr): New prototype.
29789         (strstr): Renamed to ...
29790         (__libc_strstr): This.
29791         (strstr): New strong alias of __libc_strstr.
29792         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29793         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29794         __redirect_time.
29795         Include <time.h>.
29796         (__libc_time): New prototype.
29797         (time_ifunc): Replace time with __libc_time.
29798         (time): New strong alias and hidden definition of __libc_time.
29799         (__GI_time): Remove strong alias.
29800         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29801         Include <stddef.h>.
29802         (memmove): Redefined to __redirect_memmove.
29803         (__memmove_sse2): Use typeof __redirect_memmove.
29804         (__memmove_ssse3): Likewise.
29805         (__memmove_ssse3_back): Likewise.
29806         (__libc_memmove): New prototype.
29807         (memmove): Renamed to ...
29808         (__libc_memmove): This.
29809         (memmove): New strong alias of __libc_memmove.
29811 2012-08-08  Mark Salter  <msalter@redhat.com>
29813         * elf/elf.h
29814         (R_MN10300_TLS_GD): Define.
29815         (R_MN10300_TLS_LD): Likewise.
29816         (R_MN10300_TLS_LDO): Likewise.
29817         (R_MN10300_TLS_GOTIE): Likewise.
29818         (R_MN10300_TLS_IE): Likewise.
29819         (R_MN10300_TLS_LE): Likewise.
29820         (R_MN10300_TLS_DTPMOD): Likewise.
29821         (R_MN10300_TLS_DTPOFF): Likewise.
29822         (R_MN10300_TLS_TPOFF): Likewise.
29823         (R_MN10300_SYM_DIFF): Likewise.
29824         (R_MN10300_ALIGN): Likewise.
29825         (R_MN10300_NUM): Update.
29827 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29829         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29830         Remove.
29832 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29834         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29836         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29837         sysdeps/unix -> sysdeps/posix move.
29838         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29840 2012-08-07      Allan McRae     <allan@archlinux.org>
29842         [BZ #14303]
29843         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29844         (SUNOS_CPP): Likewise.
29845         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29846         not found.
29847         (open_input): Call CPP using execvp.
29849 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29851         * sysdeps/unix/sysv/linux/kernel-features.h
29852         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29853         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29854         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29855         (__ASSUME_WAITID_SYSCALL): Likewise.
29856         * sysdeps/unix/sysv/linux/dl-execstack.c
29857         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29858         code unconditional.
29859         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29860         conditional code.
29861         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29862         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29863         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29864         code.
29865         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29866         unconditional.
29867         [__ASSUME_WAITID_SYSCALL]: Likewise.
29868         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29870 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29872         * sysdeps/unix/closedir.c: Renamed to ...
29873         * sysdeps/posix/closedir.c: ... here.
29874         * sysdeps/unix/dirfd.c: Renamed to ...
29875         * sysdeps/posix/dirfd.c: ... here.
29876         * sysdeps/unix/dirstream.h: Renamed to ...
29877         * sysdeps/posix/dirstream.h: ... here.
29878         * sysdeps/unix/fdopendir.c: Renamed to ...
29879         * sysdeps/posix/fdopendir.c: ... here.
29880         * sysdeps/unix/opendir.c: Renamed to ...
29881         * sysdeps/posix/opendir.c: ... here.
29882         * sysdeps/unix/readdir.c: Renamed to ...
29883         * sysdeps/posix/readdir.c: ... here.
29884         * sysdeps/unix/readdir_r.c: Renamed to ...
29885         * sysdeps/posix/readdir_r.c: ... here.
29886         * sysdeps/unix/rewinddir.c: Renamed to ...
29887         * sysdeps/posix/rewinddir.c: ... here.
29888         * sysdeps/unix/seekdir.c: Renamed to ...
29889         * sysdeps/posix/seekdir.c: ... here.
29890         * sysdeps/unix/telldir.c: Renamed to ...
29891         * sysdeps/posix/telldir.c: ... here.
29892         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
29893         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
29894         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
29895         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
29897         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
29898         * bits/fcntl.h: ... here.
29900         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
29901         not 0.
29902         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
29903         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
29904         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
29905         (struct flock): Move l_start, l_len to the beginning.
29906         Use __pid_t for l_pid.
29907         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
29908         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
29909         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
29910         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
29911         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
29912         [__USE_LARGEFILE64] (struct flock64): New type.
29913         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
29915         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
29916         * bits/dirent.h: ... here.
29918         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
29919         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
29921 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29923         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29924         Change from 2.6.0 to 2.6.16.
29925         * sysdeps/unix/sysv/linux/configure: Regenerated.
29926         * sysdeps/unix/sysv/linux/kernel-features.h
29927         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
29928         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
29929         version.
29930         (__ASSUME_UTIMES): Likewise.
29931         (__ASSUME_CLONE_STOPPED): Remove.
29932         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
29933         architectures, not kernel version.
29934         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
29935         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29936         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29937         (__ASSUME_WAITID_SYSCALL): Likewise.
29938         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
29939         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
29940         * README: State 2.6.16 as minimum Linux kernel version.  Do not
29941         refer to older versions.
29943 2012-08-06  Roland McGrath  <roland@hack.frob.com>
29945         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
29946         Define alphasort64 as an alias.
29947         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
29948         Define versionsort64 as an alias.
29949         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
29950         Define scandir64 as an alias.
29951         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
29952         Define scandirat64 as an alias.
29953         * dirent/alphasort64.c (alphasort64):
29954         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
29955         * dirent/versionsort64.c: Likewise.
29956         * dirent/scandir64.c: Likewise.
29957         * dirent/scandirat64.c: Likewise.
29958         * sysdeps/wordsize-64/alphasort.c: File removed.
29959         * sysdeps/wordsize-64/alphasort64.c: File removed.
29960         * sysdeps/wordsize-64/scandir.c: File removed.
29961         * sysdeps/wordsize-64/scandir64.c: File removed.
29962         * sysdeps/wordsize-64/scandirat.c: File removed.
29963         * sysdeps/wordsize-64/scandirat64.c: File removed.
29964         * sysdeps/wordsize-64/versionsort.c: File removed.
29965         * sysdeps/wordsize-64/versionsort64.c: File removed.
29966         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
29967         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
29968         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
29969         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
29970         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
29971         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
29972         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
29973         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
29975         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
29976         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
29977         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
29978         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29979         [defined __arch64__ || defined __sparcv9]
29980         (__INO_T_MATCHES_INO64_T): New macro.
29981         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29982         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
29983         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
29984         * sysdeps/unix/sysv/linux/bits/dirent.h
29985         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
29986         (_DIRENT_MATCHES_DIRENT64): New macro.
29988         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
29989         Define lockf64 as an alias.
29990         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
29991         Define fseeko64 as an alias.
29992         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
29993         Define ftello64 as an alias.
29994         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
29995         Define _IO_fgetpos64 and fgetpos64 as aliases.
29996         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
29997         Define _IO_fsetpos64 and fsetpos64 as aliases.
29998         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
29999         Conditionalize body on this.
30000         * libio/fseeko64.c: Likewise.
30001         * libio/ftello64.c: Likewise.
30002         * libio/iofgetpos64.c: Likewise.
30003         * libio/iofsetpos64.c: Likewise.
30004         * sysdeps/wordsize-64/lockf.c: File removed.
30005         * sysdeps/wordsize-64/lockf64.c: File removed.
30006         * sysdeps/wordsize-64/fseeko.c: File removed.
30007         * sysdeps/wordsize-64/fseeko64.c: File removed.
30008         * sysdeps/wordsize-64/ftello.c: File removed.
30009         * sysdeps/wordsize-64/ftello64.c: File removed.
30010         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30011         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30012         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30013         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30014         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30015         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30016         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30017         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30018         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30019         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30020         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30021         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30022         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30023         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30025         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30027         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30029         [defined __arch64__ || defined __sparcv9]
30030         (__OFF_T_MATCHES_OFF64_T): New macro.
30031         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30032         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30033         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30034         (__OFF_T_MATCHES_OFF64_T): New macro.
30036 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30038         * stdlib/secure-getenv.c (__secure_getenv): Replace
30039         GLIBC_2_16 with GLIBC_2_17.
30041 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30043         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30044         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30046 2012-08-03  David S. Miller  <davem@davemloft.net>
30048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30050 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30052         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30053         Remove.
30054         (__ASSUME_CORRECT_SI_PID): Likewise.
30055         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30056         (__ASSUME_TMPFS_NAME): Likewise.
30057         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30058         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30059         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30060         (HAVE_AUX_SECURE): Make definition unconditional.
30061         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30062         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30064 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30066         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30067         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30068         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30069         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30070         __eloop_threshold instead of SYMLOOP_MAX.
30072         * sysdeps/generic/eloop-threshold.h: New file.
30073         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30074         of MAXSYMLINKS.
30075         * elf/chroot_canon.c (chroot_canon): Likewise.
30077 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30079         [BZ #13717]
30080         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30081         Change to 2.6.0 everywhere.
30082         * sysdeps/unix/sysv/linux/configure: Regenerated.
30083         * sysdeps/unix/sysv/linux/kernel-features.h
30084         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30085         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30086         kernel versions.
30087         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30088         (__ASSUME_FUTEX_REQUEUE): Remove.
30089         (__ASSUME_STATFS64): Define unconditionally.
30090         (__ASSUME_AT_SECURE): Likewise.
30091         (__ASSUME_CORRECT_SI_PID): Likewise.
30092         (__ASSUME_TGKILL): Define without depending on kernel version for
30093         i386.
30094         (__ASSUME_UTIMES): Likewise.
30095         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30096         kernel version.
30097         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30098         (__ASSUME_TMPFS_NAME): Likewise.
30099         * README: Update reference to Linux kernel versions.
30101 2012-08-02  Marek Polacek  <polacek@redhat.com>
30103         [BZ# 14150]
30104         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30105         libc_cv_asm_type_prefix with %.
30106         * configure: Regenerated.
30107         * include/libc-symbols.h: Remove comment about
30108         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30109         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30110         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30111         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30112         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30113         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30114         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30115         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30116         * elf/tst-unique2mod1.c: Likewise.
30117         * elf/tst-unique1mod2.c: Likewise.
30118         * elf/tst-unique1mod1.c: Likewise.
30119         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30120         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30121         Replace ASM_TYPE_DIRECTIVE with .type.
30122         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30123         * sysdeps/i386/sysdep.h: Likewise.
30124         * sysdeps/x86_64/sysdep.h: Likewise.
30125         * sysdeps/sh/sysdep.h: Likewise.
30126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30127         Do not define ASM_TYPE_DIRECTIVE.
30128         * sysdeps/powerpc/sysdep.h: Likewise.
30129         * sysdeps/powerpc/powerpc32/sysdep.h:
30130         Replace ASM_TYPE_DIRECTIVE with .type.
30131         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30132         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30133         * sysdeps/i386/fpu/e_powf.S: Likewise.
30134         * sysdeps/i386/fpu/e_expl.S: Likewise.
30135         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30136         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30137         * sysdeps/i386/fpu/e_pow.S: Likewise.
30138         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30139         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30140         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30141         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30142         * sysdeps/i386/fpu/e_log2.S: Likewise.
30143         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30144         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30145         * sysdeps/i386/fpu/e_powl.S: Likewise.
30146         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30147         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30148         * sysdeps/i386/fpu/e_logl.S: Likewise.
30149         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30150         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30151         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30152         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30153         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30154         * sysdeps/i386/fpu/e_log.S: Likewise.
30155         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30156         * sysdeps/i386/fpu/e_logf.S: Likewise.
30157         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30158         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30159         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30160         * sysdeps/i386/fpu/e_log10.S: Likewise.
30161         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30162         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30163         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30164         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30165         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30166         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30167         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30168         * sysdeps/i386/i686/strtok.S: Likewise.
30169         * sysdeps/i386/i386-mcount.S: Likewise.
30170         * sysdeps/i386/strtok.S: Likewise.
30171         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30172         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30173         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30174         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30175         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30176         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30177         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30178         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30179         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30180         * sysdeps/x86_64/_mcount.S: Likewise.
30181         * sysdeps/x86_64/strtok.S: Likewise.
30182         * sysdeps/sh/_mcount.S: Likewise.
30184 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30186         * libio/iofopen.c: Include <fcntl.h>.
30187         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30188         (_IO_fopen64, fopen64): Define as aliases.
30189         * libio/iofopen64.c: Include <fcntl.h>.
30190         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30191         Conditionalize body on this.
30192         * sysdeps/wordsize-64/iofopen.c: File removed.
30193         * sysdeps/wordsize-64/iofopen64.c: File removed.
30195 2012-08-01  Marek Polacek  <polacek@redhat.com>
30197         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30198         Use dlfcn directly instead of a variable.
30199         (binfmt-subdir): Do not define.
30200         (dlfcn): Likewise.
30202 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30204         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30205         Remove all definitions.
30206         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30207         <kernel-features.h>.
30208         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30209         (miss_F_GETOWN_EX): Remove all definitions.
30210         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30211         macro definition.
30212         [!__ASSUME_FCNTL64]: Remove conditional code.
30213         [__ASSUME_FCNTL64]: Make code unconditional.
30214         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30215         <kernel-features.h>.
30216         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30217         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30218         (lockf64) [__NR_fcntl64]: Make code unconditional.
30219         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30221         * sysdeps/unix/sysv/linux/kernel-features.h
30222         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30223         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30224         Make code unconditional.
30225         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30226         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30228         [__NR_vfork]: Make code unconditional.
30229         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30230         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30232         [__NR_vfork]: Make code unconditional.
30233         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30234         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30236 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30238         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30239         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30241         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30242         Define mkstemp64 as an alias.
30243         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30244         Define mkstemps64 as an alias.
30245         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30246         Define mkostemp64 as an alias.
30247         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30248         Define mkostemps64 as an alias.
30249         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30250         Conditionalize body on this.
30251         * misc/mkostemp64.c: Likewise.
30252         * misc/mkostemps64.c: Likewise.
30253         * misc/mkstemps64.c: Likewise.
30254         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30255         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30256         * sysdeps/wordsize-64/mkostemp.c: File removed.
30257         * sysdeps/wordsize-64/mkstemp.c: File removed.
30258         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30259         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30260         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30261         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30263         [BZ #14138]
30264         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30265         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30266         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30267         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30269         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30270         compat_symbol macros from <shlib-compat.h> rather than the underlying
30271         default_symbol_version and symbol_version macros, so that DEFAULT
30272         lines in shlib-versions are respected.
30273         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30275 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30277         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30278         Declare with warn_unused_result.
30279         (setgid, setregid, setegid, setresgid): Likewise.
30280         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30281         Likewise.
30282         * WUR-REPORT: Remove set*id functions.
30284 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30286         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30288 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30290         [BZ #10191]
30291         * include/sys/socket.h (__libc_accept, __libc_accept4):
30292         Add attribute_hidden.
30293         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30295         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30296         use of PTR_MANGLE.
30297         * inet/getnetgrent_r.c (setup): Likewise.
30299         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30301 2012-07-31  David S. Miller  <davem@davemloft.net>
30303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30305 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30307         [BZ #13629]
30308         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30309         value between 1.0 and 2.0 and smaller part has absolute value less
30310         than 1.0.
30311         * math/s_clog10.c (__clog10): Likewise.
30312         * math/s_clog10f.c (__clog10f): Likewise.
30313         * math/s_clog10l.c (__clog10l): Likewise.
30314         * math/s_clogf.c (__clogf): Likewise.
30315         * math/s_clogl.c (__clogl): Likewise.
30316         * math/libm-test.inc (clog_test): Add more tests.
30317         (clog10_test): Likewise.
30318         * sysdeps/i386/fpu/libm-test-ulps: Update.
30319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30321 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30323         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30324         Exit with zero in case no suitable GID is found, and write a
30325         message to standard error.
30327 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30329         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30330         rather than to 1.
30331         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30332         (MAXPATHLEN): Removed.
30333         (NOGROUP, NODEV): New macros.
30334         (setbit, clrbit, isset, isclr): New macros.
30335         (howmany, roundup, powerof2): New macros.
30336         (DEV_BSIZE): New macro.
30338         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30339         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30341         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30342         definition on [!__NO_LONG_DOUBLE_MATH].
30344         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30345         PTR_MANGLE and PTR_DEMANGLE.
30347         * socket/accept4.c (accept4): Rename to __libc_accept4.
30348         Define accept4 as a weak alias.
30350         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30351         on [_DIRENT_HAVE_D_TYPE].
30352         * io/ftw.c (ftw_dir): Likewise.
30354         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30356         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30358         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30359         Use the BSD numbers rather than the arbitrary ones we had.
30360         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30361         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30362         (SIGXCPU, SIGXFSZ): New macros.
30363         (_NSIG): Now 32.
30365         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30366         initializer on [_LIBC_REENTRANT].
30368         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30369         definitions inside [_POSIX_MAPPED_FILES].
30371         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30373         * dirent/opendir.c: Include <fcntl.h>.
30375         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30376         (__libc_getspecific): Likewise.
30377         (__libc_key_create): Likewise.
30379         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30380         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30381         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30382         (tmpfile64): Define as alias.
30383         * sysdeps/wordsize-64/tmpfile.c: File removed.
30384         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30385         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30386         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30388         * stdio-common/vfscanf.c: Include <stdbool.h>.
30389         * nss/makedb.c: Likewise.
30390         * stdio-common/_i18n_number.h: Likewise.
30391         * argp/argp-help.c: Likewise.
30392         * posix/wordexp.c: Likewise.
30393         * sysdeps/posix/spawni.c: Likewise.
30394         * nss/nss_files/files-initgroups.c: Likewise.
30395         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30396         * nss/nss_files/files-initgroups.c: Likewise.
30397         * nss/nss_db/db-netgrp.c: Likewise.
30398         * nss/nss_db/db-initgroups.c: Likewise.
30399         * io/fchmodat.c: Include <sys/stat.h>.
30401         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30402         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30404         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30405         [HAVE_MMAP].
30407         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30408         Add multiple inclusion protection.
30410 2012-07-27  David S. Miller  <davem@davemloft.net>
30412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30414 2012-07-27  Gary Benson  <gbenson@redhat.com>
30416         [BZ #14298]
30417         * elf/rtld.c: Include <stap-probe.h>.
30418         (dl_main): Added static probes "init_start" and "init_complete".
30419         * elf/dl-load.c: Include <stap-probe.h>.
30420         (lose): Take new parameter "nsid".
30421         Added static probe "map_failed".
30422         (_dl_map_object_from_fd): Pass namespace id to lose.
30423         Added static probe "map_start".
30424         (open_verify): Pass namespace id to lose.
30425         * elf/dl-open.c: Include <stap-probe.h>.
30426         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30427         and "reloc_complete".
30428         * elf/dl-close.c: Include <stap-probe.h>.
30429         (_dl_close_worker): Added static probes "unmap_start" and
30430         "unmap_complete".
30431         * elf/rtld-debugger-interface.txt: New file documenting the above.
30433 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30435         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30436         rather than a string variable.
30437         * sunrpc/rpc_main.c (h_output): Likewise.
30438         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30440 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30442         * inet/check_native.c: New file.
30444 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30446         [BZ #13629]
30447         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30448         if larger part has absolute value 1.0.
30449         * math/s_clog10.c (__clog10): Likewise.
30450         * math/s_clog10f.c (__clog10f): Likewise.
30451         * math/s_clog10l.c (__clog10l): Likewise.
30452         * math/s_clogf.c (__clogf): Likewise.
30453         * math/s_clogl.c (__clogl): Likewise.
30454         * math/libm-test.inc (clog_test): Add more tests.
30455         (clog10_test): Likewise.
30456         * sysdeps/i386/fpu/libm-test-ulps: Update.
30457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30459         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30460         (pltexit): Likewise.
30461         (La_regs): Likewise.
30462         (La_retval): Likewise.
30463         (int_retval): Likewise.
30464         Update #error for removed macros to refer only to definitions in
30465         tst-audit.h.
30466         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30467         macro.
30468         (pltexit): Likewise.
30469         (La_regs): Likewise.
30470         (La_retval): Likewise.
30471         (int_retval): Likewise.
30472         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30473         macro.
30474         (pltexit): Likewise.
30475         (La_regs): Likewise.
30476         (La_retval): Likewise.
30477         (int_retval): Likewise.
30478         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30479         macro.
30480         (pltexit): Likewise.
30481         (La_regs): Likewise.
30482         (La_retval): Likewise.
30483         (int_retval): Likewise.
30484         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30485         macro.
30486         (pltexit): Likewise.
30487         (La_regs): Likewise.
30488         (La_retval): Likewise.
30489         (int_retval): Likewise.
30490         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30491         macro.
30492         (pltexit): Likewise.
30493         (La_regs): Likewise.
30494         (La_retval): Likewise.
30495         (int_retval): Likewise.
30496         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30497         macro.
30498         (pltexit): Likewise.
30499         (La_regs): Likewise.
30500         (La_retval): Likewise.
30501         (int_retval): Likewise.
30502         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30503         macro definitions in tst-audit.h.
30504         * sysdeps/i386/tst-audit.h: New file.
30505         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30506         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30507         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30508         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30509         * sysdeps/sh/tst-audit.h: Likewise.
30510         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30511         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30512         * sysdeps/x86_64/tst-audit.h: Likewise.
30514 2012-07-26  Andreas Jaeger  <aj@suse.de>
30516         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30517         ptrace.
30519         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30520         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30521         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30522         PTRACE_O_MASK.
30523         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30524         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30527         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30528         value.
30530         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30531         _sigsys.
30532         (si_call_addr, si_syscall, si_arch): Define new macro.
30533         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30534         _sigsys.
30535         (si_call_addr, si_syscall, si_arch): Define new marcro.
30536         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30537         _sigsys.
30538         (si_call_addr, si_syscall, si_arch): Define new macro.
30539         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30540         _sigsys.
30541         (si_call_addr, si_syscall, si_arch): Define new macro.
30543 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30545         [BZ #13717]
30546         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30547         Change to 2.4.21 where previously 2.4.1.
30548         * sysdeps/unix/sysv/linux/configure: Regenerated.
30549         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30550         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30551         Linux kernel version.
30552         (__ASSUME_STD_AUXV): Remove.
30553         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30554         kernel version.
30555         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30556         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30557         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30558         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30559         (__ASSUME_NETLINK_SUPPORT): Likewise.
30560         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30561         (__no_netlink_support): Remove conditional definition.
30562         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30563         Remove.
30564         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30565         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30566         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30567         (if_nameindex_ioctl): Remove.
30568         (if_nameindex_netlink): Do not handle __no_netlink_support.
30569         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30570         code.
30571         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30572         Remove conditional code.
30573         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30574         code.
30575         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30576         unconditional.
30577         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30578         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30579         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30580         Remove.
30581         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30582         [!__ASSUME_STD_AUXV]: Remove conditional code.
30583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30584         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30585         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30587         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30588         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30589         code.
30590         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30592         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30593         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30594         conditional code.
30595         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30597         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30598         code.
30599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30600         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30601         conditional code.
30602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30603         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30604         code unconditional.
30605         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30606         conditional code.
30607         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30608         unconditional.
30609         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30610         conditional code.
30611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30612         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30613         unconditional.
30614         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30615         conditional code.
30616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30617         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30618         code unconditional.
30619         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30620         conditional code.
30621         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30622         unconditional.
30623         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30624         conditional code.
30625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30626         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30627         code unconditional.
30628         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30629         conditional code.
30630         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30631         unconditional.
30632         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30633         conditional code.
30635 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30637         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30638         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30639         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30640         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30641         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30642         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30643         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30644         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30645         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30646         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30647         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30648         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30649         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30650         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30651         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30652         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30653         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30654         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30655         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30656         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30657         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30658         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30659         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30661 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30663         * Versions.def: Add GLIBC_2.17.
30664         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30665         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30666         Introduce __libc_secure_getenv.
30667         * stdlib/Versions (2.17): Add secure_getenv
30668         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30669         * stdlib/secure-getenv.c: Rename __secure_getenv to
30670         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30671         symbol __secure_getenv for GLIBC_2.0.
30672         * stdlib/tst-secure-getenv.c: New.
30673         * stdlib/Makefile (tests): Add testcase.
30674         * manual/startup.texi (Environment Access): Document
30675         secure_getenv.
30676         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30677         __libc_secure_getenv.
30678         * inet/ruserpass.c (ruserpass): Likewise.
30679         * malloc/mtrace.c (mtrace): Likewise.
30680         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30681         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30682         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30683         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30684         HAVE_SECURE_GETENV.
30685         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30686         __secure_getenv to __libc_secure_getenv.
30687         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30689         Likewise.
30690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30691         Likewise.
30692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30694         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30700 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30702         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30703         (struct La_i86_retval): Likewise.
30704         (struct La_x86_64_regs): Likewise.
30705         (struct La_x86_64_retval): Likewise.
30706         (struct La_x32_regs): Likewise.
30707         (struct La_x32_retval): Likewise.
30708         (struct La_ppc32_regs): Likewise.
30709         (struct La_ppc32_retval): Likewise.
30710         (struct La_ppc64_regs): Likewise.
30711         (struct La_ppc64_retval): Likewise.
30712         (struct La_sh_regs): Likewise.
30713         (struct La_sh_retval): Likewise.
30714         (struct La_s390_32_regs): Likewise.
30715         (struct La_s390_32_retval): Likewise.
30716         (struct La_s390_64_regs): Likewise.
30717         (struct La_s390_64_retval): Likewise.
30718         (struct La_sparc32_regs): Likewise.
30719         (struct La_sparc32_retval): Likewise.
30720         (struct La_sparc64_regs): Likewise.
30721         (struct La_sparc64_retval): Likewise.
30722         (struct audit_ifaces): Remove architecture-specific pltenter and
30723         pltexit members.
30724         * sysdeps/i386/ldsodefs.h: New file.
30725         * sysdeps/powerpc/ldsodefs.h: Likewise.
30726         * sysdeps/s390/ldsodefs.h: Likewise.
30727         * sysdeps/sh/ldsodefs.h: Likewise.
30728         * sysdeps/sparc/ldsodefs.h: Likewise.
30729         * sysdeps/x86_64/ldsodefs.h: Likewise.
30731 2012-07-25  Marek Polacek  <polacek@redhat.com>
30733         [BZ #6808]
30734         * math/libm-test.inc (yn_test): Add another test.
30735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30736         to ERANGE when the result is +-Inf.
30737         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30738         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30739         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30740         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30742 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30744         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30745         equal to 0.
30746         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30747         clock_t.
30748         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30750 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30752         * configure.in <sysdeps resolving>: Correct printing
30753         Implies_before.
30754         * configure: Regenerate.
30756 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30758         * math/w_ilogb.c: Include <limits.h>.
30759         * math/w_ilogbl.c: Likewise.
30761 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30763         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30764         va_copy.  Document allowing for unavailable va_copy only as
30765         pre-C99 compatibility.
30766         * manual/string.texi (Copying and Concatenation): Use va_copy
30767         instead of __va_copy in concat example.
30769 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30771         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30772         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30773         it if not null.
30775         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30776         with O_NOLINK passed to __file_name_lookup.
30778         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30779         with O_NOLINK passed to __file_name_lookup.
30781         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30782         negative N or less than NGIDS.
30784         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30785         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30786         enough.  Use memcpy instead of strncpy.
30788 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30790         * elf/Makefile (check-data): Remove.
30791         (localplt.data): New vpath directive.
30792         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30793         instead of $(check-data).
30794         * scripts/data/localplt-generic.data: Move to ...
30795         * sysdeps/generic/localplt.data: ... here.
30796         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30797         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30798         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30800         ... here.
30801         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30803         ... here.
30804         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30806         ... here.
30807         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30809         ... here.
30810         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30811         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30812         ... here.
30813         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30815         ... here.
30817 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30819         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30820         PPC32 and PPC64 files.
30821         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30822         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30824 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30826         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30827         __makecontext_ret to ...
30828         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30829         ... here and call exit if uc_link is NULL.  New file.
30830         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30831         __makecontext_ret.S.
30832         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30833         __makecontext_ret to ...
30834         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30835         ... here and call exit if uc_link is NULL.  New file.
30836         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30837         __makecontext_ret.S.
30839 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30841         * elf/elf.h (R_390_IRELATIVE): New definition.
30842         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30843         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30844         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30845         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30846         (elf_machine_lazy_rel): Likewise.
30847         * sysdeps/s390/dl-irel.h: New file.
30848         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30849         * sysdeps/s390/s390-64/memset.S: New asm code.
30850         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30851         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30852         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30853         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30854         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30855         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30856         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30857         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30858         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30859         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30860         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30861         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30862         * sysdeps/s390/s390-32/memset.S: New asm code.
30863         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30865 2012-07-17  Marek Polacek  <polacek@redhat.com>
30867         [BZ #14349]
30868         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30869         * sysdeps/s390/s390-64/configure.in: Likewise.
30870         * sysdeps/sparc/configure.in: Likewise.
30871         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30872         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30873         * sysdeps/i386/configure.in: Likewise.
30874         * sysdeps/x86_64/configure.in: Likewise.
30875         * sysdeps/sh/configure.in: Likewise.
30876         * sysdeps/s390/s390-32/configure: Regenerated.
30877         * sysdeps/s390/s390-64/configure: Likewise.
30878         * sysdeps/x86_64/configure: Likewise.
30879         * sysdeps/sh/configure: Likewise.
30880         * sysdeps/powerpc/powerpc64/configure: Likewise.
30881         * sysdeps/powerpc/powerpc32/configure: Likewise.
30882         * sysdeps/sparc/configure: Likwise.
30883         * sysdeps/i386/configure: Likewise.
30885         * elf/dl-open.c: Comment fixes.
30887 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
30889         * Makefile [CXX] (check-data): Remove.
30890         [CXX] (c++-types.data): New vpath directive.
30891         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
30892         vpath.  Do not allow for C++ type data being missing.
30893         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
30894         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
30895         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
30896         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
30897         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
30898         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
30899         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
30900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
30901         ... here.
30902         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
30903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
30904         ... here.
30905         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
30906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
30907         ... here.
30908         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
30909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
30910         ... here.
30911         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
30912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
30913         ... here.
30914         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
30915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
30916         ... here.
30917         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
30918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
30919         ... here.
30920         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
30921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
30923         * elf/tls-macros.h (TLS_LE): Move architecture-specific
30924         definitions to architecture-specific files.
30925         (TLS_IE): Likewise.
30926         (TLS_LD): Likewise.
30927         (TLS_GD): Likewise.
30928         * sysdeps/i386/tls-macros.h: New file.
30929         * sysdeps/powerpc/tls-macros.h: Likewise.
30930         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
30931         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
30932         * sysdeps/sh/tls-macros.h: Likewise.
30933         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
30934         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
30935         * sysdeps/x86_64/tls-macros.h: Likewise.
30937 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30939         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
30940         zero value for regular exit case.
30942         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30943         (__start_context): Preserve zero value for regular exit case.
30945 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
30946             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30948         * manual/setjmp.texi (setcontext): Clarify normal process
30949         termination when uc_link is the null pointer.
30950         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
30951         exit call.
30953 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
30955         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
30956         preprocessor.  Test for each exception mask separately.
30958 2012-07-16  Andreas Jaeger  <aj@suse.de>
30960         * po/ru.po: Update from translation team.
30962 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
30964         * conform/data/string.h-data (NULL): Use macro-constant.  Require
30965         equal to 0.
30966         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30967         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30968         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
30969         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
30970         [ISO || ISO99 || ISO11] (*_t): Do not allow.
30972 2012-07-13  Andreas Jaeger  <aj@suse.de>
30974         * po/fr.po: Update from translation team.
30976 2012-07-12  Marek Polacek  <polacek@redhat.com>
30978         [BZ #14173]
30979         * math/libm-test.inc (yn_test): Add test for BZ #14173.
30980         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
30981         loop condition.
30983 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
30985         [BZ #13717]
30986         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30987         Change to 2.4.1 where previously 2.4.0.
30988         * sysdeps/unix/sysv/linux/configure: Regenerated.
30989         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
30990         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
30991         version.
30992         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
30993         (__ASSUME_AT_CLKTCK): Remove.
30994         (__ASSUME_AT_PAGESIZE): Likewise.
30995         (__ASSUME_AT_XID): Likewise.
30996         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
30997         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
30998         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
30999         unconditionally.
31000         (HAVE_AUX_PAGESIZE): Likewise.
31001         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31002         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31003         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31005 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31007         [BZ #14307]
31008         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31009         the temporary buffer used to invoke __gethostbyname2_r,
31010         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31011         host_data / struct gaih_addrtuple.
31012         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31013         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31014         header file nss/nsswitch.h.
31015         * nss/nsswitch.h (global scope): Add definition of implementation
31016         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31017         resolv/nss_dns/dns-host.c).
31019 2012-07-11  Andreas Jaeger  <aj@suse.de>
31021         * po/fr.po: Update from translation team.
31023         * po/sv.po: Update from translation team
31024         * po/fr.po: Another update from translation team.
31026 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31028         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31029         for subnormals or multiply small sinh result by itself.
31030         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31033 2012-07-11  David S. Miller  <davem@davemloft.net>
31035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31037 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31039         [BZ #14347]
31040         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31041         (INTERNAL_MARK): Shift it here.
31043 2012-07-10  Marek Polacek  <polacek@redhat.com>
31045         [BZ #14151]
31046         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31047         libc_cv_asm_global_directive with .globl.
31048         * configure: Regenerated.
31049         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31050         with .globl.
31051         * sysdeps/i386/configure: Regenerated.
31052         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31053         with .globl.
31054         * sysdeps/x86_64/configure: Regenerated.
31055         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31056         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31057         * elf/tst-unique2mod2.c: Likewise.
31058         * elf/tst-unique2mod1.c: Likewise.
31059         * elf/tst-unique1mod2.c: Likewise.
31060         * elf/tst-unique1mod1.c: Likewise.
31061         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31062         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31063         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31064         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31065         * sysdeps/mach/sysdep.h: Likewise.
31066         * sysdeps/i386/sysdep.h: Likewise.
31067         * sysdeps/i386/i386-mcount.S: Likewise.
31068         * sysdeps/x86_64/_mcount.S: Likewise.
31069         * sysdeps/x86_64/sysdep.h: Likewise.
31070         * sysdeps/sh/_mcount.S: Likewise.
31071         * sysdeps/sh/sysdep.h: Likewise.
31072         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31073         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31074         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31075         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31076         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31077         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31078         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31079         * locale/localeinfo.h: Likewise.
31080         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31081         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31083 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31085         [BZ #14336]
31086         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31087         system".
31088         * manual/message.texi (The Uniforum approach): Likewise.
31089         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31090         (glibc iconv Implementation): Likewise.
31092 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31094         [BZ #14337]
31095         * math/s_clog.c (__clog): Avoid scaling a value down where that
31096         could result in underflow.
31097         * math/s_clog10.c (__clog10): Likewise.
31098         * math/s_clog10f.c (__clog10f): Likewise.
31099         * math/s_clog10l.c (__clog10l): Likewise.
31100         * math/s_clogf.c (__clogf): Likewise.
31101         * math/s_clogl.c (__clogl): Likewise.
31102         * math/libm-test.inc (clog_test): Add more tests.
31103         (clog10_test): Likewise.
31104         * sysdeps/i386/fpu/libm-test-ulps: Update.
31105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31107 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31109         [BZ #14283]
31110         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31111         by 7 not 8 to examine high bit of fractional part.
31113         [BZ #14042]
31114         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31115         for call to __mcount_internal.
31116         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31117         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31118         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31120 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31122         [BZ #14154]
31123         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31124         approximation for values within 0x1p-13f of an odd multiple of
31125         pi/4.
31126         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31127         exception.  Add more tests.
31128         * sysdeps/i386/fpu/libm-test-ulps: Update.
31130         [BZ #6778]
31131         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31132         inputs and return -1 for them.  Do not check for +Inf in case not
31133         reachable for +Inf.
31134         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31135         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31136         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31137         and return -1 for them.  Do not check for +Inf in case not
31138         reachable for +Inf.
31139         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31140         define.
31141         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31142         and return -1 for them.  Do not check for +Inf in case not
31143         reachable for +Inf.
31144         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31145         spurious underflow.
31146         * sysdeps/i386/fpu/libm-test-ulps: Update.
31147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31149 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31151         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31153 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31155         [BZ #14157]
31156         [BZ #14331]
31157         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31158         could result in spurious underflow.  Scale down values above
31159         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31160         * math/s_csqrtf.c (__csqrtf): Likewise.
31161         * math/s_csqrtl.c (__csqrtl): Likewise.
31162         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31163         spurious underflow.
31164         * sysdeps/i386/fpu/libm-test-ulps: Update.
31165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31167 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31169         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31170         xopen-msg.sed.
31171         * catgets/xopen-msg.awk: New file.
31172         * catgets/xopen-msg.sed: Removed.
31174         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31175         po2text.sed.
31176         * intl/po2test.awk: New file.
31177         * intl/po2test.sed: Removed.
31179 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31181         [BZ #14328]
31182         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31183         or multiply small sinh result by itself.
31184         * math/s_ctanf.c (__ctanf): Likewise.
31185         * math/s_ctanh.c (__ctanh): Likewise.
31186         * math/s_ctanhf.c (__ctanhf): Likewise.
31187         * math/s_ctanhl.c (__ctanhl): Likewise.
31188         * math/s_ctanl.c (__ctanl): Likewise.
31189         * math/libm-test.inc (ctan_test_tonearest): New function.
31190         (ctan_test_towardzero): Likewise.
31191         (ctan_test_downward): Likewise.
31192         (ctan_test_upward): Likewise.
31193         (ctanh_test_tonearest): Likewise.
31194         (ctanh_test_towardzero): Likewise.
31195         (ctanh_test_downward): Likewise.
31196         (ctanh_test_upward): Likewise.
31197         (main): Call these new functions.
31198         * sysdeps/i386/fpu/libm-test-ulps: Update.
31199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31201 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31203         * .gitignore: Delete /ports entry.
31205 2012-07-03  Andreas Jaeger  <aj@suse.de>
31207         * po/bg.po: Update from translation team.
31208         * po/cs.po: Likewise.
31209         * po/de.po: Likewise.
31210         * po/hr.po: Likewise.
31211         * po/nl.pl: Likewise.
31212         * po/pl.po: Likewise.
31213         * po/vi.po: Likewise.
31215 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31217         * Makeconfig [!+link] (+link-before-libc): New variable.
31218         [!+link] (+link-after-libc): Likewise.
31219         [!+link] (+link-tests): Likewise.
31220         [!+link] (+link): Define in terms of $(+link-before-libc) and
31221         $(+link-after-libc).
31222         [!+link-static] (+link-static-before-libc): New variable.
31223         [!+link-static] (+link-static-after-libc): Likewise.
31224         [!+link-static] (+link-static-tests): Likewise.
31225         [!+link-static] (+link-static): Define in terms of
31226         $(+link-static-before-libc) and $(+link-static-after-libc).
31227         [build-shared] (link-libc-before-gnulib): New variable.
31228         [build-shared] (link-libc-tests): Likewise.
31229         [build-shared] (link-libc): Define in terms of
31230         $(link-libc-before-gnulib).
31231         [!build-shared] (link-libc-tests): New variable.
31232         (link-libc-static-tests): New variable.
31233         [!gnulib] (gnulib-arch): New variable.
31234         [!gnulib] (gnulib-tests): Likewise.
31235         [!gnulib] (static-gnulib-arch): Likewise.
31236         [!gnulib] (static-gnulib-tests): Likewise.
31237         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31238         Define with "=" instead of ":=".
31239         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31240         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31241         * Rules (binaries-all-notests): New variable.
31242         (binaries-all-tests): Likewise.
31243         (binaries-static-notests): Likewise.
31244         (binaries-static-tests): Likewise.
31245         (binaries-all): Define using $(binaries-all-notests) and
31246         $(binaries-all-tests).
31247         (binaries-static): Define using $(binaries-static-notests) and
31248         $(binaries-static-tests).
31249         (binaries-shared-tests): New variable.
31250         (binaries-shared-notests): Likewise.
31251         (binaries-shared): Remove variable.
31252         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31253         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31254         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31255         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31256         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31257         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31258         * elf/Makefile (sln-modules): New variable.
31259         (extra-objs): Add $(sln-modules:=.o).
31260         (ldconfig-modules): Add static-stubs.
31261         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31262         * elf/static-stubs.c: New file.
31264         [BZ #14283]
31265         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31266         by 7 not 8 to examine high bit of fractional part.  Use volatile
31267         variables when splitting into final array of floats if
31268         __FLT_EVAL_METHOD__ != 0.
31269         * math/libm-test.inc (cos_test): Add another test.
31270         (sin_test): Likewise.
31271         * sysdeps/i386/fpu/libm-test-ulps: Update.
31273         [BZ #14273]
31274         * math/libm-test.inc (cosh_test): Add more tests.
31276         * version.h (RELEASE): Set to "development".
31277         (VERSION): Set to "2.16.90".
31279 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31281         * NEWS: Update copyright. Remove last-updated date.
31282         Mention math library bug fixes and timezone data changes.
31283         * README: Mention GNU/Hurd, x32, and HPPA support status.
31285 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31287         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31289 2012-06-27  Andreas Jaeger  <aj@suse.de>
31291         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31293 2012-06-25  Andreas Jaeger  <aj@suse.de>
31295         * sysdeps/s390/fpu/libm-test-ulps: Update.
31297 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31298             Thomas Schwinge  <thomas@codesourcery.com>
31300         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31301         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31302         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31303         fanotify_mark.
31305 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31307         * sysdeps/mach/start.c: Remove file.
31308         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31309         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31310         * sysdeps/sh/init-first.c: Likewise.
31312         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31313         registers for frame unwinding purposes, add CFI directives.
31314         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31315         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31316         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31317         Likewise.
31319         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31320         __fortify_fail returning.
31321         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31323         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31324         sysdeps/sh/____longjmp_chk.S.
31325         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31326         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31327         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31328         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31330         * sysdeps/sh/abort-instr.h: New file.
31331         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31332         process in case exit returns.
31334         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31335         initialize the GOT register before use.
31337         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31338         calculation of ARGC > 4.
31340         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31341         meaningful names to some local labels.
31343 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31344             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31346         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31347         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31348         (__arch_compare_and_exchange_val_16_acq): Likewise.
31349         (__arch_compare_and_exchange_val_32_acq): Likewise.
31350         (atomic_exchange_and_add): Fix gUSA sequence.
31351         (atomic_add): Likewise.
31352         (atomic_add_negative): Likewise.
31353         (atomic_add_zero): Likewise.
31354         (atomic_bit_test_set): Likewise.
31356 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31358         [BZ #13579]
31359         * include/link.h (struct link_map): Add l_free_initfini.
31360         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31361         l_initfini.
31362         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31363         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31364         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31365         set.
31367 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31369         * configure.in: Use AC_LANG_SOURCE.
31370         * configure: Regenerate.
31372 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31374         * configure.in (libc_cv_localstatedir): New substituted variable.
31375         * configure: Regenerated.
31376         * config.make.in (localstatedir): New variable, substituted from
31377         libc_cv_localstatedir.
31378         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31379         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31380         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31381         * sysdeps/gnu/configure: Regenerated.
31383 2012-06-21  Jeff Law  <law@redhat.com>
31385         [BZ #14277]
31386         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31387         free.  Simplify list management for _LIBC case.
31389 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31391         [BZ #14273]
31392         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31393         Clear sign bit of 64-bit integer value before comparing against
31394         overflow value.
31396         * sysdeps/mach/configure: Regenerated.
31398 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31400         [BZ #14278]
31401         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31403 2012-06-21  Jeff Law  <law@redhat.com>
31405         [BZ #13882]
31406         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31407         uint16_t for elements in the "seen" array to avoid char overflows.
31408         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31409         * elf/dl-open.c (dl_open_worker): Likewise.
31411 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31413         * scripts/list-sources.sh: Scan PORTS for translations.
31414         * po/libc.pot: Regenerated.
31416 2012-06-21  Andreas Jaeger  <aj@suse.de>
31418         [BZ #12194]
31419         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31420         warning.
31421         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31422         * bits/byteswap-16.h (__bswap_16): Likewise.
31423         * bits/byteswap.h (__bswap_constant_16): Likewise.
31425 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31427         [BZ #14117]
31428         * sysdeps/i386/fpu_control.h: Removed.
31429         * sysdeps/x86_64/fpu_control.h: Moved to ...
31430         * sysdeps/x86/fpu_control.h: Here.
31432         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31433         (_FPU_SETCW): Likewise.
31435 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31437         [BZ #14117]
31438         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31439         * sysdeps/x86/fpu/bits/mathinline.h: This.
31440         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31442         [BZ #14050]
31443         [BZ #14117]
31444         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31445         functions if __x86_64__ is defined.
31447 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31449         * string/endian.h: Add !__ASSEMBLER__ condition for including
31450         conversion interfaces.
31452 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31454         [BZ #14241]
31455         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31456         of ABS(x) in calculating zero to negative powers other than odd
31457         integers.
31458         * math/libm-test.inc (pow_test): Add more tests.
31460 2012-06-15  Andreas Jaeger  <aj@suse.de>
31462         * manual/contrib.texi (Contributors): Update entry of Liubov
31463         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31464         Machado Filho.
31466 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31468         * string/string.h: Add __wur to GNU version of strerror_r.
31470 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31472         [BZ #14229]
31473         * string/Makefile (tests): Add tst-strtok_r.
31474         * string/tst-strtok_r.c: New file.
31475         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31476         RAX_LP/RDX_LP on SAVE_PTR.
31478 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31480         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31482 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31484         * libm_test.inc (csqrt_test): Allow more spurious underflow
31485         exceptions.
31486         (j0_test): Likewise.
31487         (j1_test): Likewise.
31488         (y0_test): Likewise.
31489         (y1_test): Likewise.
31491 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31493         * po/Makefile (libc.pot): Use UTF-8 charset.
31495 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31497         [BZ #14210]
31498         Suppress sign-conversion warning from FD_SET.
31499         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31500         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31501         not unsigned long int.
31502         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31504 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31506         [BZ #14050]
31507         [BZ #14117]
31508         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31509         __extern_always_inline instead of __extern_inline.
31510         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31511         (__signbit): Likewise.
31512         (__signbitl): Support C++ namespace.
31513         (lrintf): New inline function.
31514         (lrint): Likewise.
31515         (llrintf): Likewise.
31516         (llrint): Likewise.
31517         (fmaxf): Likewise.
31518         (fmax): Likewise.
31519         (fminf): Likewise.
31520         (fmin): Likewise.
31521         (rint): Likewise.
31522         (rintf): Likewise.
31523         (ceil): Likewise.
31524         (ceilf): Likewise.
31525         (floor): Likewise.
31526         (floorf): Likewise.
31527         (nearbyint): Likewise.
31528         (nearbyintf): Likewise.
31530 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31532         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31533         non-default versions.
31535 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31537         [BZ #14218]
31538         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31540 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31542         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31543         (FE_UPWARD, FE_DOWNWARD): Don't define.
31544         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31545         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31547         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31548         reading it.
31549         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31550         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31552 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31554         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31556         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31557         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31559 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31561         [BZ #14117]
31562         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31563         * sysdeps/i386/fpu/Implies: New file.
31564         * sysdeps/x86_64/fpu/Implies: Likewise.
31565         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31566         * sysdeps/x86/fpu/bits/fenv.h: This.
31568         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31569         __SSE_MATH__.
31571 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31573         [BZ #14134]
31574         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31575         character 0xffff that matches the last element of the
31576         conversion table.
31578 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31580         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31581         fmodl commit.
31583 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31585         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31586         values higher than 25.6283.
31588 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31590         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31591         subnormal exponent extraction and add some __builtin_expect.
31592         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31593         Fix for subnormal mantissa calculation.
31595 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31597         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31598         cpu2 is -1 and errno is not ENOSYS.
31600 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31602         [BZ #14117]
31603         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31604         * sysdeps/x86/bits/string.h: This.
31605         * sysdeps/x86_64/bits/string.h: Removed.
31607         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31608         if not compiling for x86-64, but compiling for >= i486.
31610         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31611         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31613         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31614         New macro from Linux kernel 3.4.0.
31615         (FP_XSTATE_MAGIC2): Likewise.
31616         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31617         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31618         (struct _fpx_sw_bytes): New struct.
31619         (struct _xsave_hdr): Likewise.
31620         (struct _ymmh_state): Likewise.
31621         (struct _xstate): Likewise.
31623         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31624         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31625         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31626         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31627         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31628         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31630         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31631         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31632         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31633         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31634         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31635         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31637 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31639         [BZ #13743]
31640         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31641         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31642         (sysdep_headers): Include sys/platform/ppc.h.
31643         * sysdeps/powerpc/test-gettimebase.c: Test for
31644         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31645         * manual/Makefile (appendices): Include platform.texi.
31646         * manual/contrib.texi (Contributors): Update @node pointers.
31647         * manual/maint.texi (Maintenance): Likewise.
31648         (Platform): New node.
31649         * manual/platform.texi: New file.  Document the new features.
31651 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31652             Jakub Jelinek  <jakub@redhat.com>
31654         [BZ #14188]
31655         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31656         where __builtin_expect is unavailable.
31658 2012-06-03  David S. Miller  <davem@davemloft.net>
31660         * stdlib/longlong.h: Updated from GCC.
31662 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31664         [BZ #14042]
31665         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31666         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31667         __mcount_internal.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31669         (GLIBC_2.16): Likewise.
31671 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31673         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31675 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31678         (default-abi): New variable.
31679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31680         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31681         variable.
31682         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31683         Likewise.
31684         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31685         Likewise.
31686         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31687         Likewise.
31689         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31690         definition.  Document in comment.
31692 2012-06-01  David S. Miller  <davem@davemloft.net>
31694         * stdlib/longlong.h: Updated from GCC.
31696 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31698         [BZ #14117]
31699         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31700         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31701         sys/debugreg.h sys/io.h here.
31702         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31703         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31704         sys/io.h.
31705         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31706         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31707         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31708         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31709         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31710         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31712         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31713         Define only if __x86_64__ is defined.
31715 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31717         [BZ #14048]
31718         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31719         Use int64_t for variable i.
31720         * math/libm-test.inc (fmod_test): Add more tests.
31722         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31723         z computation is not scheduled after fetestexcept.
31724         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31725         Use math_force_eval instead of asm to ensure calculation scheduled
31726         before exception test.
31727         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31728         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31730 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31733         computation is not scheduled after fetestexcept.
31735 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31737         [BZ #14117]
31738         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31739         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31741 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31743         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31744         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31746 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31748         [BZ #14117]
31749         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31750         <bits/wordsize.h>.
31751         (__WCHAR_MIN): Support __WORDSIZE == 64.
31752         (__WCHAR_MAX): Likewise.
31754         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31755         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31757         [BZ #14183]
31758         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31759         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31761         [BZ #14117]
31762         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31763         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31765         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31766         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31768         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31769         Defined to 1 if __x86_64__ isn't defined.
31770         (_STAT_VER_LINUX_OLD): New.
31771         (st_atime): Remove duplicate.
31772         (st_mtime): Likewise.
31773         (st_ctime): Likewise.
31775 2012-05-31  David S. Miller  <davem@davemloft.net>
31777         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31778         entries.
31780 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31782         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31783         gen-libm-test.pl.
31785         [BZ #14132]
31786         * elf/dl-reloc.c: Include <_itoa.h>.
31787         (_dl_reloc_bad_type): Remove use of INTUSE.
31788         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31789         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31790         * stdio-common/psiginfo.c (psiginfo): Likewise.
31791         * stdio-common/psignal.c (psignal): Likewise.
31792         * string/strsignal.c (strsignal): Likewise.
31793         * include/signal.h (_sys_siglist): Declare hidden proto.
31794         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31795         INTVARDEF with libc_hidden_data_def.
31796         * stdio-common/itoa-udigits.c: Likewise.
31797         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31798         (_itoa_lower_digits_internal): Remove declaration.
31799         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31800         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31801         (_sys_sigabbrev_internal): Remove aliases.
31802         (_sys_siglist): Define hidden alias.
31804 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31807         bits/sysctl.h.
31809 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31811         [BZ #14117]
31812         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31813         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31815         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31816         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31817         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31818         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31819         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31820         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31822         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31823         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31824         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31826         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31827         with __addr.
31828         (insw): Likewise.
31829         (insl): Likewise.
31830         (outsb): Likewise.
31831         (outsw): Likewise.
31832         (outsl): Likewise.
31834         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31835         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31836         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31838         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31839         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31840         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31841         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31842         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31843         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31845         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31846         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31848         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31849         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31851         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31852         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31853         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31855         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31856         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31857         to ...
31858         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31860         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31861         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31862         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31864         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31865         for x86-64.
31866         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31868 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31870         * math/math.h (M_El): Use two more decimal places.
31871         (M_LOG2El): Likewise.
31872         (M_LOG10El): Likewise.
31873         (M_LN2l): Likewise.
31874         (M_LN10l): Likewise.
31875         (M_PIl): Likewise.
31876         (M_PI_2l): Likewise.
31877         (M_PI_4l): Likewise.
31878         (M_1_PIl): Likewise.
31879         (M_2_PIl): Likewise.
31880         (M_2_SQRTPIl): Likewise.
31881         (M_SQRT2l): Likewise.
31882         (M_SQRT1_2l): Likewise.
31884 2012-05-31  David S. Miller  <davem@davemloft.net>
31886         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
31887         values between float registers.
31888         * sysdeps/sparc/sparc64/memset.S: Likewise.
31889         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31891 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
31893         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
31894         -D_FORTIFY_SOURCE=1.
31895         (CPPFLAGS-tst-longjmp_chk.c): Define.
31896         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
31897         (CPPFLAGS-tst-longjmp_chk2.c): Define.
31898         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
31899         CFLAGS-tst-wchar-h.c.
31901 2012-05-31  Marek Polacek  <polacek@redhat.com>
31903         [BZ #14132]
31904         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
31905         __endmntent_internal): Remove declaration.
31906         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
31907         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
31908         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
31910 2012-05-30  David S. Miller  <davem@davemloft.net>
31912         * sysdeps/sparc/sparc32/soft-fp/q_util.c
31913         (___Q_simulate_exceptions): Use real FP ops rather than writing
31914         into the %fsr.
31915         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
31916         Likewise.
31918 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31920         [BZ #14117]
31921         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
31922         * sysdeps/x86/bits/xtitypes.h: This.
31924         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
31925         * sysdeps/x86/bits/wordsize.h: This.
31927         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
31928         * sysdeps/x86/bits/huge_vall.h: This.
31930         * sysdeps/i386/bits/select.h: Removed.
31931         * sysdeps/x86_64/bits/select.h: Renamed to ...
31932         * sysdeps/x86/bits/select.h: This.
31934         * sysdeps/i386/bits/setjmp.h: Removed.
31935         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
31936         * sysdeps/x86/bits/setjmp.h: This.
31938         * sysdeps/i386/bits/mathdef.h: Removed.
31939         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
31940         * sysdeps/x86/bits/mathdef.h: This.
31942 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
31944         [BZ #14132]
31945         * include/sys/socket.h (__connect_internal)
31946         (__libc_sa_len_internal): Remove declaration.
31947         (__connect, __libc_sa_len): Declare hidden_proto.
31948         (SA_LEN): Remove use of INTUSE.
31949         * socket/connect.c: Add libc_hidden_def.
31950         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
31951         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
31952         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
31953         alias.
31954         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31955         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
31956         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31957         of adding _internal alias.
31959 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31961         [BZ #14117]
31962         * sysdeps/i386/bits/link.h: Removed.
31963         * sysdeps/i386/bits/linkmap.h: Likewise.
31964         * sysdeps/x86_64/bits/link.h: Renamed to ...
31965         * sysdeps/x86/bits/link.h: This.
31966         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
31967         * sysdeps/x86/bits/linkmap.h: This.
31969         * sysdeps/i386/bits/endian.h: Removed.
31970         * sysdeps/x86_64/bits/endian.h: Renamed to ...
31971         * sysdeps/x86/bits/endian.h: This.
31973         * sysdeps/i386/bits/byteswap.h: Removed.
31974         * sysdeps/i386/bits/byteswap-16.h: Likewise.
31975         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
31976         * sysdeps/x86/bits/byteswap.h: This.
31977         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
31978         * sysdeps/x86/bits/byteswap-16.h: This.
31979         * sysdeps/i386/Implies: Add x86.
31980         * sysdeps/x86_64/Implies: Likewise.
31982 2012-05-30  David S. Miller  <davem@davemloft.net>
31984         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
31985         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
31986         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
31987         (FP_TRAPPING_EXCEPTIONS): Define.
31988         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
31989         (FP_TRAPPING_EXCEPTIONS): Define.
31990         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
31991         subnormals only when inexact has been signalled or underflow
31992         exceptions are enabled.
31993         (_FP_PACK_CANONICAL): Likewise.
31995 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
31997         [BZ #14183]
31998         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
31999         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32001 2012-05-30  Richard Henderson  <rth@twiddle.net>
32003         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32004         with #ifndef NOT_IN_libc.
32006         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32007         marked to avoid plt entry.
32009 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32011         [BZ #14112]
32012         * Makeconfig (default-abi): New macro.
32013         (abi-includes): Likewise.
32014         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32015         $(abi-$(default-abi)-lib-soname) for soname if defined.
32016         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32017         abi-variants.
32018         * Makefile (installed-stubs): Likewise.
32019         * include/stubs-biarch.h: Removed.
32020         * scripts/lib-names.awk: Only handle one library at a time.
32021         * scripts/soversions.awk: Remove WORDSIZE support.
32022         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32023         entries.
32024         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32025         Removed.
32026         (syscall-list-default-condition): Likewise.
32027         (syscall-list-default-condition): Likewise.
32028         (syscall-list-includes): Likewise.
32029         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32030         syscall-list-* with abi-*.  Handle undefined abi-variants.
32031         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32032         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32033         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32034         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32035         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32036         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32037         Removed.
32038         (syscall-list-32-options): Likewise.
32039         (syscall-list-32-condition): Likewise.
32040         (syscall-list-64-options): Likewise.
32041         (syscall-list-64-condition): Likewise.
32042         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32043         macro.
32044         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32045         Renamed to ...
32046         (abi-*): This.
32047         (abi-64-ld-soname): New macro.
32048         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32049         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32050         Renamed to ...
32051         (abi-*): This.
32052         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32053         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32055 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32057         * sysdeps/unix/sysv/linux/kernel-features.h
32058         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32059         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32060         include <kernel-features.h>.
32061         [!__NR_ftruncate64]: Remove conditional code.
32062         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32063         [__NR_ftruncate64]: Make code unconditional.
32064         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32065         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32066         include <kernel-features.h>.
32067         [!__NR_ftruncate64]: Remove conditional code.
32068         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32069         [__NR_ftruncate64]: Make code unconditional.
32070         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32072         include <kernel-features.h>.
32073         [!__NR_ftruncate64]: Remove conditional code.
32074         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32075         [__NR_ftruncate64]: Make code unconditional.
32076         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32078         include <kernel-features.h>.
32079         [!__NR_ftruncate64]: Remove conditional code.
32080         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32081         [__NR_ftruncate64]: Make code unconditional.
32082         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32084         * configure.in (libc_cv_fpie): Weaken to a compile test using
32085         LIBC_TRY_CC_OPTION.
32086         * configure: Regenerated.
32088 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32094         Refreshed.
32095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32101         Refreshed.
32103 2012-05-27  David S. Miller  <davem@davemloft.net>
32105         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32106         (___Q_zero): New.
32107         (__Q_simulate_exceptions): Return void.  Change to simulate
32108         exceptions by writing into the %fsr.
32109         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32110         (__Qp_handle_exceptions): Likewise.
32111         (numbers): Delete.
32112         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32113         __Qp_handle_exceptions.
32114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32115         __Qp_handle_exceptions.
32116         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32117         as unused and give dummy FP_RND_NEAREST initializer.
32118         (FP_INHIBIT_RESULTS): Define.
32119         (___Q_simulate_exceptions): Update declaration.
32120         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32121         formatting.
32122         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32123         as unused and give dummy FP_RND_NEAREST initializer.
32124         (__Qp_handle_exceptions): Update declaration.
32125         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32126         formatting.
32128 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32130         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32131         the temporary FPU control word.
32132         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32133         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32134         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32135         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32136         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32137         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32138         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32139         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32140         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32141         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32142         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32144 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32146         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32147         fields.
32149 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32151         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32152         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32153         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32154         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32155         Likewise.
32156         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32157         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32158         Likewise.
32160 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32162         * po/h.po: Update from translation team.
32164 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32166         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32168         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32169         handling of denormals.
32170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32171         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32172         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32173         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32174         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32175         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32176         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32177         Likewise.
32179 2012-05-26  Marek Polacek  <polacek@redhat.com>
32181         [BZ #14152]
32182         * math/libm-test.inc (fma_test): Don't always expect underflow
32183         exception.
32185 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32187         [BZ #12416]
32188         * elf/tst-execstack.c: Include stackinfo.h.
32189         (do_test): Adjust test case to ensure that pthread_getattr_np
32190         behaviour remains the same after marking stack executable.
32192 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32194         * sysdeps/unix/sysv/linux/kernel-features.h
32195         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32196         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32197         kernel-features.h.
32198         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32199         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32200         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32201         kernel-features.h.
32202         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32203         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32205 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32207         * configure.in: Define the default includes to being none.
32208         * configure: Regenerated.
32210 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32212         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32213         * sysdeps/x86_64/setjmp.S: Likewise.
32214         * sysdeps/i386/bsd-setjmp.S: Likewise.
32215         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32216         * sysdeps/i386/setjmp.S: Likewise.
32217         * sysdeps/i386/__longjmp.S: Likewise.
32218         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32219         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32221         * include/stap-probe.h: New file.
32222         * configure.in: Handle --enable-systemtap.
32223         * configure: Regenerated.
32224         * config.h.in (USE_STAP_PROBE): New #undef.
32225         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32226         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32227         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32229 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32231         [BZ #13717]
32232         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32233         to 2.4.0 where earlier.
32234         * sysdeps/unix/sysv/linux/configure: Regenerated.
32235         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32236         <kernel-features.h>.
32237         [__ASSUME_32BITUIDS]: Make code unconditional.
32238         [!__ASSUME_32BITUIDS]: Remove conditional code.
32239         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
32240         <kernel-features.h>.
32241         [__ASSUME_32BITUIDS]: Make code unconditional.
32242         [!__ASSUME_32BITUIDS]: Remove conditional code.
32243         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
32244         [__ASSUME_32BITUIDS]: Make code unconditional.
32245         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32246         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32247         <kernel-features.h>.
32248         [__ASSUME_32BITUIDS]: Make code unconditional.
32249         [!__ASSUME_32BITUIDS]: Remove conditional code.
32250         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32251         <kernel-features.h>.
32252         [__ASSUME_32BITUIDS]: Make code unconditional.
32253         [!__ASSUME_32BITUIDS]: Remove conditional code.
32254         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32255         <kernel-features.h>.
32256         [__ASSUME_32BITUIDS]: Make code unconditional.
32257         [!__ASSUME_32BITUIDS]: Remove conditional code.
32258         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32259         <kernel-features.h>.
32260         [__ASSUME_32BITUIDS]: Make code unconditional.
32261         [!__ASSUME_32BITUIDS]: Remove conditional code.
32262         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32263         <kernel-features.h>.
32264         [__ASSUME_32BITUIDS]: Make code unconditional.
32265         [!__ASSUME_32BITUIDS]: Remove conditional code.
32266         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32267         <kernel-features.h>.
32268         [__ASSUME_32BITUIDS]: Make code unconditional.
32269         [!__ASSUME_32BITUIDS]: Remove conditional code.
32270         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32271         <kernel-features.h>.
32272         [__ASSUME_32BITUIDS]: Make code unconditional.
32273         [!__ASSUME_32BITUIDS]: Remove conditional code.
32274         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32275         <kernel-features.h>.
32276         [__ASSUME_32BITUIDS]: Make code unconditional.
32277         [!__ASSUME_32BITUIDS]: Remove conditional code.
32278         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32279         <kernel-features.h>.
32280         [__ASSUME_32BITUIDS]: Make code unconditional.
32281         [!__ASSUME_32BITUIDS]: Remove conditional code.
32282         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32283         <kernel-features.h>.
32284         [__ASSUME_32BITUIDS]: Make code unconditional.
32285         [!__ASSUME_32BITUIDS]: Remove conditional code.
32286         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32287         <kernel-features.h>.
32288         [__NR_setresgid] (__setresgid): Do not declare.
32289         [__ASSUME_32BITUIDS]: Make code unconditional.
32290         [!__ASSUME_32BITUIDS]: Remove conditional code.
32291         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32292         <kernel-features.h>.
32293         [__NR_setresuid] (__setresuid): Do not declare.
32294         [__ASSUME_32BITUIDS]: Make code unconditional.
32295         [!__ASSUME_32BITUIDS]: Remove conditional code.
32296         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32297         <kernel-features.h>.
32298         [__ASSUME_32BITUIDS]: Make code unconditional.
32299         [!__ASSUME_32BITUIDS]: Remove conditional code.
32300         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32301         <kernel-features.h>.
32302         [__ASSUME_32BITUIDS]: Make code unconditional.
32303         [!__ASSUME_32BITUIDS]: Remove conditional code.
32304         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32305         <kernel-features.h>.
32306         [__ASSUME_32BITUIDS]: Make code unconditional.
32307         [!__ASSUME_32BITUIDS]: Remove conditional code.
32308         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32309         <kernel-features.h>.
32310         [__ASSUME_32BITUIDS]: Make code unconditional.
32311         [!__ASSUME_32BITUIDS]: Remove conditional code.
32312         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32313         <kernel-features.h>.
32314         [__ASSUME_32BITUIDS]: Make code unconditional.
32315         [!__ASSUME_32BITUIDS]: Remove conditional code.
32316         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32317         <kernel-features.h>.
32318         [__ASSUME_32BITUIDS]: Make code unconditional.
32319         [!__ASSUME_32BITUIDS]: Remove conditional code.
32320         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32321         <kernel-features.h>.
32322         [__ASSUME_32BITUIDS]: Make code unconditional.
32323         [!__ASSUME_32BITUIDS]: Remove conditional code.
32324         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32325         <kernel-features.h>.
32326         [__ASSUME_32BITUIDS]: Make code unconditional.
32327         [!__ASSUME_32BITUIDS]: Remove conditional code.
32328         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32329         <kernel-features.h>.
32330         [__ASSUME_32BITUIDS]: Make code unconditional.
32331         [!__ASSUME_32BITUIDS]: Remove conditional code.
32332         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32333         <kernel-features.h>.
32334         [__ASSUME_32BITUIDS]: Make code unconditional.
32335         [!__ASSUME_32BITUIDS]: Remove conditional code.
32336         * sysdeps/unix/sysv/linux/kernel-features.h
32337         (__ASSUME_SETRESUID_SYSCALL): Remove.
32338         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32339         (__ASSUME_32BITUIDS): Likewise.
32340         (__ASSUME_LDT_WORKS): Likewise.
32341         (__ASSUME_O_DIRECTORY): Likewise.
32342         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32343         architecture but not kernel version.
32344         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32345         (__ASSUME_MMAP2_SYSCALL): Likewise.
32346         (__ASSUME_STAT64_SYSCALL): Likewise.
32347         (__ASSUME_IPC64): Likewise.
32348         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32349         <kernel-features.h>.
32350         [__ASSUME_32BITUIDS]: Make code unconditional.
32351         [!__ASSUME_32BITUIDS]: Remove conditional code.
32352         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32353         <kernel-features.h>.
32354         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32355         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32356         132096]: Remove conditional code.
32357         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32358         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32359         <kernel-features.h>.
32360         [__ASSUME_32BITUIDS]: Make code unconditional.
32361         [!__ASSUME_32BITUIDS]: Remove conditional code.
32362         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32363         <kernel-features.h>.
32364         [__ASSUME_32BITUIDS]: Make code unconditional.
32365         [!__ASSUME_32BITUIDS]: Remove conditional code.
32366         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32367         <kernel-features.h>.
32368         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32369         unconditional.
32370         (__setresgid): Do not declare.
32371         [__ASSUME_32BITUIDS]: Make code unconditional.
32372         [!__ASSUME_32BITUIDS]: Remove conditional code.
32373         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32374         <kernel-features.h>.
32375         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32376         unconditional.
32377         (__setresuid): Do not declare.
32378         [__ASSUME_32BITUIDS]: Make code unconditional.
32379         [!__ASSUME_32BITUIDS]: Remove conditional code.
32380         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32381         <kernel-features.h>.
32382         [__ASSUME_32BITUIDS]: Make code unconditional.
32383         [!__ASSUME_32BITUIDS]: Remove conditional code.
32384         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32385         <kernel-features.h>.
32386         [__ASSUME_32BITUIDS]: Make code unconditional.
32387         [!__ASSUME_32BITUIDS]: Remove conditional code.
32389 2012-05-25  Richard Henderson  <rth@twiddle.net>
32391         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32392         dl_hwcap to ifunc resolver.
32393         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32394         elf_ifunc_invoke.
32395         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32396         dl_hwcap to ifunc resolver.
32397         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32399 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32401         [BZ #14153]
32402         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32403         for |x| <= 2**-26, not 2**-57.
32404         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32405         exception.
32407 2012-05-24  Jeff Law  <law@redhat.com>
32409         * stdio-common/Makefile (tests): Add bug25.
32410         * stdio-common/bug25.c: New test.
32412 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32414         [BZ #13576]
32415         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32416         multiple of MALLOC_ALIGNMENT in size.
32417         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32419 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32421         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32422         Require >= 256.
32423         (FILENAME_MAX): Use macro-int-constant.
32424         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32425         (_IOFBF): Use macro-int-constant.
32426         (_IOLBF): Likewise.
32427         (_IONBF): Likewise.
32428         (SEEK_CUR): Likewise.
32429         (SEEK_END): Likewise.
32430         (SEEK_SET): Likewise.
32431         (TMP_MAX): Likewise.
32432         (EOF): Use macro-int-constant.  Require < 0.
32433         (NULL): Use macro-constant.  Require == 0.
32434         (stdin): Require type to be FILE *.
32435         (stdout): Likewise.
32436         (stderr): Likewise.
32437         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32438         macro-int-constant.
32439         (EXIT_SUCCESS): Likewise.
32440         (NULL): Use macro-constant.  Require == 0.
32441         (RAND_MAX): Use macro-int-constant.
32442         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32443         [C99-based standards] (strtof): Require function.
32444         [C99-based standards] (strtold): Likewise.
32445         [C99-based standards] (strtoll): Likewise.
32446         [C99-based standards] (strtoull): Likewise.
32447         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32448         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32449         [ISO || ISO99 || ISO11] (math.h): Likewise.
32450         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32451         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32452         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32454 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32456         [BZ #14132]
32457         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32458         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32459         * intl/dgettext.c (DCGETTEXT): Likewise.
32460         * intl/gettext.c (DCGETTEXT): Likewise.
32461         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32462         * posix/regex_internal.h (gettext): Likewise.
32463         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32464         Remove declaration.
32465         * include/argz.h (__argz_count_internal)
32466         (__argz_stringify_internal): Remove declaration.
32467         (__argz_count, __argz_stringify): Declare hidden proto.
32468         * intl/dcgettext.c: Remove use of INTDEF.
32469         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32470         * string/argz-stringify.c: Likewise.
32471         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32472         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32473         Declare hidden proto.
32474         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32475         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32476         Declare hidden proto.
32477         * include/stdio.h (__asprintf_internal): Don't declare.
32478         (__asprintf): Don't define as macro.  Declare hidden proto.
32479         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32480         (__fsetlocking): Declare hidden proto.
32481         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32482         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32483         hidden proto.
32484         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32485         (_IO_setlinebuf): Remove use of INTUSE.
32486         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32487         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32488         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32489         Remove declaration.
32490         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32491         (_IO_do_flush): Remove use of INTUSE.
32492         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32493         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32494         (_IO_adjust_column, _IO_least_wmarker)
32495         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32496         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32497         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32498         (_IO_default_doallocate, _IO_wdefault_doallocate)
32499         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32500         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32501         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32502         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32503         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32504         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32505         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32506         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32507         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32508         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32509         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32510         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32511         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32512         proto.
32513         (_IO_flush_all_internal, _IO_adjust_column_internal)
32514         (_IO_default_uflow_internal, _IO_default_finish_internal)
32515         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32516         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32517         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32518         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32519         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32520         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32521         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32522         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32523         (_IO_file_close_internal, _IO_file_close_it_internal)
32524         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32525         (_IO_file_init_internal, _IO_file_attach_internal)
32526         (_IO_file_fopen_internal, _IO_file_read_internal)
32527         (_IO_file_sync_internal, _IO_file_seek_internal)
32528         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32529         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32530         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32531         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32532         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32533         (_IO_list_all_internal, _IO_link_in_internal)
32534         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32535         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32536         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32537         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32538         (_IO_do_write_internal, _IO_padn_internal)
32539         (_IO_getline_info_internal, _IO_getline_internal)
32540         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32541         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32542         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32543         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32544         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32545         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32546         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32547         with libc_hidden_ver, remove use of INTUSE.
32548         * libio/genops.c: Likewise.
32549         * libio/freopen.c: Likewise.
32550         * libio/freopen64.c: Likewise.
32551         * libio/iofclose.c: Likewise.
32552         * libio/iofdopen.c: Likewise.
32553         * libio/iofflush.c: Likewise.
32554         * libio/iofflush_u.c: Likewise.
32555         * libio/iofgets.c: Likewise.
32556         * libio/iofgets_u.c: Likewise.
32557         * libio/iofopen.c: Likewise.
32558         * libio/iofopncook.c: Likewise.
32559         * libio/iofread.c: Likewise.
32560         * libio/iofread_u.c: Likewise.
32561         * libio/ioftell.c: Likewise.
32562         * libio/iofwrite.c: Likewise.
32563         * libio/iogetline.c: Likewise.
32564         * libio/iogets.c: Likewise.
32565         * libio/iogetwline.c: Likewise.
32566         * libio/iopadn.c: Likewise.
32567         * libio/iopopen.c: Likewise.
32568         * libio/ioseekoff.c: Likewise.
32569         * libio/ioseekpos.c: Likewise.
32570         * libio/iosetbuffer.c: Likewise.
32571         * libio/iosetvbuf.c: Likewise.
32572         * libio/ioungetc.c: Likewise.
32573         * libio/ioungetwc.c: Likewise.
32574         * libio/iovdprintf.c: Likewise.
32575         * libio/iovsprintf.c: Likewise.
32576         * libio/iovsscanf.c: Likewise.
32577         * libio/memstream.c: Likewise.
32578         * libio/obprintf.c: Likewise.
32579         * libio/oldfileops.c: Likewise.
32580         * libio/oldiofclose.c: Likewise.
32581         * libio/oldiofdopen.c: Likewise.
32582         * libio/oldiofopen.c: Likewise.
32583         * libio/oldiopopen.c: Likewise.
32584         * libio/oldstdfiles.c: Likewise.
32585         * libio/putc.c: Likewise.
32586         * libio/setbuf.c: Likewise.
32587         * libio/setlinebuf.c: Likewise.
32588         * libio/stdfiles.c: Likewise.
32589         * libio/strops.c: Likewise.
32590         * libio/vasprintf.c: Likewise.
32591         * libio/vscanf.c: Likewise.
32592         * libio/vsnprintf.c: Likewise.
32593         * libio/vswprintf.c: Likewise.
32594         * libio/wfiledoalloc.c: Likewise.
32595         * libio/wfileops.c: Likewise.
32596         * libio/wgenops.c: Likewise.
32597         * libio/wmemstream.c: Likewise.
32598         * libio/wstrops.c: Likewise.
32599         * libio/__fpurge.c: Likewise.
32600         * libio/__fsetlocking.c: Likewise.
32601         * assert/assert.c: Likewise.
32602         * debug/fgets_chk.c: Likewise.
32603         * debug/fgets_u_chk.c: Likewise.
32604         * debug/fread_chk.c: Likewise.
32605         * debug/fread_u_chk.c: Likewise.
32606         * debug/gets_chk.c: Likewise.
32607         * debug/obprintf_chk.c: Likewise.
32608         * debug/vasprintf_chk.c: Likewise.
32609         * debug/vdprintf_chk.c: Likewise.
32610         * debug/vsnprintf_chk.c: Likewise.
32611         * debug/vsprintf_chk.c: Likewise.
32612         * malloc/mtrace.c: Likewise.
32613         * misc/error.c: Likewise.
32614         * misc/syslog.c: Likewise.
32615         * stdio-common/asprintf.c: Likewise.
32616         * stdio-common/fxprintf.c: Likewise.
32617         * stdio-common/getw.c: Likewise.
32618         * stdio-common/isoc99_fscanf.c: Likewise.
32619         * stdio-common/isoc99_scanf.c: Likewise.
32620         * stdio-common/isoc99_vfscanf.c: Likewise.
32621         * stdio-common/isoc99_vscanf.c: Likewise.
32622         * stdio-common/isoc99_vsscanf.c: Likewise.
32623         * stdio-common/printf-prs.c: Likewise.
32624         * stdio-common/printf_fp.c: Likewise.
32625         * stdio-common/printf_fphex.c: Likewise.
32626         * stdio-common/printf_size.c: Likewise.
32627         * stdio-common/putw.c: Likewise.
32628         * stdio-common/scanf.c: Likewise.
32629         * stdio-common/sprintf.c: Likewise.
32630         * stdio-common/tmpfile.c: Likewise.
32631         * stdio-common/vfprintf.c: Likewise.
32632         * stdio-common/vfscanf.c: Likewise.
32633         * stdlib/strfmon_l.c: Likewise.
32634         * sunrpc/openchild.c: Likewise.
32635         * sunrpc/xdr_stdio.c: Likewise.
32636         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32637         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32639 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32641         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32643         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32644         in the third column, to generate for the shared library an IFUNC
32645         that uses _dl_vdso_vsym.
32646         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32647         * Makeconfig (object-suffixes-noshared): New variable.
32649         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32650         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32651         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32652         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32654         [BZ #14132]
32655         * include/sys/time.h (__gettimeofday): Remove macro.
32656         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32657         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32658         Remove INTDEF.
32659         (__gettimeofday): Add libc_hidden_def.
32660         (gettimeofday): Add libc_hidden_weak.
32661         * sysdeps/mach/gettimeofday.c: Likewise.
32662         * sysdeps/posix/gettimeofday.c: Likewise.
32663         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32664         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32665         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32666         (__gettimeofday_internal): Remove strong_alias.
32667         (__gettimeofday): Add libc_hidden_def.
32668         (gettimeofday): Add libc_hidden_weak.
32669         * sysdeps/unix/syscalls.list (gettimeofday):
32670         Remove __gettimeofday_internal alias.
32672 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32673             H.J. Lu  <hongjiu.lu@intel.com>
32675         [BZ #12495]
32676         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32677         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32678         (largebin_index_32_big): New.
32679         (largebin_index): Use it for 16-byte alignment.
32680         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32681         correction with front_misalign.
32683 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32686         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32687         Likewise.
32688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32689         Likewise.
32690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32691         Likewise.
32692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32693         Likewise.
32694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32695         Likewise.
32696         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32697         Likewise.
32698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32699         Likewise.
32700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32701         Likewise.
32702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32703         Likewise.
32704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32705         Likewise.
32706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32707         Likewise.
32708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32709         Likewise.
32711         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32712         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32714 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32716         [BZ #10846]
32717         [BZ #14036]
32718         * math/libm-test.inc (exp_test): Add test from bug 14036.
32719         (pow_test): Add test from bug 10846.
32721         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32722         and other flags.
32723         (special_function): Do not include flags in test name.
32724         (parse_args): Likewise.
32725         * sysdeps/i386/fpu/libm-test-ulps: Update.
32726         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32727         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32728         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32731         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32732         exceptions.
32733         * math/libm-test.inc ("Philosophy"): Update comment about
32734         exception testing.
32735         (UNDERFLOW_EXCEPTION): New macro.
32736         (UNDERFLOW_EXCEPTION_OK): Likewise.
32737         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32738         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32739         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32740         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32741         (INVALID_EXCEPTION_OK): Update value.
32742         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32743         (OVERFLOW_EXCEPTION_OK): Likewise.
32744         (IGNORE_ZERO_INF_SIGN): Likewise.
32745         (test_exceptions): Handle underflow exceptions.
32746         (acos_test): Update for underflow exception expectations.
32747         (cexp_test): Likewise.
32748         (clog_test): Likewise.
32749         (clog10_test): Likewise.
32750         (csqrt_test): Likewise.
32751         (ctan_test): Likewise.
32752         (ctanh_test): Likewise.
32753         (exp_test): Likewise.
32754         (exp10_test): Likewise.
32755         (exp2_test): Likewise.
32756         (expm1_test): Likewise.
32757         (fma_test): Likewise.
32758         (j0_test): Likewise.
32759         (jn_test): Likewise.
32760         (nexttoward_test): Likewise.
32761         (pow_test): Likewise.
32762         (scalbn_test): Likewise.
32763         (scalbln_test): Likewise.
32764         (tan_test): Likewise.
32765         (y1_test): Likewise.
32766         * sysdeps/i386/fpu/libm-test-ulps: Update.
32767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32769 2012-05-23  David S. Miller  <davem@davemloft.net>
32771         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32772         (__libc_sigaction): Remove unused local variables.
32774 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32776         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32778 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32780         mktime: avoid signed integer overflow
32781         * time/mktime.c (__mktime_internal): Do not mishandle the case
32782         where diff == INT_MIN.
32784         mktime: simplify computation of average
32785         * time/mktime.c (ranged_convert): Use new time_t_avg function
32786         instead of rolling our own (probably-slower) code.
32788         mktime: do not assume signed right shift propagates sign bit
32789         * time/mktime.c (isdst_differ): New static function.
32790         (__mktime_internal): No need to normalize tm_isdst now.
32791         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32792         tm_isdst values.
32794         mktime: merge another wrapv change from gnulib
32795         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32796         from some compilers.
32798         mktime: remove incorrect attempt at unusual arithmetics
32799         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32800         The code didn't really work on such machines anyway.
32801         (TYPE_MINIMUM): Assume two's complement.
32802         (twos_complement_arithmetic): Verify that long_int and time_t
32803         are two's complement (or unsigned, in the latter case).
32805         mktime: check signed shifts on long_int and time_t, too
32806         * time/mktime.c (SHR): Check that shifts work as desired
32807         on the types long_int and time_t too, as SHR is used on
32808         such types.
32810         mktime: do not assume 'long' is wide enough
32811         * time/mktime.c (verify): Move decl up.
32812         (long_int): New type.
32813         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32814         to remove assumption in the code that 'long' is wide enough to
32815         store year values.  This assumption is not true on x32 and on
32816         some non-glibc platforms.
32818         mktime: merge wrapv change from gnulib
32819         * time/mktime.c (WRAPV): New macro.
32820         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32821         (guess_time_tm, __mktime_internal): Do not assume that signed
32822         integer overflow wraps around; modern compilers generate code
32823         where this assumption is no longer valid.
32825 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32827         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32828         Replace "jmp L(pseudo_end)" with "ret".
32829         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32830         Likewise.
32832 2012-05-23  Andreas Jaeger  <aj@suse.de>
32834         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32835         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32837 2012-05-23  Andreas Jaeger  <aj@suse.de>
32838             Maximilian Attems  <max@stro.at>
32840         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32841         New macros.
32843 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32845         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32846         code so that pseudo_end is just ret and the stack pointer is
32847         correct also for static library in error case.
32849 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32851         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32852         move to syscalls.list.
32853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32858         * manual/install.texi (Running make install): Do not mention Linux
32859         kernel version for which pt_chown is not needed.
32860         (Linux): Do not mention problems with nscd with 2.0 kernels.
32861         * INSTALL: Regenerated.
32863 2012-05-23  Andreas Jaeger  <aj@suse.de>
32865         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32866         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32867         macro.
32868         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32869         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32870         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32871         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32872         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32873         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32874         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32875         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32876         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32877         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32878         * sysdeps/unix/sysv/linux/bits/in.h
32879         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32881 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32883         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32884         (PREPARE_VERSION): Just use assert instead, it will be elided
32885         under [NDEBUG] anyway.
32887 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32889         * sysdeps/unix/sysv/linux/Makefile: Include
32890         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
32891         (sysdep_routines): Remove sysctl.
32892         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
32893         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
32894         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
32895         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
32896         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
32898 2012-05-22  Andreas Jaeger  <aj@suse.de>
32900         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
32901         that pseudo_end is just ret and the stack pointer is correct also
32902         for static library in error case.
32904 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32906         [BZ #14122]
32907         * nss/nsswitch.c (defconfig_entries): New variable.
32908         (__nss_database_lookup): Don't leak defconfig entries.
32909         (nss_parse_service_list): Don't leak on error paths.
32910         (free_database_entries): New function.
32911         (free_defconfig): New function.
32912         (free_mem): Move common code to free_database_entries.
32914 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32916         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
32917         Add arch_prctl.
32918         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
32920         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32921         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
32922         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
32923         New macro.
32924         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
32925         (INTERNAL_SYSCALL_TYPES): Likewise.
32926         (LOAD_ARGS_TYPES_[1-6]): Likewise.
32927         (LOAD_REGS_TYPES_[1-6]): Likewise.
32928         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
32929         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
32931 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32933         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
32934         copysignl for GLIBC_2_0.
32935         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
32936         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
32937         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
32938         logbl for GLIBC_2_0.
32939         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32940         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32942 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32944         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
32945         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32947         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32948         Use "neg %eax".
32950         * time/mktime.c: Update copyright years.
32952 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
32954         mktime: merge comment-quoting-style change from gnulib
32955         * time/mktime.c: Quote 'like this' in comments.
32956         The GNU coding standards suggest that we no longer quote `like this',
32957         as "`" and "'" are typically rendered asymmetrically nowadays.
32958         The typical gnulib style is to quote 'like this' when quoting
32959         code, and "like this" when quoting English.
32961         * time/mktime.c (compile-command): Add "-I.".
32963         mktime: merge mktime-internal.h change from gnulib
32964         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
32966         mktime: merge time_r change from gnulib
32967         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
32969         mktime: merge DEBUG change from gnulib
32970         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
32971         case system <time.h> has a #define.
32973         mktime: merge <sys/types.h> change from gnulib
32974         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
32975         since <time.t> is now guaranteed to define time_t.
32977         mktime: merge HAVE_CONFIG_H change from gnulib
32978         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
32980 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
32982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
32983         Use "neg %eax".
32985         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
32986         __rlim_t cast.
32987         (struct rusage): Use anonymous union to pad each field to
32988         __syscall_slong_t.
32990 2012-05-21  David S. Miller  <davem@davemloft.net>
32992         * Makefules (o-iterator): Remove .s cases.
32993         (compile-command.s): Delete.
32994         (COMPILE.s): Delete.
32995         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
32997 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
32999         * configure.in (libc_cv_predef_stack_protector): Only consider
33000         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33001         * configure: Regenerated.
33003 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33005         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33006         New macro.  Use R*LP on int and pointer.
33007         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33008         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33009         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33010         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33012         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33013         [__WORDSIZE_TIME64_COMPAT32] instead of
33014         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33015         (struct utmp): Likewise.
33016         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33017         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33018         Renamed to ...
33019         (__WORDSIZE_TIME64_COMPAT32): This.
33020         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33021         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33022         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33023         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33024         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33025         (__WORDSIZE_TIME64_COMPAT32): New macro.
33027 2012-05-21  Andreas Jaeger  <aj@suse.de>
33029         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33030         only if [SHARED]. Add prototype for __wcschr_ia32.
33032 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33034         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33035         of %rbp unmolested in the jmp_buf while mangling the low bits.
33036         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33037         unmolested high bits of %rbp while demangling the low bits.
33038         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33040 2012-05-21  Andreas Jaeger  <aj@suse.de>
33042         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33043         * sunrpc/svc_simple.c: Use it for registerrpc.
33044         * sunrpc/xcrypt.c: Use it for passwd2des.
33046         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33048 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33050         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33051         Don't define if [__SYSCALL_WORDSIZE != 32].
33052         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33053         New macro.
33055 2012-05-21  Bruno Haible  <bruno@clisp.org>
33056             Andreas Jaeger  <aj@suse.de>
33058         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33059         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33060         inptr and inend for must_buffer_ch.
33061         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33062         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33063         * stdio-common/Makefile (tests): Remove bug15.
33064         (bug15-ENV): Remove macro.
33065         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33066         anymore.
33068 2012-05-19  Andreas Jaeger  <aj@suse.de>
33069             Roland McGrath  <roland@hack.frob.com>
33071         * manual/contrib.texi: Completely rewritten. It contains now an
33072         alphabetical list of contributors and their contributions.
33074 2012-05-21  Richard Henderson  <rth@twiddle.net>
33076         * misc/getauxval.c (__getauxval): Use unsigned long int.
33077         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33078         (getauxval): Use unsigned long int.
33080 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33082         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33084 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33086         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33087         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33088         __alignof__ (long double).
33090 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33094 2012-05-20  Richard Henderson  <rth@twiddle.net>
33096         * misc/getauxval.c: New file.
33097         * misc/sys/auxv.h: New file.
33098         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33099         (routines): Add getauxval.
33100         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33101         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33102         * elf/dl-sysdep.c (_dl_auxv): Remove.
33103         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33104         * elf/dl-support.c (_dl_auxv): New variable.
33105         (_dl_aux_init): Initialize it.
33106         * manual/startup.texi (Auxiliary Vector): New node.
33107         * sysdeps/generic/bits/hwcap.h: New file.
33108         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33109         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33110         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33111         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33112         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33113         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33115         Update.
33116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33125 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33129 2012-05-19  David S. Miller  <davem@davemloft.net>
33131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33133 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33135         [BZ #14123]
33136         * math/s_ccosh.c: Include <float.h>
33137         (__ccosh): Avoid internal overflow calculating sinh and cosh
33138         values before multiplying by sin and cos values.
33139         * math/s_ccoshf.c: Likewise.
33140         * math/s_ccoshl.c: Likewise.
33141         * math/s_csin.c: Likewise.
33142         * math/s_csinf.c: Likewise.
33143         * math/s_csinl.c: Likewise.
33144         * math/s_csinh.c: Likewise.
33145         * math/s_csinhf.c: Likewise.
33146         * math/s_csinhl.c: Likewise.
33147         * math/libm-test.inc (ccos_test): Add more tests.
33148         (ccosh_test): Likewise.
33149         (csin_test): Likewise.
33150         (csinh_test): Likewise.
33151         * sysdeps/i386/fpu/libm-test-ulps: Update.
33152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33154 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33156         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33157         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33159         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33161 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33163         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33164         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33165         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33166         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33167         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33168         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33169         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33170         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33171         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33172         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33173         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33174         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33175         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33176         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33177         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33178         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33179         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33180         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33181         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33182         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33183         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33184         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33185         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33186         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33187         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33188         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33189         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33190         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33191         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33192         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33193         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33195 2012-05-18  Andreas Jaeger  <aj@suse.de>
33197         * csu/.gitignore: Delete.
33199 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33201         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33202         (timex): Use __syscall_slong_t.
33204 2012-05-18  Andreas Jaeger  <aj@suse.de>
33205             Carlos O'Donell  <carlos_odonell@mentor.com>
33207         * manual/install.texi (Configuring and compiling): Update
33208         description about files modified in the source directory.
33209         * INSTALL: Regenerated.
33211 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33213         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33214         value.  Use "or" to set return value to -1.
33215         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33216         negate return value.
33218 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33220         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33221         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33222         failure if the compiler has Graphite support disabled.
33223         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33224         Likewise.
33225         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33226         (CFLAGS-memmove.c): Likewise.
33227         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33228         Likewise.
33230 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33232         * sysdeps/x86_64/x32/_itoa.h: New file.
33234         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33235         getdents system call only if kernel and user dirents have the
33236         same d_ino and d_off.
33238         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33239         LLONG_MAX != LONG_MAX.
33240         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33241         (_fitoa_word): Likewise.
33243         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33244         years.
33245         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33246         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33247         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33249         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33250         include <bits/wordsize.h>.  Check __x86_64__ instead of
33251         __WORDSIZE.
33252         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33253         if __x86_64__ is defined.  Use anonymous union on fpstate.
33255         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33256         anonymous union.
33258 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33260         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33261         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33262         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33263         Refer to _rtld_local_ro instead of _rtld_global_ro.
33264         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33265         Likewise.
33266         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33267         Likewise.
33268         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33269         Likewise.
33270         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33271         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33272         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33274         * sysdeps/powerpc/powerpc32/dl-machine.c
33275         (__elf_machine_runtime_setup) [PROF]: Don't reference
33276         _dl_prof_resolve.
33278 2012-05-18  Andreas Jaeger  <aj@suse.de>
33280         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33281         function only available for GCCs before 3.4 since GCC 3.4
33282         introduced a builtin.
33283         (lrint): Likewise.
33284         (llrintf): Likewise.
33285         (llrint): Likewise.
33286         (fmaxf): Likewise.
33287         (fmax): Likewise.
33288         (fminf): Likewise.
33289         (fmin): Likewise.
33290         (rint): Likewise.
33291         (rintf): Likewise.
33292         (nearbyint): Likewise.
33293         (nearbyintf): Likewise.
33294         (ceil): Likewise.
33295         (ceilf): Likewise.
33296         (floor): Likewise.
33297         (floorf): Likewise.
33299 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33301         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33302         on both fields and cast pointer to __syscall_ulong_t.
33304         * bits/types.h (__fsword_t): New type.
33305         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33306         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33308         (__FSWORD_T_TYPE): Likewise.
33309         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33310         (__FSWORD_T_TYPE): Likewise.
33311         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33312         (__FSWORD_T_TYPE): Likewise.
33313         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33314         (__FSWORD_T_TYPE): Likewise.
33315         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33316         __SWORD_TYPE with __fsword_t.
33317         (statfs64): Likewise.
33319 2012-05-17  David S. Miller  <davem@davemloft.net>
33321         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33323 2012-05-17  Andreas Jaeger  <aj@suse.de>
33325         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33326         warning.
33328 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33330         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33332 2012-05-17  Andreas Jaeger  <aj@suse.de>
33334         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33335         when it is used.
33337 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33339         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33341 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33343         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33344         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33346 2012-05-17  Andreas Jaeger  <aj@suse.de>
33347             Carlos O'Donell  <carlos_odonell@mentor.com>
33349         [BZ #14059]
33350         * sysdeps/x86_64/multiarch/init-arch.h
33351         (bit_YMM_Usable): Rename to...
33352         (bit_AVX_Usable): ... this.
33353         (bit_FMA4_Usable): New macro.
33354         (bit_XMM_state): New macro.
33355         (bit_YMM_state): New macro.
33356         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33357         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33358         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33359         (CPUID_OSXSAVE): New macro.
33360         (CPUID_AVX): New macro.
33361         (CPUID_FMA4): New macro.
33362         (index_YMM_Usable): Rename to...
33363         (index_AVX_Usable): ... this.
33364         (HAS_AVX): Use HAS_ARCH_FEATURE.
33365         (HAS_FMA4): Likewise.
33366         (HAS_YMM_USABLE): Remove.
33367         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33368         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33369         are present.
33370         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33371         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33372         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33373         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33374         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33376 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33378         * math/libm-test.c: Support platforms without multiple rounding modes.
33379         * math/bug-nextafter.c: Support platforms without FP exceptions.
33380         * math/bug-nexttoward.c: Likewise.
33381         * math/test-fenv.c: Likewise.
33382         * math/test-misc.c: Likewise.
33383         * stdlib/bug-getcontext.c: Likewise.
33385 2012-05-17  Andreas Jaeger  <aj@suse.de>
33387         * manual/examples/search.c (critter_cmp): Change signature to
33388         avoid warnings.
33389         * manual/string.texi (Collation Functions): Likewise.
33391 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33393         * bits/types.h: Fold copyright years.
33394         * bits/typesizes.h: Likewise.
33395         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33396         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33397         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33398         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33399         * time/time.h: Likewise.
33401 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33403         [BZ #208]
33404         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33405         in instead of returning them.  Return void.
33406         (__libc_mallinfo): Accumulate over all arenas.
33407         (__malloc_stats): Adjust for change in int_mallinfo interface.
33409 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33411         [BZ #10375]
33412         * configure.in (NM): Add AC_CHECK_TOOL for it.
33413         (libc_extra_cflags): New substituted variable.
33414         Check for -fstack-protector being used implicitly.
33415         * configure: Regenerated.
33416         * config.make.in (config-extra-cflags): New variable,
33417         gets @libc_extra_cflags@.
33418         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33420         [BZ #10375]
33421         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33422         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33423         * configure: Regenerated.
33424         * config.make.in (CPPUNDEFS): New substituted variable.
33425         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33426         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33427         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33429 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33431         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33432         (mq_attr): Use __syscall_slong_t.
33434 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33436         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33437         Check __x86_64__ instead of __WORDSIZE.
33438         (_STAT_VER_LINUX): Likewise.
33439         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33440         __syscall_ulong_t and __syscall_slong_t.
33441         (stat64): Likewise.
33443 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33445         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33447 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33449         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33451 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33453         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33454         __syscall_ulong_t.
33456         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33457         include <bits/wordsize.h>.  Check __x86_64__ instead of
33458         __WORDSIZE.
33459         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33460         defined.
33461         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33463         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33464         include <bits/wordsize.h>.  Check __x86_64__ instead of
33465         __WORDSIZE.
33466         (user_regs_struct): Use "__extension__ unsigned long long"
33467         instead of "unsigned long" if __x86_64__ is defined.
33468         (user): Likewise.  Pad after pointer field if __ILP32__ is
33469         defined.
33471 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33473         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33474         versions 5 to 9.
33475         * configure: Regenerated.
33476         * manual/install.texi (texinfo): Increase version requirement to
33477         4.5 or later.
33478         * INSTALL: Regenerated.
33480         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33482 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33484         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33486         * sysdeps/x86_64/x32/ffs.c: New file.
33488         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33489         __syscall_ulong_t.
33490         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33491         defined.  Use __syscall_ulong_t.
33492         (shminfo): Use __syscall_ulong_t.
33493         (shm_info): Likewise.
33495         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33496         __syscall_ulong_t.
33498         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33499         <bits/wordsize.h>.
33500         (msgqnum_t): Use __syscall_ulong_t.
33501         (msglen_t): Likewise.
33502         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33503         __syscall_ulong_t.
33505         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33506         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33508         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33510         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33511         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33513         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33514         __syscall_slong_t.
33516         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33517         include <bits/wordsize.h>.  Check __x86_64__ instead of
33518         __WORDSIZE.
33520         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33521         "unsigned long long int" if __x86_64__ is defined.
33522         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33524         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33525         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33526         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33528         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33529         <stdint.h>.
33530         (GET_PC): Cast to uintptr_t first.
33531         (GET_FRAME): Likewise.
33532         (GET_STACK): Likewise.
33534         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33535         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33536         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33537         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33538         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33539         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33540         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33541         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33542         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33543         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33544         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33545         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33546         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33547         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33548         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33549         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33550         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33551         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33552         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33553         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33554         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33555         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33556         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33557         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33558         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33559         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33560         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33561         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33562         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33564 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33566         * Makerules (+depfiles): Also collect depfiles from .oS in
33567         $(extra-objs).
33568         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33569         .oS, $(libnldbl-routines)).
33571         * Makerules (native-compile-mkdep-flags): Define.
33572         * sunrpc/Makefile (extra-objs): Add $(addprefix
33573         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33574         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33575         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33576         calling $(make-target-directory).
33578 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33580         * bits/types.h (__snseconds_t): Removed.
33581         * time/time.h (struct timespec): Replace __snseconds_t with
33582         __syscall_slong_t.
33583         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33584         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33585         Likewise.
33586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33587         (__SNSECONDS_T_TYPE): Likewise.
33588         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33589         (__SNSECONDS_T_TYPE): Likewise.
33590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33591         (__SNSECONDS_T_TYPE): Likewise.
33593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33595         * sysdeps/mach/hurd/bits/typesizes.h
33596         (__SYSCALL_SLONG_TYPE): New macro.
33597         (__SYSCALL_ULONG_TYPE): Likewise.
33599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33601         * bits/types.h (__syscall_slong_t): New type.
33602         (__syscall_ulong_t): Likewise.
33604         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33605         (__SYSCALL_ULONG_TYPE): Likewise.
33606         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33607         (__SYSCALL_SLONG_TYPE): Likewise.
33608         (__SYSCALL_ULONG_TYPE): Likewise.
33609         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33610         (__SYSCALL_SLONG_TYPE): Likewise.
33611         (__SYSCALL_ULONG_TYPE): Likewise.
33612         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33613         (__SYSCALL_SLONG_TYPE): Likewise.
33614         (__SYSCALL_ULONG_TYPE): Likewise.
33616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33618         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33619         Add sigaltstack-offsets.sym.
33620         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33621         <sigaltstack-offsets.h>.
33622         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33623         longjmp_msg pointer.
33624         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33625         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33626         signal stack.
33627         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33629 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33631         * elf/stackguard-macros.h: Remove file.
33632         * sysdeps/generic/stackguard-macros.h: New file.
33633         * sysdeps/i386/stackguard-macros.h: Likewise.
33634         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33635         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33636         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33637         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33638         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33639         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33640         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33641         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33642         <elf/stackguard-macros.h>.
33644         [BZ #14109]
33645         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33646         __aligned__ in attribute.
33647         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33648         (gregset_t): Likewise.
33650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33652         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33653         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33654         * sysdeps/x86_64/x32/Implies-after: New file.
33656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33658         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33659         and access return value for _dl_profile_fixup.  Use R10_LP to
33660         load frame size.
33662 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33664         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33666 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33668         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33669         * sysdeps/x86_64/x32/sysdep.h: New file.
33671 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33673         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33674         * sysdeps/x86_64/setjmp.S: Likewise.
33676 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33678         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33679         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33680         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33681         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33682         remove unused global constant.
33684 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33686         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33687         include of <not-cancel.h>.
33689 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33691         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33693 2012-05-15  Jeff Law  <law@redhat.com>
33694             Andreas Jaeger  <aj@suse.de>
33696         [BZ #13594]
33697         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33698         out from...
33699         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33700         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33701         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33702         code changing __hst_map_handle.map.
33704 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33706         * configure.in (sysnames): Look for Implies-before and Implies-after
33707         files.
33708         * configure: Regenerated.
33710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33712         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33713         8-byte data alignment with LP_SIZE alignment.
33715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33717         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33718         into R10_LP.
33720 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33722         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33726         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33727         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33728         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33729         Likewise.
33730         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33732 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33734         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33735         (stackinfo_sub_sp): Likewise.
33737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33739         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33740         RAX_LP.
33742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33744         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33745         into R*_LP.
33747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33749         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33750         sizes into R*_LP.
33752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33754         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33758         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33759         into R11_LP and load __x86_64_shared_cache_size_half into
33760         R8_LP.
33762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33764         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33765         R8_LP.
33767 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33769         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33770         logb for POWER7.
33771         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33772         logbf for POWER7.
33773         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33774         logbl for POWER7.
33775         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33776         powerpc32/power7/fpu/s_logb.c via #include.
33777         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33778         powerpc32/power7/fpu/s_logbf.c via #include.
33779         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33780         powerpc32/power7/fpu/s_logbl.c via #include.
33782 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33784         * README.libm: Remove file.
33786 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33788         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33789         count for x32.  Use R*_LP and omit operand-size suffix.
33791 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33793         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33794         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33795         * sysdeps/x86_64/x32/shlib-versions: New file.
33797 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33799         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33800         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33801         Use _dl_fatal_printf instead.
33803 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33805         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33806         set if not set by the user.  Do not allow for being unset.
33807         * sysdeps/unix/sysv/linux/configure: Regenerated.
33809 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33811         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33812         the `q' suffix from lea and replace .quad with ASM_ADDR.
33814 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33816         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33817         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33818         instead of $17.
33819         (PTR_DEMANGLE): Likewise.
33821 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33823         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33824         (LP_OP): Likewise.
33825         (ASM_ADDR): Likewise.
33826         (RAX_LP): Likewise.
33827         (RBP_LP): Likewise.
33828         (RBX_LP): Likewise.
33829         (RCX_LP): Likewise.
33830         (RDI_LP): Likewise.
33831         (RSI_LP): Likewise.
33832         (RSP_LP): Likewise.
33833         (R8_LP): Likewise.
33834         (R9_LP): Likewise.
33835         (R10_LP): Likewise.
33836         (R10_LP): Likewise.
33837         (R11_LP): Likewise.
33838         (R12_LP): Likewise.
33839         (R13_LP): Likewise.
33840         (R14_LP): Likewise.
33841         (R15_LP): Likewise.
33843 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33845         * sysdeps/x86_64/x32/dl-machine.h: New file.
33847 2012-05-14  Andreas Jaeger  <aj@suse.de>
33849         * manual/Makefile (subdir): Remove export of subdir.
33850         (all): Remove target.
33851         (.PHONY): Remove all from list.
33852         (mkinstalldirs): Remove.
33853         (.PHONY): Remove installdirs from list.
33854         ($(inst_infodir)/libc.info): Use make-target-directory.
33855         (installdirs): Remove.
33856         (subdir_%): Remove.
33857         (glibc-targets): Remove.
33858         (lib): Remove.
33859         (stubs): Remove.
33860         ($(objpfx)stubs ../po/manual.pot): Remove.
33861         ($(objpfx)stamp%): Remove.
33862         (make-target-directory): Remove.
33863         (subdir_install): Remove.
33864         (routines): Remove.
33865         (aux): Remove.
33866         (sources): Remove.
33867         (objects): Remove.
33868         (headers): Remove.
33870         [BZ #13750]
33871         * manual/.gitignore: Remove, it's not needed anymore.
33872         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33873         all files in it.
33874         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33875         directory.
33876         (texis): Renamed to $(objpfx)texis.
33877         (texis-path): New, contains path to generated files.
33878         (chapters.%): Use texis-path for complete path, add extra argument
33879         libc-texinfo.sh.
33880         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33881         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33882         (summary,texi, stamp-summary): Use complete path of
33883         files. Generate files in build dir.
33884         (dir-add.texi): Build in build dir.
33885         (libm-err.texi,stamp-libm-err): Likewise.
33886         (version.texi, stamp-version): Likewise.
33887         (.%c.texi): Likewise.
33888         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
33889         (mostlyclean): Remove target.
33890         (realclean): Remove target.
33891         (generated): Add new variable with contents from mostlyclean and
33892         realclean, remove entries duplicated in common-mostlyclean, add
33893         stamp-libm-err and stamp-version.
33894         (generated-dirs): Add libc directory.
33895         ($(inst_infodir)/libc.info): Install files from build dir.
33897         * manual/install.texi (Configuring and compiling): Adjust since
33898         the info files are not part of the tar ball anymore.
33900 2012-05-14  Andreas Jaeger  <aj@suse.de>
33902         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
33903         variable.
33905 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33907         [BZ #13717]
33908         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
33909         to 2.2.0 where earlier.
33910         * sysdeps/unix/sysv/linux/configure: Regenerated.
33911         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
33912         Remove conditional code.
33913         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
33914         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
33915         Remove conditional code.
33916         [!__NR_lchown]: Likewise.
33917         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33918         [__NR_lchown]: Likewise.
33919         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
33920         comment referencing __ASSUME_LCHOWN_SYSCALL.
33921         * sysdeps/unix/sysv/linux/i386/sigaction.c
33922         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
33923         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
33924         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
33925         Remove conditional code.
33926         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
33927         (__protocol_available): Remove #if 0 code.
33928         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
33929         conditional code.
33930         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
33931         * sysdeps/unix/sysv/linux/kernel-features.h
33932         (__ASSUME_GETCWD_SYSCALL): Don't define.
33933         (__ASSUME_REALTIME_SIGNALS): Likewise.
33934         (__ASSUME_PREAD_SYSCALL): Likewise.
33935         (__ASSUME_PWRITE_SYSCALL): Likewise.
33936         (__ASSUME_POLL_SYSCALL): Likewise.
33937         (__ASSUME_LCHOWN_SYSCALL): Likewise.
33938         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
33939         non-SPARC.
33940         (__ASSUME_SIOCGIFNAME): Don't define.
33941         (__ASSUME_MSG_NOSIGNAL): Likewise.
33942         (__ASSUME_SENDFILE): Define unconditionally.
33943         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
33944         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
33945         conditional code.
33946         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
33947         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
33948         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33949         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33950         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
33951         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
33952         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
33953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
33954         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33955         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33957         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33958         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
33960         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33961         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33963         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33964         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
33966         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33967         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33969         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
33970         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
33972         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33973         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33975         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
33976         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33977         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
33978         Remove conditional code.
33979         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33980         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33981         Remove conditional code.
33982         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33983         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
33984         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
33985         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33986         Remove conditional code.
33987         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33988         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
33989         Remove conditional code.
33990         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
33991         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
33992         Remove conditional code.
33993         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33994         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
33995         Remove conditional code.
33996         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
33997         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
33998         Remove conditional code.
33999         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34000         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34001         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34002         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34003         * sysdeps/unix/sysv/linux/sigaction.c
34004         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34005         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34006         * sysdeps/unix/sysv/linux/sigpending.c
34007         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34008         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34009         * sysdeps/unix/sysv/linux/sigprocmask.c
34010         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34011         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34012         * sysdeps/unix/sysv/linux/sigsuspend.c
34013         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34014         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34015         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34016         (__libc_missing_rt_sigs): Remove.
34017         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34018         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34019         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34020         Remove conditional code.
34021         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34022         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34023         return 1.
34024         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34025         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34026         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34027         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34029 2012-05-14  Andreas Jaeger  <aj@suse.de>
34031         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34032         it's not used in glibc.
34033         (__coshm1): Likewise.
34034         (__acosh1p): Likewise.
34035         (__sgn): Likewise.
34037         * manual/string.texi (Copying and Concatenation): Add missing
34038         variable in concat example.
34039         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34043         [BZ #14103]
34044         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34045         __builtin_clzl with __builtin_clzll.
34047 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34049         [BZ #14104]
34050         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34051         libc_freeres_ptr.
34053 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34055         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34056         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34057         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34058         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34060 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34062         * NEWS: Update ia64 info.
34064 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34066         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34067         used as bcopy.
34069 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34071         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34072         * sysdeps/unix/syscalls.list (dup3): Likewise.
34073         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34074         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34076 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34078         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34079         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34081 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34083         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34084         thread pointer.
34085         (TLS_IE): Use mov/add instead of movq/addq to load thread
34086         pointer.
34087         (TLS_GD_PREFIX): New.
34088         (TLS_GD): Use it.
34090 2012-05-11  David S. Miller  <davem@davemloft.net>
34092         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34093         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34094         (_FPU_SETCW): Likewise.
34096 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34098         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34099         is 32-byte aligned.
34101 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34103         [BZ #11837]
34104         * iconvdata/gb18030.c: Update tables.
34105         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34106         characters specially.
34107         (BODY for TO_LOOP): Add encoding of missing ranges.
34109 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34111         [BZ #13673]
34112         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34113         * sysdeps/mach/hurd/dup3.c: Likewise.
34114         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34115         * sysdeps/powerpc/memmove.c:: Likewise.
34117 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34119         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34120         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34122 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34124         * elf/elf.h (R_X86_64_RELATIVE64): New.
34125         (R_X86_64_NUM): Updated.
34126         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34127         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34128         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34129         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34130         tst-quad1pie tst-quad2pie
34131         (modules-names): Add tst-quadmod1 tst-quadmod2.
34132         ($(objpfx)tst-quad1): New dependency.
34133         ($(objpfx)tst-quad2): Likewise.
34134         ($(objpfx)tst-quad1pie): Likewise.
34135         ($(objpfx)tst-quad2pie): Likewise.
34136         * sysdeps/x86_64/tst-quad1.c: New file.
34137         * sysdeps/x86_64/tst-quad1pie.c: New file.
34138         * sysdeps/x86_64/tst-quad2.c: Likewise.
34139         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34140         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34141         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34142         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34143         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34147         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34148         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34149         * streams/stropts.h (t_scalar_t): Define type.
34151         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34152         (_PATH_PRESERVE): Set to "/var/lib".
34153         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34155         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34156         instead of int.
34158         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34159         if __dir_mkfile succeeded.
34161         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34162         checking for _hurd_dtablesize.  Unlock it right after having
34163         finished _hurd_dtable allocation.
34165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34167         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34168         * sysdeps/mach/hurd/configure: Regenerated.
34169         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34170         special-casing to...
34171         * sysdeps/gnu/configure.in: ... this new file.
34172         * sysdeps/unix/sysv/linux/configure: Regenerated.
34173         * sysdeps/gnu/configure: New generated file.
34175         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34176         for Linux: use nsec instead of usec, as well as:
34177         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34178         members of type struct timespec.
34179         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34180         New macros.
34181         (struct stat64): Likewise.
34182         (_STATBUF_ST_NSEC): New macro.
34183         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34185         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34186         __strtoul_internal rather than strtoul.
34188 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34190         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34191         and reject them.
34193 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34195         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34196         which preserves existing values.
34197         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34199 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34201         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34202         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34203         greater than FD_SETSIZE.
34205 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34207         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34208         allocated, call __vm_protect to finish enabling the existing space, and
34209         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34210         allocate the remainder.
34212 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34214         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34215         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34219         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34220         sysdeps/mach/hurd/readlink.c.
34222         * posix/tst-sysconf.c (posix_options): Only use
34223         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34224         _POSIX_SYNCHRONIZED_IO when they are defined
34225         * sysdeps/mach/hurd/bits/posix_opt.h:
34226         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34227         (_XOPEN_REALTIME): Undefine macro.
34228         (_XOPEN_REALTIME_THREADS): Undefine macro.
34229         (_XOPEN_SHM): Undefine macro.
34230         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34231         macro to -1.
34232         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34233         macro to -1.
34234         (_POSIX_ASYNC_IO): Undefine macro.
34235         (_POSIX_PRIORITIZED_IO): Undefine macro.
34236         (_POSIX_SPIN_LOCKS): Define macro to -1.
34238         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34239         SA_NODEFER, SA_RESETHAND.
34240         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34241         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34242         F_DUPFD_CLOEXEC.
34244 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34246         * elf/Makefile (pldd-modules): Define unconditionally.
34248 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34250         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34254         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34255         Return ENOENT when name is empty.
34256         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34258 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34260         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34262         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34264 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34266         Fix mlock in all cases except non-readable pages.
34267         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34268         instead of VM_PROT_ALL as parameter to __vm_wire function.
34270         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34271         (__mkdir): When path is `/', just fail with EEXIST.
34272         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34276         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34277         <sys/uio.h> (for writev).
34278         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34279         and <sys/param.h> (for MIN).
34281 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34283         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34284         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34285         if interrupted.
34287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34289         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34290         Depend on against $(link-rpcuserlibs).
34292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34294         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34295         (__libc_stack_end): Do not use attribute_relro.
34296         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34297         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34298         to libthread-provided value.
34299         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34300         attribute_relro.
34302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34304         [BZ #3748]
34305         * bits/libc-lock.h (__libc_once_get): New macro.
34306         * sysdeps/mach/bits/libc-lock.h: Likewise.
34307         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34308         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34309         instead of using implementation details.
34311         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34312         * libio/freopen.c: Likewise.
34313         * libio/freopen64.c: Likewise.
34314         * misc/syslog.c: Likewise.
34315         * nscd/connections.c: Likewise.
34316         * nscd/netgroupcache.c: Likewise.
34317         * sysdeps/posix/getcwd.c: Likewise.
34319 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34321         * math/w_ilogbf.c: Add #include <limits.h>.
34323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34325         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34326         path instead of returning without unlocking.
34328         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34329         immediate-write ioctls.
34330         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34334         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34335         __builtin_frame_address instead of making assumptions about the
34336         location of the return address relative to DATA.  Force early load of
34337         the return address.
34338         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34339         __builtin_frame_address.
34341         dup3 for GNU Hurd.
34342         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34343         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34344         implement dup3 and do some further code clean-ups.
34345         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34346         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34348 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34350         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34352         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34353         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34354         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34355         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34356         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34357         d->port.lock.
34359         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34360         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34361         when handler == SIG_ERR, not when handler != SIG_ERR.
34363 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34365         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34366         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34367         definitions.
34369         accept4 for GNU Hurd.
34370         * include/sys/socket.h (__libc_accept4): New prototype.
34371         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34372         to implement __libc_accept4.
34373         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34374         __libc_accept4.
34375         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34377         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34378         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34379         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34380         signal-defines.sym.
34382 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34384         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34388         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34389         assertion on O_CLOEXEC flag.
34390         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34391         * hurd/intern-fd.c: Likewise.
34392         * hurd/port2fd.c: Likewise.
34394 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34396         [BZ #3906]
34397         * bits/in.h (IPV6_PKTINFO): Define new macro.
34398         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34400 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34402         [BZ #13954]
34403         [BZ #13955]
34404         [BZ #13956]
34405         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34406         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34407         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34408         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34410         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34411         * math/libm-test.inc (logb_test) : Additional logb tests.
34413 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34414             Andreas Jaeger  <aj@suse.de>
34416         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34417         * configure: Regenerated.
34418         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34419         * config.make.in (link-obsolete-rpc): New substituted variable.
34420         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34421         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34422         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34423         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34424         so that libc.a contains the symbols.
34425         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34426         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34427         * sunrpc/auth_none.c: Likewise.
34428         * sunrpc/auth_unix.c: Likewise.
34429         * sunrpc/authdes_prot.c: Likewise.
34430         * sunrpc/authuxprot.c: Likewise.
34431         * sunrpc/clnt_gen.c: Likewise.
34432         * sunrpc/clnt_perr.c: Likewise.
34433         * sunrpc/clnt_raw.c: Likewise.
34434         * sunrpc/clnt_simp.c: Likewise.
34435         * sunrpc/clnt_tcp.c: Likewise.
34436         * sunrpc/clnt_udp.c: Likewise.
34437         * sunrpc/clnt_unix.c: Likewise.
34438         * sunrpc/des_crypt.c: Likewise.
34439         * sunrpc/des_soft.c: Likewise.
34440         * sunrpc/get_myaddr.c: Likewise.
34441         * sunrpc/key_call.c: Likewise.
34442         * sunrpc/key_prot.c: Likewise.
34443         * sunrpc/netname.c: Likewise.
34444         * sunrpc/pm_getmaps.c: Likewise.
34445         * sunrpc/pm_getport.c: Likewise.
34446         * sunrpc/pmap_clnt.c: Likewise.
34447         * sunrpc/pmap_prot.c: Likewise.
34448         * sunrpc/pmap_prot2.c: Likewise.
34449         * sunrpc/pmap_rmt.c: Likewise.
34450         * sunrpc/publickey.c: Likewise.
34451         * sunrpc/rpc_cmsg.c: Likewise.
34452         * sunrpc/rpc_common.c: Likewise.
34453         * sunrpc/rpc_dtable.c: Likewise.
34454         * sunrpc/rpc_prot.c: Likewise.
34455         * sunrpc/rpc_thread.c: Likewise.
34456         * sunrpc/rtime.c: Likewise.
34457         * sunrpc/svc.c: Likewise.
34458         * sunrpc/svc_auth.c: Likewise.
34459         * sunrpc/svc_raw.c: Likewise.
34460         * sunrpc/svc_run.c: Likewise.
34461         * sunrpc/svc_tcp.c: Likewise.
34462         * sunrpc/svc_udp.c: Likewise.
34463         * sunrpc/svc_unix.c: Likewise.
34464         * sunrpc/svcauth_des.c: Likewise.
34465         * sunrpc/xcrypt.c: Likewise.
34466         * sunrpc/xdr.c: Likewise.
34467         * sunrpc/xdr_array.c: Likewise.
34468         * sunrpc/xdr_float.c: Likewise.
34469         * sunrpc/xdr_intXX_t.c: Likewise.
34470         * sunrpc/xdr_mem.c: Likewise.
34471         * sunrpc/xdr_rec.c: Likewise.
34472         * sunrpc/xdr_ref.c: Likewise.
34473         * sunrpc/xdr_sizeof.c: Likewise.
34474         * sunrpc/xdr_stdio.c: Likewise.
34476 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34478         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34479         change.  Update copyright years.
34481 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34483         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34485 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34486             Joseph Myers  <joseph@codesourcery.com>
34487             Paul Pluzhnikov  <ppluzhnikov@google.com>
34489         [BZ #14012]
34490         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34491         requiring rpcgen.
34492         [cross-compiling] (extra-libs): Likewise.
34493         [cross-compiling] (extra-libs-others): Likewise.
34494         [cross-compiling] (librpcsvc-routines): Likewise.
34495         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34496         [cross-compiling] (omit-deps): Likewise.
34497         (sunrpc-CPPFLAGS): New variable.
34498         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34499         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34500         (cross-rpcgen-objs): New variable.
34501         (extra-objs): Append $(cross-rpcgen-objs).
34502         ($(cross-rpcgen-objs)): New rule.
34503         ($(objpfx)cross-rpcgen): Likewise.
34504         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34505         comment.
34506         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34507         ($(objpfx)x%.stmp): Likewise.
34508         * sunrpc/proto.h [IS_IN_build] (_): Define.
34509         [IS_IN_build] (_libc_intl_domainname): Likewise.
34511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34514         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34515         and R_X86_64_TPOFF64.
34517 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34519         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34520         sysdeps/unix/sysv/syscalls.list.
34521         (stime): Likewise.
34522         (utime): Likewise.
34523         * sysdeps/unix/sysv/syscalls.list: Remove file.
34525 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34527         [BZ #3440]
34528         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34529         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34530         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34531         (__LC_IDENTIFICATION): Make these macros useful in #if
34532         expressions, as required by C99.
34534 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34536         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34537         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34538         after this.
34540 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34542         * stdlib/longlong.h: Updated from GCC.
34544 2012-05-09  Andreas Jaeger  <aj@suse.de>
34546         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34547         default is first entry.
34548         (run_mode): Set type.
34549         (main): Remove informal message about syslog.
34550         (options): Fix typo.
34552         [BZ #14053]
34553         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34554         to asm.
34555         (lrint): Likewise.
34556         (llrintf): Likewise.
34557         (llrint): Likewise.
34558         (rint): Likewise.
34559         (rintf): Likewise.
34560         (nearbyint): Likewise.
34561         (nearbyintf): Likewise.
34563 2012-05-09  Andreas Jaeger  <aj@suse.de>
34564             Pedro Alves  <palves@redhat.com>
34566         * nscd/nscd.c (run_mode): Use enum.
34567         (main): Cleanup coding style issue.
34569 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34570             Andreas Jaeger  <aj@suse.de>
34572         * nscd/nscd.c (go_background): Replaced with...
34573         (run_mode): ... this.
34574         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34575         (options): Add -F --foreground.
34576         (main): Implement it.
34577         (parse_opt): Parse it.
34579 2012-05-09  Andreas Jaeger  <aj@suse.de>
34581         [BZ #14083]
34582         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34583         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34584         -Wconversion warning.
34585         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34586         Likewise.
34588 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34590         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34591         == 0.
34592         (LC_ALL): Use macro-int-constant.
34593         (LC_COLLATE): Likewise.
34594         (LC_CTYPE): Likewise.
34595         (LC_MESSAGES): Likewise.
34596         (LC_MONETARY): Likewise.
34597         (LC_NUMERIC): Likewise.
34598         (LC_TIME): Likewise.
34599         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34600         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34602         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34603         Specify type.
34604         [C99-based standards] (float_t): Expect type.
34605         [C99-based standards] (double_t): Expect type.
34606         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34607         type.
34608         [C99-based standards] (HUGE_VALL): Likewise.
34609         [C99-based standards] (INFINITY): Likewise.
34610         [C99-based standards] (NAN): Likewise.
34611         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34612         [C99-based standards] (FP_NAN): Likewise.
34613         [C99-based standards] (FP_NORMAL): Likewise.
34614         [C99-based standards] (FP_SUBNORMAL): Likewise.
34615         [C99-based standards] (FP_ZERO): Likewise.
34616         [C99-based standards] (FP_FAST_FMA): Use
34617         optional-macro-int-constant.  Specify type.  Require == 1.
34618         [C99-based standards] (FP_FAST_FMAF): Likewise.
34619         [C99-based standards] (FP_FAST_FMAL): Likewise.
34620         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34621         [C99-based standards] (FP_ILOGBNAN): Likewise.
34622         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34623         Specify type.
34624         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34625         [C99-based standards] (math_errhandling): Specify type.
34626         [ISO99 || ISO11] (signgam): Do not allow.
34627         [non-C99-based standards] (copysignf): Do not allow.
34628         [non-C99-based standards] (exp2f): Likewise.
34629         [non-C99-based standards] (log2f): Likewise.
34630         [non-C99-based standards] (modff): Allow.
34631         [non-C99-based standards] (erff): Do not allow.
34632         [non-C99-based standards] (erfcf): Likewise.
34633         [non-C99-based standards] (gammaf): Likewise.
34634         [non-C99-based standards] (hypotf): Likewise.
34635         [non-C99-based standards] (j0f): Likewise.
34636         [non-C99-based standards] (j1f): Likewise.
34637         [non-C99-based standards] (jnf): Likewise.
34638         [non-C99-based standards] (lgammaf): Likewise.
34639         [non-C99-based standards] (tgammaf): Likewise.
34640         [non-C99-based standards] (y0f): Likewise.
34641         [non-C99-based standards] (y1f): Likewise.
34642         [non-C99-based standards] (ynf): Likewise.
34643         [non-C99-based standards] (isnanf): Likewise.
34644         [non-C99-based standards] (acoshf): Likewise.
34645         [non-C99-based standards] (asinhf): Likewise.
34646         [non-C99-based standards] (atanhf): Likewise.
34647         [non-C99-based standards] (cbrtf): Likewise.
34648         [non-C99-based standards] (expm1f): Likewise.
34649         [non-C99-based standards] (ilogbf): Likewise.
34650         [non-C99-based standards] (log1pf): Likewise.
34651         [non-C99-based standards] (logbf): Likewise.
34652         [non-C99-based standards] (nextafterf): Likewise.
34653         [non-C99-based standards] (remainderf): Likewise.
34654         [non-C99-based standards] (rintf): Likewise.
34655         [non-C99-based standards] (scalbf): Likewise.
34656         [non-C99-based standards] (copysignl): Likewise.
34657         [non-C99-based standards] (exp2l): Likewise.
34658         [non-C99-based standards] (log2l): Likewise.
34659         [non-C99-based standards] (modfl): Allow.
34660         [non-C99-based standards] (erfl): Do not allow.
34661         [non-C99-based standards] (erfcl): Likewise.
34662         [non-C99-based standards] (gammal): Likewise.
34663         [non-C99-based standards] (hypotl): Likewise.
34664         [non-C99-based standards] (j0l): Likewise.
34665         [non-C99-based standards] (j1l): Likewise.
34666         [non-C99-based standards] (jnl): Likewise.
34667         [non-C99-based standards] (lgammal): Likewise.
34668         [non-C99-based standards] (tgammal): Likewise.
34669         [non-C99-based standards] (y0l): Likewise.
34670         [non-C99-based standards] (y1l): Likewise.
34671         [non-C99-based standards] (ynl): Likewise.
34672         [non-C99-based standards] (isnanl): Likewise.
34673         [non-C99-based standards] (acoshl): Likewise.
34674         [non-C99-based standards] (asinhl): Likewise.
34675         [non-C99-based standards] (atanhl): Likewise.
34676         [non-C99-based standards] (cbrtl): Likewise.
34677         [non-C99-based standards] (expm1l): Likewise.
34678         [non-C99-based standards] (ilogbl): Likewise.
34679         [non-C99-based standards] (log1pl): Likewise.
34680         [non-C99-based standards] (logbl): Likewise.
34681         [non-C99-based standards] (nextafterl): Likewise.
34682         [non-C99-based standards] (remainderl): Likewise.
34683         [non-C99-based standards] (rintl): Likewise.
34684         [non-C99-based standards] (scalbl): Likewise.
34685         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34686         [non-C99-based standards] (FP_*): Do not allow.
34687         [C99-based standards] (FP_*): Change to
34688         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34689         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34690         allow.
34691         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34692         (SIG_ERR): Likewise.
34693         [X/Open-based standards] (SIG_HOLD): Likewise.
34694         (SIG_IGN): Likewise.
34695         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34696         positive value.
34697         (SIGFPE): Likewise.
34698         (SIGILL): Likewise.
34699         (SIGINT): Likewise.
34700         (SIGSEGV): Likewise.
34701         (SIGTER): Likewise.
34702         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34703         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34704         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34705         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34706         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34707         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34708         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34709         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34710         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34711         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34712         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34713         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34714         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34715         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34716         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34717         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34718         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34719         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34720         [X/Open-based standards] (SIGTRAP): Likewise.
34721         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34722         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34723         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34724         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34725         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34726         allow.
34728 2012-05-08  Ian Wienand  <ianw@vmware.com>
34730         [BZ #14080]
34731         * time/tzset.c (__tzset_parse_tz): Update default rules for
34732         daylight time changes in the Energy Policy Act of 2005.
34734 2012-05-09  Andreas Jaeger  <aj@suse.de>
34736         [BZ #13983]
34737         * elf/ldconfig.c (parse_conf): Change string to make clear that
34738         ldconfig only issued a warning if ld.so.conf does not exist.
34740 2012-05-08  David S. Miller  <davem@davemloft.net>
34742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34743         movxtod instead of popping the value on the stack.
34745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34747 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34749         * config.h.in: Add HAVE_ARM_PCS_VFP.
34751 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34753         [BZ #13979]
34754         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34755         checking but the checks are disabled for any reason.
34757 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34759         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34760         and ELF64_R_TYPE with ELFW(R_TYPE).
34762 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34764         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34765         (ulimit): Likewise.
34767         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34768         (settimeofday): Likewise.
34770 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34772         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34773         a struct th_u2 inside the union, and move tu_block/tu_code into
34774         a new th_u3 union of tu_block/tu_code inside of that.  Move
34775         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34776         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34777         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34778         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34779         (th_stuff): Change to th_u1.tu_stuff.
34780         (th_data): Define.
34781         (th_msg): Change to th_u1.th_u2.tu_data.
34783 2012-05-07  David S. Miller  <davem@davemloft.net>
34785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34787         [BZ #14074]
34788         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34789         (SETUP_PIC_REG): Use it.
34790         (SETUP_PIC_REG_LEAF): Use it.
34792 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34794         [BZ #13885]
34795         [BZ #13923]
34796         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34797         USE_AS_EXPM1L.
34798         (EXPL_FINITE): Likewise.
34799         (FLDLOG): Likewise.
34800         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34801         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34802         e_expl.S.
34803         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34804         USE_AS_EXPM1L.
34805         (EXPL_FINITE): Likewise.
34806         (FLDLOG): Likewise.
34807         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34808         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34809         e_expl.S.
34810         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34811         test of -max_value argument for long double.
34812         * sysdeps/i386/fpu/libm-test-ulps: Update.
34813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34815 2012-05-06  David S. Miller  <davem@davemloft.net>
34817         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34818         quad soft-float symbols whose references which are compiler
34819         generated.
34820         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34822 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34824         [BZ #13884]
34825         [BZ #13914]
34826         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34827         USE_AS_EXP10L.
34828         (EXPL_FINITE): Likewise.
34829         (FLDLOG): Likewise.
34830         (c0): Likewise.
34831         (c1): Likewise.
34832         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34833         Adjust comments for base varying.
34834         (__expl_finite): Change alias to EXPL_FINITE.
34835         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34836         e_expl.S.
34837         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34838         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34839         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34840         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34841         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34842         USE_AS_EXP10L.
34843         (EXPL_FINITE): Likewise.
34844         (FLDLOG): Likewise.
34845         (c0): Likewise.
34846         (c1): Likewise.
34847         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34848         Adjust comments for base varying.
34849         (__expl_finite): Change alias to EXPL_FINITE.
34850         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34851         tests for bugs.
34852         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34854         [BZ #14064]
34855         * math/libm-test.inc (check_float_internal): Correct ulp
34856         calculation for subnormal expected results.
34858 2012-05-06  Andreas Jaeger  <aj@suse.de>
34860         * Makeconfig (+math-flags): New, set to -frounding-math.
34861         (+cflags): Add +math-flags so that all of glibc gets compiled with
34862         it.
34864         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34866 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34868         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34869         Disable one test.
34871         [BZ #13787]
34872         [BZ #13922]
34873         [BZ #14036]
34874         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34875         (__ieee754_expl): Allow for and saturate large arguments.
34876         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34877         (u_threshold): Likewise.
34878         (__exp): Call __ieee754_exp before checking for overflow and
34879         underflow.
34880         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34881         (u_threshold): Likewise.
34882         (__expf): Call __ieee754_expf before checking for overflow and
34883         underflow.
34884         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34885         (u_threshold): Likewise.
34886         (__expl): Call __ieee754_expl before checking for overflow and
34887         underflow.
34888         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
34889         (__ieee754_expl): Allow for and saturate large arguments.
34890         * math/libm-test.inc (exp_test): Add another test.  Do not allow
34891         missing overflow exception on overflow.
34892         (expm1_test): Do not allow missing overflow exception on overflow.
34894         * sysdeps/i386/fpu/e_expl.c: Move to ...
34895         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
34896         rather than using inline asm.
34897         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
34898         * sysdeps/x86_64/fpu/e_expl.S: Copy from
34899         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
34901         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
34902         (nice): Likewise.
34903         (poll): Likewise.
34904         (signal): Likewise.
34905         (time): Likewise.
34906         (times): Likewise.
34908 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34910         * sysdeps/unix/syscalls.list (adjtime): Add entry from
34911         sysdeps/unix/common/syscalls.list.
34912         (fchmod): Likewise.
34913         (fchown): Likewise.
34914         (ftruncate): Likewise.
34915         (getrusage): Likewise.
34916         (gettimeofday): Likewise.
34917         (setpgid): Likewise.
34918         (setregid): Likewise.
34919         (setreuid): Likewise.
34920         (sigaction): Likewise.
34921         (truncate): Likewise.
34922         (vhangup): Likewise.
34923         * sysdeps/unix/common/syscalls.list: Remove file.
34924         * sysdeps/unix/bsd/Implies: Don't include unix/common.
34925         * sysdeps/unix/sysv/linux/Implies: Likewise.
34927 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
34929         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
34930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
34931         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
34932         Moved to ...
34933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34934         Here.
34935         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
34936         to ...
34937         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
34938         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
34939         to ...
34940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
34941         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
34942         to ...
34943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
34944         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
34945         to ...
34946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
34947         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
34948         to ...
34949         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
34950         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
34951         to ...
34952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
34953         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
34954         to ...
34955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
34956         Here.
34957         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
34958         to ...
34959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
34960         Here.
34961         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
34962         to ...
34963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
34964         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
34965         Moved to ...
34966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
34967         Here.
34968         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
34969         to ...
34970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
34972 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
34974         * sysdeps/unix/common/bits/dirent.h: Remove file.
34975         * sysdeps/unix/common/bits/fcntl.h: Likewise.
34977         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
34978         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
34979         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
34980         * sysdeps/unix/bsd/isatty.c: Likewise.
34981         * sysdeps/unix/bsd/tcdrain.c: Likewise.
34982         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
34983         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
34985 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34987         [BZ #13563]
34988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
34989         long double comparison inaccuracies.
34990         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
34991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34993 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
34995         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
34996         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
34998 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35000         [BZ #14049]
35001         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35002         nonzero digits before rounding a hex value.
35003         * stdlib/tst-strtod.c (tests): Add another test.
35005 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35007         * sysdeps/s390/fpu/libm-test-ulps: Update.
35009 2012-05-03  Andreas Jaeger  <aj@suse.de>
35011         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35012         does not get optimized out.
35013         (malloc_opt_barrier): New.
35015 2012-05-03  Andreas Jaeger  <aj@suse.de>
35016             Roland McGrath  <roland@hack.frob.com>
35018         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35019         intermediate file deletion.
35020         (generated): Add .symlist files.
35022 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35024         [BZ #13775]
35025         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35026         Redirect under this condition.
35027         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35028         [__USE_GNU] (__dprintf_chk): Not under this condition.
35029         [__USE_GNU] (__vdprintf_chk): Likewise.
35030         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35031         under this condition.
35032         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35033         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35034         [__USE_XOPEN2K8] (vdprintf): Likewise.
35035         [__USE_GNU] (__dprintf_chk): Not under this condition.
35036         [__USE_GNU] (__vdprintf_chk): Likewise.
35037         [__USE_GNU] (dprintf): Likewise.
35038         [__USE_GNU] (vdprintf): Likewise.
35040 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35042         * elf/Makefile (common-generated): Set this instead of generated for
35043         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35044         $(all-built-dso)-derived lists.
35046 2012-05-03  Andreas Jaeger  <aj@suse.de>
35048         * sysdeps/i386/fpu/libm-test-ulps: Update.
35050         * FAQ: Removed.
35051         * FAQ.in: Likewise.
35052         * scripts/gen-FAQ.pl: Likewise.
35053         * manual/install.texi (Installation): Point to online location of
35054         FAQ.
35055         * Makefile (files-for-dist): Remove FAQ.
35056         (FAQ): Remove.
35058 2012-05-02  Allan McRae  <allan@archlinux.org>
35060         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35061         (LDFLAGS-reldepmod5.so): Likewise.
35062         (LDFLAGS-reldep6mod1.so): Likewise.
35063         (LDFLAGS-reldep6mod4.so): Likewise.
35064         (LDFLAGS-reldep8mod3.so): Likewise.
35065         (LDFLAGS-unload4mod1.so): Likewise.
35066         (LDFLAGS-unload4mod2.so): Likewise.
35067         (LDFLAGS-tst-initorder): Likewise.
35068         (LDFLAGS-tst-initordera2.so): Likewise.
35069         (LDFLAGS-tst-initordera3.so): Likewise.
35070         (LDFLAGS-tst-initordera4.so): Likewise.
35071         (LDFLAGS-tst-initorderb2.so): Likewise.
35072         (LDFLAGS-noload): Likewise.
35073         (LDFLAGS-next): Likewise.
35074         (LDFLAGS-order2mod1.so): Likewise.
35075         (LDFLAGS-order2mod2.so): Likewise.
35076         (LDFLAGS-tst-initorder2): Likewise.
35077         (LDFLAGS-tst-initorder2a.so): Likewise.
35078         (LDFLAGS-tst-initorder2b.so): Likewise.
35079         (LDFLAGS-tst-initorder2c.so): Likewise.
35080         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35082 2012-05-02  David S. Miller  <davem@davemloft.net>
35084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35086 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35088         [BZ #14055]
35089         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35091 2012-05-02  Andreas Jaeger  <aj@suse.de>
35093         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35094         since we manipulate rounding mode.
35095         (CPPFLAGS-test-idouble.c): Likewise.
35096         (CPPFLAGS-test-ifloat.c): Likewise.
35097         (CFLAGS-test-ldouble.c): Likewise.
35098         (CFLAGS-test-double.c): Likewise.
35099         (CFLAGS-test-float.c): Likewise.
35100         (CFLAGS-test-misc.c): Likewise.
35101         (CFLAGS-test-test-fenv.c): Likewise.
35103 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35105         [BZ #2550]
35106         [BZ #2570]
35107         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35108         comparisons to determine direction to adjust input.
35110 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35112         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35113         output to the target.
35115         * scripts/localplt.awk: New file.
35116         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35117         (check-localplt-CFLAGS): Variable removed.
35118         ($(all-built-dso:=.jmprel)): New static pattern rule.
35119         (generated): Add those targets.
35120         (localplt-built-dso): New variable.
35121         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35123         * elf/check-localplt.c: File removed.
35125         * scripts/check-execstack.awk: New file.
35126         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35127         (check-execstack-CFLAGS): Variable removed.
35128         ($(objpfx)check-execstack.h): Target removed.
35129         ($(objpfx)execstack-default): New target.
35130         (generated): Add that instead of check-execstack.h.
35131         ($(all-built-dso:=.phdr)): New static pattern rule.
35132         (generated): Add those targets.
35133         * elf/check-execstack.c: File removed.
35135         * scripts/check-textrel.awk: New file.
35136         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35137         (check-textrel-CFLAGS): Variable removed.
35138         (all-built-dso): Use := to define.o
35139         ($(all-built-dso:=.dyn)): New static pattern rule.
35140         (generated): Add those targets.
35141         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35142         * config.make.in (READELF): New substituted variable.
35143         * elf/check-textrel.c: File removed.
35145 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35147         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35148         allow.
35149         * conform/data/ctype.h-data [C99-based standards] (isblank):
35150         Expect function.
35151         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35152         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35154         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35155         Specify type.  Require positive value.
35156         (EILSEQ): Likewise.
35157         (ERANGE): Likewise.
35158         [ISO || POSIX] (EILSEQ): Do not expect.
35159         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35160         Specify type.  Require positive value.
35161         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35162         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35163         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35164         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35165         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35166         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35167         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35168         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35169         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35170         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35171         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35172         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35173         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35174         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35175         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35176         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35177         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35178         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35179         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35180         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35181         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35182         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35183         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35184         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35185         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35186         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35187         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35188         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35189         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35190         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35191         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35192         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35193         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35194         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35195         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35196         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35197         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35198         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35199         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35200         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35201         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35202         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35203         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35204         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35205         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35206         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35207         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35208         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35209         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35210         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35211         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35212         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35213         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35214         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35215         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35216         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35217         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35218         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35219         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35220         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35221         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35222         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35223         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35224         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35225         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35226         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35227         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35228         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35229         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35230         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35231         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35232         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35233         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35234         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35235         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35236         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35237         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35238         Require >= 2.
35239         (FLT_ROUNDS): Expect as macro, not constant.
35240         (FLT_MANT_DIG): Use macro-int-constant.
35241         (DBL_MANT_DIG): Likewise.
35242         (LDBL_MANT_DIG): Likewise.
35243         (FLT_DIG): Likewise.
35244         (DBL_DIG): Likewise.
35245         (LDBL_DIG): Likewise.
35246         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35247         (DBL_MIN_EXP): Likewise.
35248         (LDBL_MIN_EXP): Likewise.
35249         (FLT_MAX_EXP): Use macro-int-constant.
35250         (DBL_MAX_EXP): Likewise.
35251         (LDBL_MAX_EXP): Likewise.
35252         (FLT_MAX_10_EXP): Likewise.
35253         (DBL_MAX_10_EXP): Likewise.
35254         (LDBL_MAX_10_EXP): Likewise.
35255         (FLT_MAX): Use macro-constant.
35256         (DBL_MAX): Likewise.
35257         (LDBL_MAX): Likewise.
35258         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35259         (DBL_EPSILON): Likewise.
35260         (LDBL_EPSILON): Likewise.
35261         (FLT_MIN): Likewise.
35262         (DBL_MIN): Likewise.
35263         (LDBL_MIN): Likewise.
35264         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35265         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35266         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35267         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35268         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35269         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35270         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35271         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35272         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35273         [ISO11] (FLT_TRUE_MIN): Likewise.
35274         [ISO11] (LDBL_TRUE_MIN): Likewise.
35275         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35276         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35277         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35278         (SCHAR_MAX): Likewise.
35279         (UCHAR_MAX): Likewise.
35280         (CHAR_MIN): Likewise.
35281         (CHAR_MAX): Likewise.
35282         (MB_LEN_MAX): Use macro-int-constant.
35283         (SHRT_MIN): Use macro-int-constant.  Specify type.
35284         (SHRT_MAX): Likewise.
35285         (USHRT_MAX): Likewise.
35286         (INT_MAX): Likewise.
35287         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35288         bound negative.
35289         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35290         bound with "U".
35291         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35292         bound with "L".
35293         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35294         bound negative.  Suffix upper bound with "L".
35295         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35296         bound with "UL".
35297         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35298         Specify type.
35299         [C99-based standards] (LLONG_MAX): Likewise.
35300         [C99-based standards] (ULLONG_MAX): Likewise.
35301         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35302         == 0.
35303         [ISO11] (max_align_t): Require type.
35304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35306         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35307         from $CFLAGS, without defining away __attribute__ calls.
35308         (checknamespace): Use $CFLAGS_namespace.
35310         * conform/conformtest.pl (@keywords): Only include C99 keywords
35311         for standards based on C99 or C11.
35313         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35314         Disable tests.
35315         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35316         UNIX98]: Likewise.
35318         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35319         usability of symbols in #if.
35321         * conform/conformtest.pl: If macro or constant types start
35322         "promoted:", expect the symbol to be of the following type
35323         promoted by the integer promotions.
35325         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35326         in one place.  Also handle "macro-constant".
35328         * conform/conformtest.pl: Only accept expected macro values with
35329         "==".  Parse all "macro" lines in one place.
35330         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35332         * conform/conformtest.pl: Handle braced types on "constant" lines
35333         instead of handling "typed-constant".
35334         * conform/data/signal.h-data: Use "constant" instead of
35335         "typed-constant".
35337         * conform/conformtest.pl: Handle "optional-" at start of lines in
35338         one place rather than duplicating several cases.  Handle each
35339         format of "macro" line with initial "optional-".
35341         * conform/conformtest.pl: Only accept expected constant or
35342         optional-constant values with "==".  Parse all "constant" lines in
35343         one place.  Parse all "optional-constant" lines in one place.
35344         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35345         * conform/data/fmtmsg.h-data: Likewise.
35346         * conform/data/netinet/in.h-data: Likewise.
35347         * conform/data/tar.h-data: Likewise.
35348         * conform/data/limits.h-data: Use "==" form on "constant" and
35349         "optional-constant" lines.
35351         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35352         Use -std=c99 for XOPEN2K.
35353         (@knownproblems): Remove.
35354         (newtoken): Don't check %isknown.
35356         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35357         Do not expect macro.
35358         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35359         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35360         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35361         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35362         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35363         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35364         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35365         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35366         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35367         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35368         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35369         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35370         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35371         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35372         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35373         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35374         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35375         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35376         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35377         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35378         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35379         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35380         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35381         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35382         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35383         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35384         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35385         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35386         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35387         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35388         [XPG3] (acosh): Likewise.
35389         [XPG3] (asinh): Likewise.
35390         [XPG3] (atanh): Likewise.
35391         [XPG3] (cbrt): Likewise.
35392         [XPG3] (expm1): Likewise.
35393         [XPG3] (ilogb): Likewise.
35394         [XPG3] (log1p): Likewise.
35395         [XPG3] (logb): Likewise.
35396         [XPG3] (nextafter): Likewise.
35397         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35398         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35399         [XPG3] (remainder): Likewise.
35400         [XPG3] (rint): Likewise.
35401         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35402         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35403         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35404         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35405         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35406         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35407         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35408         [UNIX98 || XOPEN2K] (scalb): Expect.
35409         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35410         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35411         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35412         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35413         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35414         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35415         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35416         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35417         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35418         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35419         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35420         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35421         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35422         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35423         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35424         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35425         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35426         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35427         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35428         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35429         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35430         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35431         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35432         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35433         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35434         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35435         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35436         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35437         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35438         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35439         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35440         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35441         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35442         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35443         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35444         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35445         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35446         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35447         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35448         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35449         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35450         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35451         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35452         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35453         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35454         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35455         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35456         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35457         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35458         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35459         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35460         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35461         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35462         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35463         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35464         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35465         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35466         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35467         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35468         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35469         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35470         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35471         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35472         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35473         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35474         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35475         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35476         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35477         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35478         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35479         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35480         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35481         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35482         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35483         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35484         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35485         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35486         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35487         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35488         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35489         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35490         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35491         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35492         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35493         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35494         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35495         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35496         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35497         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35498         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35499         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35500         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35501         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35502         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35503         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35504         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35505         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35506         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35507         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35508         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35509         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35510         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35511         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35512         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35513         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35514         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35515         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35516         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35517         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35518         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35519         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35520         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35521         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35522         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35523         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35524         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35525         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35526         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35527         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35528         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35529         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35530         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35531         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35532         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35533         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35534         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35535         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35536         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35537         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35538         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35539         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35540         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35541         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35542         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35543         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35544         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35545         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35547         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35548         _XOPEN_SOURCE_EXTENDED for XPG4.
35550         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35552         * Makeconfig (localtime): Remove variable.
35553         (inst_localtime-file): Likewise.
35555 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35558         Update.
35559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35560         Update.
35561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35562         Update.
35563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35564         Update.
35565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35566         Update.
35567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35568         Update.
35569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35570         Update.
35571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35572         Update.
35573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35574         Update.
35576 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35578         [BZ #2550]
35579         [BZ #2570]
35580         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35581         comparisons to determine direction to adjust input.
35582         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35583         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35584         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35585         Likewise.
35586         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35587         Likewise.
35588         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35589         Likewise.
35590         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35591         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35592         Likewise.
35593         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35594         Likewise.
35595         * math/libm-test.inc (nexttoward_test): Add more tests.
35597 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35599         [BZ #14040]
35600         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35601         in version GLIBC_2.1, not GLIBC_2.0.
35602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35603         Likewise.
35605 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35607         [BZ #13942]
35608         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35609         (1 - x) * (1 + x).
35610         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35611         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35612         * math/libm-test.inc (acos_test): Add more tests.
35613         (asin_test): Likewise.
35614         * sysdeps/i386/fpu/libm-test-ulps: Update.
35615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35617         [BZ #14034]
35618         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35619         of square root.
35620         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35621         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35622         * math/libm-test.inc (acos_test_tonearest): New function.
35623         (acos_test_towardzero): Likewise.
35624         (acos_test_downward): Likewise.
35625         (acos_test_upward): Likewise.
35626         (asin_test_tonearest): Likewise.
35627         (asin_test_towardzero): Likewise.
35628         (asin_test_downward): Likewise.
35629         (asin_test_upward): Likewise.
35630         (main): Call the new functions.
35631         * sysdeps/i386/fpu/libm-test-ulps: Update.
35632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35634         [BZ #13884]
35635         [BZ #13924]
35636         * math/e_exp10.c: Include <float.h>.
35637         (__ieee754_exp10): Handle underflow here rather than multiplying
35638         large negative argument by M_LN10.
35639         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35640         of __ieee754_expf.
35641         * math/e_exp10l.c: Include <float.h>.
35642         (__ieee754_exp10l): Handle underflow here rather than multiplying
35643         large negative argument by M_LN10l.
35644         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35645         spurious overflow exception on underflow.
35647 2012-04-29  Marek Polacek  <polacek@redhat.com>
35649         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35650         (__fortify_function): New macro.
35651         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35652         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35653         __extern_always_inline.
35654         * libio/bits/stdio2.h: Likewise.
35655         * libio/bits/stdio.h: Likewise.
35656         * string/string.h: Likewise.
35657         * string/bits/string3.h: Likewise.
35658         * include/stdio.h: Likewise.
35659         * stdlib/bits/stdlib.h: Likewise.
35660         * stdlib/stdlib.h: Likewise.
35661         * rt/bits/mqueue2.h: Likewise.
35662         * rt/mqueue.h: Likewise.
35663         * posix/bits/unistd.h: Likewise.
35664         * posix/unistd.h: Likewise.
35665         * io/bits/poll2.h: Likewise.
35666         * io/bits/fcntl2.h: Likewise.
35667         * io/fcntl.h: Likewise.
35668         * io/sys/poll.h: Likewise.
35669         * misc/bits/syslog.h: Likewise.
35670         * misc/bits/syslog-ldbl.h: Likewise.
35671         * misc/sys/syslog.h: Likewise.
35672         * socket/bits/socket2.h: Likewise.
35673         * socket/sys/socket.h: Likewise.
35674         * debug/tst-chk1.c: Likewise.
35675         * wcsmbs/bits/wchar2.h: Likewise.
35676         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35677         * wcsmbs/wchar.h: Likewise.
35679 2012-04-29  Andreas Jaeger  <aj@suse.de>
35681         * Makerules (tests): Remove enable-check-abi protection.
35682         (check-abi-warn): Remove.
35683         (check-abi-%): Remove check-abi-warn usage.
35685         * configure.in: Remove check-abi configure option.
35686         * configure: Regenerated.
35687         * config.make.in (enable-check-abi): Remove.
35689 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35691         [BZ #14033]
35692         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35693         double functions to double *_finite functions.
35695         [BZ #13941]
35696         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35697         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35698         LDBL_MIN_EXP.
35699         * stdio-common/Makefile (tests): Add tst-sprintf3.
35700         * stdio-common/tst-sprintf3.c: New file.
35702         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35703         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35705 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35707         * conform/conformtest.pl: Remove duplicate typed-constant
35708         handling.
35710 2012-04-28  David S. Miller  <davem@davemloft.net>
35712         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35713         (check-abi-%): Remove AWK script prerequisite and explicit
35714         abilist directory.
35715         (check-abi): Rewrite to just diff the symlist with the abilist.
35716         (config-tls, config-abi-config): Delete, no longer used.
35717         (update-abi-%): Remove AWK script and explicit abilist directory.
35718         (update-abi): Rewrite to simply compare and conditionally copy the
35719         symlist and the sysdep abilist file.  Remove update-abi-config
35720         checks.
35721         * abilist/ld.abilist: Remove.
35722         * abilist/libBrokenLocale.abilist: Remove.
35723         * abilist/libanl.abilist: Remove.
35724         * abilist/libcrypt.abilist: Remove.
35725         * abilist/libdl.abilist: Remove.
35726         * abilist/librt.abilist: Remove.
35727         * abilist/libthread_db.abilist: Remove.
35728         * abilist/libutil.abilist: Remove.
35729         * scripts/extract-abilist.awk: Remove.
35730         * scripts/merge-abilist.awk: Remove.
35731         * sysdeps/generic/libcidn.abilist: New file.
35732         * sysdeps/generic/libnss_compat.abilist: New file.
35733         * sysdeps/generic/libnss_db.abilist: New file.
35734         * sysdeps/generic/libnss_dns.abilist: New file.
35735         * sysdeps/generic/libnss_files.abilist: New file.
35736         * sysdeps/generic/libnss_hesiod.abilist: New file.
35737         * sysdeps/generic/libnss_nis.abilist: New file.
35738         * sysdeps/generic/libnss_nisplus.abilist: New file.
35739         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35740         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35741         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35742         file.
35743         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35744         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35745         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35746         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35747         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35748         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35749         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35750         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35751         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35752         file.
35753         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35754         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35755         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35756         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35757         file.
35758         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35759         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35760         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35761         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35762         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35763         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35764         file.
35765         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35766         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35767         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35768         file.
35769         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35770         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35771         New file.
35772         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35773         New file.
35774         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35775         New file.
35776         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35777         New file.
35778         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35779         New file.
35780         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35781         New file.
35782         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35783         New file.
35784         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35785         New file.
35786         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35787         New file.
35788         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35789         New file.
35790         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35791         New file.
35792         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35793         New file.
35794         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35795         New file.
35796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35797         file.
35798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35799         New file.
35800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35801         New file.
35802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35803         file.
35804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35805         New file.
35806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35807         New file.
35808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35809         file.
35810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35811         New file.
35812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35813         New file.
35814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35815         New file.
35816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35817         New file.
35818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35819         New file.
35820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35821         New file.
35822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35824         file.
35825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35826         New file.
35827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35828         file.
35829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35830         file.
35831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35832         file.
35833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35834         file.
35835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35836         file.
35837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35838         New file.
35839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35840         file.
35841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35842         file.
35843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35844         New file.
35845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35846         file.
35847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35849         file.
35850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35851         New file.
35852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35853         file.
35854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35855         file.
35856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35857         file.
35858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35859         file.
35860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35861         file.
35862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35863         New file.
35864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35865         file.
35866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35867         file.
35868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35869         New file.
35870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35871         file.
35872         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35873         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35874         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35875         file.
35876         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35877         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35878         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35879         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35880         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35881         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35882         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35883         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35884         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35885         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
35887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
35888         file.
35889         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35890         New file.
35891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
35892         file.
35893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
35894         file.
35895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
35896         file.
35897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
35898         file.
35899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
35900         file.
35901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35902         New file.
35903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35904         New file.
35905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
35906         file.
35907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35908         New file.
35909         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
35910         file.
35911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
35912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
35913         file.
35914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35915         New file.
35916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
35917         file.
35918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
35919         file.
35920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
35921         file.
35922         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
35923         file.
35924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
35925         file.
35926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35927         New file.
35928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35929         New file.
35930         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
35931         file.
35932         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35933         New file.
35934         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
35935         file.
35937 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35939         * conform/conformtest.pl: Fix typo in handling typed-constant from
35940         allow-header.
35942 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35944         * README: Cut down references to pre-2.6 Linux kernels and
35945         Linuxthreads.  Update lists of configurations in libc and ports
35946         and sort alphabetically.  Say "or newer" with Linux kernel version
35947         requirements.
35949         * config.h.in [IS_IN_build]: Allow compiling without optimization.
35951 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35953         [BZ #887]
35954         * math/libm-test.inc (logb_test_downward): New test to expose
35955         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
35956         rounding mode.
35958 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
35960         [BZ #14027]
35961         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
35962         to be done.
35963         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
35964         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
35966 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
35968         * sysdeps/unix/i386/brk.S: Remove file.
35969         * sysdeps/unix/i386/dl-brk.S: Likewise.
35970         * sysdeps/unix/i386/pipe.S: Likewise.
35971         * sysdeps/unix/i386/sigreturn.S: Likewise.
35972         * sysdeps/unix/i386/syscall.S: Likewise.
35973         * sysdeps/unix/i386/vfork.S: Likewise.
35974         * sysdeps/unix/i386/wait.S: Likewise.
35976         * sysdeps/unix/common/tcsendbrk.c: Move to ...
35977         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
35979         * configure.in (arm*-none*): Do not allow without
35980         --enable-hacker-mode.
35981         (netbsd*): Remove case setting base_os.
35982         (386bsd*): Likewise.
35983         (freebsd*): Likewise.
35984         (bsdi*): Likewise.
35985         (osf*): Likewise.
35986         (sunos*): Likewise.
35987         (ultrix*): Likewise.
35988         (newsos*): Likewise.
35989         (dynix*): Likewise.
35990         (*bsd*): Likewise.
35991         (sysv*): Likewise.
35992         (isc*): Likewise.
35993         (esix*): Likewise.
35994         (sco*): Likewise.
35995         (minix*): Likewise.
35996         (irix4*): Likewise.
35997         (irix6*): Likewise.
35998         (solaris[2-9]*): Likewise.
35999         (none): Likewise.
36000         * configure: Regenerated.
36002 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36004         [BZ #11521]
36005         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36006         overflow or cancellation in calculating denominator.
36007         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36008         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36009         down expression to avoid unexpected rounding in newer GCCs.
36010         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36012 2012-04-26  David S. Miller  <davem@davemloft.net>
36014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36015         long-double compat symbols.
36016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36030 2012-04-25  David S. Miller  <davem@davemloft.net>
36032         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36033         HWCAP_* values only after the memory barriers have been defined.
36034         (atomic_full_barrier): Define.
36035         (atomic_read_barrier): Define.
36036         (atomic_write_barrier): Define.
36038 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36040         * shlib-versions: Add libgcc_s version information.
36041         * sysdeps/generic/libgcc_s.h: Remove.
36042         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36043         libgcc_s.h.
36044         * sysdeps/gnu/unwind-resume.c: Likewise.
36045         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36047 2012-04-25  David S. Miller  <davem@davemloft.net>
36049         * sysdeps/unix/sparc/brk.S: Delete.
36050         * sysdeps/unix/sparc/dl-brk.S: Delete.
36051         * sysdeps/unix/sparc/pipe.S: Delete.
36052         * sysdeps/unix/sparc/sysdep.S: Delete.
36053         * sysdeps/unix/sparc/sysdep.h: Delete.
36054         * sysdeps/unix/sparc/vfork.S: Delete.
36055         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36056         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36057         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36058         (ret_ERRVAL, r0, r1, MOVE): Define.
36059         (JUMPTARGET): Remove.
36060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36061         sysdeps/unix/sparc/sysdep.h
36062         (ENTRY, END): Remove.
36063         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36065 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36067         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36068         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36069         -DIS_IN_build.
36071         * timezone/README: Update upstream location and email address for
36072         tzcode and tzdata.
36073         * timezone/zdump.c: Update from tzcode 2012b.
36074         * timezone/zic.c: Likewise.
36076         * configure.in (libc_cv_as_needed): Remove test.
36077         * configure: Regenerated.
36078         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36079         conditional definition.
36080         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36081         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36082         * config.make.in (have-as-needed): Remove variable.
36084 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36085             Paul Pluzhnikov  <ppluzhnikov@google.com>
36087         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36088         strings correctly.
36090 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36092         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36093         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36094         * sysdeps/sh/strlen.S: Likewise.
36096 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36098         * sysdeps/unix/fork.S: Remove file.
36099         * sysdeps/unix/i386/fork.S: Likewise.
36100         * sysdeps/unix/sparc/fork.S: Likewise.
36102         * sysdeps/unix/system.c: Remove file.
36103         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36105         * sysdeps/unix/getegid.S: Remove file.
36106         * sysdeps/unix/geteuid.S: Likewise.
36108 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36110         * scripts/check-localplt.awk: New file.
36111         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36112         of diff.
36113         * scripts/data/localplt-generic.data: Add a comment.
36115         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36116         NODE when __dir_mkfile failed.
36117         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36118         Reported by Ludovic Courtès <ludo@gnu.org>.
36120 2012-04-24  Andreas Jaeger  <aj@suse.de>
36122         * Makerules (common-clean): Also remove gen-as-const-headers
36123         files.
36125 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36127         * Makerules (native-compile): Do not change working directory for
36128         build.  Use $(OUTPUT_OPTION) in command.
36129         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36131 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36133         [BZ #13886]
36134         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36135         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36136         * math/libm-test.inc (floor_test): Add more tests.
36137         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36139 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36141         * sysdeps/unix/getdents.c: Remove file.
36142         * sysdeps/unix/sysv/getdents.c: Likewise.
36143         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36145         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36146         sysdeps/unix/mman/syscalls.list.
36147         (mmap): Likewise.
36148         (mprotect): Likewise.
36149         (msync): Likewise.
36150         (munmap): Likewise.
36151         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36152         * sysdeps/unix/mman/syscalls.list: Remove.
36153         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36155         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36156         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36157         * configure: Regenerated.
36158         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36159         $(libgcc_s_suffix).
36160         * config.make.in (libgcc_s_suffix): Remove variable.
36162 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36164         * sysdeps/unix/sysv/gethostname.c: Move to ...
36165         * sysdeps/posix/gethostname.c: ... here.
36167         * sysdeps/unix/execve.S: Remove file.
36169         * sysdeps/unix/_exit.S: Remove file.
36171 2012-04-23  Andreas Jaeger  <aj@suse.de>
36173         [BZ #13739]
36174         * manual/Makefile: Remove make dist support, there's no
36175         need for a stand-alone documentation tar ball.
36176         (TEXI2DVI): Define always, it's not in Makeconfig.
36177         (dist): Removed.
36178         (tar-it): Removed.
36179         (edition): Removed.
36180         (glibc-doc-$(edition).tar): Removed
36181         (%.Z): Removed.
36182         (%.gz): Removed.
36183         (%.uu): Removed.
36184         (ETAGS): Remove, it's in Makeconfig.
36185         (move-if-change): Remove, it's in Makeconfig.
36187 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36189         [BZ #13970]
36190         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36191         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36192         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36193         (strtod_l, strtof_l, strtold_l): Remove __wur.
36194         It is not necessarily an error to ignore strtol's return value.
36195         One can reliably look at the stored endptr to decide whether
36196         the number had valid syntax.
36198 2012-04-21  Andreas Jaeger  <aj@suse.de>
36200         [BZ #13739]
36201         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36203 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36205         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36206         * sysdeps/unix/sysv/Versions: Remove file.
36208 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36210         [BZ #13927]
36211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36213 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36215         [BZ #7064]
36216         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36217         version from __vm86.
36219 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36221         * sysdeps/unix/common/lxstat.c: Remove file.
36222         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36224         * sysdeps/unix/sysv/Makefile: Remove file.
36226         * sysdeps/unix/sysv/direct.h: Remove file.
36228         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36229         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36230         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36231         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36232         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36233         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36234         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36236         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36238         * sysdeps/unix/xmknod.c: Remove file.
36239         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36241         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36243         * sysdeps/unix/sysv/i386/time.S: Remove file.
36245         * sysdeps/unix/fxstat.c: Remove file.
36246         * sysdeps/unix/xstat.c: Likewise.
36247         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36249         * sysdeps/unix/sysv/sigaction.c: Remove file.
36251         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36252         (sysdep_headers): Remove variable.
36253         [termio.h not in sysdep_headers] (generated): Likewise.
36254         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36255         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36256         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36257         * sysdeps/unix/sysv/tcflow.c: Likewise.
36258         * sysdeps/unix/sysv/tcflush.c: Likewise.
36259         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36260         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36261         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36262         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36263         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36265         * sysdeps/unix/siglist.c: Remove file.
36267         * sysdeps/unix/getppid.S: Remove file.
36269         * sysdeps/unix/mkdir.c: Remove file.
36270         * sysdeps/unix/rmdir.c: Likewise.
36272 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36274         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36275         ERR_MAX value.
36276         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36277         errlist-compat value.
36279 2012-04-18  David S. Miller  <davem@davemloft.net>
36281         * sysdeps/generic/memcopy.h (reg_char): Delete.
36282         * debug/strcat_chk.c: Use char, not reg_char.
36283         * debug/strcpy_chk.c: Likewise.
36284         * debug/strncat_chk.c: Likewise.
36285         * debug/strncpy_chk.c: Likewise.
36286         * string/memchr.c: Likewise.
36287         * string/memrchr.c: Likewise.
36288         * string/rawmemchr.c: Likewise.
36289         * string/strcat.c: Likewise.
36290         * string/strchr.c: Likewise.
36291         * string/strchrnul.c: Likewise.
36292         * string/strcmp.c: Likewise.
36293         * string/strcpy.c: Likewise.
36294         * string/strncat.c: Likewise.
36295         * string/strncmp.c: Likewise.
36296         * string/strncpy.c: Likewise.
36298 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36300         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36301         __builtin_memcopy is called when src and dest ranges are known to not
36302         overlap.
36304 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36306         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36307         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36308         fwd_align_merge macro call.
36309         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36310         bwd_align_merge macro call.
36311         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36313 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36315         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36316         bwd_align_merge macros.
36317         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36318         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36319         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36321 2012-04-18  David S. Miller  <davem@davemloft.net>
36323         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36325 2012-04-18  Andreas Jaeger  <aj@suse.de>
36327         [BZ# 6794]
36328         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36329         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36330         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36332         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36333         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36334         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36336         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36337         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36338         Adjust for changed ldbl-128 files.
36340         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36341         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36342         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36344 2012-04-17  David S. Miller  <davem@davemloft.net>
36346         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36348 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36350         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36351         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36352         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36353         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36354         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36355         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36357 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36359         [BZ #6794]
36360         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36361         * math/libm-test.inc: Add ilogb errno and exception tests.
36362         * math/w_ilogb.c: New file: ilogb wrapper.
36363         * math/w_ilogbf.c: New file: ilogbf wrapper.
36364         * math/w_ilogbl.c: New file: ilogbl wrapper.
36365         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36366         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36367         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36368         exception being thrown with 0.0 as argument.
36369         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36370         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36371         exception being thrown with 0.0 as argument.
36372         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36373         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36374         exception being thrown with 0.0 as argument.
36375         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36376         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36377         exception being thrown with 0.0 as argument.
36378         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36379         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36380         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36381         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36382         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36383         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36384         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36385         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36386         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36388 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36390         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36391         with altivec.
36393 2012-04-16  Marek Polacek  <polacek@redhat.com>
36395         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36397 2012-04-16  Marek Polacek  <polacek@redhat.com>
36399         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36400         operands of fdivp instruction.
36402 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36404         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36405         * elf/tst-auditmod3b.c: Likewise.
36406         * elf/tst-auditmod4b.c: Likewise.
36407         * elf/tst-auditmod5b.c: Likewise.
36408         * elf/tst-auditmod6b.c: Likewise.
36409         * elf/tst-auditmod6c.c: Likewise.
36410         * elf/tst-auditmod7b.c: Likewise.
36411         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36412         * sysdeps/x86_64/preconfigure.in: Likewise.
36413         * sysdeps/x86_64/preconfigure: Regenerated.
36415 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36417         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36418         __ILP32__.
36420 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36423         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36425 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36427         [BZ #13973]
36428         * locale/iso-639.def: Fix gl language name. Spotted by
36429         Yaron Shahrabani.
36431 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36433         [BZ #2074]
36434         * libio/libio.h (__io_write_fn): Update comment.
36436 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36438         [BZ #2074]
36439         * stdio.texi (Hook Functions): The user provided writer function
36440         is not allowed to return -1.
36442 2012-04-11  David S. Miller  <davem@davemloft.net>
36444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36446 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36448         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36449         Add a leading slash to rtkaio.
36451 2012-04-11  Jim Meyering  <meyering@redhat.com>
36453         [BZ #11959]
36454         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36455         It is not necessarily an error to ignore fwrite's return
36456         value.  One can reliably use ferror to test for errors after
36457         the fact.
36459 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36461         * bits/types.h (__snseconds_t): New type.
36462         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36464         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36466         (__SNSECONDS_T_TYPE): Likewise.
36467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36468         (__SNSECONDS_T_TYPE): Likewise.
36469         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36470         (__SNSECONDS_T_TYPE): Likewise.
36472 2012-04-10  Andreas Jaeger  <aj@suse.de>
36474         [BZ #2636]
36475         * manual/time.texi (Processor Time): Return type of times is
36476         elapsed real time since an arbitrary point in the past.
36477         (CPU Time): Move CLK_TCK from here...
36478         (Processor Time): ...to here.  Correct description.
36479         * manual/conf.texi (Constants for Sysconf): Correct description of
36480         _SC_CLK_TCK.
36482 2012-04-10  David S. Miller  <davem@davemloft.net>
36484         [BZ #13967]
36485         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36486         where the is a gap between DT_REL(A) and DT_JMPREL.
36488 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36490         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36491         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36492         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36494 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36496         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36497         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36498         (dl_main): Handle --inhibit-cache.
36499         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36500         _dl_inhibit_cache.
36501         * elf/dl-load.c (_dl_map_object): Use it.
36502         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36504 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36506         [BZ #13872]
36507         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36508         (__ieee754_powl): Saturate large exponents rather than testing for
36509         overflow of y*log2(x).
36510         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36511         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36512         exceptions.
36514         [BZ #11521]
36515         * math/s_ctan.c: Include <float.h>.
36516         (__ctan): Avoid internal overflow or cancellation in calculating
36517         denominator.
36518         * math/s_ctanf.c: Likewise.
36519         * math/s_ctanl.c: Likewise.
36520         * math/s_ctanh.c: Likewise.
36521         * math/s_ctanhf.c: Likewise.
36522         * math/s_ctanhl.c: Likewise.
36523         * math/libm-test.inc (ctan_test): Add more tests.
36524         (ctanh_test): Likewise.
36525         * sysdeps/i386/fpu/libm-test-ulps: Update.
36526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36528 2012-04-09  Andreas Jaeger  <aj@suse.de>
36530         [BZ #6894]
36531         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36532         is an optional BSD extension.
36534         [BZ #10254]
36535         * manual/stdio.texi (Opening Streams): Document additional fopen
36536         parameters.
36538 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36540         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36541         %eax without telling the compiler.
36543 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36545         [BZ # 13963]
36546         * manual/install.texi: Use sourceware.org.
36548 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36550         [BZ #13873]
36551         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36552         (__ieee754_pow): Generate overflow and underflow using huge*huge
36553         and tiny*tiny rather than just returning constant infinity or zero
36554         for large exponents.
36555         * math/libm-test.inc (pow_test): Require overflow exceptions for
36556         applicable cases of large exponents.
36558         [BZ #706]
36559         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36560         (__ieee754_pow): Use iterative multiplication algorithm only for
36561         integer exponents with absolute value below 1024.  Check for odd
36562         integer exponents when using algorithm for real exponents.
36563         * math/libm-test.inc (pow_test): Add more tests.
36564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36566 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36568         [BZ #13705]
36569         * math/libm-test.inc (exp_test): Do not allow overflow exception
36570         on underflow test.
36572 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36574         [BZ #13705]
36575         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36576         instead of __kernel_standard_f.
36578 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36580         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36581         * sysdeps/x86_64/memset_chk.S: Likewise.
36583 2012-04-08  Andreas Jaeger  <aj@suse.de>
36585         [BZ #10153]
36586         * manual/startup.texi (Environment Access): Describe return value
36587         for putenv and setenv.
36589         [BZ #6895]
36590         * manual/filesys.texi (Directory Entries): Add description for
36591         DT_LNK.
36593         [BZ #6890]
36594         * manual/filesys.texi (Directory Entries): Clarify that it's file
36595         system not operating system in the description of DT_UNKNOWN.
36597         [BZ #6578]
36598         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36600 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36602         [BZ #6649]
36603         * manual/llio.texi (Opening and Closing Files): Add cross
36604         reference to explain mode argument.
36606 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36608         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36609         * sysdeps/x86_64/memset_chk.S: Likewise.
36611 2012-04-07  David S. Miller  <davem@davemloft.net>
36613         * elf/elf.h (R_SPARC_WDISP10): Define.
36614         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36615         R_SPARC_SIZE32.
36616         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36617         R_SPARC_SIZE64 and R_SPARC_H34.
36619 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36621         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36622         conditions and remove no longer applicable assertion.
36624 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36626         * bits/byteswap.h: Include <features.h>.
36627         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36628         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36630 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36632         * bits/byteswap.h (__bswap_16): Removed.
36633         Include <bits/byteswap-16.h> to get __bswap_16.
36634         * sysdeps/i386/bits/byteswap.h: Likewise.
36635         * sysdeps/s390/bits/byteswap.h: Likewise.
36636         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36637         * bits/byteswap-16.h: New file.
36638         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36639         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36640         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36641         * string/Makefile (headers): Add bits/byteswap-16.h.
36643 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36645         [BZ #13895]
36646         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36647         extra indirection.
36648         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36649         * nss/tst-nss-static.c: New.
36651 2012-04-06  Robert Millan  <rmh@gnu.org>
36653         [BZ #6486]
36654         * manual/llio.texi (File Position Primitive): lseek
36655         refers to WHENCE when it really means OFFSET.
36657 2012-04-06  Andreas Jaeger  <aj@suse.de>
36659         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36660         strncmp declarations.
36662         * abilist/libc.abilist: Add __poll and __ppoll.
36664 2012-04-05  David S. Miller  <davem@davemloft.net>
36666         * scripts/check-local-headers.sh: Accept a host triplet in the
36667         path matched by the exclude regexp.
36669         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36670         definition.
36671         * sysdeps/powerpc/powerpc32/dl-machine.h
36672         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36673         * sysdeps/s390/s390-32/dl-machine.h
36674         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36675         * sysdeps/sparc/sparc32/dl-machine.h
36676         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36677         * sysdeps/sparc/sparc64/dl-machine.h
36678         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36680         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36681         lazy binding.
36682         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36683         undefined symbol errors.
36685         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36686         DT_NEEDED entries.
36688 2012-04-05  Michael Matz  <matz@suse.de>
36690         [BZ #13592]
36691         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36693 2012-04-05  Andreas Jaeger  <aj@suse.de>
36695         [BZ #13908]
36696         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36697         comment.
36699 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36701         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36702         which ROUND is no valid rounding mode.
36704 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36706         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36707         read again.
36708         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36710 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36712         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36713         an exception using FPU order intentionally.
36715 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36717         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36718         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36719         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36720         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36722 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36724         [BZ #12340]
36725         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36726         EINVAL when BUFLEN is too smal.
36728 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36730         [BZ #13553]
36731         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36732         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36734 2012-04-03  Andreas Jaeger  <aj@suse.de>
36736         [BZ #13938]
36737         * manual/setjmp.texi (System V contexts): Fix sentence.
36739         [BZ #13926]
36740         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36741         New macro for this case.
36742         [!__GNUC__] (__bswap_64): New inline function for this case.
36743         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36744         * bits/byteswap.h: Likewise.
36745         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36746         ull, guard with __GLIBC_HAVE_LONG_LONG.
36748         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36749         __GLIBC_HAVE_LONG_LONG.
36751         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36752         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36754 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36756         [BZ #13691]
36757         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36758         inptr and inend, rather than using last_ch.
36760 2012-04-02  David S. Miller  <davem@davemloft.net>
36762         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36763         * stdio-common/printf-parse.h (read_int): Change return type to
36764         'int', return -1 on INT_MAX overflow.
36765         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36766         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36767         overflows INT_MAX.  Check for overflow of in-format-string precision
36768         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36769         SIZE_MAX not INT_MAX for integer overflow test.
36770         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36771         skip the construct in the format string but do not record anything.
36772         * stdio-common/bug22.c: Adjust to test both width/prevision
36773         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36774         explicitly for proper errno values.
36776 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36778         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36779         CHAR_MAX.
36780         * string/test-strcmp.c [! WIDE]: Likewise.
36781         * time/tst-mktime2.c: Likewise for INT_MAX.
36782         * string/test-string.h: #include <sys/param.h> for MIN.
36784         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36785         * sysdeps/i386/init-first.c (init): Likewise.
36786         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36787         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36788         * sysdeps/sh/init-first.c (init): Likewise.
36790 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36792         * po/ru.po: Update from translation team.
36793         * po/vi.po: Likewise.
36795 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36797         * resolv/nss_dns/dns-host.c: Merge copyright years.
36799 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36801         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36802         Optimize memcpy with prefetch if
36803         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36804         src, dst pointers have unequal 16 byte alignments.
36806 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36808         [BZ #13928]
36809         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36810         from a CNAME entry and return the minimum ttl for the query.
36811         (gaih_getanswer_slice): Likewise.
36813 2012-03-30  Jeff Law  <law@redhat.com>
36815         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36816         due to long keys.
36817         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36818         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36820         * resolv/nss_dns/dns-host.c: Update copyright year.
36822 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36824         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36825         requests to save a system call.  Fix check that all bytes are sent.
36827         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36828         comments for sendmmsg.
36830 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36832         [BZ #13691]
36833         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36834         with only 1 character between 0x0041 and 0x01b0.
36835         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36836         * wcsmbs/tst-mbsnrtowcs.c: New file.
36838 2012-03-29  David S. Miller  <davem@davemloft.net>
36840         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36841         small copies by hand.
36843 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36845         [BZ #13761]
36846         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36847         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36848         group memberships.
36850 2012-03-28  David S. Miller  <davem@davemloft.net>
36852         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36853         that branches into memcpy.
36854         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36855         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36856         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36857         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36858         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36859         bits.
36860         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36861         implementation too.
36862         * sysdeps/sparc/mempcpy.S: New file.
36864         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36865         the IFUNC routine in the libc case.
36866         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36868         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36869         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36870         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36871         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36872         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36873         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36874         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36875         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36877         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36878         loop to 256 bytes instead of 64 bytes and fix test signedness.
36880         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36881         * sysdeps/sparc/sparc32/Makefile: rather than here...
36882         * sysdeps/sparc/sparc64/Makefile: and here.
36884 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36886         * malloc/mallocbug.c: Avoid warnings about unused variables.
36888 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36890         [BZ #13760]
36891         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
36892         in the right place. Discard and retry query if response is
36893         larger than input buffer size.
36895 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
36897         [BZ #369]
36898         [BZ #2678]
36899         [BZ #3866]
36900         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
36901         x for large integer exponent.
36902         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
36903         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
36904         sign of result as needed afterwards.
36905         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
36906         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
36907         result for underflowing pow the same as for overflow.
36908         (__kernel_standard_l): Handle powl overflow and underflow here
36909         rather than calling __kernel_standard.
36910         * math/libm-test.inc (pow_test): Add more tests.
36912         [BZ #3868]
36913         [BZ #13879]
36914         [BZ #13910]
36915         [BZ #13911]
36916         [BZ #13912]
36917         [BZ #13913]
36918         [BZ #13915]
36919         [BZ #13916]
36920         [BZ #13917]
36921         [BZ #13918]
36922         [BZ #13919]
36923         [BZ #13920]
36924         [BZ #13921]
36925         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
36926         * sysdeps/ieee754/k_standard.c: Include <float.h>.
36927         (__kernel_standard_l): New function.
36928         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
36929         __kernel_standard.
36930         * math/w_acosl.c (__acosl): Likewise.
36931         * math/w_asinl.c (__asinl): Likewise.
36932         * math/w_atan2l.c (__atan2l): Likewise.
36933         * math/w_atanhl.c (__atanhl): Likewise.
36934         * math/w_coshl.c (__coshl): Likewise.
36935         * math/w_exp10l.c (__exp10l): Likewise.
36936         * math/w_exp2l.c (__exp2l): Likewise.
36937         * math/w_fmodl.c (__fmodl): Likewise.
36938         * math/w_hypotl.c (__hypotl): Likewise.
36939         * math/w_j0l.c (__j0l, __y0l): Likewise.
36940         * math/w_j1l.c (__j1l, __y1l): Likewise.
36941         * math/w_jnl.c (__jnl, __ynl): Likewise.
36942         * math/w_lgammal.c (__lgammal): Likewise.
36943         * math/w_log10l.c (__log10l): Likewise.
36944         * math/w_log2l.c (__log2l): Likewise.
36945         * math/w_logl.c (__logl): Likewise.
36946         * math/w_powl.c (__powl): Likewise.
36947         * math/w_remainderl.c (__remainderl): Likewise.
36948         * math/w_scalbl.c (sysv_scalbl): Likewise.
36949         * math/w_sinhl.c (__sinhl): Likewise.
36950         * math/w_sqrtl.c (__sqrtl): Likewise.
36951         * math/w_tgammal.c (__tgammal): Likewise.
36952         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
36953         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
36954         * math/libm-test.inc (acos_test): Add more tests.
36955         (acosh_test): Likewise.
36956         (asin_test): Likewise.
36957         (atanh_test): Likewise.
36958         (exp_test): Likewise.
36959         (exp10_test): Likewise.
36960         (exp2_test): Likewise.
36961         (expm1_test): Likewise.
36962         (lgamma_test): Likewise.
36963         (log_test): Likewise.
36964         (log10_test): Likewise.
36965         (log1p_test): Likewise.
36966         (log2_test): Likewise.
36967         (pow_test): Do not allow some spurious overflow exceptions.
36968         (sqrt_test): Add more tests.
36969         (tgamma_test): Likewise.
36970         (y0_test): Likewise.
36971         (y1_test): Likewise.
36972         (yn_test): Likewise.
36974 2012-03-27  Anton Blanchard  <anton@samba.org>
36976         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
36977         MAP_HUGETLB.
36978         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36979         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36980         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36982 2012-03-27  David S. Miller  <davem@davemloft.net>
36984         * conform/Makefile: Run run-conformtest.sh using $(BASH).
36986         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
36987         have-as-vis3 check.
36989 2012-03-27  Andreas Jaeger  <aj@suse.de>
36991         * sysdeps/x86_64/elf/configure.in: Moved to ...
36992         * sysdeps/x86_64/configure.in: ... here.
36993         * sysdeps/x86_64/elf/start.S: Moved to ...
36994         * sysdeps/x86_64/start.S: ... here.
36995         * sysdeps/x86_64/elf/configure: Delete.
36997         * sysdeps/x86_64/configure.in: Merge contents from
36998         sysdeps/i386/configure.in (without i686 check).
37000         * sysdeps/i386/elf/Versions: Merge into ...
37001         * sysdeps/i386/Versions: ... this.
37002         * sysdeps/i386/elf/Versions: Delete file.
37003         * sysdeps/i386/elf/start.S: Moved to ...
37004         * sysdeps/i386/start.S: ...here.
37005         * sysdeps/i386/elf/configure.in: Merge into...
37006         * sysdeps/i386/configure.in: ...here.
37007         * sysdeps/i386/elf/configure.in: Delete file.
37008         * sysdeps/i386/elf/configure: Delete file.
37010         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37011         * debug/backtracesyms.c: ... here.
37012         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37013         * debug/backtracesymsfd.c: ... here.
37014         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37015         * sysdeps/generic/ifunc-sel.h: ... here.
37017         * sysdeps/unix/i386/start.c: Delete file.
37018         * sysdeps/unix/sparc/start.c: Delete file.
37019         * sysdeps/unix/start.c: Delete file.
37021         * sysdeps/sh/elf/configure.in: Moved to ...
37022         * sysdeps/sh/configure.in: ... here.
37023         * sysdeps/sh/elf/start.S: Moved to ...
37024         * sysdeps/sh/start.S: ... here.
37025         * sysdeps/sh/elf/configure: Delete file.
37027         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37028         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37029         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37030         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37031         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37032         * sysdeps/powerpc/powerpc64/start.S: here.
37033         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37034         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37035         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37036         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37037         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37039         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37040         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37041         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37042         * sysdeps/powerpc/powerpc32/start.S: ... here.
37043         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37044         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37045         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37047         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37048         * sysdeps/powerpc/ifunc-sel.h: ... here.
37049         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37050         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37052         * sysdeps/sparc/elf/configure.in: Moved to ...
37053         * sysdeps/sparc/configure.in: ... here.
37054         * sysdeps/sparc/elf/configure: Delete file.
37055         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37056         * sysdeps/sparc/sparc32/start.S: ... here.
37057         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37058         * sysdeps/sparc/sparc64/start.S: ... here.
37059         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37060         * sysdeps/sparc/sparc32/Makefile: ... this.
37061         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37062         * sysdeps/sparc/sparc64/Makefile: ... this.
37064         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37065         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37066         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37067         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37068         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37069         * sysdeps/s390/s390-32/setjmp.S: ... here.
37070         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37071         * sysdeps/s390/s390-32/configure.in: ... here.
37072         * sysdeps/s390/s390-32/elf/configure: Delete file.
37073         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37074         * sysdeps/s390/s390-32/start.S: ... here.
37076         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37077         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37078         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37079         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37080         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37081         * sysdeps/s390/s390-64/setjmp.S: ... here.
37082         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37083         * sysdeps/s390/s390-64/configure.in: ... here
37084         * sysdeps/s390/s390-64/elf/configure: Delete file.
37085         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37086         * sysdeps/s390/s390-64/start.S: ... here.
37087         * sysdeps/s390/s390-64/elf/configure: Delete.
37089         * configure.in: Remove support for elf directories in sysdeps.
37091         * configure: Regenerated.
37092         * sysdeps/i386/configure: Regenerated.
37093         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37094         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37095         * sysdeps/s390/s390-32/configure: Regenerated.
37096         * sysdeps/s390/s390-64/configure: Regenerated.
37097         * sysdeps/sh/configure: Regenerated.
37098         * sysdeps/sparc/configure: Regenerated.
37099         * sysdeps/x86_64/configure: Regenerated.
37101 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37105         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37106         denormal result into account.
37108 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37110         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37111         Reported by Allan McRae <allan@archlinux.org>.
37113 2012-03-23  Jeff Law  <law@redhat.com>
37115         * nss/getnssent.c (__nss_getent): Fix typo.
37117 2012-03-23  David S. Miller  <davem@davemloft.net>
37119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37121 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37123         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37124         to pad to uint64_t for each field.
37125         (dl_tls_index): Replace unsigned long with uint64_t.
37127 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37128         Paul Pluzhnikov  <ppluzhnikov@google.com>
37130         [BZ #6528]
37131         * grp/Makefile (otherlibs): Don't set it.
37132         * inet/Makefile (otherlibs): Likewise.
37133         * login/Makefile (otherlibs): Likewise.
37134         * nscd/Makefile (otherlibs): Likewise.
37135         * posix/Makefile (otherlibs): Likewise.
37136         * pwd/Makefile (otherlibs): Likewise.
37137         * rt/Makefile (otherlibs): Likewise.
37138         * sunrpc/Makefile (otherlibs): Likewise.
37139         * nss/Makefile (otherlibs): Likewise.
37140         Add libnss_files to routines and static-only-routines.
37141         ($(objpfx)getent): Remove rule.
37142         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37143         static-only-routines.
37145 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37147         [BZ #13892]
37148         * math/s_cexp.c: Include <float.h>.
37149         (__cexp): Handle exp result overflowing not necessarily
37150         overflowing both real and imaginary parts of result.
37151         * math/s_cexpf.c: Likewise.
37152         * math/s_cexpl.c: Likewise.
37153         * math/libm-test.inc (cexp_test): Add more tests.
37154         * sysdeps/i386/fpu/libm-test-ulps: Update.
37155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37157 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37159         * include/link.h (ELFW): New macro.
37160         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37161         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37163 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37165         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37166         with uint64_t.
37168 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37170         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37171         declaration.
37172         (struct La_x32_retval): Likewise.
37174 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37176         * sysdeps/x86_64/preconfigure.in: New file.
37177         * sysdeps/x86_64/preconfigure: New generated file.
37179 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37181         [BZ #13824]
37182         * math/e_exp2l.c: Include <float.h>.
37183         (__ieee754_exp2l): Handle overflow and underflow cases
37184         separately.  Only pass fractional part of argument to
37185         __ieee754_expl.
37186         * math/libm-test.inc (exp2_test): Add more tests.
37188         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37189         negating x to take absolute value.
37190         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37191         Likewise.
37192         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37193         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37194         Likewise.
37195         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37196         computing low part if x was negated.
37197         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37199 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37201         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37202         la_x32_gnu_pltexit.
37203         (pltexit): Cast int_retval to ptrdiff_t.
37204         * elf/tst-auditmod3b.c: Likewise.
37205         * elf/tst-auditmod4b.c: Likewise.
37206         * elf/tst-auditmod5b.c: Likewise.
37207         * elf/tst-auditmod6b.c: Likewise.
37208         * elf/tst-auditmod6c.c: Likewise.
37209         * elf/tst-auditmod7b.c: Likewise.
37211         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37212         and x32_gnu_pltexit.
37214         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37215         __ELF_NATIVE_CLASS.
37216         (La_x32_regs): New macro.
37217         (La_x32_retval): Likewise.
37218         (la_x32_gnu_pltenter): New function prototype.
37219         (la_x32_gnu_pltexit): Likewise.
37221 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37223         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37224         exponent.
37226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37228         * configure.in (libc_cv_cc_nofma): Check for option to disable
37229         generation of FMA instructions.
37230         * configure: Regenerate.
37231         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37232         * sysdeps/ieee754/dbl-64/Makefile: New file.
37233         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37234         Remove brandred-fma4.
37235         (CFLAGS-brandred-fma4.c): Remove.
37236         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37237         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37238         define.
37239         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37240         define.
37242 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37244         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37245         LLONG_MAX != LONG_MAX.
37246         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37247         (_fitoa_word): Likewise.
37248         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37249         LLONG_MAX != LONG_MAX.
37250         * stdio-common/_itowa.h: Include <_itoa.h>.
37251         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37252         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37253         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37254         only if not defined.
37255         (_ITOA_WORD_TYPE): Likewise.
37256         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37257         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37259 2012-03-21  David S. Miller  <davem@davemloft.net>
37261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37263 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37265         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37266         of x86_64 when setting libc_cv_slibdir, libdir and
37267         libc_cv_localedir.
37268         * sysdeps/unix/sysv/linux/configure: Regenerated.
37270 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37272         * manual/lang.texi (Old Varargs): Remove section.
37273         (How Variadic): Update menu.
37274         (va_start): Do not mention varargs.h.
37276 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37277             Joseph Myers  <joseph@codesourcery.com>
37279         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37280         link test.
37281         * configure: Regenerated.
37283 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37285         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37286         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37287         conformtest.pl
37289 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37291         * NOTES: Remove.
37292         * Makefile (files-for-dist): Remove NOTES.
37293         (NOTES): Remove rule.
37294         * README: Don't refer to NOTES.
37295         * manual/creature.texi: Don't include macros.texi.
37296         * manual/intro.texi (creature.texi): Remove comment referring to
37297         NOTES.
37299         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37300         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37301         * configure: Regenerated.
37302         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37303         LIBC_TRY_CC_OPTION.
37304         (libc_cv_as_i686): Likewise.
37305         (libc_cv_cc_avx): Likewise.
37306         (libc_cv_cc_sse2avx): Likewise.
37307         (libc_cv_cc_fma4): Likewise.
37308         (libc_cv_cc_novzeroupper): Likewise.
37309         * sysdeps/i386/configure: Regenerated.
37311         [BZ #13883]
37312         * sysdeps/i386/fpu/s_cexp.S: Remove.
37313         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37314         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37315         * math/libm-test.inc (cexp_test): Add more tests.
37316         * sysdeps/i386/fpu/libm-test-ulps: Update.
37317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37319 2012-03-21  Allan McRae  <allan@archlinux.org>
37321         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37323 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37325         [BZ #13871]
37326         * math/w_exp2.c: Do not include <float.h>.
37327         (o_threshold, u_threshold): Remove.
37328         (__exp2): Calculate result before checking finiteness and calling
37329         __kernel_standard.
37330         * math/w_exp2f.c: Likewise.
37331         * math/w_exp2l.c: Likewise.
37332         * math/libm-test.inc (exp2_test): Require overflow exception for
37333         1e6 input.
37335         [BZ #3866]
37336         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37337         range of signed 64-bit integers before using fistpll.  Remove
37338         checks for whether integers fit in mantissa bits.
37339         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37340         the range of signed 32-bit integers before using fistpl.  Remove
37341         checks for whether integers fit in mantissa bits.
37342         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37343         (__ieee754_powl): Test for y outside the range of signed 64-bit
37344         integers before using fistpll.  Reduce 64-bit values to 63-bit
37345         ones as needed.
37346         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37347         divide-by-zero is raised for zero to large negative powers.
37348         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37349         (__ieee754_powl): Test for y outside the range of signed 64-bit
37350         integers before using fistpll.  Reduce 64-bit values to 63-bit
37351         ones as needed.
37352         * math/libm-test.inc (pow_test): Add more tests.
37354 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37356         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37357         <stdio-common/_itoa.h>.
37358         * debug/segfault.c: Likewise.
37359         * elf/dl-cache.c: Likewise.
37360         * elf/dl-minimal.c: Likewise.
37361         * elf/dl-misc.c: Likewise.
37362         * elf/dl-sysdep.c: Likewise.
37363         * elf/dl-version.c: Likewise.
37364         * elf/rtld.c: Likewise.
37365         * hurd/hurdsock.c: Likewise.
37366         * hurd/lookup-retry.c: Likewise.
37367         * malloc/malloc.c: Likewise.
37368         * malloc/mtrace.c: Likewise.
37369         * nscd/nscd_getgr_r.c: Likewise.
37370         * nscd/nscd_getpw_r.c: Likewise.
37371         * nscd/nscd_getserv_r.c: Likewise.
37372         * posix/getopt_init.c: Likewise.
37373         * posix/wordexp.c: Likewise.
37374         * stdio-common/_itoa.c: Likewise.
37375         * stdio-common/printf_fphex.c: Likewise.
37376         * stdio-common/vfprintf.c: Likewise.
37377         * string/_strerror.c: Likewise.
37378         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37379         * sysdeps/i386/i686/hp-timing.h: Likewise.
37380         * sysdeps/mach/_strerror.c: Likewise.
37381         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37382         * sysdeps/mach/hurd/sethostid.c: Likewise.
37383         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37384         * sysdeps/mach/xpg-strerror.c: Likewise.
37385         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37386         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37387         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37388         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37389         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37390         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37391         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37392         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37393         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37394         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37395         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37396         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37397         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37398         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37399         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37400         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37401         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37402         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37403         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37404         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37405         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37407         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37409         * stdio-common/_itoa.h: Moved to ...
37410         * sysdeps/generic/_itoa.h: Here.
37412         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37414         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37415         instead of "_itoa.h" and "_itowa.h".
37416         * stdio-common/vfprintf.: Likewise.
37418 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37420         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37421         <bits/wordsize.h>.
37422         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37423         (__signbit): Likwise.
37424         (llrintf): Likwise.
37425         (llrint): Likwise.
37427 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37429         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37430         __WORDSIZE != 64.
37432 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37434         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37435         OVERFLOW_EXCEPTION_OK.
37436         * math/libm-test.inc ("Philosophy"): Update comment about
37437         exception testing.
37438         (OVERFLOW_EXCEPTION): Define.
37439         (OVERFLOW_EXCEPTION_OK): Likewise.
37440         (INVALID_EXCEPTION_OK): Renumber.
37441         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37442         (IGNORE_ZERO_INF_SIGN): Likewise.
37443         (test_exceptions): Handle FE_OVERFLOW.
37444         (exp10_test): Expect overflow exceptions.
37445         (exp2_test): Likewise.
37446         (expm1_test): Likewise.
37447         (nextafter_test): Likewise.
37448         (pow_test): Likewise.
37449         (scalbn_test): Likewise.
37450         (scalbln_test): Likewise.
37452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37454         * sysdeps/x86_64/bits/atomic.h
37455         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37456         64bit integer.
37457         (atomic_exchange_acq): Likewise.
37458         (__arch_exchange_and_add_body): Likewise.
37459         (__arch_add_body): Likewise.
37460         (atomic_add_negative): Likewise.
37461         (atomic_add_zero): Likewise.
37463 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37465         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37466         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37468 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37470         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37471         Check __x86_64__ instead of __WORDSIZE.
37473 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37475         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37477 2012-03-19  David S. Miller  <davem@davemloft.net>
37479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37481         * sysdeps/sparc/fpu/fenv_private.h: New file.
37482         * sysdeps/sparc/fpu/math_private.h: Use it.
37483         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37484         Remove.
37485         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37486         (libc_feholdexcept_setroundl): Remove.
37487         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37488         Remove.
37489         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37490         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37492 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37494         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37495         int64_t instead of long int.
37496         (INSERT_WORDS64): Likwise.
37498 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37500         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37501         _Unwind_GetCFA return to _Unwind_Ptr first.
37503 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37505         [BZ #13629]
37506         * math/s_clog.c: Include <float.h>.
37507         (__clog): Scale large or subnormal inputs.
37508         * math/s_clogf.c: Likewise.
37509         * math/s_clogl.c: Likewise.
37510         * math/s_clog10.c: Include <float.h>.
37511         (M_LOG10_2): Define.
37512         (__clog10): Scale large or subnormal inputs.
37513         * math/s_clog10f.c: Likewise.
37514         * math/s_clog10l.c: Likewise.
37515         * math/libm-test.inc (clog_test): Add more tests.
37516         (clog10_test): Likewise.
37517         * sysdeps/i386/fpu/libm-test-ulps: Update.
37518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37520         [BZ #11451]
37521         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37522         x and y.
37523         * math/libm-test.inc (atan2_test): Add another test.
37525         * Makerules (common-objdir-compile): Remove.
37526         * sysdeps/unix/Makefile (config-generated): Do not add
37527         $(unix-generated) to variable.
37528         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37529         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37530         Remove rule.
37531         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37532         Likewise.
37533         [generic bits/local_lim.h] (before-compile): Do not append to
37534         variable.
37535         [generic bits/local_lim.h] (common-generated): Likewise.
37536         [generic sys/param.h] (before-compile): Do not append to variable.
37537         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37538         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37539         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37540         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37541         include.
37542         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37543         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37544         [generic sys/param.h] ($(addprefix
37545         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37546         [generic sys/param.h] (common-generated): Do not append to
37547         variable.
37548         [generic sys/param.h] (sysdep_headers): Likewise.
37549         [generic bits/errno.h] (before-compile): Do not append to
37550         variable.
37551         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37552         rule.
37553         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37554         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37555         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37556         [generic bits/errno.h] (common-generated): Do not append to
37557         variable.
37558         [generic bits/ioctls.h] (before-compile): Do not append to
37559         variable.
37560         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37561         rule.
37562         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37563         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37564         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37565         rule.
37566         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37567         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37568         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37569         [generic bits/ioctls.h] (common-generated): Do not append to
37570         variable.
37571         [generic sys/syscall.h] (syscall.h): Remove variable.
37572         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37573         rule.
37574         [generic sys/syscall.h] (before-compile): Do not append to
37575         variable.
37576         [generic sys/syscall.h] (common-generated): Likewise.
37577         * sysdeps/unix/errnos-tmpl.c: Remove file.
37578         * sysdeps/unix/errnos.awk: Likewise.
37579         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37580         * sysdeps/unix/ioctls.awk: Likewise.
37581         * sysdeps/unix/mk-local_lim.c: Likewise.
37582         * sysdeps/unix/snarf-ioctls: Likewise.
37584 2012-03-19  Richard Henderson  <rth@twiddle.net>
37586         * sysdeps/i386/fpu/fenv_private.h: New file.
37587         * sysdeps/i386/fpu/math_private.h: Use it.
37588         (math_opt_barrier, math_force_eval): Remove.
37589         (libc_feholdexcept_setround_53bit): Remove.
37590         (libc_feupdateenv_53bit): Remove.
37591         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37592         (math_opt_barrier, math_force_eval): Remove.
37593         (libc_feholdexcept): Remove.
37594         (libc_feholdexcept_setround): Remove.
37595         (libc_fetestexcept, libc_fesetenv): Remove.
37596         (libc_feupdateenv_test): Remove.
37597         (libc_feupdateenv, libc_feholdsetround): Remove.
37598         (libc_feresetround): Remove.
37600         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37601         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37603         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37604         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37605         (libc_feupdateenv_testl): New.
37606         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37607         (libc_feupdateenv_testf): New.
37608         (libc_feupdateenv): Use libc_feupdateenv_test.
37609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37610         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37612         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37613         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37614         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37615         (libc_feresetround_noex): New.
37616         (libc_feresetround_noexf): New.
37617         (libc_feresetround_noexl): New.
37618         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37619         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37620         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37621         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37622         SET_RESTORE_ROUND.
37623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37625         (__cos): Likewise.
37626         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37627         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37628         SET_RESTORE_ROUND_NOEX.
37629         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37630         SET_RESTORE_ROUND_NOEXF.
37631         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37632         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37633         (libc_feholdsetroundf): New.
37634         (libc_feresetround, libc_feresetroundf): New.
37636         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37637         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37638         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37640         * sysdeps/generic/math_private.h: Include <fenv.h>.
37641         (default_libc_feholdexcept): New.
37642         (default_libc_feholdexcept_setround): New.
37643         (default_libc_fesetenv, default_libc_feupdateenv): New.
37644         (libc_feholdexcept): Only define if undefined.
37645         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37646         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37647         (libc_feholdexcept_setroundl): Likewise.
37648         (libc_feholdexcept_setround_53bit): Likewise.
37649         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37650         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37651         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37652         (libc_feupdateenv_53bit): Likewise.
37653         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37654         (libc_feholdexcept): Convert from macro to inline function.
37655         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37656         (libc_fesetenv, libc_feupdateenv): Likewise.
37658         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37659         not previously defined.
37660         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37661         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37662         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37663         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37664         * sysdeps/ieee754/flt-32/math_private.h: New file.
37665         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37666         math_private.h below SET_FLOAT_WORD.
37667         (__isnan, __isinf_ns, __finite): Remove.
37668         (__isnanf, __isinf_nsf, __finitef): Remove.
37670 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37674 2012-03-17  David S. Miller  <davem@davemloft.net>
37676         [BZ #6471]
37677         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37678         for 2.16.
37680 2012-03-16  David S. Miller  <davem@davemloft.net>
37682         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37683         warnings.
37685         [BZ #6471]
37686         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37687         properly.
37688         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37689         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37690         sysdep_routines when subdir is sysvipc.
37691         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37692         __getshmlba helper.
37694         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37696 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37698         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37699         [__LP64__].
37701 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37703         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37704         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37705         (__lround): Renamed to ...
37706         (__llround): This.  Replace long int with long long int.
37707         Define lround functions as aliases of llround functions.
37708         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37710 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37712         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37713         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37714         adresses to uintptr_t.  Replace "long int" and "unsigned long
37715         int" with "greg_t" on va_arg.
37717 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37719         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37720         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37722         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37723         Move e_machine check before EI_CLASS check.  Handle x32
37724         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37725         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37726         SKIP_EM_IA_64 and include
37727         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37729         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37730         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37731         (add_system_dir): New macro.
37733         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37734         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37736 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37738         [BZ #2551]
37739         [BZ #2552]
37740         [BZ #2553]
37741         [BZ #2554]
37742         [BZ #2562]
37743         [BZ #2563]
37744         [BZ #2565]
37745         [BZ #2566]
37746         [BZ #2576]
37747         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37748         (y0): Likewise.
37749         * math/w_j0f.c (j0f): Likewise.
37750         (y0f): Likewise.
37751         * math/w_j0l.c (__j0l): Likewise.
37752         (__y0l): Likewise.
37753         * math/w_j1.c (j1): Likewise.
37754         (y1): Likewise.
37755         * math/w_j1f.c (j1f): Likewise.
37756         (y1f): Likewise.
37757         * math/w_j1l.c (__j1l): Likewise.
37758         (__y1l): Likewise.
37759         * math/w_jn.c (jn): Likewise.
37760         (yn): Likewise.
37761         * math/w_jnf.c (jnf): Likewise.
37762         (ynf): Likewise.
37763         * math/w_jnl.c (__jnl): Likewise.
37764         (__ynl): Likewise.
37765         * math/libm-test.inc (j0_test): Add more tests.
37766         (j1_test): Likewise.
37767         (jn_test): Likewise.  Add trailing semicolon to existing test.
37768         (y0_test): Likewise.
37769         (y1_test): Likewise.
37770         * sysdeps/i386/fpu/libm-test-ulps: Update.
37771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37773         [BZ #13851]
37774         [BZ #13854]
37775         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37776         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37777         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37778         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37779         (__tanl): Set errno for infinite argument.
37780         * sysdeps/i386/fpu/mptan.c: Remove.
37781         * sysdeps/i386/fpu/s_tan.S: Likewise.
37782         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37783         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37784         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37785         * math/libm-test.inc (tan_test): Add more tests and enable more
37786         tests for double and long double.
37787         * sysdeps/i386/fpu/libm-test-ulps: Update.
37788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37790 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37792         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37793         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37795 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37797         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37798         * configure.in: Use it for both main tree and add-ons.
37799         * configure: Regenerated.
37801 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37803         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37805 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37807         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37808         in comment.
37810         [BZ #13851]
37811         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37812         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37813         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37814         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37815         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37816         infinite argument.
37817         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37818         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37819         != 0 for prec == 2.
37820         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37821         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37822         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37823         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37824         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37825         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37826         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37827         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37828         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37829         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37830         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37831         * math/libm-test.inc (cos_test): Add more tests and enable more
37832         tests for long double.
37833         (sin_test): Likewise.
37834         (sincos_test): Likewise.
37835         * sysdeps/i386/fpu/libm-test-ulps: Update.
37836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37838 2012-03-16  David S. Miller  <davem@davemloft.net>
37840         * sysdeps/sparc/fpu/math_private.h: New file.
37842 2012-03-15  David S. Miller  <davem@davemloft.net>
37844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37845         file.
37846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37848         file.
37849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37854         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37855         sysdep routines.
37856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37858         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37859         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37861         * sysdeps/sparc/sparc-ifunc.h: New file.
37862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37863         sparc-ifunc.h
37864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37866         Likewise.
37867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37868         Likewise.
37869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37873         Likewise.
37874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37879         Likewise.
37880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37881         Likewise.
37882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37888         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
37889         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
37890         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37891         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
37893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
37894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
37895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
37896         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
37897         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
37898         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
37899         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
37900         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
37901         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
37902         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
37903         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
37904         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
37905         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
37907 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37909         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
37910         scaling.
37911         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37913 2012-03-15  Andreas Jaeger  <aj@suse.de>
37915         [BZ #13852]
37916         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
37917         ieee754/flt-32 implementation for sin, cos and sincos.
37918         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
37919         * sysdeps/i386/fpu/s_cosf.S: Likewise.
37920         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
37921         * sysdeps/i386/fpu/s_sinf.S: Likewise.
37922         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
37923         ieee754/flt-32 implementation for tan.
37925         * math/libm-test.inc (cos_test): Enable some large input tests for
37926         float as well
37927         (sin_test): Likewise.
37928         (sincos_test): Likewise.
37929         (tan_test): Add tests for large input.
37931         * sysdeps/i386/fpu/libm-test-ulps: Update.
37933 2012-03-15  Andreas Jaeger  <aj@suse.de>
37935         [BZ #13658]
37936         * math/libm-test.inc (cos_test): Add more test cases.
37937         (sin_test): Likewise.
37938         (sincos_test): Likewise.
37940 2012-03-15  Andreas Jaeger  <aj@suse.de>
37942         [BZ #13837]
37943         * math/libm-test.inc (cos_test): Add a test case for large input
37944         value.
37945         (sin_test): Likewise.
37946         (sincos_test): Likewise.
37948 2012-03-15  Andreas Jaeger  <aj@suse.de>
37949             Joseph Myers  <joseph@codesourcery.com>
37951         [BZ #13658]
37952         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
37953         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
37954         * sysdeps/i386/fpu/branred.c: Likewise.
37955         * sysdeps/i386/fpu/dosincos.c: Likewise.
37956         * sysdeps/i386/fpu/mpa.c: Likewise.
37957         * sysdeps/i386/fpu/s_cos.S: Likewise.
37958         * sysdeps/i386/fpu/s_sin.S: Likewise.
37959         * sysdeps/i386/fpu/s_sincos.S: Likewise.
37960         * sysdeps/i386/fpu/sincos32.c: Likewise.
37962         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
37963         Define.
37964         (libc_feupdateenv_53bit): Define.
37965         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
37966         Define.
37967         (libc_feupdateenv_53bit): Define.
37969         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
37970         53 bit (without extend i386 double precision).
37972         * math/libm-test.inc (sincos_test): Add tests for large input.
37973         (sin): Likewise.
37974         (cos): Likewise.
37976         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37978 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
37980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37982 2012-03-15  David S. Miller  <davem@davemloft.net>
37984         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
37985         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
37986         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
37987         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
37988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
37989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
37990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
37991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
37992         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
37993         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
37994         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
37995         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
37996         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
37997         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
37998         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
37999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38000         file.
38001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38003         file.
38004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38006         file.
38007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38009         file.
38010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38011         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38012         fmin/fmax sysdep routines.
38013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38015 2012-03-14  David S. Miller  <davem@davemloft.net>
38017         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38020         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38021         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38022         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38023         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38024         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38029         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38030         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38031         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38032         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38035         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38037         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38038         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38039         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38040         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38041         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38042         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38043         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38044         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38045         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38046         routines.
38047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38048         file.
38049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38051         file.
38052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38054         file.
38055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38057         file.
38058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38060         file.
38061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38063         file.
38064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38065         file.
38066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38067         file.
38068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38069         file.
38070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38071         New file.
38072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38073         file.
38074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38075         file.
38076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38078         file.
38079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38081         file.
38082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38084         file.
38085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38087         VIS3 routines.
38089         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38090         New file.
38092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38094         * sysdeps/sparc/configure.in: New file.
38095         * sysdeps/sparc/configure: Generate.
38096         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38097         * configure: Regenerate.
38098         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38099         * config.make.in (have-as-vis3): New.
38100         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38101         available use -Av9d instead of -Av9a.
38102         * sysdeps/sparc/sparc64/Makefile: Likewise.
38103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38105         New file.
38106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38107         file.
38108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38109         New file.
38110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38111         file.
38112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38113         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38114         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38115         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38116         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38118         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38119         fzeros/fnegs to load 0x80000000 into a float register instead of
38120         using the stack.
38121         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38123 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38126         bits/syscall.h.
38127         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38128         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38129         ($(inst_includedir)/bits/syscall.h): Remove rule.
38130         ($(objpfx)bits/syscall.d): Include instead of
38131         $(objpfx)syscall-list.d.
38132         (generated): Change syscall-list.h and syscall-list.d to
38133         bits/syscall.h and bits/syscall.d.
38135 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38137         [BZ #13846]
38138         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38140 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38142         [BZ #13841]
38143         * math/s_csqrt.c: Include <float.h>.
38144         (__csqrt): Scale large or subnormal inputs.
38145         * math/s_csqrtf.c: Likewise.
38146         * math/s_csqrtl.c: Likewise.
38147         * math/libm-test.inc (csqrt_test): Add more tests.
38148         * sysdeps/i386/fpu/libm-test-ulps: Update.
38149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38151         [BZ #13840]
38152         * math/libm-test.inc (hypot_test): Add more tests.
38154 2012-03-13  David S. Miller  <davem@davemloft.net>
38156         [BZ #13840]
38157         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38158         double-precision for the calculation instead of scaling.
38160 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38162         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38163         manipulate bits before adding and subtracting TWO52[sx].
38164         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38165         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38166         Likewise.
38167         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38169 2012-03-13  David S. Miller  <davem@davemloft.net>
38171         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38172         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38173         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38174         rtld-global-offsets.h
38175         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38177         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38178         large parameters.
38180         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38182         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38183         'err' in the ifdef scope in which it is actually used.
38185         * nss/nss_db/db-init.c: Include string.h
38187 2012-03-12  David S. Miller  <davem@davemloft.net>
38189         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38190         masking out of the most significant byte of random value used.
38191         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38192         Fix coding style in previous change.
38194         * sysdeps/unix/sysv/linux/kernel-features.h
38195         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38196         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38197         expression.
38198         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38199         later.
38201 2012-03-11  David S. Miller  <davem@davemloft.net>
38203         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38204         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38205         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38206         for 'resultvar' otherwise things get truncated on 64-bit.
38208         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38209         Fix masking out of the most significant byte of random value used.
38211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38213 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38217 2012-03-09  David S. Miller  <davem@davemloft.net>
38219         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38220         variables with appropriate CPP guards.
38221         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38222         from the frame pointer, not the stack pointer.  Correct layout
38223         comments.  Fix test on resulting framesize and the management of
38224         the outregs buffer for pltexit.  Preserve floating point return
38225         values across _dl_call_pltexit call.
38226         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38227         framesize and the management of the outregs buffer for pltexit.
38228         Preserve floating point return values across _dl_call_pltexit
38229         call.
38230         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38231         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38232         (la_sparc64_gnu_pltexit): New functions.
38233         (print_exit): Fix format string for return register value.
38235 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38237         * sunrpc/Makefile (others): Add rpcgen.
38238         ($(objpfx)rpcgen): Remove special build rule and dependency on
38239         libc.
38240         * sunrpc/rpcgen.c: New file.
38242 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38244         [BZ #13673]
38245         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38246         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38247         * sysdeps/i386/crti.S: Likewise.
38248         * sysdeps/i386/crtn.S: Likewise.
38249         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38250         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38251         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38252         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38253         * sysdeps/sh/crti.S: Likewise.
38254         * sysdeps/sh/crtn.S: Likewise.
38255         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38257         [BZ #13673]
38258         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38259         with URL.
38260         * locale/programs/locfile-kw.gperf: Likewise.
38261         * locale/programs/charmap-kw.h: Regenerated.
38262         * locale/programs/locfile-kw.h: Likewise.
38264         [BZ #13673]
38265         * intl/plural.y: Replace FSF snail mail address with URL.
38266         * intl/plural.c: Regenerated.
38268 2012-03-09  Richard Henderson  <rth@twiddle.net>
38270         * include/math_private.h: Remove file.
38271         * math/math_private.h: Move file ...
38272         * sysdeps/generic/math_private.h: ... here.
38274         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38275         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38276         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38278         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38279         and <math_private.h>.
38280         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38281         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38282         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38283         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38284         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38285         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38286         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38287         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38288         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38291         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38292         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38293         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38294         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38295         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38296         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38297         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38298         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38299         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38301         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38302         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38303         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38304         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38305         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38306         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38307         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38308         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38309         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38310         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38311         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38312         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38313         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38314         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38315         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38316         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38317         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38318         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38319         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38320         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38321         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38322         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38323         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38324         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38325         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38326         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38327         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38328         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38329         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38330         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38331         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38332         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38333         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38334         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38335         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38336         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38337         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38338         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38339         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38340         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38341         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38342         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38343         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38344         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38345         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38346         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38347         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38348         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38349         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38350         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38351         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38352         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38353         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38354         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38356         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38358         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38359         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38360         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38361         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38362         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38363         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38364         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38365         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38366         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38367         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38368         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38369         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38370         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38371         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38372         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38373         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38374         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38375         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38376         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38377         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38378         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38379         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38380         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38381         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38382         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38383         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38384         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38385         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38386         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38387         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38388         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38389         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38390         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38391         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38392         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38393         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38394         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38395         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38396         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38397         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38398         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38399         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38400         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38401         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38402         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38403         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38404         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38405         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38406         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38407         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38408         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38409         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38410         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38411         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38412         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38413         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38414         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38415         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38416         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38417         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38418         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38419         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38420         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38421         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38422         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38423         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38424         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38425         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38426         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38427         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38428         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38429         * sysdeps/ieee754/k_standard.c: Likewise.
38430         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38431         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38432         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38433         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38434         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38435         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38436         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38437         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38438         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38439         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38440         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38441         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38442         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38443         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38444         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38445         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38446         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38447         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38448         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38449         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38450         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38451         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38452         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38453         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38454         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38455         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38456         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38457         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38458         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38459         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38460         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38461         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38462         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38463         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38464         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38465         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38466         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38467         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38468         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38469         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38470         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38471         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38472         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38473         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38474         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38475         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38476         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38478         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38479         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38480         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38481         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38482         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38483         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38484         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38485         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38486         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38487         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38488         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38489         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38490         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38491         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38492         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38493         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38496         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38497         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38499         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38500         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38501         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38502         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38503         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38504         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38505         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38506         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38507         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38508         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38509         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38510         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38511         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38512         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38513         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38514         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38515         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38516         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38517         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38518         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38519         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38520         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38521         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38522         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38523         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38524         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38525         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38526         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38527         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38528         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38529         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38530         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38531         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38532         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38533         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38534         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38535         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38536         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38537         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38538         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38539         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38540         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38541         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38542         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38543         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38545         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38546         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38547         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38548         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38549         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38551         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38552         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38553         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38554         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38555         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38556         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38557         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38558         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38559         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38560         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38561         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38562         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38563         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38564         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38565         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38566         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38567         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38568         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38569         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38570         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38573         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38574         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38575         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38576         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38578         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38579         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38580         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38581         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38582         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38584         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38585         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38586         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38587         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38588         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38589         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38590         * sysdeps/ieee754/s_lib_version.c: Likewise.
38591         * sysdeps/ieee754/s_matherr.c: Likewise.
38592         * sysdeps/ieee754/s_signgam.c: Likewise.
38593         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38594         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38595         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38596         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38597         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38598         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38599         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38600         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38601         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38602         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38603         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38604         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38605         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38606         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38607         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38608         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38609         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38610         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38611         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38612         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38613         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38615 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38617         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38618         * sunrpc/rpc_main.c: Likewise.
38619         * sunrpc/rpc_svcout.c: Likewise.
38621 2012-03-09  David S. Miller  <davem@davemloft.net>
38623         * include/math_private.h: New file.
38625 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38627         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38628         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38629         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38630         from <bits/socket_type.h>.
38631         (enum __socket_type): Don't define here.
38632         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38634         bits/socket_type.h.
38636         [BZ #13566]
38637         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38638         checking __USE_GNU.
38640         * Makerules ($(inst_includedir)/%.h): New rule.
38641         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38642         (install-others): Remove variable setting.
38643         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38645 2012-03-08  Richard Henderson  <rth@twiddle.net>
38647         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38648         from macro to inline function; merge with the
38649         !__LIBC_INTERNAL_MATH_INLINES version.
38650         (__ieee754_sqrtf): Likewise.
38652         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38653         to inline function.
38654         (__rintf, __floor, __floorf): Likewise.
38656         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38657         macro to inline function.
38658         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38660         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38661         not <math/math_private.h>.
38663 2012-03-08  David S. Miller  <davem@davemloft.net>
38665         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38666         copyright year.
38667         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38669 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38671         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38672         normalization.
38673         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38674         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38676 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38678         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38679         be defined individually, they must be defined as a block.  Define
38680         S for printing a string instead of hidint the different by using a
38681         macro for adding the 'l'.
38682         * stdio-common/tst-fphex-wide.c: Adjust.
38684 2012-03-07  Marek Polacek  <polacek@redhat.com>
38686         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38688 2012-03-08  Marek Polacek  <polacek@redhat.com>
38690         [BZ #13806]
38691         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38692         * stdio-common/tst-fphex.c: Define a few macros to make the
38693         test reusable.  Use them.
38694         * stdio-common/tst-fphex-wide.c: New file.
38696 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38698         [BZ #6911]
38699         * manual/macros.texi (gnusystems): New macro.
38700         (nongnusystems): Likewise.
38701         (gnulinuxhurdsystems): Likewise.
38702         (gnuhurdsystems): Likewise..
38703         (gnulinuxsystems): Likewise.
38704         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38705         variants of the GNU system, not "GNU system".
38706         * manual/conf.texi: Likewise.
38707         * manual/errno.texi: Likewise.  Update example of errno macro
38708         expansion.
38709         * manual/filesys.texi: Likewise.
38710         (getumask): Document as specific to GNU/Hurd.
38711         * manual/install.texi: Likewise.  Reword some references to
38712         GNU/Linux.
38713         * manual/intro.texi: Likewise.
38714         * manual/io.texi: Likewise.
38715         (File Name Portability): Detail which constraints are inapplicable
38716         to all GNU systems and which are only inapplicable to GNU/Hurd.
38717         * manual/job.texi: Likewise.
38718         * manual/llio.texi: Likewise.
38719         (O_NOCTTY): Document as present on GNU/Linux.
38720         * manual/maint.texi: Likewise.
38721         * manual/memory.texi: Likewise.
38722         * manual/pattern.texi: Likewise.
38723         * manual/pipe.texi: Likewise.
38724         * manual/process.texi: Likewise.
38725         * manual/resource.texi: Likewise.
38726         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38727         child on GNU/Hurd.
38728         * manual/setjmp.texi: Likewise.
38729         * manual/signal.texi: Likewise.
38730         * manual/startup.texi: Likewise.
38731         * manual/stdio.texi: Likewise.
38732         * manual/terminal.texi: Likewise.
38733         (ONLCR): Document as POSIX.
38734         (OXTABS): Document availability on GNU/Linux as XTABS.
38735         (ONOEOT): Document availability separately from other bits.
38736         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38737         * manual/time.texi: Likewise.
38738         * manual/users.texi: Likewise.
38739         * INSTALL: Regenerated.
38740         * sysdeps/gnu/errlist.c: Regenerated.
38742         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38743         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38744         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38745         puts.
38746         * configure: Regenerated.
38748 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38750         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38751         default includes instead of AC_HEADER_CHECK.
38752         * sysdeps/i386/configure: Regenerated.
38754         [BZ #10716]
38755         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38756         * math/s_cacoshf.c (__cacoshf): Likewise.
38757         * math/s_cacoshl.c (__cacoshl): Likewise.
38758         * math/s_casinh.c (__casinh): Set signs of result from argument.
38759         * math/s_casinhf.c (__casinhf): Likewise.
38760         * math/s_casinhl.c (__casinhl): Likewise.
38761         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38762         (casinh_test): Add more tests.
38763         * sysdeps/i386/fpu/libm-test-ulps: Update.
38764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38766 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38768         * po/zh_TW.po: Update from translation team.
38770         * login/Makefile (distribute): Remove variable.
38771         * catgets/Makefile: Likewise.
38772         * mach/Makefile: Likewise.
38773         * malloc/Makefile: Likewise.
38774         * misc/Makefile: Likewise.
38775         * iconv/Makefile: Likewise.
38776         * nscd/Makefile: Likewise.
38777         * hurd/Makefile: Likewise.
38778         * manual/Makefile: Likewise.
38779         * locale/Makefile: Likewise.
38780         * intl/Makefile: Likewise.
38781         * conform/Makefile: Likewise.
38782         * nss/Makefile: Likewise.
38783         * time/Makefile: Likewise.
38784         * soft-fp/Makefile: Likewise.
38785         * dirent/Makefile: Likewise.
38786         * gmon/Makefile: Likewise.
38787         * po/Makefile: Likewise.
38788         * rt/Makefile: Likewise.
38789         * socket/Makefile: Likewise.
38790         * math/Makefile: Likewise.
38791         * signal/Makefile: Likewise.
38792         * debug/Makefile: Likewise.
38793         * elf/Makefile: Likewise.
38794         * timezone/Makefile: Likewise.
38795         * stdlib/Makefile: Likewise.
38796         * iconvdata/Makefile: Likewise.
38797         * sunrpc/Makefile: Likewise.
38798         * io/Makefile: Likewise.
38799         * argp/Makefile: Likewise.
38800         * inet/Makefile: Likewise.
38801         * hesiod/Makefile: Likewise.
38802         * grp/Makefile: Likewise.
38803         * csu/Makefile: Likewise.
38804         * wctype/Makefile: Likewise.
38805         * crypt/Makefile: Likewise.
38806         * libio/Makefile: Likewise.
38807         * string/Makefile: Likewise.
38808         * nis/Makefile: Likewise.
38809         * resolv/Makefile: Likewise.
38810         * stdio-common/Makefile: Likewise.
38811         * wcsmbs/Makefile: Likewise.
38812         * dlfcn/Makefile: Likewise.
38813         * posix/Makefile: Likewise.
38815         [BZ #6959]
38816         * timezone/Makefile: Don't install timezone files, just the programs
38817         and scripts.
38819 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38821         * nss/databases.def: Add missing gshadow entry.
38823         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38825 2012-03-06  Marek Polacek  <polacek@redhat.com>
38827         [BZ #13726]
38828         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38829         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38830         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38831         * stdio-common/tst-long-dbl-fphex.c: New file.
38833 2012-03-06  David S. Miller  <davem@davemloft.net>
38835         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38836         (set_obp_int): New function.
38837         (get_obp_int): New function.
38838         (__get_clockfreq_via_dev_openprom): Likewise.
38839         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38840         Avoid unused variable warnings on 'val' and use builtin_expect.
38841         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38842         __builtin_expect.
38843         (INLINE_CLONE_SYSCALL): Likewise.
38845 2012-03-05  David S. Miller  <davem@davemloft.net>
38847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38849 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38853         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38854         only for |x| >= 40.
38855         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38857 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38859         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38860         Replace gettimeofday with __vdso_gettimeofday.
38862         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38863         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38864         __vdso_clock_gettime and __vdso_getcpu.
38866         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38867         time with __vdso_time.
38869 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38871         * manual/lang.texi (size_t): Note types to which size_t may be
38872         equivalent with the GNU C Library, but do not describe when
38873         differences between them are significant.
38875 2012-03-05  Andreas Jaeger  <aj@suse.de>
38877         * sysdeps/i386/fpu/libm-test-ulps: Update.
38879 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38881         [BZ #3976]
38882         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38883         (__ieee754_pow): Save and restore rounding mode and use
38884         round-to-nearest for main computations.
38885         * math/libm-test.inc (pow_test_tonearest): New function.
38886         (pow_test_towardzero): Likewise.
38887         (pow_test_downward): Likewise.
38888         (pow_test_upward): Likewise.
38889         (main): Call the new functions.
38890         * sysdeps/i386/fpu/libm-test-ulps: Update.
38891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38893         [BZ #3976]
38894         * math/libm-test.inc (cosh_test_tonearest): New function.
38895         (cosh_test_towardzero): Likewise.
38896         (cosh_test_downward): Likewise.
38897         (cosh_test_upward): Likewise.
38898         (sinh_test_tonearest): Likewise.
38899         (sinh_test_towardzero): Likewise.
38900         (sinh_test_downward): Likewise.
38901         (sinh_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.
38906 2012-03-05  Tom de Vries  <tom@codesourcery.com>
38908         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
38909         default stack guard is set in last bytes.
38910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
38912 2012-03-05  Kees Cook  <keescook@chromium.org>
38914         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
38916         [BZ #13656]
38917         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
38918         possibly allocate from heap instead of stack.
38919         * stdio-common/bug-vfprintf-nargs.c: New file.
38920         * stdio-common/Makefile (tests): Add nargs overflow test.
38922 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
38924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38926 2012-03-03  Marek Polacek  <polacek@redhat.com>
38928         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
38929         * math/math_private.h: Likewise.
38930         * stdlib/tst-strtod.c: Likewise.
38931         * sysdeps/i386/i486/bits/atomic.h: Likewise.
38932         * sysdeps/x86_64/bits/atomic.h: Likewise.
38934 2012-03-02  David S. Miller  <davem@davemloft.net>
38936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
38937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
38938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
38939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
38940         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
38941         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
38942         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
38943         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
38945 2012-03-02  Roland McGrath  <roland@hack.frob.com>
38947         [BZ #13792]
38948         * manual/examples/README: New file, says the example source files
38949         can be used under GPL>=2.
38950         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
38951         line containing just "*/".
38952         * manual/examples/add.c: Add copyright header (GPL>=2).
38953         * manual/examples/argp-ex1.c: Likewise.
38954         * manual/examples/argp-ex2.c: Likewise.
38955         * manual/examples/argp-ex3.c: Likewise.
38956         * manual/examples/argp-ex4.c: Likewise.
38957         * manual/examples/atexit.c: Likewise.
38958         * manual/examples/db.c: Likewise.
38959         * manual/examples/dir.c: Likewise.
38960         * manual/examples/dir2.c: Likewise.
38961         * manual/examples/execinfo.c: Likewise.
38962         * manual/examples/filecli.c: Likewise.
38963         * manual/examples/filesrv.c: Likewise.
38964         * manual/examples/fmtmsgexpl.c: Likewise.
38965         * manual/examples/genpass.c: Likewise.
38966         * manual/examples/inetcli.c: Likewise.
38967         * manual/examples/inetsrv.c: Likewise.
38968         * manual/examples/isockad.c: Likewise.
38969         * manual/examples/longopt.c: Likewise.
38970         * manual/examples/memopen.c: Likewise.
38971         * manual/examples/memstrm.c: Likewise.
38972         * manual/examples/mkfsock.c: Likewise.
38973         * manual/examples/mkisock.c: Likewise.
38974         * manual/examples/mygetpass.c: Likewise.
38975         * manual/examples/pipe.c: Likewise.
38976         * manual/examples/popen.c: Likewise.
38977         * manual/examples/rprintf.c: Likewise.
38978         * manual/examples/search.c: Likewise.
38979         * manual/examples/select.c: Likewise.
38980         * manual/examples/setjmp.c: Likewise.
38981         * manual/examples/sigh1.c: Likewise.
38982         * manual/examples/sigusr.c: Likewise.
38983         * manual/examples/stpcpy.c: Likewise.
38984         * manual/examples/strdupa.c: Likewise.
38985         * manual/examples/strftim.c: Likewise.
38986         * manual/examples/strncat.c: Likewise.
38987         * manual/examples/subopt.c: Likewise.
38988         * manual/examples/swapcontext.c: Likewise.
38989         * manual/examples/termios.c: Likewise.
38990         * manual/examples/testopt.c: Likewise.
38991         * manual/examples/testpass.c: Likewise.
38992         * manual/examples/timeval_subtract.c: Likewise.
38994         [BZ #13792]
38995         * manual/time.texi (Elapsed Time): Move timeval_subtract example
38996         function to ...
38997         * manual/timeval_subtract.c.texi: ... here, new file.
38999 2012-03-02  David S. Miller  <davem@davemloft.net>
39001         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39003 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39005         [BZ #3976]
39006         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39007         (__sin): Save and restore rounding mode and use round-to-nearest
39008         for all computations.
39009         (__cos): Save and restore rounding mode and use round-to-nearest
39010         for all computations.
39011         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39012         <fenv.h>.
39013         (tan): Save and restore rounding mode and use round-to-nearest for
39014         all computations.
39015         * math/libm-test.inc (cos_test_tonearest): New function.
39016         (cos_test_towardzero): Likewise.
39017         (cos_test_downward): Likewise.
39018         (cos_test_upward): Likewise.
39019         (sin_test_tonearest): Likewise.
39020         (sin_test_towardzero): Likewise.
39021         (sin_test_downward): Likewise.
39022         (sin_test_upward): Likewise.
39023         (tan_test_tonearest): Likewise.
39024         (tan_test_towardzero): Likewise.
39025         (tan_test_downward): Likewise.
39026         (tan_test_upward): Likewise.
39027         (main): Call the new functions.
39028         * sysdeps/i386/fpu/libm-test-ulps: Update.
39029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39031         [BZ #10135]
39032         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39033         small n, then large n, before computing and testing k+n.
39034         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39035         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39036         Likewise.
39037         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39038         Likewise.
39039         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39040         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39041         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39042         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39043         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39044         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39045         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39046         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39047         * math/libm-test.inc (scalbn_test): Add more tests.
39048         (scalbln_test): Likewise.
39050         * manual/filesys.texi (mode_t): Describe constraints on size and
39051         signedness, not exact equivalence to a particular type.
39052         (ino_t): Likewise.
39053         (ino64_t): Likewise.
39054         (dev_t): Likewise.
39055         (nlink_t): Likewise.
39056         (blkcnt_t): Likewise.
39057         (blkcnt64_t): Likewise.
39058         * manual/llio.texi (off_t): Likewise.
39060         [BZ #3976]
39061         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39062         (__ieee754_exp): Save and restore rounding mode and use
39063         round-to-nearest for all computations.
39064         * math/libm-test.inc (exp_test_tonearest): New function.
39065         (exp_test_towardzero): Likewise.
39066         (exp_test_downward): Likewise.
39067         (exp_test_upward): Likewise.
39068         (main): Call the new functions.
39069         * sysdeps/i386/fpu/libm-test-ulps: Update.
39070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39072 2012-03-01  Chris Demetriou  <cgd@google.com>
39074         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39075         have predictable order.
39077 2012-03-01  David S. Miller  <davem@davemloft.net>
39079         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39081         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39082         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39083         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39084         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39086         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39087         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39088         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39090         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39091         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39092         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39093         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39094         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39098         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39099         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39100         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39102         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39103         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39104         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39105         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39106         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39107         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39108         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39109         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39110         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39111         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39112         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39113         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39115         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39116         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39117         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39118         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39119         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39120         * sysdeps/sparc/elf/configure: Regenerated.
39122 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39124         * configure.in (AS, LD): Require binutils 2.20 or later.
39125         * configure: Regenerated.
39126         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39127         as required minimum version.
39128         * INSTALL: Regenerated.
39130         [BZ #2541]
39131         [BZ #4108]
39132         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39133         before squaring exponent.
39134         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39135         bottom long double and 27 bits of top long double before squaring
39136         exponent.
39137         * math/libm-test.inc (erfc_test): Add more tests.
39138         * sysdeps/i386/fpu/libm-test-ulps: Update.
39139         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39142 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39144         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39145         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39146         containing bit-fields.
39147         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39148         * soft-fp/single.h (_FP_UNION_S): Likewise.
39149         * soft-fp/double.h (_FP_UNION_D): Likewise.
39151 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39153         [BZ #13786]
39154         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39155         not include ../strcmp.S.
39156         [USE_AS_STRNCASECMP_L]: Likewise.
39157         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39158         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39159         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39160         (__strncasecmp_l_ia32): Define as alias to
39161         __strncasecmp_l_nonascii.
39163         [BZ #5794]
39164         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39165         * sysdeps/i386/fpu/libm-test-ulps: Update.
39166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39168         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39171 2012-02-29  Jeff Law  <law@redhat.com>
39173         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39174         out of bounds read.
39176 2012-02-29  Marek Polacek  <polacek@redhat.com>
39178         [BZ #13706]
39179         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39180         * elf/Makefile: Add rules to run tst-unused-dep.out.
39182 2012-02-28  David S. Miller  <davem@davemloft.net>
39184         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39185         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39186         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39187         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39188         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39189         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39191 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39193         * math/libm-test.inc (llround_test): Move one test from
39194         lround_test.  Use TEST_f_L in moved test.
39195         (lround_test): Move misplaced test to llround_test.  Add testcase
39196         from bug 2561.
39198 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39200         * sysdeps/x86_64/fpu/e_expf.S: New file.
39201         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39203 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39205         [BZ #13637]
39206         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39207         of remain_len that may cause incomplete multi-byte character and
39208         false match.
39209         * posix/bug-regex33.c: New file.
39210         * posix/Makefile (tests): Add bug-regex33.
39212 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39214         * manual/macros.texi: New file.
39215         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39216         * manual/libc.texinfo: Include macros.texi.
39217         * manual/creatute.texi: Likewise.
39218         * manual/install.texi: Likewise.
39219         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39220         @glibcadj{} in references to the GNU C Library.
39221         * manual/charset.texi: Likewise.
39222         * manual/conf.texi: Likewise.
39223         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39224         when not using those macros.
39225         * manual/creature.texi: Likewise.
39226         * manual/crypt.texi: Likewise.
39227         * manual/errno.texi: Likewise.
39228         * manual/filesys.texi: Likewise.
39229         * manual/header.texi: Likewise.
39230         * manual/install.texi: Likewise.
39231         * manual/intro.texi: Likewise.
39232         * manual/io.texi: Likewise.
39233         * manual/job.texi: Likewise.
39234         * manual/lang.texi: Likewise.
39235         * manual/libc.texiinfo: Likewise.
39236         * manual/llio.texi: Likewise.
39237         * manual/locale.texi: Likewise.
39238         * manual/maint.texi: Likewise.
39239         * manual/math.texi: Likewise.
39240         * manual/memory.texi: Likewise.
39241         * manual/message.texi: Likewise.
39242         * manual/nss.texi: Likewise.
39243         * manual/pattern.texi: Likewise.
39244         * manual/process.texi: Likewise.
39245         * manual/resource.texi: Likewise.
39246         * manual/search.texi: Likewise.
39247         * manual/setjmp.texi: Likewise.
39248         * manual/signal.texi: Likewise.
39249         * manual/socket.texi: Likewise.
39250         * manual/startup.texi: Likewise.
39251         * manual/stdio.texi: Likewise.
39252         * manual/string.texi: Likewise.
39253         * manual/sysinfo.texi: Likewise.
39254         * manual/syslog.texi: Likewise.
39255         * manual/terminal.texi: Likewise.
39256         * manual/time.texi: Likewise.
39257         * manual/users.texi: Likewise.
39258         * INSTALL: Regenerated.
39259         * NOTES: Regenerated.
39260         * sysdeps/gnu/errlist.c: Regenerated.
39262 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39264         * include/dirent.h: Include <dirstream.h> before
39265         <dirent/dirent.h>.
39267 2012-02-28  David S. Miller  <davem@davemloft.net>
39269         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39270         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39271         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39272         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39274 2012-02-27  David S. Miller  <davem@davemloft.net>
39276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39278         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39279         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39282         frame pointer instead of stack pointer relative arg slot.
39283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39284         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39285         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39287 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39289         [BZ #3992]
39290         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39292 2012-02-27  David S. Miller  <davem@davemloft.net>
39294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39298         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39299         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39300         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39301         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39303 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39305         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39306         later.  Allow versions 5-9.
39307         * configure: Regenerated.
39308         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39309         required minimum version and 4.6 as recommended version.  Do not
39310         mention bugs in GCC 2.7 and 2.8.
39311         * INSTALL: Regenerated.
39313 2012-02-27  David S. Miller  <davem@davemloft.net>
39315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39319         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39320         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39321         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39322         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39324         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39325         manipulate bits before adding and subtracting TWO112[sx].
39326         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39328 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39330         [BZ #13775]
39331         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39332         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39333         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39334         being in POSIX, because they are in 1003.1-2008.
39336         * rt/tst-aio.c: Include <fcntl.h>.
39337         * rt/tst-aio7.c: Likewise.
39338         * rt/tst-aio64.c: Likewise.
39340         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39342 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39344         * manual/install.texi (--with-headers): Describe headers as
39345         interface headers, not private headers.
39346         (Specific advice for GNU/Linux systems): Describe use of headers
39347         from "make headers_install", not private headers from older
39348         kernels.
39349         * INSTALL: Regenerated.
39350         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39351         Change to 2.6.19.
39352         * sysdeps/unix/sysv/linux/configure: Regenerated.
39354         * manual/llio.texi (fclean): Remove documentation.
39356         * manual/Makefile (libc-texi-generated): New variable.  Include
39357         version.texi.
39358         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39359         $(libc-texi-generated), not duplicated list of files.
39360         (version.texi, stamp-version): New rules.
39361         (realclean): Remove $(libc-texi-generated), not individual files
39362         from that list.  Do not remove dir-add.texinfo.
39363         * manual/libc.texinfo: Comment out uses of edition numbers and
39364         references to printed manual.  Remove last-updated dates.
39365         (EDITION): Comment out.
39366         (ISBN): Likewise.
39367         (VERSION, UPDATED): Remove.
39368         (version.texi): Include.
39370 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39372         * sysdeps/posix/spawni.c: Include <signal.h>.
39373         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39374         * sysdeps/pthread/aio_fsync.c: Likewise.
39376 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39378         * conform/Makefile (tests): Run only when not cross-compiling and
39379         when fast-check is not defined.
39381         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39382         * conform/data/limits.h-data: Fixes for POSIX2008.
39383         * conform/run-conformtest.sh: Run all tests.
39384         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39385         headers.
39386         * include/bits/dlfcn.h: Likewise.
39387         * include/langinfo.h: Likewise.
39388         * include/monetary.h: Likewise.
39389         * include/sys/poll.h: Likewise.
39391         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39392         for __USE_GNU.
39393         * posix/spawn.h: Define __need_sigset_t.
39394         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39395         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39396         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39397         to get sigevent_t only.
39398         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39399         only for __USE_GNU.
39400         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39401         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39402         process_vm_writev only for __USE_GNU.
39403         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39405         * conform/Makefile: For now ignore errors from run-conformtest.
39406         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39407         POSIX to avoid namespace pollution.  Don't prepend headers.
39408         * conform/data/aio.h-data: Fixes for POSIX testing.
39409         * conform/data/fcntl.h-data: Likewise.
39410         * conform/data/glob.h-data: Likewise.
39411         * conform/data/grp.h-data: Likewise.
39412         * conform/data/pthread.h-data: Likewise.
39413         * conform/data/pwd.h-data: Likewise.
39414         * conform/data/signal.h-data: Likewise.
39415         * conform/data/spawn.h-data: Likewise.
39416         * conform/data/stdio.h-data: Likewise.
39417         * conform/data/stdlib.h-data: Likewise.
39418         * conform/data/stropts.h-data: Likewise.
39419         * conform/data/sys/mman.h-data: Likewise.
39420         * conform/data/sys/stat.h-data: Likewise.
39421         * conform/data/sys/types.h-data: Likewise.
39422         * conform/data/sys/wait.h-data: Likewise.
39423         * conform/data/time.h-data: Likewise.
39424         * conform/data/unistd.h-data: Likewise.
39425         * conform/data/utime.h-data: Likewise.
39427         * io/sys/stat.h: fchmod was always in POSIX.
39428         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39429         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39430         * rt/aio.h: Define __need_timespec before including <time.h>.
39431         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39432         struct.  Add forward declaration of pthread_attr_t and use it in
39433         sigevent.
39434         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39435         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39436         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39437         always remove CLK_TCK definition.
39439 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39441         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39443 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39445         * conform/run-conformtest.sh: New file.
39446         * conform/Makefile: Run run-conformtest for tests.
39447         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39448         support.
39450         * conform/data/uchar.h-data: New file.
39451         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39452         * conform/data/arpa/inet.h-data: Likewise.
39453         * conform/data/assert.h-data: Likewise.
39454         * conform/data/complex.h-data: Likewise.
39455         * conform/data/cpio.h-data: Likewise.
39456         * conform/data/ctype.h-data: Likewise.
39457         * conform/data/dirent.h-data: Likewise.
39458         * conform/data/dlfcn.h-data: Likewise.
39459         * conform/data/errno.h-data: Likewise.
39460         * conform/data/fcntl.h-data: Likewise.
39461         * conform/data/float.h-data: Likewise.
39462         * conform/data/fmtmsg.h-data: Likewise.
39463         * conform/data/fnmatch.h-data: Likewise.
39464         * conform/data/ftw.h-data: Likewise.
39465         * conform/data/glob.h-data: Likewise.
39466         * conform/data/grp.h-data: Likewise.
39467         * conform/data/iconv.h-data: Likewise.
39468         * conform/data/inttypes.h-data: Likewise.
39469         * conform/data/langinfo.h-data: Likewise.
39470         * conform/data/libgen.h-data: Likewise.
39471         * conform/data/limits.h-data: Likewise.
39472         * conform/data/locale.h-data: Likewise.
39473         * conform/data/math.h-data: Likewise.
39474         * conform/data/monetary.h-data: Likewise.
39475         * conform/data/mqueue.h-data: Likewise.
39476         * conform/data/ndbm.h-data: Likewise.
39477         * conform/data/net/if.h-data: Likewise.
39478         * conform/data/netdb.h-data: Likewise.
39479         * conform/data/netinet/in.h-data: Likewise.
39480         * conform/data/nl_types.h-data: Likewise.
39481         * conform/data/poll.h-data: Likewise.
39482         * conform/data/pthread.h-data: Likewise.
39483         * conform/data/pwd.h-data: Likewise.
39484         * conform/data/regex.h-data: Likewise.
39485         * conform/data/sched.h-data: Likewise.
39486         * conform/data/search.h-data: Likewise.
39487         * conform/data/semaphore.h-data: Likewise.
39488         * conform/data/setjmp.h-data: Likewise.
39489         * conform/data/signal.h-data: Likewise.
39490         * conform/data/spawn.h-data: Likewise.
39491         * conform/data/stdarg.h-data: Likewise.
39492         * conform/data/stdio.h-data: Likewise.
39493         * conform/data/stdlib.h-data: Likewise.
39494         * conform/data/string.h-data: Likewise.
39495         * conform/data/strings.h-data: Likewise.
39496         * conform/data/stropts.h-data: Likewise.
39497         * conform/data/sys/ipc.h-data: Likewise.
39498         * conform/data/sys/mman.h-data: Likewise.
39499         * conform/data/sys/msg.h-data: Likewise.
39500         * conform/data/sys/resource.h-data: Likewise.
39501         * conform/data/sys/select.h-data: Likewise.
39502         * conform/data/sys/sem.h-data: Likewise.
39503         * conform/data/sys/shm.h-data: Likewise.
39504         * conform/data/sys/socket.h-data: Likewise.
39505         * conform/data/sys/stat.h-data: Likewise.
39506         * conform/data/sys/statvfs.h-data: Likewise.
39507         * conform/data/sys/time.h-data: Likewise.
39508         * conform/data/sys/timeb.h-data: Likewise.
39509         * conform/data/sys/times.h-data: Likewise.
39510         * conform/data/sys/types.h-data: Likewise.
39511         * conform/data/sys/uio.h-data: Likewise.
39512         * conform/data/sys/un.h-data: Likewise.
39513         * conform/data/sys/utsname.h-data: Likewise.
39514         * conform/data/sys/wait.h-data: Likewise.
39515         * conform/data/syslog.h-data: Likewise.
39516         * conform/data/tar.h-data: Likewise.
39517         * conform/data/termios.h-data: Likewise.
39518         * conform/data/utime.h-data: Likewise.
39519         * conform/data/utmpx.h-data: Likewise.
39520         * conform/data/varargs.h-data: Likewise.
39521         * conform/data/wchar.h-data: Likewise.
39522         * conform/data/wctype.h-data: Likewise.
39523         * conform/data/wordexp.h-data: Likewise.
39525         * include/stropts.h: New file.
39526         * include/uchar.h: New file.
39527         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39528         * include/assert.h: Likewise.
39529         * include/ctype.h: Likewise.
39530         * include/dirent.h: Likewise.
39531         * include/dlfcn.h: Likewise.
39532         * include/fcntl.h: Likewise.
39533         * include/fnmatch.h: Likewise.
39534         * include/glob.h: Likewise.
39535         * include/grp.h: Likewise.
39536         * include/libio.h: Likewise.
39537         * include/locale.h: Likewise.
39538         * include/math.h: Likewise.
39539         * include/net/if.h: Likewise.
39540         * include/netdb.h: Likewise.
39541         * include/netinet/in.h: Likewise.
39542         * include/pthread.h: Likewise.
39543         * include/pwd.h: Likewise.
39544         * include/regex.h: Likewise.
39545         * include/sched.h: Likewise.
39546         * include/search.h: Likewise.
39547         * include/setjmp.h: Likewise.
39548         * include/signal.h: Likewise.
39549         * include/stdio.h: Likewise.
39550         * include/stdlib.h: Likewise.
39551         * include/string.h: Likewise.
39552         * include/sys/cdefs.h: Likewise.
39553         * include/sys/mman.h: Likewise.
39554         * include/sys/msg.h: Likewise.
39555         * include/sys/resource.h: Likewise.
39556         * include/sys/select.h: Likewise.
39557         * include/sys/socket.h: Likewise.
39558         * include/sys/stat.h: Likewise.
39559         * include/sys/statvfs.h: Likewise.
39560         * include/sys/time.h: Likewise.
39561         * include/sys/times.h: Likewise.
39562         * include/sys/uio.h: Likewise.
39563         * include/sys/utsname.h: Likewise.
39564         * include/sys/wait.h: Likewise.
39565         * include/termios.h: Likewise.
39566         * include/time.h: Likewise.
39567         * include/ulimit.h: Likewise.
39568         * include/unistd.h: Likewise.
39569         * include/utime.h: Likewise.
39570         * include/wchar.h: Likewise.
39571         * include/wctype.h: Likewise.
39572         * include/wordexp.h: Likewise.
39574         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39576         * time/time.h: TIME_UTC must be a macro.
39577         Make timespec_get available for ISO C11 only as well.
39579 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39581         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39582         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39584 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39586         * configure.in: Use -o not -a in test for unsupported multi-arch.
39588 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39590         * manual/texinfo.tex: Update to version 2012-01-19.16.
39592 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39594         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39596 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39598         [BZ #13738]
39599         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39600         * manual/fdl-1.3.texi: New file.
39601         * manual/fdl-1.1.texi: File removed.
39603         [BZ #13738]
39604         * manual/libc.texinfo (FDL_VERSION): New @set.
39605         Use it for mention of FDL in cover text.
39606         (Documentation License): Use it in @include file name.
39608 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39609             Roland McGrath  <roland@hack.frob.com>
39611         [BZ #5461]
39612         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39613         (not LONG_LONG_MAX and LONG_LONG_MIN.
39614         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39615         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39616         name.
39617         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39619 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39621         [BZ #2547]
39622         [BZ #11365]
39623         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39624         manipulate bits before adding and subtracting TWO23[sx].
39625         * math/libm-test.inc (nearbyint_test): Add more tests.
39627 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39629         [BZ #2548]
39630         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39631         bits before adding and subtracting TWO23[sx].
39632         * math/libm-test.inc (rint_test): Add more tests.
39633         (rint_test_tonearest): Likewise.
39634         (rint_test_towardzero): Likewise.
39635         (rint_test_downward): Likewise.
39636         (rint_test_upward: Likewise.
39638 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39640         [BZ #10110]
39641         * include/stdc-predef.h: New file.  Extracted from features.h.
39642         * include/features.h: Include stdc-predef.h.
39643         * Makefile (headers): Add stdc-predef.h.
39644         * CONFORMANCE (Compiler limitations): Update.
39646 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39648         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39650 2012-02-21  David S. Miller  <davem@davemloft.net>
39652         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39653         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39655 2012-02-20  David S. Miller  <davem@davemloft.net>
39657         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39658         using a normal save/restore sequence, rather than allocating a
39659         dummy stack frame just to store a frame pointer and restore.
39660         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39662 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39664         * manual/install.texi: Fix stray word in line-wrapped comment.
39666 2012-02-20  David S. Miller  <davem@davemloft.net>
39668         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39669         both binutils and gcc support GOTDATA.
39671         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39672         "rd %pc" in the PIC register setup sequences.
39674         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39675         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39676         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39677         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39678         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39679         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39680         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39681         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39682         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39683         (SYSCALL_ERROR_HANDLER): Likewise.
39684         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39685         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39687         (SYSCALL_ERROR_HANDLER): Likewise.
39689         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39690         (HAVE_GCC_GOTDATA): New.
39691         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39692         relocation support in both binutils and gcc.
39693         * sysdeps/sparc/elf/configure: Regenerate.
39695         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39696         * sysdeps/sparc/sparc32/elf/configure: Delete.
39697         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39698         * sysdeps/sparc/sparc64/elf/configure: Delete.
39699         * sysdeps/sparc/elf/configure.in: New file.
39700         * sysdeps/sparc/elf/configure: Generate.
39702         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39703         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39704         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39705         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39706         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39708 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39710         * manual/install.texi: Do not mention specific glibc version
39711         numbers.
39712         * manual/libc.texinfo (VERSION, UPDATED): Update.
39713         (@copying): Use @copyright{} and range of years.
39715 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39717         [BZ #13695]
39718         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39719         [crti.S not in sysdirs] (generated): Do not append.
39720         [crti.S not in sysdirs] (omit-deps): Likewise.
39721         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39722         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39723         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39724         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39725         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39726         Likewise.
39727         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39728         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39729         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39730         * csu/defs.awk: Remove file.
39731         * sysdeps/generic/initfini.c: Likewise.
39732         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39733         variable.
39734         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39735         Likewise.
39737 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39739         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39740         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39741         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39742         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39743         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39744         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39745         <bits/epoll.h>.
39746         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39747         (__EPOLL_PACKED): Define to empty if not defined by
39748         <bits/epoll.h>.
39749         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39750         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39751         bits/epoll.h.
39753 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39755         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39756         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39757         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39758         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39759         <bits/timerfd.h>.
39760         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39762         bits/timerfd.h.
39764 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39766         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39767         in C locale.
39768         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39769         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39770         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39773 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39775         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39776         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39778 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39780         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39781         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39782         defined.
39783         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39784         Likewise.
39785         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39786         entry for 2.16.
39788 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39790         * math/w_acos.c: Use non-signaling floating-point comparisons.
39791         * math/w_acosf.c: Likewise.
39792         * math/w_acosh.c: Likewise.
39793         * math/w_acoshf.c: Likewise.
39794         * math/w_acoshl.c: Likewise.
39795         * math/w_acosl.c: Likewise.
39796         * math/w_asin.c: Likewise.
39797         * math/w_asinf.c: Likewise.
39798         * math/w_asinl.c: Likewise.
39799         * math/w_atanh.c: Likewise.
39800         * math/w_atanhf.c: Likewise.
39801         * math/w_atanhl.c: Likewise.
39802         * math/w_exp2.c: Likewise.
39803         * math/w_exp2f.c: Likewise.
39804         * math/w_exp2l.c: Likewise.
39805         * math/w_j0.c: Likewise.
39806         * math/w_j0f.c: Likewise.
39807         * math/w_j0l.c: Likewise.
39808         * math/w_j1.c: Likewise.
39809         * math/w_j1f.c: Likewise.
39810         * math/w_j1l.c: Likewise.
39811         * math/w_jn.c: Likewise.
39812         * math/w_jnf.c: Likewise.
39813         * math/w_log.c: Likewise.
39814         * math/w_log10.c: Likewise.
39815         * math/w_log10f.c: Likewise.
39816         * math/w_log10l.c: Likewise.
39817         * math/w_log2.c: Likewise.
39818         * math/w_log2f.c: Likewise.
39819         * math/w_log2l.c: Likewise.
39820         * math/w_logf.c: Likewise.
39821         * math/w_logl.c: Likewise.
39822         * math/w_sqrt.c: Likewise.
39823         * math/w_sqrtf.c: Likewise.
39824         * math/w_sqrtl.c: Likewise.
39825         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39826         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39827         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39828         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39829         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39831 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39833         [BZ #9739]
39834         * manual/string.texi (strnlen): Use correct parameter name in
39835         equivalent expression.
39837 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39839         [BZ #11174]
39840         * manual/users.texi (seteuid): Consistently use neweuid for
39841         argument name.
39843 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39845         [BZ #13704]
39846         * manual/nss.texi (Services in the NSS configuration): Correct
39847         list of services in example configuration file.
39849 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39851         [BZ #11322]
39852         * manual/arith.texi: Remove statements about negative zero
39853         behaving identically to zero.
39855 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39857         [BZ #5993]
39858         * manual/install.texi: Do not document upgrading from libc5.
39860 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39862         [BZ #4596]
39863         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39865 2012-02-18  David S. Miller  <davem@davemloft.net>
39867         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39868         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39869         %o7 across the call.
39870         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39871         instead.
39872         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39873         SETUP_PIC_REG_LEAF.
39874         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39875         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39876         * sysdeps/sparc/crtn.S: Likewise.
39878 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39880         * aout/Makefile: Remove.
39882 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39884         [BZ #13058]
39885         * manual/examples/argp-ex1.c (main): Format definition in GNU
39886         style.
39887         * manual/examples/argp-ex2.c (main): Likewise.
39888         * manual/examples/argp-ex3.c (main): Likewise.
39889         * manual/examples/argp-ex4.c (main): Likewise.
39890         * manual/examples/longopt.c (main): Use new-style prototype
39891         definition.
39892         * manual/examples/strncat.c (main): Specify return type and use
39893         (void) for arguments.
39894         * manual/examples/subopt.c (main): Use char **argv argument.
39896 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39898         [BZ #5077]
39899         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
39900         rounding modes.
39902 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
39904         [BZ #6907]
39905         * manual/string.texi (strchr): Change when strchrnul is
39906         recommended.
39908 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
39910         [BZ #174]
39911         * manual/locale.texi (setlocale): Document LOCPATH.
39913 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39915         [BZ #10210]
39916         * manual/process.texi (execle): Move @dots{} before last argument.
39918 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
39920         [BZ #12047]
39921         * manual/charset.texi (Generic Charset Conversion): Fix typo
39922         (LC_TYPE -> LC_CTYPE).
39924 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
39926         [BZ #5805]
39927         * manual/arith.texi (scalbn): Use @var{} on parameter names.
39928         (scalbnf): Likewise.
39929         (scalbnl): Likewise.
39930         (scalbln): Likewise.
39931         (scalblnf): Likewise.
39932         (scalblnl): Likewise.
39933         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
39934         (vwarnx): Likewise.
39935         (verr): Likewise.
39936         (verrx): Likewise.
39937         * manual/filesys.texi (telldir): Use braces around return type.
39938         * manual/llio.texi (mmap): Add space after comma.
39939         (mmap64): Likewise.
39940         * manual/math.texi (jn): Use @var{} on parameter names.
39941         (jnf): Likewise.
39942         (jnl): Likewise.
39943         (yn): Likewise.
39944         (ynf): Likewise.
39945         (ynl): Likewise.
39946         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
39947         line.
39948         * manual/resource.texi (ulimit): Use @dots{} instead of literal
39949         "...".
39950         (sched_get_priority_min): Remove semicolon on @deftypefun line.
39951         (sched_get_priority_max): Likewise.
39952         * manual/signal.texi (sigvec): Add space after comma.
39953         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
39954         names.
39955         (if_indextoname): Likewise.
39956         (if_freenameindex): Likewise.
39957         (sendto): Use ',' instead of '.' in prototype.
39958         * manual/startup.texi (syscall): Use @dots{} instead of literal
39959         "...".
39960         * manual/stdio.texi (__fpending): Separate initial words of
39961         paragraph from @deftypefun line.
39962         * manual/syslog.texi (syslog): Use @dots{} instead of literal
39963         "...".
39964         (vsyslog): Use @var{} on parameter names.
39965         * manual/terminal.texi (stty): Use @var{} on parameter names.
39966         * manual/users.texi (getutmp): Use @var{} on parameter names.
39967         (getutmpx): Likewise.
39969 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39971         [BZ #6884]
39972         * manual/stdio.texi (fopen): Fix typos in description of
39973         ",ccs=STRING".
39975 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
39977         [BZ #4026]
39978         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
39979         get clock_id definition.
39981 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
39983         [BZ #4822]
39984         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
39985         (madvise): Cast every argument to void on its own.
39987 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39989         [BZ #9902]
39990         * manual/startup.texi (Exit Status): Fix typo.
39992 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
39994         [BZ #10140]
39995         * manual/examples/argp-ex1.c: Include <stdlib.h>.
39996         * manual/examples/argp-ex2.c: Likewise.
39997         * manual/examples/argp-ex3.c: Likewise.
39999 2012-02-16  Richard Henderson  <rth@redhat.com>
40001         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40002         * sysdeps/s390/s390-32/initfini.c: Remove.
40003         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40004         * sysdeps/s390/s390-64/initfini.c: Remove.
40006 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40008         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40009         compiler output for sysdeps/generic/initfini.c.
40010         * sysdeps/sh/elf/initfini.c: Remove file.
40012 2012-02-16  David S. Miller  <davem@davemloft.net>
40014         [BZ #11494]
40015         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40017         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40018         * sysdeps/sparc/crti.S: New file.
40019         * sysdeps/sparc/crtn.S: New file.
40020         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40021         * sysdeps/sparc/sparc64/Makefile: Likewise.
40023 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40025         [BZ #3335]
40026         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40028 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40030         [BZ #4822]
40031         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40033         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40034         (write, read, close): Likewise.
40035         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40037 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40039         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40040         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40041         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40042         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40043         <bits/signalfd.h>.
40044         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40046         bits/signalfd.h.
40048 2012-02-14  Marek Polacek  <polacek@redhat.com>
40050         * sysdeps/x86_64/crti.S: New file.
40051         * sysdeps/x86_64/crtn.S: New file.
40052         * sysdeps/x86_64/elf/initfini.c: Remove file.
40054 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40056         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40057         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40058         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40059         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40060         <bits/inotify.h>.
40061         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40062         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40063         bits/inotify.h.
40065 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40067         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40068         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40069         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40070         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40071         <bits/eventfd.h>.
40072         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40073         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40074         bits/eventfd.h.
40076 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40078         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40079         __feraiseexcept instead of feraiseexcept.
40081         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40082         nanosleep invocations.
40083         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40084         strings, and add error checking for a nanosleep invocations.
40086 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40088         Replace FSF snail mail address with URLs, as per GNU coding standards.
40089         Most of the snail mail addresses were wrong anyway, and omitting
40090         them makes the source code easier to maintain.  Almost all of the
40091         changes are to license notices and to locale LC_IDENTIFICATION
40092         addresses, except for this one:
40093         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40094         not its snail mail address.
40096 2012-02-09  Richard Henderson  <rth@twiddle.net>
40098         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40099         of kernel-features.h.
40101         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40103 2012-02-08  Marek Polacek  <polacek@redhat.com>
40105         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40106         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40107         * sysdeps/gnu/_G_config.h: Likewise.
40108         * sysdeps/generic/_G_config.h: Likewise.
40110 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40112         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40113         tests.
40114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40116         * sysdeps/powerpc/powerpc32/crti.S: New file.
40117         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40118         * sysdeps/powerpc/powerpc64/crti.S: New file.
40119         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40121         * Makeconfig (have-initfini): Don't set.
40122         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40123         * configure.in (nopic_initfini): Don't substitute.
40124         * config.h.in (HAVE_INITFINI): Don't #undef.
40125         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40126         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40128 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40130         Support crti.S and crtn.S provided directly by architectures.
40131         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40132         [crti.S in sysdirs] (omit-deps): Likewise.
40133         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40134         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40135         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40136         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40137         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40138         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40139         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40140         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40141         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40142         compiler output for sysdeps/generic/initfini.c.
40143         * sysdeps/i386/elf/Makefile: Remove file.
40144         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40146 2012-02-07  Marek Polacek  <polacek@redhat.com>
40148         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40149         * sysdeps/gnu/_G_config.h: Likewise.
40150         * sysdeps/mach/hurd/_G_config.h: Likewise.
40152 2012-02-07  Marek Polacek  <polacek@redhat.com>
40154         * math/Makefile (tests): Add tst-CMPLX2.
40155         * math/tst-CMPLX2.c: New file.
40157 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40159         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40161         * math/libm-test.inc (jn_test): Add missing L suffix.
40163 2012-02-06  Marek Polacek  <polacek@redhat.com>
40165         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40166         * sysdeps/i386/fpu/e_powf.S: Likewise.
40167         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40168         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40169         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40170         * sysdeps/i386/fpu/e_pow.S: Likewise.
40171         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40172         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40173         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40174         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40175         * sysdeps/i386/fpu/e_log2.S: Likewise.
40176         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40177         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40178         * sysdeps/i386/fpu/e_powl.S: Likewise.
40179         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40180         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40181         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40182         * sysdeps/i386/fpu/e_logl.S: Likewise.
40183         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40184         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40185         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40186         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40187         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40188         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40189         * sysdeps/i386/fpu/e_log.S: Likewise.
40190         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40191         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40192         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40193         * sysdeps/i386/fpu/e_logf.S: Likewise.
40194         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40195         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40196         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40197         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40198         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40199         * sysdeps/i386/fpu/e_log10.S: Likewise.
40200         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40201         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40202         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40203         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40204         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40205         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40206         * sysdeps/i386/asm-syntax.h: Likewise.
40207         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40208         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40209         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40210         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40211         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40212         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40213         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40214         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40215         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40216         * sysdeps/powerpc/sysdep.h: Likewise.
40217         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40218         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40220 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40222         [BZ #411]
40223         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40225 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40227         * sysdeps/i386/sysdep.h: Include <features.h>.
40228         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40229         version.
40231 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40233         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40234         Define.
40235         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40236         LOAD_PIC_REG_STR.
40238 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40240         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40241         (SETUP_PIC_REG): Use GET_PC_THUNK.
40242         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40243         macro.
40245 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40247         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40248         for non-PIC compilation.
40249         (SETUP_PIC_REG): Add .p2align directive.
40250         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40251         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40252         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40253         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40254         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40255         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40256         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40257         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40258         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40259         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40260         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40261         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40262         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40263         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40264         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40265         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40266         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40267         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40268         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40269         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40270         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40271         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40272         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40273         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40274         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40275         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40276         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40277         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40278         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40279         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40280         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40281         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40282         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40283         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40284         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40285         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40286         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40287         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40288         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40289         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40290         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40292 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40294         * math/tst-CMPLX.c: Include <stdio.h>.
40296 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40298         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40299         float.
40300         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40301         * sysdeps/sparc/bits/mathdef.h: Likewise.
40303 2012-01-31  Marek Polacek  <polacek@redhat.com>
40305         * libio/libio.h: Don't define _PARAMS.
40306         * locale/programs/config.h: Don't define PARAMS.
40307         * stdlib/strtol_l.c: Likewise.
40308         (__strtol_l): Remove PARAMS from the prototype.
40310 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40312         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40313         names.  Just use the correct names.  Remove unnecessary wrapper
40314         functions.
40315         * malloc/arena.c: Likewise.
40316         * malloc/hooks.c: Likewise.
40318         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40319         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40320         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40322 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40324         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40325         into tail calls.
40326         (update_get_addr): New function.
40327         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40328         GET_ADDR_MODULE parameter.
40330 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40332         * crypt/cert.c: Remove __STDC__ conditionals.
40333         * crypt/crypt-entry.c: Likewise.
40334         * crypt/crypt_util.c: Likewise.
40335         * libio/filedoalloc.c: Likewise.
40336         * libio/fileops.c: Likewise.
40337         * libio/genops.c: Likewise.
40338         * libio/iofclose.c: Likewise.
40339         * libio/iofdopen.c: Likewise.
40340         * libio/iofopen.c: Likewise.
40341         * libio/iofopen64.c: Likewise.
40342         * libio/iogetdelim.c: Likewise.
40343         * libio/iopopen.c: Likewise.
40344         * libio/obprintf.c: Likewise.
40345         * libio/oldfileops.c: Likewise.
40346         * libio/oldiofclose.c: Likewise.
40347         * libio/oldiofdopen.c: Likewise.
40348         * libio/oldiofopen.c: Likewise.
40349         * libio/oldiopopen.c: Likewise.
40350         * libio/wfiledoalloc.c: Likewise.
40351         * libio/wgenops.c: Likewise.
40352         * locale/programs/xmalloc.c: Likewise.
40353         * misc/syslog.c: Likewise.
40354         * stdio-common/xbug.c: Likewise.
40355         * string/memchr.c: Likewise.
40356         * string/memcmp.c: Likewise.
40357         * string/memrchr.c: Likewise.
40358         * string/rawmemchr.c: Likewise.
40359         * sysdeps/posix/getcwd.c: Likewise.
40360         * time/strftime_l.c: Likewise.
40362 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40364         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40365         * config.make.in (config-cflags-sse2avx): Define.
40366         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40367         Fix typo.
40369 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40371         * scripts/config.guess: Update from upstream config git repository.
40372         * scripts/config.sub: Likewise.
40374 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40376         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40377         (EM_NUM): Update.
40378         (R_TILEPRO_*, R_TILEGX_*): New macros.
40380         * scripts/firstversions.awk: Fix bug in version range handling.
40382         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40384         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40386         * include/sys/epoll.h: New file.
40387         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40388         libc_hidden_def.
40390 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40392         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40393         Avoid unnecessary __WORDSIZE == 64 test.
40394         (fmaxf): Use VEX format if possible.
40395         (fmax): Likewise.
40396         (fminf): Likewise.
40397         (fmin): Likewise.
40399         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40400         * math/math_private.h: Remove libc_fegetround* and
40401         libc_fesetround*.
40402         * sysdeps/i386/configure.in: Check for -msse2avx.
40403         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40404         also if SSE2AVX is defined.
40405         Remove libc_fegetround* and libc_fesetround*.
40406         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40407         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40408         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40409         of HAS_YMM_USABLE.
40410         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40411         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40412         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40413         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40414         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40416         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40418 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40420         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40421         size is not set.
40422         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40424 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40426         [BZ #13618]
40427         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40428         relocation.
40429         * Makeconfig (libm): Define.
40430         * elf/Makefile: Add rules to build and run tst-relsort1.
40431         * elf/tst-relsort1.c: New file.
40432         * elf/tst-relsort1mod1.c: New file.
40433         * elf/tst-relsort1mod2.c: New file.
40435 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40437         * math/s_ldexp.c: Remove __STDC__ conditionals.
40438         * math/s_ldexpf.c: Likewise.
40439         * math/s_ldexpl.c: Likewise.
40440         * math/s_nextafter.c: Likewise.
40441         * math/s_nexttowardf.c: Likewise.
40442         * math/s_significand.c: Likewise.
40443         * math/s_significandf.c: Likewise.
40444         * math/s_significandl.c: Likewise.
40445         * math/w_jnl.c: Likewise.
40446         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40447         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40448         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40449         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40450         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40451         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40452         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40453         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40454         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40455         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40456         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40457         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40458         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40459         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40460         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40461         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40462         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40463         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40465         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40466         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40467         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40468         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40469         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40470         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40471         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40472         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40473         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40474         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40475         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40476         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40477         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40478         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40479         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40480         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40481         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40482         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40483         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40484         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40485         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40486         * sysdeps/ieee754/k_standard.c: Likewise.
40487         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40488         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40489         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40490         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40491         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40492         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40493         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40494         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40495         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40496         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40497         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40498         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40499         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40500         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40501         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40502         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40503         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40504         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40505         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40506         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40507         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40508         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40509         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40510         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40511         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40512         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40513         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40515         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40516         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40517         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40518         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40519         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40520         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40521         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40522         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40523         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40524         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40525         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40526         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40527         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40528         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40529         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40530         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40531         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40532         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40533         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40534         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40535         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40536         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40537         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40538         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40539         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40540         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40541         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40542         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40543         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40544         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40545         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40546         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40547         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40548         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40549         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40550         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40551         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40552         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40553         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40554         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40555         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40556         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40557         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40558         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40559         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40560         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40561         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40562         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40563         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40564         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40566         * sysdeps/ieee754/s_matherr.c: Likewise.
40567         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40568         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40569         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40570         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40572 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40574         * crypt/md5.h: Remove __STDC__ conditionals.
40575         * libio/libioP.h: Likewise.
40576         * locale/programs/config.h: Likewise.
40577         * sysdeps/generic/sysdep.h: Likewise.
40578         * sysdeps/i386/asm-syntax.h: Likewise.
40579         * sysdeps/s390/asm-syntax.h: Likewise.
40580         * sysdeps/unix/sysdep.h: Likewise.
40581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40584 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40586         * libio/libio.h: Remove __STDC__ conditionals.
40587         * malloc/obstack.h: Likewise.
40588         * math/complex.h: Likewise.
40589         * math/math.h: Likewise.
40590         * sysdeps/generic/_G_config.h: Likewise.
40591         * sysdeps/gnu/_G_config.h: Likewise.
40592         * sysdeps/mach/hurd/_G_config.h: Likewise.
40593         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40594         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40595         * sysdeps/sparc/bits/mathdef.h: Likewise.
40597 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40599         [BZ #13583]
40600         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40601         Clean up HAS_* macros.
40602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40603         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40604         possible.
40605         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40606         HAS_AVX.
40607         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40608         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40609         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40610         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40611         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40613 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40615         * elf/tst-unique3.cc (gets): Remove declaration.
40616         * elf/tst-unique3lib.cc (gets): Likewise.
40617         * elf/tst-unique3lib2.cc (gets): Likewise.
40618         * elf/tst-unique4.cc (gets): Likewise.
40620 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40622         * include/stdio.h: Add C++ protection.  Add gets declarations and
40623         definitions.
40624         * debug/tst-chk1.c: Don't declare gets here.
40625         * stdio-common/tst-gets.c: Likewise.
40627 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40629         * posix/glob: Remove directory.
40631 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40633         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40635 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40637         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40638         of the non-standard EPFNOSUPPORT.
40640 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40642         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40643         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40644         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40646 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40648         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40650 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40652         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40653         transient errors.
40654         * nscd/grpcache.c (cache_addgr): Likewise.
40655         * nscd/hstcache.c (cache_addhst): Likewise.
40656         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40657         * nscd/pwdcache.c (cache_addpw): Likewise.
40658         * nscd/servicescache.c (cache_addserv): Likewise.
40660 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40662         * malloc/malloc.c: Various cleanups.
40663         * malloc/hooks.c: Likewise.
40665         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40666         * stdlib/bug-fmtmsg1.c: New file.
40668         * stdlib/fmtmsg.c (init): Add missing unlock.
40669         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40671 2012-01-12  Marek Polacek  <polacek@redhat.com>
40673         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40674         and _GNU_SOURCE.
40676 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40678         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40679         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40680         macro to ensure uniqueness of label name.
40681         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40682         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40684 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40686         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40688         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40689         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40690         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40691         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40693 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40695         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40697         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40698         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40699         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40701         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40703         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40704         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40705         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40706         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40708         * math/bits/math-finite.h: Add ldexp support.
40710 2012-01-10  Marek Polacek  <polacek@redhat.com>
40712         * locale/programs/localedef.h (show_archive_content): Add noreturn
40713         attribute.
40715 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40717         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40719 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40721         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40723         * io/Makefile (headers): Add bits/poll2.h.
40725 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40728         typo #include statement.
40730 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40732         * include/sys/cdefs.h: Define __attribute_alloc_size.
40733         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40734         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40735         * elf/pldd.c: Likewise.
40736         * iconv/iconv_charmap.c: Likewise.
40737         * iconv/iconvconfig.c: Likewise.
40738         * iconv/strtab.c: Likewise.
40739         * locale/programs/locale.c: Likewise.
40740         * locale/programs/localedef.h: Likewise.
40741         * locale/programs/simple-hash.c: Likewise.
40742         * nscd/nscd.h: Likewise.
40743         * nss/makedb.c: Likewise.
40744         * sysdeps/generic/ldconfig.h: Likewise.
40745         * locale/programs/localedef.c: Remove xmalloc prototype.
40746         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40748 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40750         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40751         appropriate.
40753 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40755         * math/Makefile (tests): Add tst-CMPLX.
40756         * math/tst-CMPLX.c: New file.
40758         * math/complex.h (CMPLXL): Fix typo.
40760         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40761         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40762         GLIBC_2.16.
40763         * debug/tst-chk1.c: Add poll and ppoll tests.
40764         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40765         * include/sys/poll.h: Add hidden proto for ppoll.
40766         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40767         * sysdeps/mach/hurd/ppoll.c: Likewise.
40768         * io/ppoll.c: Likewise.
40769         * debug/poll_chk.c: New file.
40770         * debug/ppoll_chk.c: New file.
40771         * include/bits/poll2.h: New file.
40772         * io/bits/poll2.h: New file.
40774         [BZ #1350]
40775         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40777         * configure.in: static is always set to yes.  Remove.
40778         * config.make.in: Don't set build-static.
40779         * Makeconfig: Remove use of build-static.
40780         * dlfcn/Makefile: Likewise.
40781         * elf/Makefile: Likewise.
40782         * math/Makefile: Likewise.
40783         * misc/Makefile: Likewise.
40784         * nptl/Makefile: Likewise.
40785         * sysdeps/mach/hurd/Makefile: Likewise.
40787         * configure.in: PWD_P is not used anymore.
40788         * config.make.in: Remove PWD_P entry.
40790         * configure.in: Remove last remnants of RANLIB.
40791         No need to check for signed size_t anymore.
40792         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40793         and IA-64.
40794         Remove __builtin_expect test because we require at least gcc 3.4.
40795         * aclocal.m4: Likewise.
40797         * wcsmbs/mbrtoc16.c: Implement using towc function.
40798         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40799         * wcsmbs/wcsmbsload.c: Likewise.
40800         * iconv/gconv_simple.c: Likewise.
40801         * iconv/gconv_int.h: Likewise.
40802         * iconv/gconv_builtin.h: Likewise.
40803         * iconv/iconv_prog.c: Remove CHAR16 handling.
40805         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40807         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40809         * configure.in: Remove --with-elf and --enable-bounded options.
40810         Dont set base_machine for ia64.  More non-ELF conditions removed.
40811         Remove testing and setting of leading underscore information.
40812         * config.make.in (build-bounded): Set to no.
40813         * config.h.in: Remove NO_UNDERSCORES entry.
40814         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40815         them.
40816         * csu/start.c: Remove !NO_UNDERSCORE code.
40817         * locale/localeinfo.h: Likewise.
40818         * sysdeps/generic/machine-gmon.h: Likewise.
40819         * sysdeps/generic/sysdep.h: Likewise.
40820         * sysdeps/i386/sysdep.h: Likewise.
40821         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40822         * sysdeps/mach/sysdep.h: Likewise.
40823         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40825         * sysdeps/sh/sysdep.h: Likewise.
40826         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40827         * sysdeps/unix/i386/sysdep.S: Likewise.
40828         * sysdeps/unix/sparc/start.c: Likewise.
40829         * sysdeps/unix/sparc/sysdep.S: Likewise.
40830         * sysdeps/unix/sparc/sysdep.h: Likewise.
40831         * sysdeps/unix/start.c: Likewise.
40832         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40833         * sysdeps/x86_64/sysdep.h: Likewise.
40835 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40837         [BZ #13553]
40838         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40839         for non-gcc.
40840         * argp/argp-fmtstream.h: Use const instead __const.
40841         * argp/argp.h: Likewise.
40842         * assert/assert.h: Likewise.
40843         * bits/fenv.h: Likewise.
40844         * bits/sched.h: Likewise.
40845         * bits/sigset.h: Likewise.
40846         * bits/sigthread.h: Likewise.
40847         * catgets/nl_types.h: Likewise.
40848         * conform/data/pthread.h-data: Likewise.
40849         * crypt/crypt-private.h: Likewise.
40850         * crypt/crypt.h: Likewise.
40851         * crypt/crypt_util.c: Likewise.
40852         * ctype/ctype.h: Likewise.
40853         * debug/execinfo.h: Likewise.
40854         * debug/mbsnrtowcs_chk.c: Likewise.
40855         * debug/mbsrtowcs_chk.c: Likewise.
40856         * debug/wcsnrtombs_chk.c: Likewise.
40857         * debug/wcsrtombs_chk.c: Likewise.
40858         * debug/wcstombs_chk.c: Likewise.
40859         * dirent/dirent.h: Likewise.
40860         * dlfcn/dlfcn.h: Likewise.
40861         * elf/neededtest4.c: Likewise.
40862         * grp/grp.h: Likewise.
40863         * gshadow/gshadow.h: Likewise.
40864         * iconv/gconv.h: Likewise.
40865         * iconv/gconv_int.h: Likewise.
40866         * iconv/gconv_simple.c: Likewise.
40867         * iconv/iconv.h: Likewise.
40868         * iconv/loop.c: Likewise.
40869         * iconv/skeleton.c: Likewise.
40870         * include/aio.h: Likewise.
40871         * include/aliases.h: Likewise.
40872         * include/argz.h: Likewise.
40873         * include/arpa/inet.h: Likewise.
40874         * include/assert.h: Likewise.
40875         * include/dirent.h: Likewise.
40876         * include/dlfcn.h: Likewise.
40877         * include/execinfo.h: Likewise.
40878         * include/fcntl.h: Likewise.
40879         * include/fenv.h: Likewise.
40880         * include/glob.h: Likewise.
40881         * include/grp.h: Likewise.
40882         * include/libintl.h: Likewise.
40883         * include/mntent.h: Likewise.
40884         * include/netdb.h: Likewise.
40885         * include/pwd.h: Likewise.
40886         * include/rpc/netdb.h: Likewise.
40887         * include/sched.h: Likewise.
40888         * include/search.h: Likewise.
40889         * include/shadow.h: Likewise.
40890         * include/signal.h: Likewise.
40891         * include/stdio.h: Likewise.
40892         * include/stdlib.h: Likewise.
40893         * include/string.h: Likewise.
40894         * include/sys/socket.h: Likewise.
40895         * include/sys/stat.h: Likewise.
40896         * include/sys/statfs.h: Likewise.
40897         * include/sys/statvfs.h: Likewise.
40898         * include/sys/syslog.h: Likewise.
40899         * include/sys/time.h: Likewise.
40900         * include/sys/uio.h: Likewise.
40901         * include/time.h: Likewise.
40902         * include/unistd.h: Likewise.
40903         * include/utmp.h: Likewise.
40904         * include/wchar.h: Likewise.
40905         * include/wctype.h: Likewise.
40906         * inet/aliases.h: Likewise.
40907         * inet/arpa/inet.h: Likewise.
40908         * inet/netinet/ether.h: Likewise.
40909         * inet/netinet/in.h: Likewise.
40910         * intl/libintl.h: Likewise.
40911         * io/bits/fcntl2.h: Likewise.
40912         * io/fcntl.h: Likewise.
40913         * io/ftw.h: Likewise.
40914         * io/sys/poll.h: Likewise.
40915         * io/sys/stat.h: Likewise.
40916         * io/sys/statfs.h: Likewise.
40917         * io/sys/statvfs.h: Likewise.
40918         * io/utime.h: Likewise.
40919         * libio/bits/stdio.h: Likewise.
40920         * libio/bits/stdio2.h: Likewise.
40921         * libio/libio.h: Likewise.
40922         * libio/libioP.h: Likewise.
40923         * libio/stdio.h: Likewise.
40924         * locale/lc-ctype.c: Likewise.
40925         * locale/locale.h: Likewise.
40926         * login/utmp.h: Likewise.
40927         * malloc/arena.c: Likewise.
40928         * malloc/malloc.c: Likewise.
40929         * malloc/malloc.h: Likewise.
40930         * malloc/mcheck.c: Likewise.
40931         * malloc/mtrace.c: Likewise.
40932         * math/bits/mathcalls.h: Likewise.
40933         * math/fenv.h: Likewise.
40934         * math/math_private.h: Likewise.
40935         * misc/bits/error.h: Likewise.
40936         * misc/bits/syslog.h: Likewise.
40937         * misc/err.h: Likewise.
40938         * misc/error.h: Likewise.
40939         * misc/fstab.h: Likewise.
40940         * misc/mntent.h: Likewise.
40941         * misc/regexp.h: Likewise.
40942         * misc/search.h: Likewise.
40943         * misc/sgtty.h: Likewise.
40944         * misc/sys/mman.h: Likewise.
40945         * misc/sys/syslog.h: Likewise.
40946         * misc/sys/uio.h: Likewise.
40947         * misc/sys/xattr.h: Likewise.
40948         * misc/ttyent.h: Likewise.
40949         * nis/rpcsvc/ypclnt.h: Likewise.
40950         * nss/nss.h: Likewise.
40951         * posix/bits/unistd.h: Likewise.
40952         * posix/fnmatch.h: Likewise.
40953         * posix/glob.h: Likewise.
40954         * posix/sched.h: Likewise.
40955         * posix/spawn.h: Likewise.
40956         * posix/sys/wait.h: Likewise.
40957         * posix/unistd.h: Likewise.
40958         * posix/wordexp.h: Likewise.
40959         * pwd/pwd.h: Likewise.
40960         * resolv/netdb.h: Likewise.
40961         * resource/sys/resource.h: Likewise.
40962         * rt/aio.h: Likewise.
40963         * rt/bits/mqueue2.h: Likewise.
40964         * rt/mqueue.h: Likewise.
40965         * shadow/shadow.h: Likewise.
40966         * signal/signal.h: Likewise.
40967         * socket/send.c: Likewise.
40968         * socket/sendto.c: Likewise.
40969         * socket/sys/socket.h: Likewise.
40970         * stdio-common/printf.h: Likewise.
40971         * stdlib/bits/stdlib.h: Likewise.
40972         * stdlib/fmtmsg.h: Likewise.
40973         * stdlib/monetary.h: Likewise.
40974         * stdlib/stdlib.h: Likewise.
40975         * stdlib/ucontext.h: Likewise.
40976         * streams/stropts.h: Likewise.
40977         * string/argz.h: Likewise.
40978         * string/bits/string2.h: Likewise.
40979         * string/string.h: Likewise.
40980         * string/strings.h: Likewise.
40981         * sunrpc/rpc/auth.h: Likewise.
40982         * sunrpc/rpc/auth_des.h: Likewise.
40983         * sunrpc/rpc/clnt.h: Likewise.
40984         * sunrpc/rpc/netdb.h: Likewise.
40985         * sunrpc/rpc/pmap_clnt.h: Likewise.
40986         * sunrpc/rpc/xdr.h: Likewise.
40987         * sysdeps/generic/inttypes.h: Likewise.
40988         * sysdeps/generic/net/if.h: Likewise.
40989         * sysdeps/generic/sys/swap.h: Likewise.
40990         * sysdeps/gnu/net/if.h: Likewise.
40991         * sysdeps/gnu/utmpx.h: Likewise.
40992         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
40993         * sysdeps/i386/i486/bits/string.h: Likewise.
40994         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
40995         * sysdeps/s390/bits/string.h: Likewise.
40996         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
40997         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
40998         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
40999         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41000         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41001         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41002         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41003         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41004         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41005         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41006         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41007         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41008         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41009         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41010         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41011         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41012         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41013         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41014         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41015         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41016         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41017         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41018         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41019         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41020         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41021         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41022         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41023         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41024         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41025         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41026         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41027         * sysvipc/sys/ipc.h: Likewise.
41028         * sysvipc/sys/msg.h: Likewise.
41029         * sysvipc/sys/sem.h: Likewise.
41030         * sysvipc/sys/shm.h: Likewise.
41031         * termios/termios.h: Likewise.
41032         * time/sys/time.h: Likewise.
41033         * time/time.h: Likewise.
41034         * wcsmbs/bits/wchar2.h: Likewise.
41035         * wcsmbs/uchar.h: Likewise.
41036         * wcsmbs/wchar.h: Likewise.
41037         * wctype/wctype.h: Likewise.
41039         [BZ #13551]
41040         * Makeconfig: Remove all but ELF support including AIX support.
41041         * Makerules: Likewise.
41042         * config.h.in: Likewise.
41043         * config.make.in: Likewise.
41044         * configure: Likewise.
41045         * configure.in: Likewise.
41046         * csu/Makefile: Likewise.
41047         * csu/version.c: Likewise.
41048         * debug/Makefile: Likewise.
41049         * dlfcn/Makefile: Likewise.
41050         * elf/Makefile: Likewise.
41051         * extra-lib.mk: Likewise.
41052         * iconv/Makefile: Likewise.
41053         * include/libc-symbols.h: Likewise.
41054         * include/shlib-compat.h: Likewise.
41055         * resolv/Makefile: Likewise.
41056         * resolv/res_libc.c: Likewise.
41057         * rt/Makefile: Likewise.
41058         * sysdeps/i386/asm-syntax.h: Likewise.
41059         * sysdeps/i386/sysdep.h: Likewise.
41060         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41061         * sysdeps/mach/sysdep.h: Likewise.
41062         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41063         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41064         * sysdeps/s390/asm-syntax.h: Likewise.
41065         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41066         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41067         * sysdeps/sh/sysdep.h: Likewise.
41068         * sysdeps/unix/sparc/sysdep.h: Likewise.
41069         * sysdeps/wordsize-32/divdi3.c: Likewise.
41070         * sysdeps/x86_64/sysdep.h: Likewise.
41072         * argp/Versions: Remove _argp_unlock_xxx.
41074         [BZ #13559]
41075         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41076         * abilist/libBrokenLocale.abilist: Likewise.
41077         * abilist/libanl.abilist: Likewise.
41078         * abilist/libc.abilist: Likewise.
41079         * abilist/libcrypt.abilist: Likewise.
41080         * abilist/libdl.abilist: Likewise.
41081         * abilist/libm.abilist: Likewise.
41082         * abilist/libnsl.abilist: Likewise.
41083         * abilist/libpthread.abilist: Likewise.
41084         * abilist/libresolv.abilist: Likewise.
41085         * abilist/librt.abilist: Likewise.
41086         * abilist/libthread_db.abilist: Likewise.
41087         * abilist/libutil.abilist: Likewise.
41088         * abilist/libnss_db.abilist: New file.
41090         * scripts/abilist.awk: Add support for indirect functions.
41092         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41094         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41096         * shlib-versions: Remove entries for ports architectures.
41098         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41099         files in ports.
41100         * elf/stackguard-macros.h: Remove support for IA-64.
41101         * elf/tst-auditmod1.c: Likewise.
41102         * sysdeps/generic/ldsodefs.h: Likewise.
41104         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41105         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41106         configure files.
41108         [BZ #13552]
41109         * configure.in: Remove --enable-omitfp support.
41110         * FAQ.in: Adjust.
41111         * config.make.in: Likewise.
41112         * Makeconfig: Likewise.
41113         * manual/install.texi: Likewise.
41115         In case anyone cares, the IA-64 architecture could move to ports.
41116         * sysdeps/ia64/*: Removed.
41117         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41118         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41120         [BZ #13555]
41121         * configure.in: Remove entries for unsupported architectures.
41123         [BZ #13533]
41124         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41125         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41126         routines.
41127         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41128         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41129         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41130         fall back to using wcrtomb.
41131         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41132         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41133         renaming.
41134         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41135         * wcsmbs/tst-c16c32-1.c: New file.
41137         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41138         local variable.
41140         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41142         * elf/tst-unique3.cc: Add explicit declaration of gets.
41143         * elf/tst-unique3lib.cc: Likewise.
41144         * elf/tst-unique3lib2.cc: Likewise.
41145         * elf/tst-unique4.cc: Likewise.
41147         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41149 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41151         [BZ #13566]
41152         * assert/assert.h (static_assert): Don't define for C++.
41153         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41154         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41156 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41158         * iconv/loop.c (single loop): Fix assertion in storing of
41159         remaining bytes.
41161         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41163 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41165         * posix/getconf.c: Update copyright year.
41166         * nss/getent.c: Likewise.
41167         * nss/makedb.c: Likewise.
41168         * iconv/iconvconfig.c: Likewise.
41169         * iconv/iconv_prog.c: Likewise.
41170         * elf/ldconfig.c: Likewise.
41171         * elf/pldd.c: Likewise.
41172         * elf/sotruss.ksh: Likewise.
41173         * catgets/gencat.c: Likewise.
41174         * csu/version.c: Likewise.
41175         * elf/ldd.bash.in: Likewise.
41176         * elf/sprof.c (print_version): Likewise.
41177         * locale/programs/locale.c: Likewise.
41178         * locale/programs/localedef.c: Likewise.
41179         * login/programs/pt_chown.c: Likewise.
41180         * nscd/nscd.c (print_version): Likewise.
41181         * debug/xtrace.sh: Likewise.
41182         * malloc/memusage.sh: Likewise.
41183         * malloc/mtrace.pl: Likewise.
41184         * debug/catchsegv.sh: Likewise.
41186 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41188         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41189         pure attribute.
41191 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41193         [BZ #13533]
41194         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41195         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41196         transformations.
41197         * iconv/gconv_int.h: Likewise.
41198         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41199         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41200         from libc for GLIBC_2.16.
41201         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41202         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41203         * wcsmbs/uchar.h: Really define mbstate_t.
41204         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41205         * wcsmbs/c16rtomb.c: New file.
41206         * wcsmbs/mbrtoc16.c: New file.
41207         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41208         for C/POSIX locale.
41209         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41210         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41212         * wcsmbs/wchar.h: Add missing __restrict.
41214 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41216         [BZ #13532]
41217         * time/Makefile (routines): Add timespec_get.
41218         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41219         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41220         timespec for ISO C11.
41221         * time/timespec_get.c: New file.
41222         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41223         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41225         [BZ #13531]
41226         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41227         * stdlib/stdlib.h: Declare aligned_alloc.
41228         * Versions.def: Add GLIBC_2.16 for libc.
41229         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41231         [BZ 13527]
41232         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41233         ISO C11.
41235         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41236         code.
41238         [BZ #13528]
41239         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41241         [BZ #13529]
41242         * assert/assert.h (static_assert): Define.
41244         * version.h: Update for 2.16 development version.
41246         [BZ #13526]
41247         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41248         _ISOC11_SOURCE.
41250         * version.h (RELEASE): Bump for 2.15 release.
41251         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41253         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41254         Patch by Marek Polacek <mpolacek@redhat.com>.
41256         * bits/byteswap.h: Protect long long constants with __extension__.
41257         * sysdeps/i386/bits/byteswap.h: Likewise.
41258         * sysdeps/ia64/bits/byteswap.h: Likewise.
41259         * sysdeps/s390/bits/byteswap.h: Likewise.
41260         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41262 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41264         [BZ #13540]
41265         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41266         destination buffer.
41267         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41269 2011-12-23  Marek Polacek  <polacek@redhat.com>
41271         * elf/dl-addr.c (determine_info): Add inline keyword.
41272         * elf/tst-auditmod4b.c (check_avx): Likewise.
41273         * elf/tst-auditmod6b.c (check_avx): Likewise.
41274         * elf/tst-auditmod6c.c (check_avx): Likewise.
41275         * elf/tst-auditmod7b.c (check_avx): Likewise.
41277 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41279         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41280         !__SSE_MATH__.
41282 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41284         [BZ #13540]
41285         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41286         processing for last bytes.
41288 2011-08-06  Bruno Haible  <bruno@clisp.org>
41290         [BZ #13061]
41291         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41292         U+0385, not to U+1FEE.
41294         [BZ #13062]
41295         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41296         entry for U+00A5 U+0301.
41298 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41300         [BZ #13166]
41301         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41302         buffer for the output is too small.
41304         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41305         optimization.
41307         [BZ #13185]
41308         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41309         SSE flags if possible.
41311 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41313         [BZ #13540]
41314         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41315         processing for last bytes.
41317 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41319         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41320         (syscall-list-default-options, syscall-list-default-condition)
41321         (syscall-list-includes): Define.
41322         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41323         list of ABIs and options and #if conditions for each ABI.  Do not
41324         handle common syscalls between ABIs specially.
41325         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41326         Remove.
41327         (syscall-list-variants, syscall-list-32bit-options)
41328         (syscall-list-32bit-condition, syscall-list-64bit-options)
41329         (syscall-list-64bit-condition): Define.
41330         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41331         (syscall-list-variants, syscall-list-32bit-options)
41332         (syscall-list-32bit-condition, syscall-list-64bit-options)
41333         (syscall-list-64bit-condition): Define.
41334         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41335         Remove.
41336         (syscall-list-variants, syscall-list-32bit-options)
41337         (syscall-list-32bit-condition, syscall-list-64bit-options)
41338         (syscall-list-64bit-condition): Define.
41339         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41340         Remove.
41341         (syscall-list-variants, syscall-list-32bit-options)
41342         (syscall-list-32bit-condition, syscall-list-64bit-options)
41343         (syscall-list-64bit-condition): Define.
41345 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41347         * locale/iso-639.def: Add brx entry.
41349         [BZ #13328]
41350         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41351         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41353         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41354         __feraiseexcept_renamed.
41356 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41358         [BZ #13538]
41359         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41360         EPOLLET with unsigned values.
41361         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41362         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41364         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41365         to large cancellation.
41366         * math/s_cacoshf.c: Likewise.
41367         * math/s_cacoshl.c: Likewise.
41369 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41371         [BZ #13305]
41372         [BZ #12786]
41373         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41374         * math/s_cacoshf.c: Likewise.
41375         * math/s_cacoshl.c: Likewise.
41377 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41379         [BZ #13439]
41380         * iconv/gconv.h: Define __GCONV_SWAP.
41381         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41382         * iconvdata/utf-16.c: Likewise.
41383         * iconvdata/utf-32.c: Likewise.
41385 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41387         [BZ #13524]
41388         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41389         numerator after shifting it by one limb.
41391 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41393         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41394         under [__USE_EXTERN_INLINES].
41396 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41398         [BZ #13446]
41399         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41401 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41403         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41404         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41405         optimized code.
41406         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41407         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41408         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41409         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41410         for strncasecmp/strncasecmp_l compilation.
41411         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41412         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41414 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41416         [BZ #13484]
41417         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41418         of __asm__.
41420 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41422         [BZ #13506]
41423         * time/tzfile.c (__tzfile_read): Check values from file header.
41425 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41427         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41428         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41429         * powerpc/powerpc32/dl-start.S: Likewise.
41430         * powerpc/powerpc32/elf/start.S: Likewise.
41431         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41432         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41433         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41434         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41435         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41436         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41437         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41438         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41439         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41440         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41441         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41442         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41443         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41444         * powerpc/powerpc32/memset.S: Likewise.
41445         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41446         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41447         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41448         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41449         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41450         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41451         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41452         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41453         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41454         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41455         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41456         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41457         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41459 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41461         * math/libm-test.inc: Added more nearbyint tests.
41462         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41463         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41464         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41465         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41467 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41469         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41470         FD_CLOEXEC.
41472 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41474         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41475         Add wcscpy-ssse3 wcscpy-c.
41476         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41477         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41478         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41479         * sysdeps/x86_64/wcschr.S: New file.
41480         * sysdeps/x86_64/wcsrchr.S: New file.
41481         * string/test-strcmp.c: Remove checking of wcscmp function for
41482         wrong alignments.
41483         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41484         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41485         wcsrchr-sse2 wcsrchr-c.
41486         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41487         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41488         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41489         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41490         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41491         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41492         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41493         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41494         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41495         * wcsmbc/wcschr.c (WCSCHR): New macro.
41497 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41499         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41500         * wcsmbs/test-wcsrchr.c: New file.
41501         * string/test-strrchr.c: Add wcsrchr support.
41502         (WIDE): New macro.
41503         * wcsmbs/test-wcscpy.c: New file.
41504         * string/test-strcpy.c: Add wcscpy support.
41505         (WIDE): New macro.
41507 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41509         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41510         the inner loop.
41512 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41514         [BZ #13472]
41515         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41517 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41519         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41520         Minor optimizations.
41522         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41523         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41524         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41526 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41528         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41529         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41530         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41531         for gcc to avoid warnings.
41532         * inet/Makefile (tests): Add tst-checks.
41533         * inet/tst-checks.c: New file.
41535         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41536         warning.
41538         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41539         __wmemcmp_sse2.
41541         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41542         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41544         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41546 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41548         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41549         problem.
41551         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41553 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41555         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41556         conditional on GCC version.
41557         (__arch_compare_and_exchange_val_8_acq)
41558         (__arch_compare_and_exchange_val_16_acq)
41559         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41560         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41561         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41563 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41565         * sysdeps/sh/backtrace.c: New file.
41567 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41569         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41570         parenthesis.
41572 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41574         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41575         falling back to utime.
41577 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41579         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41580         expectations for float.
41582 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41584         * locale/weight.h (findidx): Add parameter len.
41585         * locale/weightwc.h (findidx): Likewise.
41586         * posix/fnmatch_loop.c (FCT): Adjust caller.
41587         * posix/regcomp.c (build_equiv_class): Likewise.
41588         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41589         * posix/regexec.c (check_node_accept_bytes): Likewise.
41590         * string/strcoll_l.c (STRCOLL): Likewise.
41591         * string/strxfrm_l.c (STRXFRM): Likewise.
41593 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41595         * Makefile.in: Remove CVSOPT handling.
41596         * configure.in: Remove use of AC_REVISION.
41597         * iconvdata/Makefile (distribute): No need to filter out CVS.
41598         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41599         handling.
41601 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41603         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41604         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41605         [USE_AS_STRNCASECMP_L]: Likewise.
41606         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41607         NO_TLS_DIRECT_SEG_REFS.
41608         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41609         Fix argument offsets for non-PIC.
41610         [USE_AS_STRNCASECMP_L]: Likewise.
41611         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41612         NO_TLS_DIRECT_SEG_REFS.
41614 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41616         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41617         O_CLOEXEC.
41618         * locale/loadlocale.c (_nl_load_locale): Likewise.
41620 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41622         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41623         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41624         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41625         (SYSCALL_GETTIME): Set errno on error.
41627         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41628         count references to noai6ai_cached.
41630 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41632         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41634         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41635         FD_CLOEXEC for /proc/self/maps.
41637         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41638         FD_CLOEXEC for /proc/meminfo.
41640         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41641         gai.conf.
41643         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41644         FD_CLOEXEC for given file.
41646         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41648         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41649         FD_CLOEXEC for /etc/hosts.
41650         (_gethtent): Likewise.
41652         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41654         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41655         cancellation and set FD_CLOEXEC for /etc/netgroup.
41657         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41658         reading /etc/publickey.
41660         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41661         allow cancellation when reading /etc/group.
41663         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41664         cancellation.
41665         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41667         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41668         when using data file.
41670         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41672         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41673         (write_nis_obj): Use "c" and "e" in fopen.
41675         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41677         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41679         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41681         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41683         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41684         locale.alias.
41686         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41688         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41690         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41692         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41693         file parsing and set FD_CLOEXEC.
41695 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41697         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41699 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41701         * malloc/arena.c (arena_get2): Don't call reused_arena when
41702         _int_new_arena failed.
41704 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41706         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41707         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41708         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41709         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41710         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41711         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41712         to compile strcasecmp and strncasecmp.
41713         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41714         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41718 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41720         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41721         locale-defines.sym to gen-as-const-headers.
41722         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41723         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41724         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41725         to compile strcasecmp and strncasecmp.
41726         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41727         strcasecmp_l and strncasecmp_l.
41728         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41729         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41730         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41731         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41732         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41733         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41734         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41735         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41736         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41737         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41738         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41740 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41742         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41743         result of SYSDEP_GETTIME_CPU to retval.
41744         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41745         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41747         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41748         variable.
41750         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41751         mantissa words.
41752         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41754         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41755         from unused variable.
41757         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41758         DWARF definitions.
41759         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41760         for assembling.
41762         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41763         over namespaces.
41765         * sunrpc/rpc_prot.c (rejected): Fix case value.
41767         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41768         unsigned long long int to avoid warnings in shift.
41770         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41771         of use of trans.
41772         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41773         variable tmp.
41775         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41776         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41777         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41779         * nis/nis_table.c (nis_list): Use variable of correct type for
41780         result of __follow_path call.
41782 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41784         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41785         of math functions ceil, trunc, floor, round, and sqrt, when
41786         avaliable on the platform.
41787         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41788         name clash.
41789         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41790         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41791         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41793 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41795         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41796         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41798 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41800         * include/unistd.h: Fix __readlink return type.
41801         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41803 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41805         * stdlib/ucontext.h: Undo last change for makecontext.
41807 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41809         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41811         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41812         * setjmp/setjmp.h: Mark functions as non-leaf.
41813         * setjmp/bits/setjmp2.h: Likewise.
41814         * stdlib/ucontext.h: Likewise.
41816 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41818         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41819         (reused_arena): Don't check arena limit.
41820         (arena_get2): Atomically check arena limit.
41822 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41824         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41825         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41827         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41828         instructions.
41830 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41832         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41833         handler when locking.
41835         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41836         Fix size of allocated buffer.
41838 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41840         [BZ #10103]
41841         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41842         declarations for long double functions.
41843         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41845         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41847 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41849         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41850         installed.
41852         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41853         is disabled.
41855 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41857         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41859 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41861         * include/alloca.h (stackinfo_alloca_round): Define.
41862         (extend_alloca): Use it.
41863         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41864         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41865         here.
41867         * scripts/check-local-headers.sh: Ignore libaudit.h.
41869         * nscd/Makefile (extra-objs): Make recursively expanded.
41871 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41873         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41874         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41876         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41877         * posix/tst-rfc3484-2.c: Likewise.
41878         * posix/tst-rfc3484-3.c: Likewise.
41880         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41881         process_vm_writev.
41882         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41883         process_vm_writev.
41884         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41885         process_vm_writev from libc using GLIBC_2.15 version.
41887         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
41889 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
41891         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
41892         stack usage.
41894 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
41896         [BZ #13367]
41897         * nss/getent.c (initgroups_keys): Show error message in case no group
41898         names are given.
41900         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
41901         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
41902         __bump_nl_timestamp.
41903         * nscd/connections (nscd_init): When host database is served open
41904         netlink socket and request notification about configuration changes.
41905         (main_loop_poll): Track netlink file descriptor and bump timestamp
41906         in case data becomes available.
41907         (main_loop_epoll): Likewise.
41908         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
41909         (database_pers_head): Add extra_data fileds.
41910         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
41911         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
41912         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
41913         Adjust caller.
41914         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
41915         in6ai data, call __free_in6ai.
41916         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
41917         Add -DHAVE_NETLINK.
41918         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
41919         interface information.  Reuse previous data if netlink timestamp
41920         is not changed.
41921         (__bump_nl_timestamp): New function.
41922         (__free_in6ai): New function.
41924 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
41926         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
41927         close_not_cancel_no_status here.
41928         (__check_pf): Reorganize code a bit to not call close twice if OOM.
41930 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41932         [BZ #13276]
41933         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
41934         return value.
41936         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
41937         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
41938         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
41940 2011-07-03  Andreas Jaeger  <aj@suse.de>
41942         [BZ #10709]
41943         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
41944         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
41945         * math/libm-test.inc (sin_test): Add test case.
41947 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
41949         [BZ #13337]
41950         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
41951         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41953         * elf/chroot_canon.c (chroot_canon): Cleanups.
41955         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
41957         [BZ #13335]
41958         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
41959         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
41961         * string/test-strchr.c: Make usable for strchrnul testing.
41962         * string/test-strchrnul.c: New file.
41963         * string/Makefile (strop-tests): Add strchrnul.
41965         * po/it.po: Update from translation team.
41966         * po/es.po: Likewise.
41968 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
41970         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
41971         the three constants needed as parameters.  Drop the others.
41972         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
41973         __m128i_strloadu_tolower.
41974         Create and initialize variable zero and use it in all the places
41975         where _mm_setzero_si128 was used.
41977         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
41978         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
41979         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
41980         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
41981         anymore.
41982         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
41983         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
41984         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
41985         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
41986         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
41987         __mpranred, __mptan.
41988         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
41989         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
41990         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
41991         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
41992         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
41993         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
41994         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
41995         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
41996         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
41998 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42000         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42001         redefine if SHARED.
42002         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42004         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42005         wide char related routines to wcsmbs subdir.
42007 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42009         [BZ #13344]
42010         * misc/sys/cdefs.h (__THROWNL): Define.
42011         * posix/unistd.h: Use __THREADNL instead of __THREAD
42012         for memory synchronization functions.
42014 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42016         [BZ #13349]
42017         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42018         doesn't exist.
42019         * manual/stdio.texi (Obstack Streams): Node removed.
42021 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42023         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42024         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42025         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42027         * math/math_private.h (math_force_eval): Allow non-addressable
42028         arguments.
42029         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42031 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42033         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42034         file is not needed.
42036         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42037         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42038         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42039         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42040         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42041         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42042         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42043         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42044         Add AVX variants.
42045         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42046         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42047         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42048         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42049         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42050         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42051         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42052         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42053         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42054         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42055         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42056         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42057         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42058         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42059         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42060         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42061         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42062         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42063         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42065         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42066         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42068         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42069         place.  Use VEX encoding when compiling for AVX.
42071 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42073         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42074         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42076         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42078 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42080         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42081         useless if() expression.
42082         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42083         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42084         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42085         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42086         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42087         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42088         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42089         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42090         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42091         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42092         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42093         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42094         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42095         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42096         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42097         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42098         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42099         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42100         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42102         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42104 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42106         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42107         condition.
42108         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42110 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42112         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42113         .text section.  Avoid duplicate constants.
42114         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42116         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42117         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42118         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42119         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42120         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42121         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42122         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42123         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42124         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42125         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42126         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42127         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42128         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42129         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42130         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42131         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42132         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42133         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42134         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42135         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42136         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42137         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42138         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42139         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42140         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42141         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42142         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42143         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42144         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42145         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42146         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42147         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42148         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42149         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42150         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42151         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42152         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42153         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42154         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42155         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42156         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42157         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42158         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42160 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42162         * sysdeps/x86_64/dla.h: Move to ...
42163         * sysdeps/x86_64/fpu/dla.h: ...here.
42164         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42165         situations.  Use __builtin_fma only for gcc 4.6 and up.
42167         * config.make.in: Add have-mfma4 entry.
42168         * configure.in: Substitute libc_cv_cc_fma4.
42169         * math/Makefile (dbl-only-routines): Add sincostab.
42170         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42171         Use __sincostab not sincos.
42172         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42173         name is a macro.
42174         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42175         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42176         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42177         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42178         using __copysign.
42179         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42180         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42181         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42182         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42183         and __inv.
42184         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42185         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42186         __copysign.
42187         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42188         define aliases when function name is a macro.
42189         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42190         sysdeps/ieee754/dbl-64/sincos.tbl.
42191         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42192         fma4-enabled routines.
42193         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42194         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42195         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42196         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42197         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42198         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42200         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42201         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42202         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42203         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42204         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42205         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42206         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42207         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42208         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42209         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42210         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42211         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42212         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42213         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42214         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42215         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42216         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42217         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42218         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42219         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42220         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42221         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42222         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42224         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42225         rename.
42226         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42227         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42228         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42230         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42231         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42232         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42233         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42235 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42237         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42239 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42241         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42243         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42244         prediction.
42245         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42247         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42248         Remove unused variable magic_bits.
42249         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42251         * string/strnlen.c: Define and use STRNLEN macro.
42252         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42253         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42255         * wcsmbs/wcslen.c: Define and use WCSLEN.
42256         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42257         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42258         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42259         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42260         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42261         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42262         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42264 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42266         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42267         strnlen-sse2-no-bsf.
42268         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42269         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42270         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42271         Add strnlen support.
42272         (USE_AS_STRNLEN): New macro.
42273         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42274         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42275         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42276         * sysdeps/x86_64/wcslen.S: New file.
42278 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42280         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42281         XMM-moves are used for copying on small sizes.
42283 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42285         * wcsmbs/Makefile (strop-tests): Add wcschr.
42286         * wcsmbs/test-wcschr.c: New file.
42287         * string/test-strchr.c: Update.
42288         Add wcschr support.
42289         (WIDE): New macro.
42291 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42293         * wcsmbs/Makefile (strop-tests): Add wcslen.
42294         * wcsmbs/test-wcslen.c: New file.
42295         * string/test-strlen.c: Update.
42296         Add wcslen support.
42297         (WIDE): New macro.
42299 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42301         * po/it.po: Update from translation team.
42303 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42305         * sysdeps/x86_64/wcscmp.S: Update.
42306         Fix wrong comparison semantics.
42307         wcscmp shall use signed comparison not unsigned.
42308         Don't use substraction to avoid overflow bug.
42309         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42310         * wcsmbc/wcscmp.c: Likewise.
42311         * string/test-strcmp.c: Likewise.
42312         Add new tests to check cases with negative values.
42314 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42316         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42317         * sysdeps/x86_64/dla.h: ...here.  New file.
42318         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42320         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42321         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42322         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42323         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42324         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42325         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42326         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42328 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42331         __ynl_finite aliases.
42333 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42337         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42338         define DLA_FMA.
42339         [DLA_FMA] (EMULV): Use DLA_FMA.
42340         [DLA_FMA] (MUL12): Use EMULV.
42341         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42342         that are not needed.
42343         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42344         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42345         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42346         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42347         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42348         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42351 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42353         * math/s_nan.c: Undef __nan.
42354         * math/s_nanf.c: Undef __nanf.
42355         * math/s_nanl.c: Undef __nanl.
42356         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42357         "math_private.h".
42359 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42361         * math/s_catan.c: Add branch predictions.
42362         * math/s_catanf.c: Likewise.
42363         * math/s_catanh.c: Likewise.
42364         * math/s_catanhf.c: Likewise.
42365         * math/s_catanhl.c: Likewise.
42366         * math/s_catanl.c: Likewise.
42367         * math/s_cexp.c: Likewise.
42368         * math/s_cexpf.c: Likewise.
42369         * math/s_cexpl.c: Likewise.
42370         * math/s_clog.c: Likewise.
42371         * math/s_clog10.c: Likewise.
42372         * math/s_clog10f.c: Likewise.
42373         * math/s_clog10l.c: Likewise.
42374         * math/s_clogf.c: Likewise.
42375         * math/s_clogl.c: Likewise.
42376         * math/s_csqrt.c: Likewise.
42377         * math/s_csqrtf.c: Likewise.
42378         * math/s_csqrtl.c: Likewise.
42379         * math/s_ctanf.c: Likewise.
42380         * math/s_ctanh.c: Likewise.
42381         * math/s_ctanhf.c: Likewise.
42382         * math/s_ctanhl.c: Likewise.
42383         * math/s_ctanl.c: Likewise.
42385         * math/math_private.h: Define __nan, __nanf, __nanl.
42386         * math/s_cacosh.c: Include <math_private.h>.
42387         * math/s_cacoshl.c: Likewise.
42388         * math/s_casinh.c: Likewise.
42389         * math/s_casinhf.c: Likewise.
42390         * math/s_casinhl.c: Likewise.
42391         * math/s_ccos.c: Rely entire on ccosh.
42392         * math/s_ccosf.c: Rely entire on ccoshf.
42393         * math/s_ccosl.c: Rely entirely on ccoshl.
42394         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42395         Remove tests for FE_INVALID.
42396         * math/s_ccoshf.c: Likewise.
42397         * math/s_ccoshl.c: Likewise.
42398         * math/s_csin.c: Likewise.
42399         * math/s_csinf.c: Likewise.
42400         * math/s_csinh.c Likewise.
42401         * math/s_csinhf.c: Likewise.
42402         * math/s_csinhl.c: Likewise.
42403         * math/s_csinl.c: Likewise.
42404         * math/s_ctan.c: Likewise.
42405         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42406         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42407         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42409 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42411         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42412         compilation problems.
42414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42415         __builtin_expect.
42417 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42419         * sysdeps/i386/configure.in: Test for -mfma4 option.
42420         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42421         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42422         COMMON_CPUID_INDEX_80000001.
42423         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42424         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42425         use it if FMA3 is not supported.
42426         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42428         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42429         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42431 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42433         [BZ #12892]
42434         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42435         it would create a cycle with a link time dependency.
42437 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42439         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42440         instruction.
42441         * string/Makefile (strop-tests): Add rawmemchr.
42442         * string/test-rawmemchr.c: New file.
42444         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42445         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42446         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42447         when compiling str{,n}casecmp and when AVX is available.  Hook up
42448         new optimized code in initializers.
42450 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42452         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42453         __feraiseexcept instead of feraiseexcept.
42455 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42457         * math/math_private.h: Define defaults for libc_fetestexcept and
42458         libc_feupdateenv.
42459         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42460         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42461         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42462         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42463         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42464         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42465         libc_fetestexcept and libc_feupdateenv.
42467         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42468         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42469         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42470         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42471         libc_feholdexcept_setround.
42473         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42474         Add s_nearbyint-c and s_nearbyintf-c.
42475         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42476         nearbyintf inlines.
42477         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42478         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42479         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42480         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42482         * math/math_private.h: Define defaults for libc_fegetround,
42483         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42484         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42485         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42486         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42487         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42488         standard functions.
42489         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42490         Remove comments and hacks for old compiler versions.
42491         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42492         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42493         libc_feholdexceptl.
42495 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42497         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42498         (__feraiseexcept_renamed): Add __NTH.
42499         (feraiseexcept): Add __NTH.  Rename local variables to fix
42500         namespace violations.
42502 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42504         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42506         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42508         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42509         recently added interfaces.
42510         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42512         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42513         about macro parameter expansion.
42515         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42516         __NO_MATH_INLINES is defined.  Cleanups.
42518         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42519         and __floorf is target has SSE4.1.
42520         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42521         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42522         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42523         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42525         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42526         name.
42527         (floorf): Likewise.
42529         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42531 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42533         * misc/sys/cdefs.h: Fix last change.
42535         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42536         database lookup.
42538 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42540         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42542         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42543         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42544         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42545         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42546         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42547         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42548         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42549         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42550         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42551         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42552         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42553         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42554         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42555         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42556         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42557         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42558         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42559         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42560         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42561         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42562         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42563         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42565         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42566         ceil, ceilf, floor, floorf.
42568         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42569         Perform IRELATIVE relocations last.
42571         * elf/do-rel.h: Add another parameter nrelative, replacing the
42572         local variable with the same name.  Change name of the function
42573         to end in Rel or Rela (uppercase).
42574         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42575         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42576         elf_dynamic_do_##reloc function.
42578 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42580         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42581         is sufficient, at least on modern CPUs.
42583         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42585         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42588         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42589         __expl_finite.
42590         * math/bits/math-finite.h: Add entries for exp.
42591         * math/e_expl.c: Add __*_finite alias.
42592         * sysdeps/i386/fpu/e_exp.S: Likewise.
42593         * sysdeps/i386/fpu/e_expf.S: Likewise.
42594         * sysdeps/i386/fpu/e_expl.c: Likewise.
42595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42596         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42597         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42598         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42599         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42600         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42601         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42603         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42604         is sufficient, at least on modern CPUs.
42606         * ctype/ctype-info.c (__ctype_init): Define.
42607         * include/ctype.h (__ctype_init): Declare.
42608         (__ctype_b_loc): The variable is always initialized.
42609         (__ctype_toupper_loc): Likewise.
42610         (__ctype_tolower_loc): Likewise.
42611         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42612         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42614 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42616         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42618         * configure.in: Also look in $cxxmachine/include for C++ system
42619         headers.
42621 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42623         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42624         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42625         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42626         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42627         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42628         (USE_AS_WMEMCMP): New macro.
42629         Fixing indents.
42630         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42631         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42632         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42633         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42635         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42636         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42637         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42638         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42639         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42640         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42641         (USE_AS_WMEMCMP): New macro.
42642         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42643         * sysdeps/string/test-memcmp.c: Update.
42644         Fix simple_wmemcmp.
42645         Add new tests.
42646         * wcsmbs/wmemcmp.c: Update.
42647         (WMEMCMP): New macro.
42648         Fix overflow bug.
42650 2011-10-12  Andreas Jaeger  <aj@suse.de>
42652         [BZ #13268]
42653         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42655 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42657         * libio/iofwide.c (do_length): Avoid warning.
42659         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42661 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42663         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42665         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42666         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42667         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42668         * sysdeps/i386/i686/fpu/e_log.S: New file.
42669         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42670         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42672         * ctype/ctype.h: Add support for inlined isXXX functions when
42673         compiling C++ code.
42675 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42677         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42679         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42681 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42683         [BZ #13291]
42684         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42686 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42688         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42689         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42690         feraiseexcept.
42692         * sysdeps/x86_64/memrchr.S: Check for zero size.
42694         * string/stratcliff.c: Add memrchr tests.
42696 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42698         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42699         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42700         rawmemchr-sse2 rawmemchr-sse2-bsf.
42701         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42702         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42703         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42704         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42705         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42706         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42707         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42708         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42709         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42710         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42711         * string/memrchr.c (MEMRCHR): New macro.
42713 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42715         Add integration with gcc's -ffinite-math-only and optimize wrapper
42716         functions in libm.
42717         * Versions.def: Define GLIBC_2.15 version for libm.
42718         * math/Makefile (headers): Add bits/math-finite.h.
42719         * math/bits/math-finite.h: New file.
42720         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42721         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42722         * math/e_acoshl.c: Add __*_finite alias.
42723         * math/e_acosl.c: Likewise.
42724         * math/e_asinl.c: Likewise.
42725         * math/e_atan2l.c: Likewise.
42726         * math/e_atanhl.c: Likewise.
42727         * math/e_coshl.c: Likewise.
42728         * math/e_exp10.c: Likewise.
42729         * math/e_exp10f.c: Likewise.
42730         * math/e_exp10l.c: Likewise.
42731         * math/e_exp2l.c: Likewise.
42732         * math/e_fmodl.c: Likewise.
42733         * math/e_gammal_r.c: Likewise.
42734         * math/e_hypotl.c: Likewise.
42735         * math/e_j0l.c: Likewise.
42736         * math/e_j1l.c: Likewise.
42737         * math/e_jnl.c: Likewise.
42738         * math/e_lgammal_r.c: Likewise.
42739         * math/e_log10l.c: Likewise.
42740         * math/e_log2l.c: Likewise.
42741         * math/e_logl.c: Likewise.
42742         * math/e_powl.c: Likewise.
42743         * math/e_sinhl.c: Likewise.
42744         * math/e_sqrtl.c: Likewise.
42745         * math/e_scalb.c: Completely rewritten and optimized.
42746         * math/e_scalbf.c: Likewise.
42747         * math/e_scalbl.c: Likewise.
42748         * math/w_acos.c: Likewise.
42749         * math/w_acosf.c: Likewise.
42750         * math/w_acosl.c: Likewise.
42751         * math/w_acosh.c: Likewise.
42752         * math/w_acoshf.c: Likewise.
42753         * math/w_acoshl.c: Likewise.
42754         * math/w_asin.c: Likewise.
42755         * math/w_asinf.c: Likewise.
42756         * math/w_asinl.c: Likewise.
42757         * math/w_atan2.c: Likewise.
42758         * math/w_atan2f.c: Likewise.
42759         * math/w_atan2l.c: Likewise.
42760         * math/w_atanh.c: Likewise.
42761         * math/w_atanhf.c: Likewise.
42762         * math/w_atanhl.c: Likewise.
42763         * math/w_exp10.c: Likewise.
42764         * math/w_exp10f.c: Likewise.
42765         * math/w_exp10l.c: Likewise.
42766         * math/w_fmod.c: Likewise.
42767         * math/w_fmodf.c: Likewise.
42768         * math/w_fmodl.c: Likewise.
42769         * math/w_j0.c: Likewise.
42770         * math/w_j0f.c: Likewise.
42771         * math/w_j0l.c: Likewise.
42772         * math/w_j1.c: Likewise.
42773         * math/w_j1f.c: Likewise.
42774         * math/w_j1l.c: Likewise.
42775         * math/w_jn.c: Likewise.
42776         * math/w_jnf.c: Likewise.
42777         * math/w_log.c: Likewise.
42778         * math/w_logf.c: Likewise.
42779         * math/w_logl.c: Likewise.
42780         * math/w_log10.c: Likewise.
42781         * math/w_log10f.c: Likewise.
42782         * math/w_log10l.c: Likewise.
42783         * math/w_log2.c: Likewise.
42784         * math/w_log2f.c: Likewise.
42785         * math/w_log2l.c: Likewise.
42786         * math/w_pow.c: Likewise.
42787         * math/w_powf.c: Likewise.
42788         * math/w_powl.c: Likewise.
42789         * math/w_remainder.c: Likewise.
42790         * math/w_remainderf.c: Likewise.
42791         * math/w_remainderl.c: Likewise.
42792         * math/w_scalb.c: Likewise.
42793         * math/w_scalbf.c: Likewise.
42794         * math/w_scalbl.c: Likewise.
42795         * math/w_sqrt.c: Likewise.
42796         * math/w_sqrtf.c: Likewise.
42797         * math/w_sqrtl.c: Likewise.
42798         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42799         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42800         used.
42801         * math/math_private.h: Declare __kernel_standard_f.
42802         * math/w_cosh.c: Remove cruft and optimize a bit.
42803         * math/w_coshf.c: Likewise.
42804         * math/w_coshl.c: Likewise.
42805         * math/w_exp2.c: Likewise.
42806         * math/w_exp2f.c: Likewise.
42807         * math/w_exp2l.c: Likewise.
42808         * math/w_hypot.c: Likewise.
42809         * math/w_hypotf.c: Likewise.
42810         * math/w_hypotl.c: Likewise.
42811         * math/w_lgamma.c: Likewise.
42812         * math/w_lgamma_r.c: Likewise.
42813         * math/w_lgammaf.c: Likewise.
42814         * math/w_lgammaf_r.c: Likewise.
42815         * math/w_lgammal.c: Likewise.
42816         * math/w_lgammal_r.c: Likewise.
42817         * math/w_sinh.c: Likewise.
42818         * math/w_sinhf.c: Likewise.
42819         * math/w_sinhl.c: Likewise.
42820         * math/w_tgamma.c: Likewise.
42821         * math/w_tgammaf.c: Likewise.
42822         * math/w_tgammal.c: Likewise.
42823         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42824         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42825         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42826         Minor optimizations.  Pretty printing.  Remove cruft.
42827         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42828         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42829         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42830         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42831         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42832         * sysdeps/i386/fpu/e_asin.S: Likewise.
42833         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42834         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42835         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42836         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42837         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42838         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42839         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42840         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42841         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42842         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42843         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42844         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42845         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42846         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42847         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42848         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42849         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42850         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42851         * sysdeps/i386/fpu/e_log.S: Likewise.
42852         * sysdeps/i386/fpu/e_log10.S: Likewise.
42853         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42854         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42855         * sysdeps/i386/fpu/e_log2.S: Likewise.
42856         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42857         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42858         * sysdeps/i386/fpu/e_logf.S: Likewise.
42859         * sysdeps/i386/fpu/e_logl.S: Likewise.
42860         * sysdeps/i386/fpu/e_pow.S: Likewise.
42861         * sysdeps/i386/fpu/e_powf.S: Likewise.
42862         * sysdeps/i386/fpu/e_powl.S: Likewise.
42863         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42864         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42865         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42866         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42867         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42868         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42869         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42870         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42871         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42872         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42873         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42874         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42875         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42876         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42877         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42878         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42879         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42880         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42881         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42882         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42883         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42884         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42885         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42886         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42887         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42888         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42889         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42890         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42891         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42892         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42893         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42894         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42895         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42896         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42897         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42898         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42899         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42900         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
42901         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42902         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42903         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42904         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42905         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
42906         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
42907         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
42908         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
42909         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
42910         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
42911         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
42912         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
42913         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
42914         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
42915         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
42916         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42917         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
42918         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
42919         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
42920         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
42921         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
42922         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
42923         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
42924         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
42925         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42926         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
42927         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
42928         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
42929         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
42930         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
42931         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
42932         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
42933         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
42934         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42936         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
42937         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
42938         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
42939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
42940         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
42941         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
42942         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
42943         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
42944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
42945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
42946         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
42947         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
42948         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42949         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
42950         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42951         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
42952         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42953         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
42954         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
42955         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42956         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42957         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
42958         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42959         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
42960         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
42961         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
42962         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42963         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
42964         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
42965         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
42966         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
42967         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
42968         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
42969         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
42970         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
42971         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
42972         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
42973         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
42974         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
42975         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
42976         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42977         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42978         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42979         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42980         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
42981         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42982         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
42983         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
42984         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
42985         (__isnanf): Likewise.
42986         (__isinf_ns): Likewise.
42987         (__isinf_nsf): Likewise.
42988         (__finite): Likewise.
42989         (__finitef): Likewise.
42990         (__ieee754_sqrt): Define as macro.
42991         (__ieee754_sqrtf): Define as macro.
42992         (__ieee754_sqrtl): Define as macro.
42993         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
42994         inlined copy.
42995         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
42996         __FINITE_MATH_ONLY__ consistent.
42997         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
42999 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43001         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43002         of rawmemchr.
43004         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43006 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43008         * po/ja.po: Update from translation team.
43010 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43012         * locale/programs/locarchive.c (prepare_address_space): New function.
43013         (create_archive, enlarge_archive, open_archive): Use it.
43015         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43016         inside [SHARED], where it is used.
43018         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43020         * nss/getent.c (netgroup_keys): Remove unused variable.
43021         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43023 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43025         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43026         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43027         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43028         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43029         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43030         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43031         * math/Makefile (libm-calls): Add s_isinf_ns.
43032         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43033         * math/multc3.c: Likewise.
43034         * math/s_casin.c: Likewise.
43035         * math/s_casinf.c: Likewise.
43036         * math/s_casinl.c: Likewise.
43037         * math/s_ccos.c: Likewise.
43038         * math/s_ccosf.c: Likewise.
43039         * math/s_ccosl.c: Likewise.
43040         * math/s_ctan.c: Likewise.
43041         * math/s_ctanf.c: Likewise.
43042         * math/s_ctanh.c: Likewise.
43043         * math/s_ctanhf.c: Likewise.
43044         * math/s_ctanhl.c: Likewise.
43045         * math/s_ctanl.c: Likewise.
43046         * math/w_fmod.c: Likewise.
43047         * math/w_fmodf.c: Likewise.
43048         * math/w_fmodl.c: Likewise.
43049         * math/w_remainder.c: Likewise.
43050         * math/w_remainderf.c: Likewise.
43051         * math/w_remainderl.c: Likewise.
43052         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43053         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43054         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43056         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43057         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43058         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43059         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43061         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43062         of the number.
43063         * stdio-common/printf_fphex.c: Likewise.
43064         * stdio-common/printf_size.c: Likewise.
43066         * math/e_exp10.c: Include math_private.h using <...> not "...".
43067         * math/e_exp10f.c: Likewise.
43068         * math/e_exp10l.c: Likewise.
43069         * math/e_exp2l.c: Likewise.
43070         * math/e_j0l.c: Likewise.
43071         * math/e_j1l.c: Likewise.
43072         * math/e_jnl.c: Likewise.
43073         * math/e_lgammal_r.c: Likewise.
43074         * math/e_rem_pio2l.c: Likewise.
43075         * math/e_scalb.c: Likewise.
43076         * math/e_scalbf.c: Likewise.
43077         * math/e_scalbl.c: Likewise.
43078         * math/k_cosl.c: Likewise.
43079         * math/k_sinl.c: Likewise.
43080         * math/k_tanl.c: Likewise.
43081         * math/s_cacoshf.c: Likewise.
43082         * math/s_catan.c: Likewise.
43083         * math/s_catanf.c: Likewise.
43084         * math/s_catanh.c: Likewise.
43085         * math/s_catanhf.c: Likewise.
43086         * math/s_catanhl.c: Likewise.
43087         * math/s_catanl.c: Likewise.
43088         * math/s_ccosh.c: Likewise.
43089         * math/s_ccoshf.c: Likewise.
43090         * math/s_ccoshl.c: Likewise.
43091         * math/s_cexp.c: Likewise.
43092         * math/s_cexpf.c: Likewise.
43093         * math/s_cexpl.c: Likewise.
43094         * math/s_clog.c: Likewise.
43095         * math/s_clog10.c: Likewise.
43096         * math/s_clog10f.c: Likewise.
43097         * math/s_clog10l.c: Likewise.
43098         * math/s_clogf.c: Likewise.
43099         * math/s_clogl.c: Likewise.
43100         * math/s_csin.c: Likewise.
43101         * math/s_csinf.c: Likewise.
43102         * math/s_csinh.c: Likewise.
43103         * math/s_csinhf.c: Likewise.
43104         * math/s_csinhl.c: Likewise.
43105         * math/s_csinl.c: Likewise.
43106         * math/s_csqrt.c: Likewise.
43107         * math/s_csqrtf.c: Likewise.
43108         * math/s_csqrtl.c: Likewise.
43109         * math/s_ctan.c: Likewise.
43110         * math/s_ctanf.c: Likewise.
43111         * math/s_ctanh.c: Likewise.
43112         * math/s_ctanhf.c: Likewise.
43113         * math/s_ctanhl.c: Likewise.
43114         * math/s_ctanl.c: Likewise.
43115         * math/s_ldexp.c: Likewise.
43116         * math/s_ldexpf.c: Likewise.
43117         * math/s_ldexpl.c: Likewise.
43118         * math/s_significand.c: Likewise.
43119         * math/s_significandf.c: Likewise.
43120         * math/s_significandl.c: Likewise.
43121         * math/w_acos.c: Likewise.
43122         * math/w_acosf.c: Likewise.
43123         * math/w_acosh.c: Likewise.
43124         * math/w_acoshf.c: Likewise.
43125         * math/w_acoshl.c: Likewise.
43126         * math/w_acosl.c: Likewise.
43127         * math/w_asin.c: Likewise.
43128         * math/w_asinf.c: Likewise.
43129         * math/w_asinl.c: Likewise.
43130         * math/w_atan2.c: Likewise.
43131         * math/w_atan2f.c: Likewise.
43132         * math/w_atan2l.c: Likewise.
43133         * math/w_atanh.c: Likewise.
43134         * math/w_atanhf.c: Likewise.
43135         * math/w_atanhl.c: Likewise.
43136         * math/w_cosh.c: Likewise.
43137         * math/w_coshf.c: Likewise.
43138         * math/w_coshl.c: Likewise.
43139         * math/w_dremf.c: Likewise.
43140         * math/w_exp10.c: Likewise.
43141         * math/w_exp10f.c: Likewise.
43142         * math/w_exp10l.c: Likewise.
43143         * math/w_exp2.c: Likewise.
43144         * math/w_exp2f.c: Likewise.
43145         * math/w_fmod.c: Likewise.
43146         * math/w_fmodf.c: Likewise.
43147         * math/w_fmodl.c: Likewise.
43148         * math/w_hypot.c: Likewise.
43149         * math/w_hypotf.c: Likewise.
43150         * math/w_hypotl.c: Likewise.
43151         * math/w_j0.c: Likewise.
43152         * math/w_j0f.c: Likewise.
43153         * math/w_j0l.c: Likewise.
43154         * math/w_j1.c: Likewise.
43155         * math/w_j1f.c: Likewise.
43156         * math/w_j1l.c: Likewise.
43157         * math/w_jn.c: Likewise.
43158         * math/w_jnf.c: Likewise.
43159         * math/w_jnl.c: Likewise.
43160         * math/w_lgamma.c: Likewise.
43161         * math/w_lgamma_r.c: Likewise.
43162         * math/w_lgammaf.c: Likewise.
43163         * math/w_lgammaf_r.c: Likewise.
43164         * math/w_lgammal.c: Likewise.
43165         * math/w_lgammal_r.c: Likewise.
43166         * math/w_log.c: Likewise.
43167         * math/w_log10.c: Likewise.
43168         * math/w_log10f.c: Likewise.
43169         * math/w_log10l.c: Likewise.
43170         * math/w_log2.c: Likewise.
43171         * math/w_log2f.c: Likewise.
43172         * math/w_log2l.c: Likewise.
43173         * math/w_logf.c: Likewise.
43174         * math/w_logl.c: Likewise.
43175         * math/w_pow.c: Likewise.
43176         * math/w_powf.c: Likewise.
43177         * math/w_powl.c: Likewise.
43178         * math/w_remainder.c: Likewise.
43179         * math/w_remainderf.c: Likewise.
43180         * math/w_remainderl.c: Likewise.
43181         * math/w_scalb.c: Likewise.
43182         * math/w_scalbf.c: Likewise.
43183         * math/w_scalbl.c: Likewise.
43184         * math/w_sinh.c: Likewise.
43185         * math/w_sinhf.c: Likewise.
43186         * math/w_sinhl.c: Likewise.
43187         * math/w_sqrt.c: Likewise.
43188         * math/w_sqrtf.c: Likewise.
43189         * math/w_sqrtl.c: Likewise.
43190         * math/w_tgamma.c: Likewise.
43191         * math/w_tgammaf.c: Likewise.
43192         * math/w_tgammal.c: Likewise.
43194         * po/ja.po: Update from translation team.
43196 2011-09-29  Andreas Jaeger  <aj@suse.de>
43198         [BZ #13179]
43199         * sunrpc/netname.c (netname2host): Fix logic.
43201         [BZ #6779]
43202         [BZ #6783]
43203         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43204         correctly.
43205         * math/w_remainder.c (__remainder): Likewise.
43206         * math/w_remainderf.c (__remainderf): Likewise.
43207         * math/libm-test.inc (remainder_test): Add test cases.
43209 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43211         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43212         sdiv_qrnnd.
43214 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43216         * string/test-memcmp.c: Avoid unncessary #defines.
43217         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43219 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43221         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43222         Use new sse2 version for core i3 - i7 as it's faster
43223         than sse42 version.
43224         (bit_Prefer_PMINUB_for_stringop): New.
43225         * sysdeps/x86_64/rawmemchr.S: Update.
43226         Replace with faster SSE2 version.
43227         * sysdeps/x86_64/memrchr.S: New file.
43228         * sysdeps/x86_64/memchr.S: Update.
43229         Replace with faster SSE2 version.
43231 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43233         * elf/dl-load.c (lose): Add cast to avoid warning.
43235 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43237         * po/ca.po: Update from translation team.
43239         * inet/getnetgrent_r.c: Hook up nscd.
43240         * nscd/Makefile (routines): Add nscd_netgroup.
43241         (nscd-modules): Add netgroupcache.
43242         (CFLAGS-netgroupcache.c): Define.
43243         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43244         (cache_search): Add const to second parameter.
43245         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43246         INNETGR.
43247         (dbs): Add netgrdb entry.
43248         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43249         (verify_persistent_db): Handle netgrdb.
43250         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43251         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43252         GETFDNETGR.
43253         (netgroup_response_header): Define.
43254         (innetgroup_response_header): Define.
43255         (datahead): Add netgroup_response_header and innetgroup_response_header
43256         elements.
43257         * nscd/nscd.conf: Add entries for netgroup cache.
43258         * nscd/nscd.h (dbtype): Add netgrdb.
43259         (_PATH_NSCD_NETGROUP_DB): Define.
43260         (netgroup_iov_disabled): Declare.
43261         (xmalloc, xcalloc, xrealloc): Move declarations here.
43262         (cache_search): Adjust prototype.
43263         Add netgroup-related prototypes.
43264         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43265         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43266         (__nscd_innetgr): Declare.
43267         * nscd/selinux.c (perms): Use access_vector_t as element type and
43268         add netgroup-related initializers.
43269         * nscd/netgroupcache.c: New file.
43270         * nscd/nscd_netgroup.c: New file.
43271         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43272         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43273         For four parameters use innetgr.
43274         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43275         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43276         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43277         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43279         * nscd/connections.c (register_traced_file): Don't register file
43280         for disabled databases.
43282 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43284         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43286         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43287         from tree and freeing node.
43289 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43291         * nss/nsswitch.c (__nss_database_lookup): Handle
43292         nss_parse_service_list out of memory case.
43294 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43296         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43297         out of memory case.
43299 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43301         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43302         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43303         pass it down.
43304         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43305         elf_machine_rela, elf_machine_lazy_rel.
43306         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43307         (ELF_DYNAMIC_DO_REL): Likewise.
43308         (ELF_DYNAMIC_DO_RELA): Likewise.
43309         (ELF_DYNAMIC_RELOCATE): Likewise.
43310         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43311         to ELF_DYNAMIC_DO_REL.
43312         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43313         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43314         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43315         elf_machine_rela.
43316         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43317         skip_ifunc, don't call ifunc function if non-zero.
43318         (elf_machine_rela): Likewise.
43319         (elf_machine_lazy_rel): Likewise.
43320         (elf_machine_lazy_rela): Likewise.
43321         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43322         (elf_machine_lazy_rel): Likewise.
43323         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43324         Likewise.
43325         (elf_machine_lazy_rel): Likewise.
43326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43327         Likewise.
43328         (elf_machine_lazy_rel): Likewise.
43329         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43330         (elf_machine_lazy_rel): Likewise.
43331         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43332         (elf_machine_lazy_rel): Likewise.
43333         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43334         (elf_machine_lazy_rel): Likewise.
43335         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43336         (elf_machine_lazy_rel): Likewise.
43337         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43338         (elf_machine_lazy_rel): Likewise.
43339         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43340         (elf_machine_lazy_rel): Likewise.
43342 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43344         * nss/nss_files/files-init.c (_nss_files_init): Use static
43345         initialization for all the *_traced_file variables.
43347 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43349         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43351 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43353         [BZ #13226]
43354         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43356 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43359         Reread the line before reparsing it.
43361 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43363         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43365 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43366             Maxim Kuvyrkov  <maxim@codesourcery.com>
43367             Joseph Myers  <joseph@codesourcery.com>
43369         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43370         if needed for __stack_chk_guard.
43372 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43374         * sysdeps/posix/spawni.c (script_execute): Always define it.
43375         It will be optimized away if unused.
43376         (maybe_script_execute): New function.
43377         (__spawni): Call it.
43379         * Makerules: Don't include tls.make.
43380         (config-tls): Always set to thread.
43381         * tls.make.c: File removed.
43383 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43385         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43386         * config.make.in (CPPFLAGS-config): New substituted variable.
43388 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43390         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43392         [BZ #13192]
43393         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43394         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43396 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43398         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43399         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43400         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43401         (CALL_FAIL): Likewise.
43402         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43403         (CALL_FAIL): Macro removed.
43404         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43406 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43408         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43409         for __FINITE_MATH_ONLY__ == 1.
43411 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43413         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43414         __ieee754_sqrt instead of sqrt.
43415         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43416         __ieee754_sqrtf instead of sqrtf.
43417         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43418         __floorf instead of floorf.
43419         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43420         __floorf, __truncf instead of floorf, truncf.
43422 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43424         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43426         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43427         __extern_always_inline.
43428         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43429         32-bit.
43431 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43433         * elf/rtld.c (dl_main): Also relocate in dependency order when
43434         doing symbol dependency testing.
43436 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43439         Always define `refsym'.
43441 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43443         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43444         (__FD_ELT): Renamed from __FDELT.
43445         * misc/bits/select2.h (__FD_ELT): Likewise.
43446         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43447         __FD_MASK instead of __FDELT, __FDMASK.
43448         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43449         Likewise.
43450         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43451         Likewise.
43453         * elf/Makefile (gen-ldd): Fix pattern.
43455         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43456         (init_tls): Likewise.
43458 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43460         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43462 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43464         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43465         `struct cmsghdr *' instead of `void *'.
43466         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43467         Likewise.
43469 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43471         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43472         if non-absolute.
43473         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43474         ldd_rewrite_script.
43476 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43478         * configure.in: Remove --with-tls option.
43479         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43480         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43481         out in case it is missing.
43482         * sysdeps/ia64/elf/configure.in: Likewise.
43483         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43484         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43485         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43486         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43487         * sysdeps/sh/elf/configure.in: Likewise.
43488         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43489         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43490         * sysdeps/x86_64/elf/configure.in: Likewise.
43491         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43492         * sysdeps/mach/hurd/tls.h: Likewise.
43494         [BZ #13067]
43495         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43497         [BZ #13090]
43498         * configure.in: Fix use of AC_INIT.
43500         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43502 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43504         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43505         __set_errno.
43506         * malloc/hooks.c: Likewise.
43508         [BZ #11929]
43509         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43510         variables statically.
43511         (narenas): Initialize.
43512         (list_lock): Initialize.
43513         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43514         initializtion of main_arena and list_lock.  Small cleanups.
43515         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43516         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43517         Add initializers to main_arena and mp_.
43518         (malloc_state): Remove pagesize member.  Change all users to use
43519         GLRO(dl_pagesize).
43521         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43522         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43523         is always initialized.
43525         * malloc/malloc.c: Removed unused configurations and dead code.
43526         * malloc/arena.c: Likewise.
43527         * malloc/hooks.c: Likewise.
43528         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43530         * include/tls.h: Removed.  USE___THREAD must always be defined.
43531         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43532         * elf/dl-libc.c: Likewise.
43533         * elf/dl-tsd.c: Likewise.
43534         * include/errno.h: Likewise.
43535         * include/netdb.h: Likewise.
43536         * include/resolv.h: Likewise.
43537         * inet/herrno-loc.c: Likewise.
43538         * inet/herrno.c: Likewise.
43539         * malloc/arena.c: Likewise.
43540         * malloc/hooks.c: Likewise.
43541         * malloc/malloc.c: Likewise.
43542         * resolv/res-state.c: Likewise.
43543         * resolv/res_libc.c: Likewise.
43544         * sysdeps/i386/dl-machine.h: Likewise.
43545         * sysdeps/ia64/dl-machine.h: Likewise.
43546         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43547         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43548         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43549         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43550         * sysdeps/sh/dl-machine.h: Likewise.
43551         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43552         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43553         * sysdeps/unix/i386/sysdep.S: Likewise.
43554         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43555         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43556         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43558         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43560         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43564         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43565         * sysdeps/x86_64/dl-machine.h: Likewise.
43566         * tls.make.c: Likewise.
43568         * configure.in: Remove --with-__thread option.  Make tests for
43569         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43570         tls_model attribute fail if no support is available.  Remove
43571         USE_IN_LIBIO.
43572         * Makeconfig: Adjust for dropped configure option.  All features are
43573         now mandatory.
43574         * Makerules: Likewise.
43575         * Versions.def: Likewise.
43576         * argp/argp-fmtstream.c: Likewise.
43577         * argp/argp-fmtstream.h: Likewise.
43578         * argp/argp-help.c: Likewise.
43579         * assert/assert.c: Likewise.
43580         * config.h.in: Likewise.
43581         * config.make.in: Likewise.
43582         * configure: Likewise.
43583         * configure.in: Likewise.
43584         * csu/Versions: Likewise.
43585         * csu/init.c: Likewise.
43586         * elf/tst-audit2.c: Likewise.
43587         * elf/tst-tls10.c: Likewise.
43588         * elf/tst-tls10.h: Likewise.
43589         * elf/tst-tls11.c: Likewise.
43590         * elf/tst-tls12.c: Likewise.
43591         * elf/tst-tls14.c: Likewise.
43592         * elf/tst-tlsmod11.c: Likewise.
43593         * elf/tst-tlsmod12.c: Likewise.
43594         * elf/tst-tlsmod13.c: Likewise.
43595         * elf/tst-tlsmod13a.c: Likewise.
43596         * elf/tst-tlsmod14a.c: Likewise.
43597         * elf/tst-tlsmod15b.c: Likewise.
43598         * elf/tst-tlsmod16a.c: Likewise.
43599         * elf/tst-tlsmod16b.c: Likewise.
43600         * elf/tst-tlsmod7.c: Likewise.
43601         * elf/tst-tlsmod8.c: Likewise.
43602         * elf/tst-tlsmod9.c: Likewise.
43603         * gmon/gmon.c: Likewise.
43604         * grp/fgetgrent_r.c: Likewise.
43605         * grp/putgrent.c: Likewise.
43606         * hurd/fopenport.c: Likewise.
43607         * include/libc-symbols.h: Likewise.
43608         * include/tls.h: Likewise.
43609         * intl/gettextP.h: Likewise.
43610         * intl/loadinfo.h: Likewise.
43611         * locale/global-locale.c: Likewise.
43612         * locale/localeinfo.h: Likewise.
43613         * mach/devstream.c: Likewise.
43614         * malloc/arena.c: Likewise.
43615         * malloc/set-freeres.c: Likewise.
43616         * misc/err.c: Likewise.
43617         * misc/getttyent.c: Likewise.
43618         * misc/mntent_r.c: Likewise.
43619         * posix/getopt.c: Likewise.
43620         * posix/wordexp.c: Likewise.
43621         * pwd/fgetpwent_r.c: Likewise.
43622         * resolv/Versions: Likewise.
43623         * resolv/res_hconf.c: Likewise.
43624         * shadow/fgetspent_r.c: Likewise.
43625         * shadow/putspent.c: Likewise.
43626         * stdio-common/printf_fphex.c: Likewise.
43627         * stdio-common/tmpfile.c: Likewise.
43628         * stdlib/abort.c: Likewise.
43629         * stdlib/fmtmsg.c: Likewise.
43630         * sunrpc/auth_unix.c: Likewise.
43631         * sunrpc/clnt_perr.c: Likewise.
43632         * sunrpc/clnt_tcp.c: Likewise.
43633         * sunrpc/clnt_udp.c: Likewise.
43634         * sunrpc/clnt_unix.c: Likewise.
43635         * sunrpc/openchild.c: Likewise.
43636         * sunrpc/svc_simple.c: Likewise.
43637         * sunrpc/svc_tcp.c: Likewise.
43638         * sunrpc/svc_udp.c: Likewise.
43639         * sunrpc/svc_unix.c: Likewise.
43640         * sunrpc/xdr.c: Likewise.
43641         * sunrpc/xdr_array.c: Likewise.
43642         * sunrpc/xdr_rec.c: Likewise.
43643         * sunrpc/xdr_ref.c: Likewise.
43644         * sunrpc/xdr_stdio.c: Likewise.
43646 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43648         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43650 2011-07-03  Andreas Jaeger  <aj@suse.de>
43652         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43653         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43654         regenerate with gen-libm-tests.pl.
43656 2010-05-12  Petr Baudis  <pasky@suse.cz>
43658         [BZ #11589]
43659         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43660         around j0() zero points by switching to j1().
43661         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43662         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43663         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43664         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43666 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43668         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43669         instead of 0.
43670         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43671         instead of 0.
43672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43673         Patch in part by Pavel Roskin <proski@gnu.org>.
43675         [BZ #13138]
43676         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43677         realloc.
43678         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43679         Free memory block if necessary.
43681         [BZ #12847]
43682         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43683         be NULL.  Don't lock in this case.
43685 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43687         * elf/elf.h (ELFOSABI_GNU): New macro.
43688         (ELFOSABI_LINUX): Define to that.
43690 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43692         * string/strncat.c (strncat): Undef the symbol in case it has been
43693         defined in bits/string.h.
43695 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43697         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43699         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43700         link map.
43702 2011-08-17  Andreas Jaeger  <aj@suse.de>
43704         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43706 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43707             Ian Lance Taylor  <iant@google.com>
43709         * math/libm-test.inc (lround_test): New testcase.
43710         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43712 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43714         * Makefile: Remove support for automatic cvs check-ins.
43715         * Makerules: Likewise.
43716         * config.make.in: Likewise.
43717         * configure.in: Likewise.
43718         * intl/Makefile: Likewise.
43719         * locale/Makefile: Likewise.
43720         * po/Makefile: Likewise.
43721         * posix/Makefile: Likewise.
43722         * sysdeps/gnu/Makefile: Likewise.
43723         * sysdeps/mach/hurd/Makefile: Likewise.
43724         * sysdeps/sparc/sparc32/Makefile: Likewise.
43726         [BZ #13118]
43727         * posix/Makefile (bug-regex32-ENV): Define.
43728         Patch by John Stanley <jpsinthemix@verizon.net>.
43730         * misc/Makefile (headers): Add bits/select2.h.
43731         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43732         * misc/bits/select2.h: New file.
43733         * include/bits/select2.h: New file.
43734         * debug/Makefile (routines): Add fdelt_chk.
43735         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43736         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43737         FD_ISSET.
43738         * debug/fdelt_chk.c: New file.
43740         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43741         * wcsmbs/test-wmemcmp.c: Likewise.
43742         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43743         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43745 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43747         * string/Makefile (strop-tests): Add memcmp.
43748         * string/test-wmemcmp.c: New file.
43749         * string/test-memcmp.c: Add wmemcmp support.
43751 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43753         [BZ #13153]
43754         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43755         2011-07-19 change.
43757         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43758         garbage value in a __mach_port_mod_refs call in the cases of the
43759         task-self and thread-self ports.
43761 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43763         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43765 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43767         * elf/dl-load.c (lose): Check for non-null L.
43769 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43771         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43773         * elf/dl-libc.c (dlerror_run): Pass back error code from
43774         dl_catch_error.
43776         [BZ #13123]
43777         * elf/dl-load.c (lose): Free l_origin if it is valid.
43779         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43780         names.
43781         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43782         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43783         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43784         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43785         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43786         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43788 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43790         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43791         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43792         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43793         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43794         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43795         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43796         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43797         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43798         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43799         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43801 2011-08-15  Alan Modra  <amodra@gmail.com>
43803         [BZ #13092]
43804         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43805         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43806         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43807         ppc_mcount to static-only-routines.
43808         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43809         __mcount_internal.
43810         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43811         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43813 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43815         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43816         for finite and infinity parameters.
43818 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43820         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43821         and add nop instructions for throughput optimization.
43822         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43824 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43826         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43827         aligned copy for power7 with vector-scalar instructions.
43828         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43830 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43832         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43833         AVX check.
43835 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43837         [BZ #13144]
43838         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43839         last change.
43841 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43843         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43844         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43845         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43846         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43847         clock_gettime.
43849 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43851         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43852         Forgot to demangle the pointer.
43854         * sysdeps/i386/sysdep.h: Define atom_text_section.
43855         * sysdeps/x86_64/sysdep.h: Likewise.
43856         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43857         section with atom_text_section.
43858         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43859         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43860         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43861         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43862         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43864         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43865         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43866         already be defined.  Change to take two parameters and don't assign
43867         result to variable.  Adjust all users.
43868         Define INTERNAL_GETTIME if not already defined.
43869         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43870         call.
43871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43872         HAVE_CLOCK_GETTIME_VSYSCALL.
43873         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43875         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43876         gettimeofday vsyscall, just use time.
43878 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43880         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43881         <errno.h>.
43883 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43885         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43886         syscall on x86-64.
43887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
43888         syscall.
43889         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
43890         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
43891         syscall if possible.
43893 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43895         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
43896         e_ident.  Don't pass to find_mapsXX.
43897         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
43899 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43901         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43902         strchr-sse2-no-bsf strrchr-sse2-no-bsf
43903         * sysdeps/x86_64/multiarch/strchr.S: Update.
43904         Check bit_slow_BSF bit.
43905         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43906         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
43907         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
43909 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43911         [BZ #13134]
43912         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
43913         before glibc 2.15.
43914         (tryshell): Define.
43915         (__spawni): Change last parameter to be flag.  Test
43916         SPAWN_XFLAGS_USE_PATH flag to use path or not.
43917         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
43918         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
43919         * posix/spawni.c: Likewise.
43920         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
43921         * posix/spawnp.c: Likewise.  Change normal version to use
43922         SPAWN_XFLAGS_USE_PATH.
43923         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
43924         SPAWN_XFLAGS_TRY_SHELL.
43926         [BZ #13150]
43927         * posix/glob.h: Remove gcc 1.x support.
43929         [BZ #13068]
43930         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
43932 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43935         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
43936         strrchr-sse2-bsf
43937         * sysdeps/i386/i686/multiarch/strchr.S: New file.
43938         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
43939         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
43940         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
43941         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
43942         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
43944 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43946         * sysdeps/x86_64/wcscmp.S: New file.
43948         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
43949         wcscmp-c wcscmp-sse2
43950         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
43951         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
43952         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
43953         * wcsmbs/wcscmp.c: Allow renaming.
43955 2011-09-05  David S. Miller  <davem@davemloft.net>
43957         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
43958         stack slot, rather than the struct return pointer slot.
43959         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
43960         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
43961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
43962         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
43964 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
43966         * po/ja.po: Update from translation team.
43968         [BZ #13144]
43969         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
43970         kernel in 64-bit binaries.
43972 2011-09-01  David S. Miller  <davem@davemloft.net>
43974         * elf/elf.h (HWCAP_SPARC_*): Move to..
43975         * sysdeps/sparc/sysdep.h: this new file and add new values.
43976         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
43977         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
43978         _DL_HWCAP_COUNT to 24.
43979         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
43980         entries.
43981         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
43982         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
43983         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
43984         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
43985         instead of magic constants.
43986         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43988 2011-08-31  David S. Miller  <davem@davemloft.net>
43990         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
43991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
43992         Reimplement to do errno handling inline.
43993         (SYSCALL_ERROR_HANDLER): New macro.
43994         (__SYSCALL_STRING): Do not do errno handling in asm.
43995         (__CLONE_SYSCALL_STRING): Delete.
43996         (__INTERNAL_SYSCALL_STRING): Delete.
43997         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
43998         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
43999         (PSEUDO): Reimplement to do errno handling inline.
44000         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44001         (SYSCALL_ERROR_HANDLER): New macro.
44002         (__SYSCALL_STRING): Do not do errno handling in asm.
44003         (__CLONE_SYSCALL_STRING): Delete.
44004         (__INTERNAL_SYSCALL_STRING): Delete.
44005         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44006         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44007         i386.
44008         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44009         (inline_syscall*): Add 'err' argument.
44010         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44011         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44012         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44013         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44015         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44016         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44018 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44020         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44022 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44024         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44025         directive.
44027 2011-08-24  David S. Miller  <davem@davemloft.net>
44029         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44031 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44033         * elf/Makefile: Add rules to build and run unload8 test.
44034         * elf/unload8.c: New file.
44035         * elf/unload8mod1.c: New file.
44036         * elf/unload8mod1x.c: New file.
44037         * elf/unload8mod2.c: New file.
44038         * elf/unload8mod3.c: New file.
44040         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44041         it wasn't used.
44043 2011-08-23  David S. Miller  <davem@davemloft.net>
44045         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44046         subtract stack bias.
44047         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44048         %sp not %fp in calculations.
44049         (_JMPBUF_UNWINDS_ADJ): Likewise.
44051         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44052         (aio_suspend): Call it to force an exception region around the
44053         AIO_MISC_WAIT() invocation.
44055 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44057         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44058         backslash.
44060 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44062         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44063         protection macro.
44064         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44065         and <dl-machine.h>.
44066         (Elf64_FuncDesc): Remove.
44068 2011-08-22  David S. Miller  <davem@davemloft.net>
44070         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44071         sigaltstack check, add missing cfi directives.
44072         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44073         missing cfi directives, and sigaltstack handling.
44075 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44077         [BZ #11724]
44078         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44079         object is seen twice.
44080         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44082         * elf/Makefile (distribute): Add tst-initorder2.c.
44083         (tests): Add tst-initorder2.
44084         (modules-names): Add tst-initorder2a tst-initorder2b
44085         tst-initorder2c tst-initorder2d.  Add rules to build them.
44086         ($(objpfx)tst-initorder2.out): New rule.
44087         * elf/tst-initorder2.c: New file.
44088         * elf/tst-initorder2.exp: New file.
44090 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44092         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44094         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44095         dependencies back to end of function.
44097         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44098         $(elfobjdir)/ld.so.
44100 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44102         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44103         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44104         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44105         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44106         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44107         of __vdso_gettimeofday.
44108         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44109         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44110         attribute_hidden.
44111         (_libc_vdso_platform_setup): Remove initialization of
44112         __vdso_gettimeofday and __vdso_time.
44114 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44116         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44117         and fgetc_unlocked.
44118         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44119         getc_unlocked.
44121         * elf/dl-open.c (add_to_global): Report additions to the global scope
44122         for LD_DEBUG=scopes.
44123         (dl_open_worker): Also print scope of newly loaded dependencies.
44124         (_dl_show_scope): Indicate if there is no scope.
44126         [BZ #13114]
44127         * stdio-common/Makefile (tests): Add bug24.
44128         * stdio-common/bug24.c: New file.
44130 2011-08-19  Andreas Jaeger  <aj@suse.de>
44132         [BZ #13114]
44133         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44134         non-existant file when using close-on-exec mode.
44136 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44139         the very first instruction.
44141         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44142         the CFI state in the end.
44143         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44144         inclusion of dl-trampoline.h.
44145         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44147 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44149         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44150         expectations for long double.
44152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44153         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44155 2011-08-14  David S. Miller  <davem@davemloft.net>
44157         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44158         artificual limit depends upon the system page size.
44160 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44162         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44163         * resolv/Makefile: Define CFLAGS-libresolv.
44165 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44167         * nss/makedb.c (compute_tables): Make variables used in nested
44168         function static.
44170 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44172         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44173         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44174         if buffer was too small.
44176         * elf/pldd.c (main): Attach to all threads in the process.
44177         Rewrite /proc handling to use *at functions.
44179 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44181         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44182         specifies first scope to show.
44183         (dl_open_worker): Update callers.  Move printing scope of new
44184         object to before the relocation.
44185         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44186         * sysdeps/generic/ldsodefs.h: Update declaration.
44188         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44189         string for the scope number.
44191 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44193         * nscd/servicescache.c (cache_addserv): Make sure written is always
44194         initialized.
44196 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44198         * sysdeps/i386/i486/bits/atomic.h
44199         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44200         statement expression, so as to suppress "set but not used" warning.
44201         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44203         * string/strncat.c (STRNCAT): Use prototype definition.
44205         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44206         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44207         -Iprograms here.
44208         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44209         (localedef-modules): Add localedef.
44210         (locale-modules): Add locale.
44212         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44213         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44214         to avoid a warning.
44216 2011-08-14  David S. Miller  <davem@davemloft.net>
44218         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44219         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44221 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44223         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44224         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44225         * elf/rtld.c (dl_main): Set l_name of vDSO.
44226         Call _dl_show_scope when DL_DEBUG_SCOPES.
44227         (process_dl_debug): Recognize scopes flag and also set it for all.
44228         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44229         Declare _dl_show_scope.
44231         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44232         (do_dlopen): Pass caller_dlopen to dl_open.
44233         (__libc_dlopen_mode): Initialize caller_dlopen.
44235         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44236         of libc.  Make tolower call locale-independent.  Optimize a bit by
44237         using isdigit instead of isalnum.
44238         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44240 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44242         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44243         was a dependency or dynamically loaded.
44245 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44247         * intl/l10nflist.c: Allow architecture-specific pop function.
44248         * sysdeps/x86_64/l10nflist.c: New file.
44250         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44251         classification.
44253 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44255         * include/dirent.h: Add libc_hidden_proto for scandirat and
44256         scandirat64.  Don't declare __scandirat64.
44257         * dirent/scandirat.c: Add libc_hidden_def.
44258         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44259         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44261 2011-08-10  David S. Miller  <davem@davemloft.net>
44263         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44264         enum.
44265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44267         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44269 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44271         * Versions.def [libc]: Add GLIBC_2.15.
44272         * dirent/Makefile (routines): Add scandirat and scandirat64.
44273         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44274         GLIBC_2.15.
44275         * dirent/dirent.h: Declare scandirat and scandirat64.
44276         * dirent/scandirat.c: New file.
44277         * dirent/scandirat64.c: New file.
44278         * sysdeps/wordsize-64/scandirat.c: New file.
44279         * sysdeps/wordsize-64/scandirat64.c: New file.
44280         * dirent/opendir.c: Define opendirat.
44281         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44282         using scandirat.
44283         * dirent/scandir64.c: Adjust for scandir.c change.
44284         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44285         __scandirat64, and __scandir_cancel_handler.
44286         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44287         additional parameter and use openat instead of open (outside of ld.so).
44288         Add new __opendir as wrapper around __opendirat.
44289         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44290         here without requiring old scandirat implementation.
44292 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44294         * dirent/scandir.c (cancel_handler): Renamed to
44295         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44296         defined.  Adjust users.
44297         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44298         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44300 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44302         * string/test-string.h (IMPL): Use __STRING to expand name and then
44303         stringify it.
44305         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44306         of cleanups.
44308 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44310         * string/Makefile: Update.
44311         (strop-tests): Append strncat.
44312         * string/test-wcscmp.c: New file.
44313         New comprehensive test for wcscmp.
44314         * string/test-strcmp.c: Update.
44315         (WIDE): New define.
44317 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44319         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44320         line.
44322 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44325         encoding to ACE if AI_IDN.
44327 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44330         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44332 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44334         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44335         Fix overflow bug in strncat.
44336         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44338         * string/test-strncat.c: Update.
44339         Add new tests for checking overflow bugs.
44341 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44344         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44345         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44346         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44347         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44348         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44349         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44350         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44351         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44353         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44354         (USE_AS_STRCAT): Define.
44355         Add strcat and strncat support.
44356         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44358 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44360         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44361         __n bigger than INT_MAX+1.
44362         (__strncmp_g): Likewise.
44364 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44366         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44367         * libio/stido.h: Likewise.
44369         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44370         (AF_NFC): Define.
44371         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44372         (AF_NFC): Define.
44374         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44375         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44376         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44377         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44378         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44380         [BZ #13021]
44381         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44382         installed.
44384         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44385         typo.
44386         (_dl_x86_64_save_sse): Likewise.
44388 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44390         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44391         OSXSAVE.
44392         (_dl_x86_64_save_sse): Likewise.
44394         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44396         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44398 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44400         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44401         change.
44402         (_dl_x86_64_save_sse): Use correct AVX check.
44404 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44406         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44407         bug in strncpy/strncat.
44408         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44410 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44412         * string/tester.c (test_strcat): Add tests for different alignments
44413         of source and destination.
44414         (test_strncat): Likewise.
44416 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44418         [BZ #12852]
44419         * posix/glob.c (glob): Check passed in values before using them in
44420         expressions to avoid some overflows.
44421         (glob_in_dir): Likewise.
44423         [BZ #13007]
44424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44425         check for AVX enablement so that we don't crash with old kernels and
44426         new hardware.
44427         * elf/tst-audit4.c: Add same checks here.
44428         * elf/tst-audit6.c: Likewise.
44430         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44432 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44434         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44436 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44438         * po/cs.po: Update from translation team.
44439         * po/bg.po: Likewise.
44441 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44443         * misc/sys/cdefs.h: Add support for const attribute.
44444         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44445         to gnu_dev_{major,minor,makedev} functions.
44447 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44449         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44451 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44453         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44454         strlen results.
44456 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44459         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44460         register in order to avoid conflicts with the soft frame pointer
44461         being held in r11 when necessary.
44462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44463         (INTERNAL_VSYSCALL_NCS): Likewise.
44465 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44467         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44468         * elf/dl-fini.c (_dl_fini): Adjust caller.
44469         * elf/dl-close.c (_dl_close_worker): Likewise.
44470         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44472 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44474         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44475         "aux_cache->nlibs < 0".
44477         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44478         in the reload-count case.
44480 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44483         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44484         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44485         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44486         * sysdeps/x86_64/multiarch/strcat.S: New file.
44487         * sysdeps/x86_64/multiarch/strncat.S: New file.
44488         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44489         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44490         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44491         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44492         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44493         (USE_AS_STRCAT): Define.
44494         Add strcat and strncat support.
44495         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44496         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44497         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44498         * string/strncat.c: Update.
44499         (USE_AS_STRNCAT): Define.
44500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44501         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44502         and i7.
44503         * sysdeps/x86_64/multiarch/init-arch.h
44504         (bit_Prefer_PMINUB_for_stringop): New.
44505         (index_Prefer_PMINUB_for_stringop): Likewise.
44506         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44507         bit_Prefer_PMINUB_for_stringop.
44509 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44511         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44512         buffer64.
44513         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44514         of casting of buffer.
44515         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44516         buffer32 and buffer64.
44517         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44518         writes instead of casting of buffer.
44519         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44520         buffer32.
44521         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44522         casting of buffer.
44524 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44526         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44528 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44530         * nscd/nscd.c (termination_handler): Don't do anything for a database
44531         if it has not yet been initialized.
44533 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44535         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44537 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44539         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44541 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44543         * po/nl.po: Update from translation team.
44544         * po/sv.po: Likewise.
44546 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44548         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44549         now disallowed by GCC.
44551         * configure.in (use-default-link): Default to yes if a test -shared
44552         link meets our qualifications.
44553         * configure: Regenerated.
44555         * config.make.in (output-format): New variable.
44556         * configure.in: Check for ld --print-output-format support.
44557         * configure: Regenerated.
44558         * Makerules ($(common-objpfx)format.lds)
44559         [$(output-format) != unknown]: Just use $(output-format),
44560         instead of the linker-script munging.
44562 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44564         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44565         of $(common-objpfx)shlib.lds.
44566         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44568         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44569         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44571         * configure.in (-z relro check): Adjust test code to add a large
44572         writable data section after it.
44573         * configure: Regenerated.
44575 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44577         * configure.in (-z relro check): Fix test code to make the variable
44578         truly const.
44579         * configure: Regenerated.
44581 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44583         * nscd/nscd.h (struct traced_file): Define.
44584         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44585         elements.  Add traced_files.
44586         (inotify_fd): Declare.
44587         (register_traced_file): Declare.
44588         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44589         (inotify_fd): Export.
44590         (resolv_conf_descr): Remove.
44591         (nscd_init): Move inotify descriptor creation to main.
44592         Don't register files for notification here.
44593         (register_traced_file): New function.
44594         (invalidate_cache): Don't use reset_res to determine whether to call
44595         res_init, go through the list of registered files.
44596         (main_loop_poll): The inotify descriptors are now stored in the
44597         structures for the traced files.
44598         (main_loop_epoll): Likewise
44599         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44600         to __nss_disable_nscd.
44601         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44602         for a database anymore.  Check the records for all the registered
44603         files instead.
44604         * nss/Makefile (libnss_files-routines): Add files-init.
44605         (libnss_db-routines): Add db-init.
44606         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44607         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44608         * nss/nss_db/db-init.c: New file.
44609         * nss/nss_files/files-init.c: New file.
44610         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44611         __nss_lookup_function.
44612         (__nss_lookup_function): Call nss_load_library.
44613         (nss_load_all_libraries): New function.
44614         (__nss_disable_nscd): Take parameter with callback function for files
44615         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44616         used for the cached services.
44617         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44618         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44619         options for features to all the files in nscd.
44621         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44623 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44625         * csu/elf-init.c (__libc_csu_init): Comment typo.
44627 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44629         * po/pl.po: Update from translation team.
44630         * po/ja.po: Likewise.
44631         * po/ru.po: Likewise.
44632         * po/ko.po: Likewise.
44633         * po/fr.po: Likewise.
44635 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44637         * configure.in (.ctors/.dtors header and trailer check):
44638         Use an empirical test on a built program.
44639         * configure: Regenerated.
44641         * configure.in (-z relro check): Use an empirical test on a built DSO.
44642         Detect, but do not require, on ia64.
44643         * configure: Regenerated.
44645         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44646         Update tests that use readelf to use $READELF instead.
44647         * configure: Regenerated.
44649 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44651         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44652         if the result is not used.
44654 2011-07-05  Andreas Jaeger  <aj@suse.de>
44656         [BZ#9696]
44657         * stdlib/tst-strtod.c: Add testcase.
44659 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44661         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44662         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44663         The latter has a higher limit.  Take additional parameter to pass to
44664         the new function.
44665         (__pathconf): Pass file to __statfs_link_max.
44666         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44667         __statfs_link_max.
44668         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44669         __statfs_link_max.
44671         [BZ #12868]
44672         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44673         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44674         Handle Lustre.
44675         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44676         (__statfs_filesize_max): Likewise.
44677         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44679 2011-07-05  Andreas Jaeger  <aj@suse.de>
44681         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44683 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44685         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44686         `status' variable.
44687         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44688         Likewise.
44690 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44692         * Makefile (strop-tests): Add strncat.
44693         * string/test-strncat.c: New file.
44695 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44697         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44699 2011-06-21  Andreas Jaeger  <aj@suse.de>
44701         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44702         Copy rule from iconvdata/Makefile.
44704 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44706         [BZ #12922]
44707         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44708         but no long options are defined, just return 'W'.
44710 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44712         [BZ #9696]
44713         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44715 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44717         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44718         netgroups to read.
44719         (innetgr): Likewise.
44721 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44723         * config.make.in (install_root): Default to $(DESTDIR).
44725 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44727         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44729 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44731         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44733         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44734         containing directory rather than embedding absolute directory names.
44736         * scripts/check-local-headers.sh: Rewritten using awk.
44737         Match by word, not by line.  Print error messages for matches.
44738         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44740         * Makerules [shlib-lds-flags empty]:
44741         ($(common-objpfx)libc_pic.opts): New target.
44742         ($(common-objpfx)libc_pic.os.clean): New target.
44743         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44745         * config.make.in (OBJCOPY): New variable.
44746         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44747         * configure: Regenerated.
44749         * config.make.in (use-default-link): New variable.
44750         * configure.in (use_default_link): Grok --with-default-link to set it.
44751         * configure: Regenerated.
44752         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44753         (shlib-lds, shlib-lds-flags): Define to empty.
44755         * Makerules (shlib-lds): New variable.
44756         (shlib-lds-flags): New variable.
44757         (build-shlib, build-moduile, build-module-asneeded): Use it.
44758         ($(common-objpfx)libc.so): Use $(shlib-lds).
44759         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44760         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44762         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44763         DT_FLAGS/DT_FLAGS_1 with zero flags.
44765         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44766         linker script munging.
44768 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44770         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44771         as 128-bit value.
44772         * crypt/sha512.c (sha512_process_block): Perform total addition using
44773         128-bit if possible.
44774         (__sha512_finish_ctx): Likewise.
44775         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44776         as 64-bit value.
44777         * crypt/sha256.c (SWAP64): Define.
44778         (sha256_process_block): Perform total addition using 64-bit if
44779         possible.
44780         (__sha256_finish_ctx): Likewise.
44782 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44784         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44785         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44786         * nscd/hstcache.c (cache_addhst): Likewise.
44787         * nscd/grpcache.c (cache_addgr): Likewise.
44788         * nscd/aicache.c (addhstaiX): Likewise
44789         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44791 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44793         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44794         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44795         * nscd/hstcache.c (cache_addhst): Likewise.
44796         * nscd/grpcache.c (cache_addgr): Likewise.
44797         * nscd/aicache.c (addhstaiX): Likewise
44799 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44801         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44802         domain only when needed.
44804 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44807         is always restored.
44809 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44811         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44812         are re-adding the entry.
44813         * nscd/servicescache.c (cache_addserv): Likewise.
44815 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44817         * sysdeps/generic/dl-irel.h: fix protection against multiple
44818         inclusions.
44819         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44821 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44823         [BZ #12935]
44824         * malloc/memusage.sh: Fix quoting in message.
44825         * debug/xtrace.sh: Likewise.
44827         * configure.in: Remove support for --experimental-malloc option, make
44828         it the default.
44829         * config.make.in: Likewise.
44830         * malloc/Makefile: Likewise.
44832 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44834         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44835         two-byte characters.
44837 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44839         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44840         AC_CACHE_CHECK invocation.
44841         * configure: Regenerated.
44843         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44845 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44847         [BZ #12350]
44848         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44849         bit from old_res_options.
44851         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44853         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44854         value type for setfct.
44856 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44858         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44859         __gettimeofday instead of gettimeofday.
44861 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44863         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44865 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44867         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44869         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44870         info.
44872 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44875         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44876         strcpy-sse2-unaligned strncpy-sse2-unaligned
44877         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44878         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44879         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44880         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44881         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44882         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44883         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44884         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44885         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44886         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
44887         (STRCPY): Support SSE2 and SSSE3 versions.
44889 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
44891         [BZ #12874]
44892         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
44893         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
44894         kernels which artificially limit size of requests.
44896 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44899         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44900         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
44901         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
44902         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
44903         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
44904         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
44905         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
44906         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
44907         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
44908         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
44909         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
44910         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
44911         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
44912         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
44913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44914         Enable unaligned load optimization for Intel Core i3, i5 and i7
44915         processors.
44916         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
44917         Define.
44918         (index_Fast_Unaligned_Load): Define.
44919         (HAS_FAST_UNALIGNED_LOAD): Define.
44921 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
44923         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
44925 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44927         [BZ #12907]
44928         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
44929         until it is clear that the information is realy needed.
44930         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
44932 2011-06-22  Andreas Schwab  <schwab@redhat.com>
44934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
44936 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
44938         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44939         /sys/devices/system/cpu/online if it is usable.
44941         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
44942         reading the information from the /proc filesystem to once a second.
44944 2011-06-21  Andreas Jaeger  <aj@suse.de>
44946         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
44947         NULL after inclusion of kernel headers.
44949 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
44951         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
44952         calls to internal_setent.
44954         [BZ #12885]
44955         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
44956         addresses using gethostbyname4_r ignore IPv4 addresses.
44958         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
44959         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
44961         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
44963 2011-06-20  David S. Miller  <davem@davemloft.net>
44965         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
44966         inclusions.
44967         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
44969         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
44970         (elf_irel): Use it.
44971         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
44972         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
44973         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
44974         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
44975         * sysdeps/x86_64/dl-irel.h: Likewise.
44977         * elf/dl-runtime.c: Use elf_ifunc_invoke.
44978         * elf/dl-sym.c: Likewise.
44980 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44982         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
44983         need to dereference resplen2.
44985 2011-06-14  Andreas Schwab  <schwab@redhat.com>
44987         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
44989 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
44991         * Makeconfig: Define vardbdir and inst_vardbdir.
44992         * nss/Makefile: Add rules to install db-Makefile.
44994         * nss/nss_db/db-XXX.c: Cleanup.
44996         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
44997         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
44998         GLIBC_PRIVATE.
44999         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45000         * nss/makedb.c: Implement -g option to specify that value strings
45001         are generated and should not be added to table iterated over for
45002         get*ent calls.
45003         * nss/nss_db/db-initgroups.c: New file.
45005         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45006         interface.
45008         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45009         (internal_getgrouplist): Adjust to name change.
45010         Update use_initgroups_entry if this is not the first call.
45011         * nss/databases.def: Add initgroups entry.
45013         * nss/makedb.c (compute_tables): Check result of multiple hash table
45014         sizes to minimize maximum chain length.
45016 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45018         * Versions.def: Add entry for libnss_db.
45019         * shlib-versions: Likewise.
45020         * nss/Makefile: Add rules to build libnss_db.
45021         * nss/Versions: Add libnss_db information.  Organize libnss_files
45022         entries better.
45023         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45024         makedb progra.  Some minor improvements to generate smaller files.
45025         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45026         here from...
45027         * nss/makedb.c: ...here.
45028         Improve database format to be smaller and require less memory at
45029         runtime.
45030         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45031         db anymore.
45032         * nss/nss_db/db-netgrp.c: Likewise.
45033         * nss/nss_db/db-open.c: Likewise.
45034         * nss/nss_files/flies-XXX.x: Adjust comments.
45035         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45036         * nss/nss_files/files-grp.c: Likewise.
45037         * nss/nss_files/files-hosts.c: Likewise.
45038         * nss/nss_files/files-network.c: Likewise.
45039         * nss/nss_files/files-proto.c: Likewise.
45040         * nss/nss_files/files-pwd.c: Likewise.
45041         * nss/nss_files/files-rpc.c: Likewise.
45042         * nss/nss_files/files-service.c: Likewise.
45043         * nss/nss_files/files-sgrp.c: Likewise.
45044         * nss/nss_files/files-spwd.c: Likewise.
45045         * nss/nss_db/db-alias.c: Removed.
45046         * nss/nss_db/dummy-db.h: Removed.
45048 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45050         * nss/makedb.c: Rewritten to not use database library.
45051         * nss/Makefile: Update to build new makedb program.
45053 2011-06-14  Andreas Jaeger  <aj@suse.de>
45055         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45056         memset declaration.
45058 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45061         tmpbuf.
45063 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45065         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45066         * elf/Makefile ($(objpfx)ld.so): Likewise.
45068         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45069         Don't list ld.so twice in dependencies.
45071         * posix/bug-regex31.c: Include <stdlib.h>.
45073         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45075         * nis/nss_compat/compat-spwd.c
45076         (getspent_next_nss_netgr): Remove unused variable.
45077         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45079         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45080         nonmembers" output to use the right array.
45082         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45084         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45086         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45087         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45088         * catgets/gencat.c (read_input_file): Likewise.
45089         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45091         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45092         variable definition inside #if's controlling its use.
45094         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45096         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45098         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45100         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45101         unreachable code.
45103         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45105         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45106         * configure: Regenerated.
45108         * Makerules: Revert last change.
45109         * elf/Makefile: Likewise.
45111 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45113         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45114         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45115         (reloc-link): Likewise.
45117 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45119         * elf/Makefile: Add rules to build pldd.
45120         * elf/pldd.c: New file.
45121         * elf/pldd-xx.c: New file.
45123 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45125         * version.h: Update for 2.15 development version.
45127 2011-06-07  David S. Miller  <davem@davemloft.net>
45129         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45130         ifuncs.
45131         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45132         elf_machine_lazy_rel): Likewise.
45133         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45134         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45135         elf_machine_lazy_rel): Likewise.
45136         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45137         dl_hwcap via passed in argument.
45138         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45139         Likewise.
45141 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45143         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45145 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45147         [BZ #12849]
45148         * manual/fdl-1.1.texi: New file, verbatim from:
45149         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45150         * manual/lgpl-2.1.texi: New file, verbatim from:
45151         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45152         * manual/Makefile (licenses): New variable, list those new file names.
45153         (texis): Use it.
45154         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45156         * manual/fdl.texi: File removed.
45157         * manual/lesser.texi: File removed.
45158         * manual/libc.texinfo (Copying, Documentation License):
45159         Use new @include file names, put @appendix directive before @include.
45161 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45163         [BZ #12841]
45164         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45165         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45166         (mq_open): Add __NTH.
45168 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45171         Assume Intel Core i3/i5/i7 processor if AVX is available.
45173 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45175         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45176         typo.
45178 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45180         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45181         memory.  Use alloca_account.  Fix memory leak when retrying.
45183 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45185         * version.h (RELEASE): Bump for 2.14 release.
45186         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45188         * config.make.in (RANLIB): Remove entry.
45190 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45192         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45193         (libc.pot): Work around missing support for .ksh extension in xgettext.
45195         [BZ #12684]
45196         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45197         if both request failed.
45198         (send_dg): In case of server errors clear resplen or *resplen2.
45200         [BZ #12454]
45201         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45202         when there are multiple maps.
45203         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45204         (_dl_fini): Remove test here.
45206         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45208 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45210         [BZ #12350]
45211         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45212         bit from old_res_options.
45213         (gaih_inet): Likewise.
45215         [BZ #11099]
45216         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45217         as signed.
45219         * resolv/res_init.c (res_setoptions): Make the code more compact.
45221         [BZ #11558]
45222         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45223         set RES_USEVC.
45225         [BZ #11634]
45226         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45228         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45230         [BZ #11781]
45231         * malloc/malloc.h: Declare malloc hook variables as volatile.
45233         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45234         in last patch.
45236         [BZ #11799]
45237         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45238         raise in the comment.
45239         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45240         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45241         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45243 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45245         [BZ #12811]
45246         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45247         grow the buffers more if it already has to be sufficient.
45248         (build_wcs_upper_buffer): Likewise.
45249         * posix/regexec.c (check_matching): Likewise.
45250         (clean_state_log_if_needed): Likewise.
45251         (extend_buffers): Don't enlarge buffers beyond size of the input
45252         buffer.
45253         Patches mostly by Emil Wojak <emil@wojak.eu>.
45254         * posix/bug-regex32.c: New file.
45255         * posix/Makefile (tests): Add bug-regex32.
45257         * locale/findlocale.c (_nl_find_locale): Return right away if
45258         _nl_explode_name failed.
45259         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45261         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45263         * debug/xtrace.sh: Unify messages.
45264         * malloc/memusage.sh: Likewise.
45266         [BZ #12813]
45267         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45268         time symbol from vDSO.  Substitute with vsyscall if not available.
45269         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45270         __vdso_time.
45272         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45273         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45274         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45275         Add sendmmsg and internal_sendmmsg.
45276         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45277         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45278         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45280         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45281         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45282         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45284 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45286         [BZ #12813]
45287         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45288         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45289         available.
45290         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45291         __vdso_getcpu.
45293         [BZ #12814]
45294         * iconvdata/Makefile (tests): Add bug-iconv9.
45295         * iconvdata/bug-iconv9.c: New file.
45297 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45299         [BZ #12814]
45300         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45302 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45304         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45305         (struct user_regs_struct): Change intcs field back to cs.
45307 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45309         * po/ja.po: Update from translation team.
45311 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45313         [BZ #12795]
45314         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45315         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45317 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45319         * stdlib/longlong.h: Update from GCC.
45321 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45323         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45324         parameter name.
45325         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45326         Add parameter name.
45327         (__sysconf): Pass it down.
45329 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45331         [BZ #12671]
45332         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45333         some situations.
45334         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45335         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45336         add in in __libc_use_alloca calls.  Adjust callers.
45337         (glob): Use malloc in some situations.
45339         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45340         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45341         pltexit.
45343 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45345         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45346         and CLOCK_BOOTTIME_ALARM.
45348         [BZ #12782]
45349         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45350         is returned.
45352         * string/_strerror.c (__strerror_r): Print negative errors as signed
45353         numbers.
45355         [BZ #12777]
45356         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45357         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45358         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45360         * configure.in: Fix typo in redirection and correct removal of test
45361         files in two cases.
45363         [BZ #12788]
45364         * locale/setlocale.c (new_composite_name): Fix test to check for
45365         identical name of all categories.
45367         [BZ #12792]
45368         * libio/filedoalloc.c (local_isatty): New function.
45369         (_IO_file_doallocate): Use local_isatty.
45370         * stdio-common/perror.c (perror): In case a new stream is used
45371         forward the stream error.
45372         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45373         error flag.
45375 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45377         [BZ #11869]
45378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45379         alloca.
45380         * include/alloca.h (extend_alloca_account): Define.
45382         [BZ #11857]
45383         * posix/regex.h: Fix comments with documentation of user-accessible
45384         fields after compilation and describe correct free'ing of pattern
45385         after re_compile_pattern.
45386         Patch by Reuben Thomas <rrt@sc3d.org>.
45388 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45390         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45391         and -mno-altivec to prevent the compiler from using Altivec and/or
45392         VSX instructions when the corresponding registers are not available.
45394 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45396         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45398 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45400         * libio/freopen.c (freopen): Use __dup2, not dup2.
45401         * libio/freopen64.c (freopen64): Likewise.
45403 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45405         [BZ #12775]
45406         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45407         * math/Makefile (tests): Add test-powl.
45408         (CFLAGS-test-powl.c): Define.
45409         * math/test-powl.c: New file.
45411 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45413         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45415 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45417         [BZ #11837]
45418         * iconvdata/gb18030.c: Update to GB18020-2005.
45420 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45422         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45423         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45424         Patch by Aharon Robbins <arnold@skeeve.com>.
45426         [BZ #11892]
45427         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45428         on the stack.
45430         [BZ #11895]
45431         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45432         through underflows.
45434         [BZ #12766]
45435         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45436         point to strings before performing equality test for error_one_per_line
45437         mode.
45439         [BZ #11697]
45440         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45442         [BZ #11820]
45443         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45444         (struct user_fpregs_struct): Avoid __uint*_t types.
45446         [BZ #6420]
45447         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45448         symbol info.  Use it instead of calling _dl_addr locally.
45449         (lock_and_info): New function.
45450         (tr_freehook): Call lock_and_info and pass symbol info as additional
45451         parameter to tr_where.
45452         (tr_mallochook): Likewise.
45453         (tr_reallochook): Likewise.
45454         (tr_memalignhook): Likewise.
45456         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45457         used and couldn't be at all thread-safe.
45459 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45461         * libio/freopen.c (freopen): Don't close old file descriptor
45462         before the new one is opened.  Instead dup the new file descriptor
45463         to the old one after the new stream is created.
45464         * libio/freopen64.c (freopen64): Likewise.
45465         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45466         * libio/fileops.c (_IO_new_file_close_it): Handle new
45467         _IO_FLAGS2_NOCLOSE flag.
45468         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45469         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45470         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45471         _IO_FLAGS2_NOCLOSE flag.
45472         * include/unistd.h: Add hidden_proto for dup3.
45473         Define __have_dup3.
45474         * io/dup3.c: Define hidden symbol.
45475         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45477         [BZ #7101]
45478         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45479         when an incomplete long option is used.
45480         * posix/tst-getopt_long1.c: New file.
45481         * posix/Makefile (tests): Add tst-getopt_long1.
45483         [BZ #10138]
45484         * scripts/config.guess: Update from autoconf-2.68.
45485         * scripts/config.sub: Likewise.
45487         [BZ #10157]
45488         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45489         tests into ...
45490         (has_cpuclock): ...this.  New function.
45491         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45492         macro here based on has_cpuclock code.
45494         [BZ #10149]
45495         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45496         First byte (not low byte) is now always NUL.
45497         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45499         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45500         Use non-cancelable interfaces.
45502         [BZ #9809]
45503         * locale/iso-639.def: Add entry for Sorani.
45505         [BZ #11901]
45506         * include/stdlib.h: Move include protection to the right place.
45507         Define abort_msg_s.  Declare __abort_msg with it.
45508         * stdlib/abort.c (__abort_msg): Adjust type.
45509         * assert/assert.c (__assert_fail_base): New function.  Majority
45510         of code from __assert_fail.  Allocate memory for __abort_msg with
45511         mmap.
45512         (__assert_fail): Now call __assert_fail_base.
45513         * assert/assert-perr.c: Remove bulk of implementation.  Use
45514         __assert_fail_base.
45515         * include/assert.hL Declare __assert_fail_base.
45516         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45517         mmap.
45518         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45520 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45522         [BZ #11952]
45523         [BZ #12453]
45524         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45525         until all modules are registered in the DTV.
45526         * elf/Makefile: Add rules to build and run tst-tls19.
45527         * elf/tst-tls19.c: New file.
45528         * elf/tst-tls19mod1.c: New file.
45529         * elf/tst-tls19mod2.c: New file.
45530         * elf/tst-tls19mod3.c: New file.
45531         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45533         [BZ #12083]
45534         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45535         correctly.
45537         [BZ #12601]
45538         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45539         two-byte sequence errors.
45540         * iconvdata/Makefile (tests): Add bug-iconv8.
45541         * iconvdata/bug-iconv8.c: New file.
45543         [BZ #12626]
45544         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45545         buf2 definition.
45547         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45549         [BZ #12432]
45550         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45551         (dummy_getcfa): New function.
45552         (init): Get _Unwind_GetCFA address, use dummy if not found.
45553         (backtrace_helper): In recursion check, also check whether CFA changes.
45554         (__backtrace): Completely initialize arg.
45556         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45557         storing incomplete byte sequence in state object.  Avoid testing for
45558         guaranteed too small input if we know there is enough data available.
45560 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45562         * Makeconfig (+link-pie): Indent.
45563         * Rules (binaries-pie): Define if $(have-fpie) and
45564         $(build-shared).
45565         (binaries-shared): Also filter out $(binaries-pie).
45566         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45567         * nscd/Makefile (others-pie): Add nscd.
45568         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45569         ($(objpfx)nscd): Remove command override.
45570         * login/Makefile (others-pie): Add pt_chown.
45571         ($(objpfx)pt_chown): Remove command override.
45572         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45573         remove command overrides.
45575 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45577         * libio/tst_putwc.c: Fix error messages.
45579         [BZ #12724]
45580         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45581         currently writing and seek to current position when not.
45582         * libio/Makefile (tests): Add bug-fclose1.
45583         * libio/bug-fclose1.c: New file.
45585 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45587         [BZ #12511]
45588         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45589         don't set DF_1_NODELETE here.
45590         (do_lookup_x): When entering new entry test for copy relocation
45591         and if necessary set DF_1_NODELETE flag.
45592         * elf/tst-unique4.cc: New file.
45593         * elf/tst-unique4.h: New file.
45594         * elf/tst-unique4lib.cc: New file.
45595         * elf/Makefile: Add rules to build and run tst-unique4.
45596         Patch by Piotr Bury <pbury@goahead.com>.
45598 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45600         [BZ #12052]
45601         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45603         [BZ #12625]
45604         * misc/mntent_r.c (addmntent): Flush the stream after the output
45606         [BZ #12393]
45607         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45608         (is_trusted_path_normalize): Skip initial colon.  Append slash
45609         to empty buffer.  Duplicate is_trusted_path code but allow
45610         constructed patch to be prefix.
45611         (is_dst): Allow $ORIGIN followed by /.
45612         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45613         Correct testing of result of is_trusted_path_normalize
45614         (decompose_rpath): Fix warning.
45616 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45618         [BZ #11257]
45619         * grp/initgroups.c (internal_getgrouplist): When we found the service
45620         list through the initgroups entry in nsswitch.conf do not always
45621         continue on a successful lookup.  Don't always use the
45622         __nss_group_database value if it is set.
45623         * nss/nsswitch.conf (initgroups): Change action for successful db
45624         lookup to continue for compatibility.
45626 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45628         [BZ #11532]
45629         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45630         and CP774 modules.
45631         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45632         and CP774 modules.
45633         * iconvdata/tst-tables.sh: Likewise.
45634         * iconvdata/cp770.c: New file.
45635         * iconvdata/cp771.c: New file.
45636         * iconvdata/cp772.c: New file.
45637         * iconvdata/cp773.c: New file.
45638         * iconvdata/cp774.c: New file.
45639         * iconvdata/testdata/CP770: New file.
45640         * iconvdata/testdata/CP770..UTF8: New file.
45641         * iconvdata/testdata/CP771: New file.
45642         * iconvdata/testdata/CP771..UTF8: New file.
45643         * iconvdata/testdata/CP772: New file.
45644         * iconvdata/testdata/CP772..UTF8: New file.
45645         * iconvdata/testdata/CP773: New file.
45646         * iconvdata/testdata/CP773..UTF8: New file.
45647         * iconvdata/testdata/CP774: New file.
45648         * iconvdata/testdata/CP774..UTF8: New file.
45650         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45651         END CHARMAP line.
45652         * iconvdata/gen-8bit-gap.sh: Likewise.
45653         * iconvdata/gen-8bit.sh: Likewise.
45655         * locale/iso-639.def: Add ary entry.
45657         [BZ #11258]
45658         * locale/C-translit.h.in: Add U20A1 transliteration.
45660         [BZ #12178]
45661         * locale/iso-639.def: Add wae entry.
45662         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45664         [BZ #12545]
45665         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45666         for n.
45668         [BZ #12711]
45669         * locale/C-translit.h.in: Add entry for U20B9.
45670         Patch by pravin.d.s@gmail.com.
45672 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45674         [BZ #12713]
45675         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45676         ENAMETOOLONG use generic getcwd.
45677         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45678         in rtld.  Use *stat64.
45679         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45680         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45681         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45682         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45683         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45684         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45685         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45686         __fstatat64 macros.
45687         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45688         * dirent/rewinddir.c: Add libc_hidden_def.
45689         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45690         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45692         * include/dirent.h (__alloc_dir): Add flags parameter.
45693         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45694         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45695         __alloc_dir.
45696         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45697         from fdopendir if O_CLOEXEC is already set.
45699 2011-03-15  Alan Modra  <amodra@gmail.com>
45701         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45702         l_tls_firstbyte_offset non-zero.  Save padding offset in
45703         l_tls_firstbyte_offset for later use.
45704         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45705         freeing static tls block.
45707 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45709         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45710         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45711         being defined by the kernel headers.
45713 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45715         [BZ #12734]
45716         * resolv/resolv.h: Define RES_NOTLDQUERY.
45717         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45718         no-tld-query and set RES_NOTLDQUERY.
45719         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45720         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45721         modern BIND to search name as TLD unless forbidden.
45723 2011-05-07  Petr Baudis  <pasky@suse.cz>
45724             Ulrich Drepper  <drepper@gmail.com>
45726         [BZ #12393]
45727         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45728         (is_trusted_path): ...to here.
45729         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45730         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45731         using is_trusted_path_normalize() in setuid scripts.
45733 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45735         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45736         __BEGIN/__END_DECLS.
45738 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45740         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45741         NSS_STATUS_NOTFOUND if no record was found.
45743 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45745         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45746         (headers-not-in-tirpc): Remove rpc/netdb.h
45747         * resolv/netdb.h: Revert last change.
45749 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45751         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45752         circular dependency between libgcc.a and libc.a.
45754 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45756         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45757         * nis/Makefile: Don't install rpcsvc/*.
45758         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45759         instead of <rpc/types.h>.
45760         (MAXHOSTNAMELEN): Define.
45762 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45764         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45766 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45768         [BZ #12714]
45769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45770         gethostbyname4_r when IPv6 results are possible.
45772 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45774         [BZ #12723]
45775         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45776         _PC_PIPE_BUF handling.
45778 2011-04-30  Bruno Haible  <bruno@clisp.org>
45780         [BZ #12717]
45781         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45782         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45783         to 'int'.
45784         * inet/getnameinfo.c (getnameinfo): Likewise.
45786 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45788         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45789         to groups setting in database lookup.
45790         * nss/nsswitch.conf: Add initgroups entry.
45792 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45794         [BZ #12685]
45795         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45796         mode string.
45797         Patch by Eric Blake <eblake@redhat.com>.
45799 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45801         * sunrpc/Makefile (need-export-routines): Add svc_run.
45802         (routines): Remove svc_run.
45803         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45804         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45805         * sunrpc/svc_run.c (svc_run): Likewise.
45806         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45808 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45810         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45811         problem in reallocation in last patch.
45813 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45815         * sunrpc/Makefile: Move inclusion of Rules.
45817 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45819         * nss/nss_files/files-initgroups.c: New file.
45820         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45821         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45822         _nss_files_initgroups_dyn.
45824 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45826         * elf/elf.h (R_ARM_IRELATIVE): Define.
45828 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45830         * po/ru.po: Update from translation team.
45832 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45834         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45835         dependencies.
45837 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45839         [BZ #12653]
45840         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45841         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45842         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45843         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45844         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45846 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45848         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45849         differing bytes.
45850         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45851         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45852         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45854 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45856         [BZ #12420]
45857         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45858         storing it.
45859         * stdlib/bug-getcontext.c: New file.
45860         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45862 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45864         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45865         instructions into .machine "z9-109".
45866         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45867         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45869 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45871         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45872         between environment variables and auxiliary vector.
45874 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45876         * Makefile: Add rules to build linkobj/libc.so.
45877         * include/libc-symbols.h: Define libc_hidden_nolink.
45878         * include/rpc/auth.h: Mark functions which are to be hidden.
45879         * include/rpc/auth_des.h: Likewise.
45880         * include/rpc/auth_unix.h: Likewise.
45881         * include/rpc/clnt.h: Likewise.
45882         * include/rpc/des_crypt.h: Likewise.
45883         * include/rpc/key_prot.h: Likewise.
45884         * include/rpc/pmap_clnt.h: Likewise.
45885         * include/rpc/pmap_prot.h: Likewise.
45886         * include/rpc/pmap_rmt.h: Likewise.
45887         * include/rpc/rpc_msg.h: Likewise.
45888         * include/rpc/svc.h: Likewise.
45889         * include/rpc/svc_auth.h: Likewise.
45890         * include/rpc/xdr.h: Likewise.
45891         * nis/Makefile: Link all DSOs against linkobj/libc.so.
45892         * nss/Makefile: Likewise.
45893         * sunrpc/Makefile: Don't install headers.  Build library with normal
45894         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
45895         * sunrpc/auth_des.c: Hide exported symbols by default, export some
45896         for the compat linking library.  Remove use of INTDEF/INTUSE.
45897         * sunrpc/auth_none.c: Likewise.
45898         * sunrpc/auth_unix.c: Likewise.
45899         * sunrpc/authdes_prot.c: Likewise.
45900         * sunrpc/authuxprot.c: Likewise.
45901         * sunrpc/clnt_gen.c: Likewise.
45902         * sunrpc/clnt_perr.c: Likewise.
45903         * sunrpc/clnt_raw.c: Likewise.
45904         * sunrpc/clnt_simp.c: Likewise.
45905         * sunrpc/clnt_tcp.c: Likewise.
45906         * sunrpc/clnt_udp.c: Likewise.
45907         * sunrpc/clnt_unix.c: Likewise.
45908         * sunrpc/des_crypt.c: Likewise.
45909         * sunrpc/des_soft.c: Likewise.
45910         * sunrpc/get_myaddr.c: Likewise.
45911         * sunrpc/key_call.c: Likewise.
45912         * sunrpc/key_prot.c: Likewise.
45913         * sunrpc/netname.c: Likewise.
45914         * sunrpc/pm_getmaps.c: Likewise.
45915         * sunrpc/pm_getport.c: Likewise.
45916         * sunrpc/pmap_clnt.c: Likewise.
45917         * sunrpc/pmap_prot.c: Likewise.
45918         * sunrpc/pmap_prot2.c: Likewise.
45919         * sunrpc/pmap_rmt.c: Likewise.
45920         * sunrpc/publickey.c: Likewise.
45921         * sunrpc/rpc_cmsg.c: Likewise.
45922         * sunrpc/rpc_common.c: Likewise.
45923         * sunrpc/rpc_dtable.c: Likewise.
45924         * sunrpc/rpc_prot.c: Likewise.
45925         * sunrpc/rpc_thread.c: Likewise.
45926         * sunrpc/rtime.c: Likewise.
45927         * sunrpc/svc.c: Likewise.
45928         * sunrpc/svc_auth.c: Likewise.
45929         * sunrpc/svc_authux.c: Likewise.
45930         * sunrpc/svc_raw.c: Likewise.
45931         * sunrpc/svc_run.c: Likewise.
45932         * sunrpc/svc_simple.c: Likewise.
45933         * sunrpc/svc_tcp.c: Likewise.
45934         * sunrpc/svc_udp.c: Likewise.
45935         * sunrpc/svc_unix.c: Likewise.
45936         * sunrpc/svcauth_des.c: Likewise.
45937         * sunrpc/xcrypt.c: Likewise.
45938         * sunrpc/xdr.c: Likewise.
45939         * sunrpc/xdr_array.c: Likewise.
45940         * sunrpc/xdr_float.c: Likewise.
45941         * sunrpc/xdr_intXX_t.c: Likewise.
45942         * sunrpc/xdr_mem.c: Likewise.
45943         * sunrpc/xdr_rec.c: Likewise.
45944         * sunrpc/xdr_ref.c: Likewise.
45945         * sunrpc/xdr_sizeof.c: Likewise.
45946         * sunrpc/xdr_stdio.c: Likewise.
45948 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
45950         [BZ #12650]
45951         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
45952         * sysdeps/ia64/dl-tls.h: Likewise.
45953         * sysdeps/powerpc/dl-tls.h: Likewise.
45954         * sysdeps/s390/dl-tls.h: Likewise.
45955         * sysdeps/sh/dl-tls.h: Likewise.
45956         * sysdeps/sparc/dl-tls.h: Likewise.
45957         * sysdeps/x86_64/dl-tls.h: Likewise.
45958         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
45960 2011-03-14  Andreas Schwab  <schwab@redhat.com>
45962         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
45963         rpath element also skip the following colon.
45964         (expand_dynamic_string_token): Add is_path parameter and pass
45965         down to DL_DST_REQUIRED and _dl_dst_substitute.
45966         (decompose_rpath): Call expand_dynamic_string_token with
45967         non-zero is_path.  Ignore empty rpaths.
45968         (_dl_map_object_from_fd): Call expand_dynamic_string_token
45969         with zero is_path.
45971 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
45973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45974         Make cancelable.
45976 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
45978         [BZ #12655]
45979         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
45980         Patch by Filipe David Manana <fdmanana@apache.org>.
45982 2011-04-07  Andreas Schwab  <schwab@redhat.com>
45984         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
45985         Maintain aligned stack.
45986         (CHECK_RSP): Remove unused macro.
45988 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
45990         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
45991         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
45993 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
45995         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
45997         * include/features.h: Mention __USE_XOPEN2K8 in comment.
45999 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46001         [BZ #12518]
46002         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46003         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46004         * sysdeps/x86_64/memmove.c: New file.
46005         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46006         (memcpy): Renamed to ...
46007         (__new_memcpy): This.
46008         (memcpy): Provide GLIBC_2_14 memcpy.
46009         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46010         (memcpy): Provide GLIBC_2_2_5 memcpy.
46012 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46014         [BZ #12631]
46015         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46017 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46019         * misc/syncfs.c: New file.
46020         * misc/Makefile (routines): Add syncfs.
46021         * posix/unistd.h: Declare syncfs.
46022         * sysdeps/unix/syscalls.list: Add syncfs.
46024 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46026         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46027         open_by_handle_at.
46028         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46029         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46030         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46031         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46032         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46033         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46034         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46036 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46038         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46039         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46040         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46041         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46042         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46043         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46044         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46046         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46047         sync_file_range.c with -fexceptions.
46048         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46049         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46050         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46051         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46052         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46053         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46054         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46055         sync_file_range as cancellation point
46056         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46057         now a wrapper around __call_sync_file_range with cancellation handling.
46058         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46059         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46060         function name to __call_sync_file_range.
46061         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46062         Add call_sync_file_range.
46064 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46067         bits/timex.h.
46069 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46071         * iconv/iconv.h: Fix typo in comment.
46072         * io/fcntl.h: Likewise.
46073         * libio/stdio.h: Likewise.
46074         * posix/spawn.h: Likewise.
46075         * posix/unistd.h: Likewise.
46076         * stdlib/stdlib.h: Likewise.
46077         * time/time.h: Likewise.
46078         * wcsmbs/wchar.h: Likewise.
46080         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46081         open_by_handle): Add.
46082         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46083         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46084         Augment a few comments.
46085         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46086         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46087         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46088         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46089         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46090         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46091         open_by_handle.
46093         * io/fcntl.h (AT_EMPTY_PATH): Define.
46095 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46097         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46098         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46099         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46100         to...
46101         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46102         * Versions.def: Add GLIBC_2.14.
46103         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46104         Export.
46106 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46108         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46109         round counter.
46110         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46112 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46114         [BZ #12597]
46115         * string/test-strncmp.c (do_page_test): New function.
46116         (check2): Likewise.
46117         (test_main): Call check2.
46118         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46120 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46122         [BZ #12587]
46123         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46124         Handle cache information in CPU leaf 4.
46125         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46127 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46129         [BZ #12583]
46130         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46131         character representation.
46132         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46134 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46136         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46137         END(__isnan) to END(__isnanf) to match function entry point/label
46138         EALIGN(__isnanf,...).
46140 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46142         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46144 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46146         [BZ #12510]
46147         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46148         copy from the symbol referenced in the relocation to initialize the
46149         used variable.
46150         Patch by Piotr Bury <pbury@goahead.com>.
46151         * elf/Makefile: Add rules to build and tst-unique3.
46152         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46153         * elf/tst-unique3.cc: New file.
46154         * elf/tst-unique3.h: New file.
46155         * elf/tst-unique3lib.cc: New file.
46156         * elf/tst-unique3lib2.cc: New file.
46158         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46160 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46162         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46163         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46164         to _start.
46166 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46168         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46169         to-be-loaded object along a path to loader is ld.so.
46171 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46172             Ulrich Drepper  <drepper@gmail.com>
46174         * sysdeps/x86_64/memset.S: After aligning destination, code
46175         branches to different locations depending on the value of
46176         misalignment, when multiarch is enabled. Fix this.
46178 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46180         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46181         Set _x86_64_preferred_memory_instruction for AMD processsors.
46182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46183         Set bit_Prefer_SSE_for_memop for AMD processors.
46185 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46187         * libio/fmemopen.c (fmemopen): Optimize a bit.
46189 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46191         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46193 2011-03-03  Roland McGrath  <roland@redhat.com>
46195         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46197 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46199         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46200         __bzero_ultra1 instead of __memset_ultra1.
46202 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46203             Ulrich Drepper  <drepper@gmail.com>
46205         [BZ #12509]
46206         * include/link.h (struct link_map): Add l_orig_initfini.
46207         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46208         returning unsuccessfully.
46209         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46210         close of a file loaded at startup, restore the original l_initfini
46211         list.
46212         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46213         list, store the pointer.
46214         * elf/Makefile ($(objpfx)noload-mem): New rule.
46215         (noload-ENV): Define.
46216         (tests): Add $(objpfx)noload-mem.
46217         * elf/noload.c: Include <memcheck.h>.
46218         (main): Call mtrace.  Close all opened handles.
46220 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46222         [BZ #12454]
46223         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46224         dependencies are missing.
46226 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46228         Fix __if_freereq crash: Unlike the generic version which uses free,
46229         Hurd needs munmap.
46230         * sysdeps/mach/hurd/ifreq.h: New file.
46232 2011-01-27  Petr Baudis  <pasky@suse.cz>
46233             Ulrich Drepper  <drepper@gmail.com>
46235         [BZ 12445]#
46236         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46237         to extend_alloca().
46238         * stdio-common/bug23.c: New file.
46239         * stdio-common/Makefile (tests): Add bug23.
46241 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46242             Ulrich Drepper  <drepper@gmail.com>
46244         [BZ #12489]
46245         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46246         before performing relro protection.  At old place add assertion
46247         to make sure nothing changed.
46249 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46250             Glauber de Oliveira Costa  <glommer@gmail.com>
46252         * elf/elf.h: Add new ARM TLS relocs.
46254 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46257         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46258         cast from r3.
46259         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46260         'tests' variable.
46261         * sysdeps/wordsize-64/tst-writev.c: New file.
46263 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46265         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46266         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46267         insns in _dl_start to prevent a TOC reference before relocs are
46268         resolved.
46270 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46272         [BZ #12469]
46273         * Makeconfig: Remove RANLIB definition.
46274         * Makerules: Don't use RANLIB.
46275         * aclocal.m4: Remove ranlib test.
46276         * configure.in: No need to check for ranlib.
46277         * elf/rtld-Rules: Don't use RANLIB.
46279 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46281         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46282         protection macro.
46283         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46284         inclusion protection macro.
46286         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46287         SIGRTMIN and SIGRTMAX and print information in that case only when
46288         SIGRTMIN is defined.
46290 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46292         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46293         arginfo fn returning -1.
46295         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46296         and thousands string is zero terminated.
46298 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46300         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46301         sysdeps/unix/sysv/linux/bits/socket.h.
46303 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46305         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46306         (__CPU_COUNT): Remove old macros.
46307         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46308         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46309         (__CPU_ALLOC, __CPU_FREE): Add macros.
46310         (__sched_cpualloc, __sched_cpufree): Add declarations.
46312 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46314         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46315         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46316         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46317         (readdhstai): Return value of addhstaiX call.
46318         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46319         (addgrbyX): Return value returned by cache_addgr.
46320         (readdgrbyname): Return value returned by addgrbyX.
46321         (readdgrbygid): Likewise.
46322         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46323         (addpwbyX): Return value returned by cache_addpw.
46324         (readdpwbyname): Return value returned by addhstbyX.
46325         (readdpwbyuid): Likewise.
46326         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46327         (addservbyX): Return value returned by cache_addserv.
46328         (readdservbyname): Return value returned by addservbyX:
46329         (readdservbyport): Likewise.
46330         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46331         (addhstbyX): Return value returned by cache_addhst.
46332         (readdhstbyname): Return value returned by addhstbyX.
46333         (readdhstbyaddr): Likewise.
46334         (readdhstbynamev6): Likewise.
46335         (readdhstbyaddrv6): Likewise.
46336         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46337         (readdinitgroups): Return value returned by addinitgroupsX.
46338         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46339         (prune_cache): Keep track of timeout value of re-added entries.
46340         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46341         * nscd/nscd.h: Adjust prototypes of readd* functions.
46343 2011-02-04  Roland McGrath  <roland@redhat.com>
46345         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46346         (nis_stats): Likewise.
46347         * nis/nis_modify.c (nis_modify): Likewise.
46348         * nis/nis_remove.c (nis_remove): Likewise.
46349         * nis/nis_add.c (nis_add): Likewise.
46351         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46353         * posix/fnmatch_loop.c: Add some consts.
46355         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46357 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46359         [BZ #12460]
46360         * config.make.in (config-cflags-novzeroupper): Define.
46361         * configure.in: Substitute libc_cv_cc_novzeroupper.
46362         * elf/Makefile (AVX-CFLAGS): Define.
46363         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46364         (CFLAGS-tst-auditmod4a.c): Likewise.
46365         (CFLAGS-tst-auditmod4b.c): Likewise.
46366         (CFLAGS-tst-auditmod6b.c): Likewise.
46367         (CFLAGS-tst-auditmod6c.c): Likewise.
46368         (CFLAGS-tst-auditmod7b.c): Likewise.
46369         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46371 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46373         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46374         function to the callback.
46375         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46377 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46379         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46380         of errno.
46382 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46384         [BZ #11724]
46385         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46386         of constructors.
46387         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46388         of destructors.
46389         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46391         [BZ #11724]
46392         * elf/Makefile: Add rules to build and run new test.
46393         * elf/tst-initorder.c: New file.
46394         * elf/tst-initorder.exp: New file.
46395         * elf/tst-initordera1.c: New file.
46396         * elf/tst-initordera2.c: New file.
46397         * elf/tst-initordera3.c: New file.
46398         * elf/tst-initordera4.c: New file.
46399         * elf/tst-initorderb1.c: New file.
46400         * elf/tst-initorderb2.c: New file.
46401         * elf/tst-order-a1.c: New file.
46402         * elf/tst-order-a2.c: New file.
46403         * elf/tst-order-a3.c: New file.
46404         * elf/tst-order-a4.c: New file.
46405         * elf/tst-order-b1.c: New file.
46406         * elf/tst-order-b2.c: New file.
46407         * elf/tst-order-main.c: New file.
46408         New test case by George Gensure <werkt0@gmail.com>.
46410 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46413         decoding ACE if AI_CANONIDN.
46415 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46417         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46419 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46421         * version.h (RELEASE): Bump for 2.13 release.
46422         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46424         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46426         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46427         MADV_NOHUGEPAGE.
46428         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46429         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46430         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46431         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46432         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46433         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46435         * posix/getconf.c: Update copyright year.
46436         * catgets/gencat.c: Likewise.
46437         * csu/version.c: Likewise.
46438         * debug/catchsegv.sh: Likewise.
46439         * debug/xtrace.sh: Likewise.
46440         * elf/ldconfig.c: Likewise.
46441         * elf/ldd.bash.in: Likewise.
46442         * elf/sprof.c (print_version): Likewise.
46443         * iconv/iconv_prog.c: Likewise.
46444         * iconv/iconvconfig.c: Likewise.
46445         * locale/programs/locale.c: Likewise.
46446         * locale/programs/localedef.c: Likewise.
46447         * malloc/memusage.sh: Likewise.
46448         * malloc/mtrace.pl: Likewise.
46449         * nscd/nscd.c (print_version): Likewise.
46450         * nss/getent.c: Likewise.
46452         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46453         PF_CAIF, and PF_ALG.
46454         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46456 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46458         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46459         (modules-names): Use them.
46460         (ifunc-test-modules, ifunc-pie-tests): Define.
46461         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46462         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46463         (test-extras): Likewise.
46464         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46465         $(compile-command.c).
46466         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46467         (all-built-dso): Define.
46468         (check-textrel.out, check-execstack.out): Depend on it.
46470         * configure.in: Don't override --enable-multi-arch.
46472 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46474         [BZ #6812]
46475         * nscd/hstcache.c (tryagain): Define.
46476         (cache_addhst): Return tryagain not notfound for temporary errors.
46477         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46478         failed.
46480 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46482         [BZ #10563]
46483         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46484         to make the syscall.
46485         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46487         [BZ #12378]
46488         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46489         and fall back to matching as normal character if the string ends before
46490         the matching ']' is found.  This is what POSIX requires.
46491         * posix/testfnm.c: Adjust test result.
46492         * posix/globtest.sh: Adjust test result.  Add new test.
46493         * posix/tst-fnmatch.input: Likewise.
46494         * posix/tst-fnmatch2.c: Add new test.
46496 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46498         * elf/Makefile (check-execstack): Revert last change.  Depend on
46499         check-execstack.h.
46500         (check-execstack.h): New target.
46501         (generated): Add check-execstack.h.
46502         * elf/check-execstack.c: Include "check-execstack.h".
46503         (main): Revert last change.
46504         (handle_file): Return zero if GNU_STACK is absent and
46505         DEFAULT_STACK_PERMS doesn't include PF_X.
46507 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46509         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46510         in child fails because the descriptor is already closed.
46511         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46512         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46513         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46515         [BZ #12397]
46516         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46517         syscall.
46519         [BZ #10484]
46520         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46521         temporary buffer used to handle multi lookups locally.
46522         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46524 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46526         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46527         loader is ld.so.
46529 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46531         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46532         alignment for SSE2.
46534 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46536         [BZ #12394]
46537         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46538         characters.  When rounding increased number of integer digits recompute
46539         number of groups.
46540         * stdio-common/tst-grouping.c: New file.
46541         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46543 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46545         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46546         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46548         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46549         void.
46550         * bits/select.h: Likewise.
46552 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46554         * po/ja.po: Update from translation team.
46556 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46558         [BZ #11155]
46559         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46560         implementation just like for lxstat, fxstatat, et al.
46562 2010-12-27  Jim Meyering  <meyering@redhat.com>
46564         [BZ #12348]
46565         * posix/regexec.c (build_trtable): Return failure indication upon
46566         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46568 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46570         [BZ #12201]
46571         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46572         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46573         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46574         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46576         [BZ #12207]
46577         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46579         [BZ #12204]
46580         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46581         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46583 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46585         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46586         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46587         script has SORT_BY_INIT_PRIORITY.
46588         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46589         NO_CTORS_DTORS_SECTIONS is defined.
46590         * elf/soinit.c: Likewise.
46591         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46592         NO_CTORS_DTORS_SECTIONS is defined.
46593         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46594         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46595         * sysdeps/sh/init-first.c: Likewise.
46596         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46598 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46600         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46601         always use the slow path.
46603 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46605         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46606         similar rule which adds the sysdep directories to the header search in
46607         order to pick up the correct platform stackinfo.h.
46608         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46609         perform test if it is, otherwise return successfully without testing.
46610         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46611         DEFAULT_STACK_PERMS define in stackinfo.h.
46612         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46613         defined in stackinfo.h.
46614         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46615         DEFAULT_STACK_PERMS defined in stackinfo.h.
46616         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46617         * sysdeps/ia64/stackinfo.h: Likewise.
46618         * sysdeps/s390/stackinfo.h: Likewise.
46619         * sysdeps/sh/stackinfo.h: Likewise.
46620         * sysdeps/sparc/stackinfo.h: Likewise.
46621         * sysdeps/x86_64/stackinfo.h: Likewise.
46622         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46623         PF_X for powerpc64.  Retain PF_X for powerpc32.
46625 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46627         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46628         accurately.
46629         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46630         GETDENTS_64BIT_ALIGNED.
46632 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46634         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46636 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46638         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46639         _GNU_SOURCE.
46641         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46642         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46643         Remove __restrict.
46644         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46645         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46647 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46649         [BZ #11655]
46650         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46651         are initialized.
46653 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46655         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46657 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46659         * po/it.po: Update from translation team.
46661 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46663         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46664         unused codes.
46666 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46668         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46670 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46672         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46673         specially.
46674         (gaih_getanswer_slice): Likewise.
46676 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46680 2010-05-31  Petr Baudis  <pasky@suse.cz>
46682         [BZ #11149]
46683         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46684         silently even in the chroot mode.
46686 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46688         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46689         last patch a bit.  Pretty printing
46691 2010-05-31  Petr Baudis <pasky@suse.cz>
46693         [BZ #10085]
46694         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46695         initialization of skip_initgroups_dyn.
46697 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46699         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46700         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46702 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46704         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46706 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46708         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46709         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46710         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46711         ($(objpfx)tst-fnmatch-mem): New rule.
46712         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46713         * posix/tst-fnmatch.c (main): Call mtrace.
46715 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46717         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46718         Support Intel processor model 6 and model 0x2c.
46720 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46722         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46723           signed comparison.
46725 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46727         [BZ #12205]
46728         * string/test-strncasecmp.c (check_result): New function.
46729         (do_one_test): Use it.
46730         (check1): New function.
46731         (test_main): Use it.
46732         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46733         Support strcasecmp and strncasecmp.
46735 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46737         [BZ #12194]
46738         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46739         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46741 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46743         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46744         IFUNC support.
46745         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46746         memset-x86-64.
46747         * sysdeps/x86_64/multiarch/bzero.S: New file.
46748         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46749         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46750         * sysdeps/x86_64/multiarch/memset.S: New file.
46751         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46753         Set bit_Prefer_SSE_for_memop for Intel processors.
46754         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46755         Define.
46756         (index_Prefer_SSE_for_memop): Define.
46757         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46759 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46761         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46762         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46764 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46766         [BZ #12191]
46767         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46768         (__x86_64_raw_data_cache_size_half): Likewise.
46769         (__x86_64_raw_shared_cache_size): Likewise.
46770         (__x86_64_raw_shared_cache_size_half): Likewise.
46772         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46773         (__x86_64_raw_data_cache_size_half): Likewise.
46774         (__x86_64_raw_shared_cache_size): Likewise.
46775         (__x86_64_raw_shared_cache_size_half): Likewise.
46776         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46777         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46778         and __x86_64_raw_shared_cache_size_half.  Round
46779         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46780         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46781         to multiple of 256 bytes.
46783 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46785         [BZ #12167]
46786         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46787         of inacessible symlinks.  Verify result of symlink before returning it.
46788         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46789         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46791 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46793         * math/math.h (isinf): Fix typo in comment.
46795 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46797         * po/da.po: Update from translation team.
46799 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46801         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46802         is added to the list.
46804 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46805             Ulrich Drepper  <drepper@gmail.com>
46807         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46808         the global list here.  Move code to...
46809         (_dl_add_to_namespace_list): ...here.  New function.
46810         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46811         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46812         * elf/dl-load.c (lose): Don't remove the element from the list.
46813         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46814         (_dl_map_object): Likewise.
46816 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46818         [BZ #12159]
46819         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46820         into all bytes of SSE register.
46821         Patch by Richard Li <richardpku@gmail.com>.
46823 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46825         [BZ #12140]
46826         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46827         perturbing.
46829 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46831         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46832         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46833         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46834         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46836         submachine.
46837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46839 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46841         * include/dlfcn.h (__RTLD_SECURE): Define.
46842         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46843         mode & __RTLD_SECURE instead.
46844         (open_path): Rename preloaded parameter to secure.
46845         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46846         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46847         * elf/dl-deps.c (openaux): Likewise.
46848         * elf/rtld.c (struct map_args): Remove is_preloaded.
46849         (map_doit): Don't use it.
46850         (dl_main): Likewise.
46851         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46852         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46854 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46856         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46857         (sysd-rules-targets): Remove duplicates.
46858         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46859         rtld-%.$o dependency.
46861 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46863         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46864         _dl_map_object do it.
46866 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46868         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46869         fast fma builtins, define the macros in the C99 standard.
46870         (FP_FAST_FMAF): Likewise.
46871         (FP_FAST_FMAL): Likewise.
46872         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46874         * bits/mathdef.h: Update copyright year.
46875         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46877 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46879         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46880         builtins, define the macros in the C99 standard.
46881         (FP_FAST_FMAF): Likewise.
46882         (FP_FAST_FMAL): Likewise.
46883         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46884         multiply/add.
46885         (FP_FAST_FMAF): Likewise.
46887 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
46889         [BZ #3268]
46890         * math/libm-test.inc (fma_test): Some new testcases.
46891         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
46892         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
46893         y and infinite z.  Do multiplication by C already in long double.
46894         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
46895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
46896         y and infinite z.  Do bitwise or of inexact bit into u.d.
46897         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
46898         * sysdeps/i386/fpu/s_fmaf.S: Removed.
46899         * sysdeps/i386/fpu/s_fma.S: Removed.
46900         * sysdeps/i386/fpu/s_fmal.S: Removed.
46902 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
46904         [BZ #3268]
46905         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
46906         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
46907         computation is not scheduled after fetestexcept.  Fix value
46908         of minimum denormal long double.
46910 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
46912         [BZ #3268]
46913         * math/libm-test.inc (fma_test): Add some more tests.
46914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
46915         correctly.
46917 2010-10-15  Andreas Schwab  <schwab@redhat.com>
46919         * scripts/data/localplt-s390-linux-gnu.data: New file.
46920         * scripts/data/localplt-s390x-linux-gnu.data: New file.
46922 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
46924         [BZ #3268]
46925         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
46926         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
46927         instead of dbl-64.
46928         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
46929         inlines.
46930         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
46931         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
46932         if one of x and y is very large and the other is subnormal.
46933         * sysdeps/s390/fpu/s_fmaf.c: New file.
46934         * sysdeps/s390/fpu/s_fma.c: New file.
46935         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
46936         * sysdeps/powerpc/fpu/s_fma.S: New file.
46937         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
46938         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
46939         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
46941 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
46943         [BZ #3268]
46944         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
46945         fma tests.
46946         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
46947         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
46948         * sysdeps/i386/i686/multiarch/s_fma.c: Include
46949         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
46950         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
46951         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
46952         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
46954 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
46956         [BZ #12078]
46957         * posix/regcomp.c (parse_branch): One more memory leak plugged.
46958         * posix/bug-regex31.input: Add test case.
46960 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
46962         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
46963         * posix/bug-regex31.input: New file.
46965         [BZ #12078]
46966         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
46967         (parse_sub_exp): Fix last change, use postorder.
46969         * posix/bug-regex31.c: New file.
46970         * posix/Makefile: Add rules to build and run bug-regex31.
46972         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
46974         [BZ #12078]
46975         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
46977         [BZ #12108]
46978         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
46979         to have entries in sys_siglist.
46981         [BZ #12093]
46982         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
46983         be NULL.
46985 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
46987         [BZ #3268]
46988         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
46989         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
46990         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
46991         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
46992         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
46993         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
46994         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
46995         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
46996         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
46997         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
46998         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
46999         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47000         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47001         * math/ftestexcept.c (fetestexcept): Likewise.
47002         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47003         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47004         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47005         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47006         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47007         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47008         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47010 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47012         [BZ #12107]
47013         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47014         newline.
47016 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47018         * string/bug-strstr1.c: New file.
47019         * string/Makefile: Add rules to build and run bug-strstr1.
47021 2010-10-05  Eric Blake  <eblake@redhat.com>
47023         [BZ #12092]
47024         * string/str-two-way.h (two_way_long_needle): Always clear memory
47025         when skipping input due to the shift table.
47027 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47029         [BZ #12005]
47030         * malloc/mcheck.c: Handle large requests.
47032         [BZ #12077]
47033         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47034         for strncmp and strncasecmp.
47035         * string/stratcliff.c: Add tests for strcmp and strncmp.
47036         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47038 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47040         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47041         __set_fpscr.
47043 2010-09-30  Andreas Jaeger  <aj@suse.de>
47045         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47046         (CGROUP_SUPER_MAGIC): Define.
47047         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47048         Handle btrfs and cgroup file systems.
47049         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47050         Likewise.
47052 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47054         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47055         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47057 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47059         [BZ #12067]
47060         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47061         trying to locate the ELF header.
47063 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47065         [BZ #11611]
47066         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47067         Mask out sign-bit copies when constructing f_fsid.
47069 2010-09-24  Petr Baudis <pasky@suse.cz>
47071         * debug/stack_chk_fail_local.c: Add missing licence exception.
47072         * debug/warning-nop.c: Likewise.
47074 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47076         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47077         implementing getdents64 using getdents syscall, set d_type if
47078         __ASSUME_GETDENTS32_D_TYPE.
47080 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47082         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47083         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47085 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47087         [BZ #12037]
47088         * posix/unistd.h: Undo change of feature selection for ftruncate from
47089         2010-01-11.
47091 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47093         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47094         detection.
47096 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47098         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47099         fanotify_mark.
47100         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47102 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47104         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47105         variables after CHECK_SP call.
47106         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47108 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47109             Ulrich Drepper  <drepper@redhat.com>
47111         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47112         re-relocationg ld.so.
47113         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47114         _dl_init_paths call.
47115         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47116         here anymore.
47118 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47120         * resolv/res_init.c (__res_vinit): Count the default server we added.
47122 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47123             Ulrich Drepper  <drepper@redhat.com>
47125         [BZ #11968]
47126         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47127         (____longjmp_chk): Use %ebx for saving value across system call.
47128         Add unwind info.
47130 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47132         * manual/Makefile: Don't mix pattern rules with normal rules.
47134 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47136         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47137         operation.
47138         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47139         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47140         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47141         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47143         Likewise.
47145 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47147         [BZ #11979]
47148         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47149         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47151 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47153         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47154         * sysdeps/x86_64/addmul_1.S: Likewise.
47155         * sysdeps/x86_64/lshift.S: Likewise.
47156         * sysdeps/x86_64/mul_1.S: Likewise.
47157         * sysdeps/x86_64/rshift.S: Likewise.
47158         * sysdeps/x86_64/sub_n.S: Likewise.
47159         * sysdeps/x86_64/submul_1.S: Likewise.
47161 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47163         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47164         Define __sched_param instead of SCHED_* and sched_param when
47165         <bits/sched.h> is included with __need_schedparam defined.
47166         * bits/sched.h [__need_schedparam]
47167         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47168         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47169         (__defined_schedparam): Define to 1.
47170         (__sched_param): New structure, identical to sched_param.
47171         (__need_schedparam): Undefine.
47173 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47175         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47176         (epoll_create1): Declare.
47178         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47180 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47182         [BZ #7066]
47183         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47184         shifting retval into place.
47186 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47188         * nis/rpcsvc/nis.h: Update copyright notice.
47189         * nis/rpcsvc/nis.x: Likewise.
47190         * nis/rpcsvc/nis_callback.h: Likewise.
47191         * nis/rpcsvc/nis_callback.x: Likewise.
47192         * nis/rpcsvc/nis_object.x: Likewise.
47193         * nis/rpcsvc/nis_tags.h: Likewise.
47194         * nis/rpcsvc/yp.h: Likewise.
47195         * nis/rpcsvc/yp.x: Likewise.
47196         * nis/rpcsvc/ypupd.h: Likewise.
47197         * nis/yp_xdr.c: Likewise.
47198         * nis/ypupdate_xdr.c: Likewise.
47200         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47201         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47202         (pmap_getport): Use __libc_rpc_getport.
47203         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47204         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47205         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47207 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47210         fanotify_mark.
47212 2010-08-27  Roland McGrath  <roland@redhat.com>
47214         * sysdeps/i386/i686/multiarch/Makefile
47215         (CFLAGS-varshift.c): New variable.
47217 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47219         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47220         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47222         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47224         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47226 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47228         * sysdeps/x86_64/strlen.S: Unroll the loop.
47229         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47230         strlen-sse2 strlen-sse2-bsf.
47231         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47232         __strlen_no_bsf if bit_Slow_BSF is set.
47233         (__strlen_sse42): Removed.
47234         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47235         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47237 2010-08-25  Roland McGrath  <roland@redhat.com>
47239         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47240         * sysdeps/x86_64/multiarch/varshift.c: New file.
47241         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47242         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47243         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47244         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47246 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47249         strlen-sse2 strlen-sse2-bsf.
47250         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47251         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47252         (__strlen_sse2): Removed.
47253         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47254         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47256         bit_Slow_BSF for Atom.
47257         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47258         (index_Slow_BSF): Define.
47259         (HAS_SLOW_BSF): Define.
47261 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47263         [BZ #10851]
47264         * resolv/res_init.c (__res_vinit): When no server address at all
47265         is given default to loopback.
47267 2010-08-24  Roland McGrath  <roland@redhat.com>
47269         * configure.in: Remove config-name.h generation.
47270         * configure: Regenerated.
47271         * config-name.in: File removed.
47272         * scripts/config-uname.sh: New file.
47273         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47274         ($(objdir)config-name.h): New target.
47276         * sunrpc/rpc_parse.h: Avoid nested comment.
47278 2010-08-24  Richard Henderson  <rth@redhat.com>
47279             Ulrich Drepper  <drepper@redhat.com>
47280             H.J. Lu  <hongjiu.lu@intel.com>
47282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47284         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47285         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47286         _mm_alignr_epi8 with _mm_loadu_si128.
47287         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47288         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47289         (__m128i_shift_right): Removed.
47290         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47291         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47292         * sysdeps/x86_64/multiarch/varshift.h: New file.
47293         * sysdeps/x86_64/multiarch/varshift.S: New file.
47295 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47297         * configure.in: Move assembler checks to before sysdep dir checking.
47299 2010-08-20  Petr Baudis  <pasky@suse.cz>
47301         * LICENSES: Sync the sunrpc license.
47303 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47305         * sunrpc/auth_des.c: Update copyright notice once again.
47306         * sunrpc/auth_none.c: Likewise.
47307         * sunrpc/auth_unix.c: Likewise.
47308         * sunrpc/authdes_prot.c: Likewise.
47309         * sunrpc/authuxprot.c: Likewise.
47310         * sunrpc/bindrsvprt.c: Likewise.
47311         * sunrpc/clnt_gen.c: Likewise.
47312         * sunrpc/clnt_perr.c: Likewise.
47313         * sunrpc/clnt_raw.c: Likewise.
47314         * sunrpc/clnt_simp.c: Likewise.
47315         * sunrpc/clnt_tcp.c: Likewise.
47316         * sunrpc/clnt_udp.c: Likewise.
47317         * sunrpc/clnt_unix.c: Likewise.
47318         * sunrpc/des_crypt.c: Likewise.
47319         * sunrpc/des_soft.c: Likewise.
47320         * sunrpc/get_myaddr.c: Likewise.
47321         * sunrpc/getrpcport.c: Likewise.
47322         * sunrpc/key_call.c: Likewise.
47323         * sunrpc/key_prot.c: Likewise.
47324         * sunrpc/openchild.c: Likewise.
47325         * sunrpc/pm_getmaps.c: Likewise.
47326         * sunrpc/pm_getport.c: Likewise.
47327         * sunrpc/pmap_clnt.c: Likewise.
47328         * sunrpc/pmap_prot.c: Likewise.
47329         * sunrpc/pmap_prot2.c: Likewise.
47330         * sunrpc/pmap_rmt.c: Likewise.
47331         * sunrpc/rpc/auth.h: Likewise.
47332         * sunrpc/rpc/auth_unix.h: Likewise.
47333         * sunrpc/rpc/clnt.h: Likewise.
47334         * sunrpc/rpc/des_crypt.h: Likewise.
47335         * sunrpc/rpc/key_prot.h: Likewise.
47336         * sunrpc/rpc/netdb.h: Likewise.
47337         * sunrpc/rpc/pmap_clnt.h: Likewise.
47338         * sunrpc/rpc/pmap_prot.h: Likewise.
47339         * sunrpc/rpc/pmap_rmt.h: Likewise.
47340         * sunrpc/rpc/rpc.h: Likewise.
47341         * sunrpc/rpc/rpc_des.h: Likewise.
47342         * sunrpc/rpc/rpc_msg.h: Likewise.
47343         * sunrpc/rpc/svc.h: Likewise.
47344         * sunrpc/rpc/svc_auth.h: Likewise.
47345         * sunrpc/rpc/types.h: Likewise.
47346         * sunrpc/rpc/xdr.h: Likewise.
47347         * sunrpc/rpc_clntout.c: Likewise.
47348         * sunrpc/rpc_cmsg.c: Likewise.
47349         * sunrpc/rpc_common.c: Likewise.
47350         * sunrpc/rpc_cout.c: Likewise.
47351         * sunrpc/rpc_dtable.c: Likewise.
47352         * sunrpc/rpc_hout.c: Likewise.
47353         * sunrpc/rpc_main.c: Likewise.
47354         * sunrpc/rpc_parse.c: Likewise.
47355         * sunrpc/rpc_parse.h: Likewise.
47356         * sunrpc/rpc_prot.c: Likewise.
47357         * sunrpc/rpc_sample.c: Likewise.
47358         * sunrpc/rpc_scan.c: Likewise.
47359         * sunrpc/rpc_scan.h: Likewise.
47360         * sunrpc/rpc_svcout.c: Likewise.
47361         * sunrpc/rpc_tblout.c: Likewise.
47362         * sunrpc/rpc_util.c: Likewise.
47363         * sunrpc/rpc_util.h: Likewise.
47364         * sunrpc/rpcinfo.c: Likewise.
47365         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47366         * sunrpc/rpcsvc/key_prot.x: Likewise.
47367         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47368         * sunrpc/rpcsvc/mount.x: Likewise.
47369         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47370         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47371         * sunrpc/rpcsvc/rex.x: Likewise.
47372         * sunrpc/rpcsvc/rstat.x: Likewise.
47373         * sunrpc/rpcsvc/rusers.x: Likewise.
47374         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47375         * sunrpc/rpcsvc/spray.x: Likewise.
47376         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47377         * sunrpc/rtime.c: Likewise.
47378         * sunrpc/svc.c: Likewise.
47379         * sunrpc/svc_auth.c: Likewise.
47380         * sunrpc/svc_authux.c: Likewise.
47381         * sunrpc/svc_raw.c: Likewise.
47382         * sunrpc/svc_run.c: Likewise.
47383         * sunrpc/svc_simple.c: Likewise.
47384         * sunrpc/svc_tcp.c: Likewise.
47385         * sunrpc/svc_udp.c: Likewise.
47386         * sunrpc/svc_unix.c: Likewise.
47387         * sunrpc/svcauth_des.c: Likewise.
47388         * sunrpc/xcrypt.c: Likewise.
47389         * sunrpc/xdr.c: Likewise.
47390         * sunrpc/xdr_array.c: Likewise.
47391         * sunrpc/xdr_float.c: Likewise.
47392         * sunrpc/xdr_mem.c: Likewise.
47393         * sunrpc/xdr_rec.c: Likewise.
47394         * sunrpc/xdr_ref.c: Likewise.
47395         * sunrpc/xdr_sizeof.c: Likewise.
47396         * sunrpc/xdr_stdio.c: Likewise.
47398         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47399         handling.
47401 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47403         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47405 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47407         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47408         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47409         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47410         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47411         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47412         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47413         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47414         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47415         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47416         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47417         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47418         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47419         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47420         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47422 2010-07-26  Anton Blanchard  <anton@samba.org>
47424         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47425         * malloc/arena.c (heap_trim): Likewise.
47427 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47429         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47430         here.  Not...
47431         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47432         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47434 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47436         * sysdeps/i386/elf/Makefile: New file.
47438 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47440         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47441         from fanotify_init.
47442         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47445 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47447         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47448         of strncasecmp_l.
47449         * sysdeps/multiarch/strcmp.S: Likewise.
47451 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47453         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47454         strncase_l-nonascii.
47455         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47456         Add strncase_l-ssse3.
47457         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47458         * sysdeps/x86_64/strcmp.S: Likewise.
47459         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47460         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47461         * sysdeps/x86_64/strncase.S: New file.
47462         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47463         * sysdeps/x86_64/strncase_l.S: New file.
47464         * string/Makefile (strop-tests): Add strncasecmp.
47465         * string/test-strncasecmp.c: New file.
47467         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47468         warning.
47470         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47471         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47473 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47475         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47477 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47479         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47480         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47481         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47483 2010-05-01  Alan Modra  <amodra@gmail.com>
47485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47486         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47487         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47488         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47489         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47490         tidying.  Don't tail-call __sigjmp_save for static lib.
47491         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47492         save location.
47493         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47494         (CALL_MCOUNT): Add eh info, and nop after bl.
47495         (TAIL_CALL_SYSCALL_ERROR): New macro.
47496         (PSEUDO_RET): Use it.
47497         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47498         Correct save location of integer regs and cr.
47499         (_dl_profile_resolve): Correct cr save location.  Delete nops
47500         after bl when SHARED.  Reduce cfi size a little by better
47501         placement of cfi directives.
47502         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47503         make a stack frame.  Instead use parm save area as a temp.
47504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47505         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47507         Don't make a stack frame for parent, use parm save area.
47508         Increase child stack frame to 112 bytes.  Don't save unused reg,
47509         and adjust reg usage.  Set up cfi on error recovery and
47510         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47512         (__makecontext): Add dummy nop after jump to exit.
47513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47514         Use correct parm save area and cr save, reduce stack frame.
47515         Correct cfi for possible PSEUDO_RET frame setup.
47516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47517         Branch to local label emitted by PSEUDO_RET rather than
47518         __syscall_error.
47520 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47522         [BZ #11904]
47523         * locale/programs/locale.c (print_assignment): New function.
47524         (show_locale_vars): Use it.
47526 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47528         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47529         field.
47530         (struct statfs64): Likewise.
47531         (_STATFS_F_FLAGS): Define.
47532         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47533         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47534         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47535         (ST_VALID): Define locally.
47536         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47537         __statvfs_getflags, use the provided value.
47538         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47539         __ASSUME_STATFS_F_FLAGS.
47541         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47543         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47544         Add sys/fanotify.h.
47545         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47546         fanotify_mask for GLIBC_2.13.
47547         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47548         fanotify_init and fanotify_mark.
47549         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47550         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47552         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47553         Add prlimit.
47554         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47555         prlimit64 for GLIBC_2.13.
47556         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47557         prlimit64.
47558         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47559         syscall.
47560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47561         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47562         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47563         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47564         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47565         add prlimit alias.
47566         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47568         [BZ #11903]
47569         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47570         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47572         * nss/Makefile: Add rules to build and run tst-nss-test1.
47573         * shlib-versions: Add entry for libnss_test1.
47574         * nss/nss_test1.c: New file.
47575         * nss/tst-nss-test1.c: New file.
47577         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47578         (__nss_configure_lookup): Set appropriate entry in
47579         __nss_configure_lookup to true.
47580         * nss/nsswitch.h: Define enum with indeces of databases in
47581         databases and __nss_database_custom arrays.  Declare
47582         __nss_database_custom.
47583         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47584         to avoid using nscd when custom rules are installed.
47585         * nss/getXXbyYY_r.c: Likewise.
47586         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47588         * nss/nss_files/files-parse.c: Whitespace fixes.
47590 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47592         [BZ #11883]
47593         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47594         * posix/fnmatch_loop.c: Likewise.
47596 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47598         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47599         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47600         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47601         * Versions.def [GLIBC_2.13]: Add.
47603 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47605         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47606         Also fail if tpwd after pwuid call is NULL.
47608 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47610         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47611         when converting to ms.
47613 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47615         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47616         EOPNOTSUPP errors with ENOTTY.
47617         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47618         EOPNOTSUPP errors with ENOTTY.
47620 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47622         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47623         Add strcasecmp_l-ssse3.
47624         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47625         strcasecmp.
47626         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47627         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47628         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47630 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47632         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47634         * string/Makefile (strop-tests): Add strcasecmp.
47635         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47636         strcasecmp_l-nonascii.
47637         (gen-as-const-headers): Add locale-defines.sym.
47638         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47639         * sysdeps/x86_64/strcasecmp.S: New file.
47640         * sysdeps/x86_64/strcasecmp_l.S: New file.
47641         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47642         * sysdeps/x86_64/locale-defines.sym: New file.
47643         * string/test-strcasecmp.c: New file.
47645         * string/test-strcasestr.c: Test both ends of the range of characters.
47646         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47648 2010-07-29  Roland McGrath  <roland@redhat.com>
47650         [BZ #11856]
47651         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47653 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47655         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47656         for ld.so.
47658 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47660         * manual/memory.texi (Malloc Tunable Parameters): Document
47661         M_PERTURB.
47663 2010-07-26  Roland McGrath  <roland@redhat.com>
47665         [BZ #11840]
47666         * configure.in (-fgnu89-inline check): Set and substitute
47667         gnu89_inline, not libc_cv_gnu89_inline.
47668         * configure: Regenerated.
47669         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47671 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47673         * string/test-strnlen.c: New file.
47674         * string/Makefile (strop-tests): Add strnlen.
47675         * string/tester.c (test_strnlen): Add a few more test cases.
47676         * string/tst-strlen.c: Better error reporting.
47678         * sysdeps/x86_64/strnlen.S: New file.
47680 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47682         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47683         lower-latency instructions.
47685 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47687         * string/test-strcasestr.c: New file.
47688         * string/test-strstr.c: New file.
47689         * string/Makefile (strop-tests): Add strstr and strcasestr.
47690         * string/str-two-way.h: Don't undefine MAX.
47691         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47693 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47695         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47696         strcasestr-nonascii.
47697         (CFLAGS-strcasestr-nonascii.c): Define.
47698         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47699         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47700         Remove unused attribute.
47702 2010-07-20  Roland McGrath  <roland@redhat.com>
47704         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47705         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47706         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47707         like LD_HWCAP_MASK can disable hwcaps.
47709 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47711         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47713 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47715         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47716         call in strcasestr.
47717         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47718         __strcasestr_sse42_nonascii.
47719         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47720         strcasestr-nonascii.c.
47721         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47723 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47725         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47726         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47727         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47728         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47730 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47732         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47733         fcntl.
47735 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47737         [BZ #11577]
47738         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47739         dl_signal_cerror.
47741 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47743         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47744         _PC_PIPE_BUF using F_GETPIPE_SZ.
47746 2010-07-05  Roland McGrath  <roland@redhat.com>
47748         * manual/arith.texi (Rounding Functions): Fix rint description
47749         implicit in round description.
47751 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47753         * elf/Makefile: Fix linking for a few tests to make recent linker
47754         happy.
47756 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47758         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47759         $(common-objpfx)libc_nonshared.a.
47761 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47763         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47764         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47765         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47766         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47767         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47768         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47769         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47770         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47785         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47786         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47787         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47788         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47789         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47790         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47791         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47792         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47793         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47794         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47795         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47796         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47812 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47814         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47815         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47816         * string/memmove.c (memmove): Renamed to ...
47817         (MEMMOVE): ...this.  Default to memmove.
47818         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47819         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47820         (END_CHK): Define.
47821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47822         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47823         mempcpy-ssse3-back memmove-ssse3-back.
47824         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47825         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47826         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47827         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47828         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47829         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47830         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47831         * sysdeps/x86_64/multiarch/memmove.c: New file.
47832         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47833         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47834         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47835         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47836         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47838         Define.
47839         (index_Fast_Copy_Backward): Define.
47840         (HAS_ARCH_FEATURE): Define.
47841         (HAS_FAST_REP_STRING): Define.
47842         (HAS_FAST_COPY_BACKWARD): Define.
47844 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47846         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47847         Restore proper fallback handling.
47849 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47851         [BZ #11701]
47852         * posix/group_member.c (__group_member): Correct checking loop.
47854         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47855         OOM in getpwuid_r correctly.  Return error number when the caller
47856         should return, otherwise -1.
47857         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47858         call returning > 0 value.
47859         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47861 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47863         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47864         libc_nonshared.a from targets in modules-names.
47866 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47868         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47869         requires it.
47871 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47874         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47875         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47876         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47878 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47880         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47882 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47884         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47885         and F_GETPIPE_SZ.
47886         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47887         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47889         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47890         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47891         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
47893 2010-06-14  Roland McGrath  <roland@redhat.com>
47895         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
47897 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
47899         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
47900         __REDIRECT followed by __THROW.
47901         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
47902         * posix/getopt.h (getopt): Likewise.
47904 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47906         * hurd/lookup-at.c (__file_name_lookup_at): Accept
47907         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
47908         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
47909         in AT_FLAGS.
47910         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
47911         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
47913 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
47915         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
47917 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
47919         [BZ #11640]
47920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47921         Properly check family and model.
47923 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
47925         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
47927 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
47929         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
47931 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
47933         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
47934         symbol reference.
47936 2010-05-19  Andreas Schwab  <schwab@redhat.com>
47938         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
47939         symbol reference.
47941 2010-05-21  Andreas Schwab  <schwab@redhat.com>
47943         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
47944         and internal_recvmmsg.
47945         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
47946         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
47947         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
47948         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
47950         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
47951         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
47952         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
47954 2010-05-20  Andreas Schwab  <schwab@redhat.com>
47956         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
47958 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
47960         POWER7 optimizations.
47961         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
47962         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
47964 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
47966         * version.h: Update for 2.13 development version.
47968 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
47970         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
47971         exceptions.  Return 0.
47973 2010-05-07  Roland McGrath  <roland@redhat.com>
47975         * elf/ldconfig.c (main): Add a const.
47977 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
47979         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
47980         (args_options): Add no-idn option.
47981         (ahosts_keys_int): Add idn_flags to ai_flags.
47982         (parse_option): Handle 'i' option to clear idn_flags.
47984         * malloc/malloc.c (_int_free): Possible race in the most recently
47985         added check.  Only act on the data if no current modification
47986         happened.
47988 See ChangeLog.17 for earlier changes.