1 2014-06-12 Roland McGrath <roland@hack.frob.com>
3 * nptl/sysdeps/sparc/Makefile: Moved ...
4 * sysdeps/sparc/nptl/Makefile: ... here.
5 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7 * nptl/sysdeps/sparc/tls.h: Moved ...
8 * sysdeps/sparc/nptl/tls.h: ... here.
9 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
16 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
17 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
18 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
21 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
22 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
23 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
24 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
25 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
26 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
28 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
31 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
34 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
38 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
41 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43 * sysdeps/pthread/posix-timer.h: Include <list.h>.
44 (struct list_links): Type removed.
45 (struct thread_node, struct timer_node): Replace struct list_links
46 with struct list_head.
47 (list_unlink_ip): Likewise.
48 * sysdeps/pthread/timer_routines.c
49 (timer_free_list, thread_free_list, thread_active_list): Likewise.
50 (list_append, list_insbefore): Likewise.
51 (list_init): Function removed.
52 (thread_init, init_module): Use INIT_LIST_HEAD instead.
53 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
54 * sysdeps/pthread/Makefile: ... here, new file.
56 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
57 * sysdeps/nptl/Implies: ... here.
58 * sysdeps/unix/sysv/linux/Implies: Add nptl.
59 * nptl/sysdeps/pthread/list.h: Moved ...
60 * include/list.h: ... here.
61 * nptl/sysdeps/pthread/createthread.c: Moved ...
62 * nptl/createthread.c: ... here.
63 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
64 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
65 * nptl/pt-longjmp.c: ... here.
66 * nptl/sysdeps/pthread/Makefile: Moved ...
67 * sysdeps/nptl/Makefile: ... here.
68 * nptl/sysdeps/pthread/Subdirs: Moved ...
69 * sysdeps/nptl/Subdirs: ... here.
70 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
71 * sysdeps/nptl/aio_misc.h: ... here.
72 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
73 * sysdeps/nptl/bits/libc-lock.h: ... here.
74 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
75 * sysdeps/nptl/bits/libc-lockP.h: ... here.
76 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
77 * sysdeps/nptl/bits/stdio-lock.h: ... here.
78 * nptl/sysdeps/pthread/configure: Moved ...
79 * sysdeps/nptl/configure: ... here.
80 * nptl/sysdeps/pthread/configure.ac: Moved ...
81 * sysdeps/nptl/configure.ac: ... here.
82 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
83 * sysdeps/nptl/gai_misc.h: ... here.
84 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
85 * sysdeps/nptl/librt-cancellation.c: ... here.
86 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
87 * sysdeps/nptl/malloc-machine.h: ... here.
88 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
89 * sysdeps/nptl/pthread-functions.h: ... here.
90 * nptl/sysdeps/pthread/pthread.h: Moved ...
91 * sysdeps/nptl/pthread.h: ... here.
92 * nptl/sysdeps/pthread/setxid.h: Moved ...
93 * sysdeps/nptl/setxid.h: ... here.
94 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
95 * sysdeps/nptl/sigfillset.c: ... here.
96 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
97 * sysdeps/nptl/tcb-offsets.h: ... here.
98 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
99 * sysdeps/nptl/tst-mqueue8x.c: ... here.
100 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
101 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
102 * nptl/sysdeps/pthread/allocalim.h: Moved ...
103 * sysdeps/pthread/allocalim.h: ... here.
104 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
105 * sysdeps/pthread/bits/sigthread.h: ... here.
106 * nptl/sysdeps/pthread/flockfile.c: Moved ...
107 * sysdeps/pthread/flockfile.c: ... here.
108 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
109 * sysdeps/pthread/ftrylockfile.c: ... here.
110 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
111 * sysdeps/pthread/funlockfile.c: ... here.
112 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
113 * sysdeps/pthread/posix-timer.h: ... here.
114 * nptl/sysdeps/pthread/timer_create.c: Moved ...
115 * sysdeps/pthread/timer_create.c: ... here.
116 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
117 * sysdeps/pthread/timer_delete.c: ... here.
118 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
119 * sysdeps/pthread/timer_getoverr.c: ... here.
120 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
121 * sysdeps/pthread/timer_gettime.c: ... here.
122 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
123 * sysdeps/pthread/timer_routines.c: ... here.
124 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
125 * sysdeps/pthread/timer_settime.c: ... here.
126 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
127 * sysdeps/pthread/tst-timer.c: ... here.
128 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
129 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
131 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
132 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
134 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
135 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
136 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
137 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
138 Update #include target.
139 * nptl/sysdeps/i386/i686/Makefile: Moved ...
140 * sysdeps/i386/i686/nptl/Makefile: ... here.
141 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
142 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
143 Update #include target.
144 * nptl/sysdeps/i386/i686/tls.h: Moved ...
145 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
146 * nptl/sysdeps/i386/Makefile: Moved ...
147 * sysdeps/i386/nptl/Makefile: ... here.
148 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
149 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
150 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
151 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
152 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
153 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
154 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
155 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
156 * sysdeps/i386/nptl/pthreaddef.h: ... here.
157 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
158 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
159 * nptl/sysdeps/i386/tls.h: Moved ...
160 * sysdeps/i386/nptl/tls.h: ... here.
162 * sysdeps/sh/Makefile [$(subdir) = csu]
163 (gen-as-const-headers): Add tcb-offsets.sym.
164 * nptl/sysdeps/sh/Makefile: File removed.
165 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
166 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
167 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
168 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
169 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
170 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
171 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
172 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
173 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
174 * sysdeps/sh/nptl/pthreaddef.h: ... here.
175 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
176 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
177 * nptl/sysdeps/sh/tls.h: Moved ...
178 * sysdeps/sh/nptl/tls.h: ... here.
179 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
180 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
181 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
182 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
183 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
184 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
185 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
186 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
187 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
188 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
189 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
190 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
191 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
192 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
193 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
194 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
195 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
196 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
197 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
198 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
199 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
200 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
201 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
202 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
203 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
205 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
206 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
208 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
209 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
210 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
211 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
212 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
213 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
214 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
215 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
216 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
217 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
218 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
219 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
220 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
221 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
222 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
223 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
224 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
225 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
226 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
228 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
230 * posix/spawn_faction_addopen.c: Include string.h.
232 2014-06-11 Roland McGrath <roland@hack.frob.com>
234 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
235 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
236 * nptl/sysdeps/x86_64/Makefile: Moved ...
237 * sysdeps/x86_64/nptl/Makefile: ... here.
238 * nptl/sysdeps/x86_64/configure: Moved ...
239 * sysdeps/x86_64/nptl/configure: ... here.
240 * nptl/sysdeps/x86_64/configure.ac: Moved ...
241 * sysdeps/x86_64/nptl/configure.ac: ... here.
242 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
243 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
244 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
245 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
246 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
247 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
248 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
249 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
250 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
251 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
252 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
253 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
254 * nptl/sysdeps/x86_64/tls.h: Moved ...
255 * sysdeps/x86_64/nptl/tls.h: ... here.
256 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
257 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
258 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
259 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
261 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
263 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
267 2014-06-11 Joseph Myers <joseph@codesourcery.com>
269 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
271 [POSIX] (off_t): Likewise.
272 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
273 [POSIX] (S_ISBLK): Require macro.
274 [POSIX] (S_ISCHR): Likewise.
275 [POSIX] (S_ISDIR): Likewise.
276 [POSIX] (S_ISFIFO): Likewise.
277 [POSIX] (S_ISREG): Likewise.
278 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
280 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
282 [POSIX] (time_t): Likewise.
283 [POSIX] (timer_t): Likewise.
285 2014-06-11 Florian Weimer <fweimer@redhat.com>
288 * posix/spawn_int.h (struct __spawn_action): Make the path string
289 non-const to support deallocation.
290 * posix/spawn_faction_addopen.c
291 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
292 * posix/spawn_faction_destroy.c
293 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
294 path in all spawn_do_open actions.
295 * posix/tst-spawn.c (do_test): Exercise the copy operation in
296 posix_spawn_file_actions_addopen.
298 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
300 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
301 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
302 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
303 conditional code always true.
304 (__libc_vfork): New alias.
306 2014-06-11 Roland McGrath <roland@hack.frob.com>
308 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
309 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
311 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
313 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
314 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
316 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
317 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
319 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
320 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
322 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
324 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
325 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
326 multiarch strcmp for PPC64.
327 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
330 multiarch optimizations.
331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
332 (__libc_ifunc_impl_list): Likewise.
334 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
336 * benchtests/scripts/validate_benchout.py: New script.
337 * benchtests/Makefile (bench-func): Call it.
338 * benchtests/scripts/benchout.schema.json: New file.
340 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
342 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
343 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
344 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
345 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
346 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
347 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
348 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
349 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
350 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
351 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
352 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
353 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
354 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
355 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
356 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
357 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
376 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
389 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
391 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
393 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
395 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
408 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
410 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
435 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
437 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
452 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
462 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
463 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
464 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
465 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
467 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
469 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
470 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
471 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
472 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
473 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
474 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
475 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
476 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
477 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
478 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
479 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
480 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
481 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
483 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
484 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
486 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
487 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
488 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
489 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
491 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
492 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
493 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
494 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
495 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
496 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
497 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
499 2014-06-10 Wilco <wdijkstr@arm.com>
501 * math/test-fenv-return.c: New file.
502 * math/Makefile: Add new test test-fenv-return.
504 2014-06-10 Joseph Myers <joseph@codesourcery.com>
507 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
509 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
510 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
511 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
512 0.0L for an argument of 1.0L.
513 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
515 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
516 value when x - 1 is zero.
517 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
518 * sysdeps/i386/fpu/libm-test-ulps: Update.
519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
521 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
524 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
526 2014-06-09 Roland McGrath <roland@hack.frob.com>
528 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
529 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
531 2014-06-09 Roland McGrath <roland@hack.frob.com>
533 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
534 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
536 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
537 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
539 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
540 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
542 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
543 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
545 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
546 if not already defined.
547 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
548 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
549 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
550 (TLS_INIT_TP): Use it.
551 (TLS_DEFINE_INIT_TP): New macro.
552 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
554 2014-06-09 Joseph Myers <joseph@codesourcery.com>
556 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
558 [POSIX] (IXANY): Likewise.
559 [POSIX] (OLCUC): Likewise.
560 [POSIX || POSIX2008] (CBAUD): Do not allow.
561 [POSIX || POSIX2008] (DEFECHO): Likewise.
562 [POSIX || POSIX2008] (ECHOCTL): Likewise.
563 [POSIX || POSIX2008] (ECHOKE): Likewise.
564 [POSIX || POSIX2008] (ECHOPRT): Likewise.
565 [POSIX || POSIX2008] (EXTA): Likewise.
566 [POSIX || POSIX2008] (EXTB): Likewise.
567 [POSIX || POSIX2008] (FLUSHO): Likewise.
568 [POSIX || POSIX2008] (LOBLK): Likewise.
569 [POSIX || POSIX2008] (PENDIN): Likewise.
570 [POSIX || POSIX2008] (SWTCH): Likewise.
571 [POSIX || POSIX2008] (VDISCARD): Likewise.
572 [POSIX || POSIX2008] (VDSUSP): Likewise.
573 [POSIX || POSIX2008] (VLNEXT): Likewise.
574 [POSIX || POSIX2008] (VREPRINT): Likewise.
575 [POSIX || POSIX2008] (VSTATUS): Likewise.
576 [POSIX || POSIX2008] (VWERASE): Likewise.
577 (B*): Change to B[0123456789]*.
578 * conform/data/time.h-data [POSIX || UNIX98]
579 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
580 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
581 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
582 [POSIX] (tm_*): Do not allow.
584 2014-06-07 Joseph Myers <joseph@codesourcery.com>
586 * Makefile (install): Don't set LANGUAGE.
587 * Makefile.in (install): Likewise.
588 * assert/Makefile (test-assert-ENV): Remove variable.
589 (test-assert-perr-ENV): Likewise.
590 * elf/Makefile (neededtest4-ENV): Likewise.
591 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
592 [$(cross-compiling) = no]: Don't set LANGUAGE.
593 * io/ftwtest-sh (LANG): Remove variable.
594 * libio/Makefile (tst-widetext-ENV): Likewise.
595 * manual/install.texi (Running make install): Don't refer to
596 environment settings for make install.
597 * INSTALL: Regenerated.
598 * nptl/tst-tls6.sh: Don't set LANG.
599 * posix/globtest.sh (LANG): Remove variable.
600 * string/Makefile (tester-ENV): Likewise.
601 (inl-tester-ENV): Likewise.
602 (noinl-tester-ENV): Likewise.
603 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
604 [$(cross-compiling) = no]: Don't set LANGUAGE.
605 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
606 without explicit environment settings.
608 2014-06-06 Roland McGrath <roland@hack.frob.com>
610 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
611 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
612 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
613 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
615 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
617 * crypt/crypt-private.h [DOS]: Add some includes taken from the
618 other files in the crypt directory.
619 * crypt/crypt.c: Remove duplicate includes.
620 * crypt/crypt-entry.c: Likewise.
621 * crypt/crypt_util.c: Likewise.
623 2014-06-06 Joseph Myers <joseph@codesourcery.com>
625 * Makeconfig (run-program-env): New variable.
626 (run-program-prefix-before-env): Likewise.
627 (run-program-prefix-after-env): Likewise.
628 (run-program-prefix): Define in terms of new variables.
629 (built-program-cmd-before-env): New variable.
630 (built-program-cmd-after-env): Likewise.
631 (built-program-cmd): Define in terms of new variables.
632 (test-program-prefix-before-env): New variable.
633 (test-program-prefix-after-env): Likewise.
634 (test-program-prefix): Define in terms of new variables.
635 (test-program-cmd-before-env): New variable.
636 (test-program-cmd-after-env): Likewise.
637 (test-program-cmd): Define in terms of new variables.
638 * Rules (make-test-out): Use $(run-program-env).
639 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
640 (help): Do not mention environment variables. Mention
641 --timeoutfactor option.
642 (timeoutfactor): New variable.
643 (blacklist_exports): Remove function.
644 (exports): Remove variable.
645 (command): Do not include ${exports}.
646 * manual/install.texi (Configuring and compiling): Do not mention
647 test wrappers preserving environment variables. Mention that last
648 assignment to a variable must take precedence.
649 * INSTALL: Regenerated.
650 * benchtests/Makefile (run-bench): Use $(run-program-env).
651 * catgets/Makefile ($(objpfx)test1.cat): Use
652 $(built-program-cmd-before-env), $(run-program-env) and
653 $(built-program-cmd-after-env).
654 ($(objpfx)test2.cat): Do not specify environment variables
656 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
657 $(run-program-env) and $(built-program-cmd-after-env).
658 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
659 $(run-program-env) and $(test-program-cmd-after-env).
660 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
662 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
663 run_program_env and test_program_cmd_after_env arguments.
664 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
665 * elf/tst-pathopt.sh: Use run_program_env argument.
666 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
667 $(test-wrapper-env) and $(run-program-env).
668 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
669 run_program_env arguments.
670 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
671 * intl/Makefile ($(objpfx)tst-gettext.out): Use
672 $(test-program-prefix-before-env), $(run-program-env) and
673 $(test-program-prefix-after-env).
674 ($(objpfx)tst-gettext2.out): Likewise.
675 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
676 run_program_env and test_program_prefix_after_env arguments.
677 * intl/tst-gettext2.sh: Likewise.
678 * intl/tst-gettext4.sh: Do not set environment variables
680 * intl/tst-gettext6.sh: Likewise.
681 * intl/tst-translit.sh: Likewise.
682 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
683 $(test-program-prefix-before-env), $(run-program-env) and
684 $(test-program-prefix-after-env).
685 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
686 run_program_env and test_program_prefix_after_env arguments.
687 * math/Makefile (run-regen-ulps): Use $(run-program-env).
688 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
689 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
690 explicitly with each use of ${test_wrapper_env}.
691 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
692 $(test-program-prefix-before-env), $(run-program-env) and
693 $(test-program-prefix-after-env).
694 * posix/tst-getconf.sh: Do not set environment variables
696 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
697 run_program_env and test_program_prefix_after_env arguments.
698 * stdio-common/tst-printf.sh: Do not set environment variables
700 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
701 $(test-program-prefix-before-env), $(run-program-env) and
702 $(test-program-prefix-after-env).
703 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
704 run_program_env and test_program_prefix_after_env arguments.
705 Split $test calls into $test_pre and $test.
706 * timezone/Makefile (build-testdata): Use
707 $(built-program-cmd-before-env), $(run-program-env) and
708 $(built-program-cmd-after-env).
710 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
712 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
713 strlen for non SHARED builds.
715 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
717 * nptl/allocatestack.c (check_list): Inlined function...
718 (__reclaim_stacks): ... here.
720 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
723 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
726 2014-06-05 Joseph Myers <joseph@codesourcery.com>
728 * Rules (make-test-out): Include
729 LOCPATH=$(common-objpfx)localedata in default environment.
730 * debug/Makefile (tst-chk1-ENV): Remove variable.
731 (tst-chk2-ENV): Likewise.
732 (tst-chk3-ENV): Likewise.
733 (tst-chk4-ENV): Likewise.
734 (tst-chk5-ENV): Likewise.
735 (tst-chk6-ENV): Likewise.
736 (tst-lfschk1-ENV): Likewise.
737 (tst-lfschk2-ENV): Likewise.
738 (tst-lfschk3-ENV): Likewise.
739 (tst-lfschk4-ENV): Likewise.
740 (tst-lfschk5-ENV): Likewise.
741 (tst-lfschk6-ENV): Likewise.
742 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
743 (tst-iconv7-ENV): Likewise.
744 * intl/Makefile (LOCPATH-ENV): Likewise.
745 (tst-codeset-ENV): Likewise.
746 (tst-gettext3-ENV): Likewise.
747 (tst-gettext5-ENV): Likewise.
748 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
749 (tst-fopenloc-ENV): Likewise.
750 (tst-fgetws-ENV): Remove variable.
751 (tst-ungetwc1-ENV): Likewise.
752 (tst-ungetwc2-ENV): Likewise.
753 (bug-ungetwc2-ENV): Likewise.
754 (tst-swscanf-ENV): Likewise.
755 (bug-ftell-ENV): Likewise.
756 (tst-fgetwc-ENV): Likewise.
757 (tst-fseek-ENV): Likewise.
758 (tst-ftell-partial-wide-ENV): Likewise.
759 (tst-ftell-active-handler-ENV): Likewise.
760 (tst-ftell-append-ENV): Likewise.
761 * posix/Makefile (tst-fnmatch-ENV): Likewise.
762 (tst-regexloc-ENV): Likewise.
763 (bug-regex1-ENV): Likewise.
764 (tst-regex-ENV): Likewise.
765 (tst-regex2-ENV): Likewise.
766 (bug-regex5-ENV): Likewise.
767 (bug-regex6-ENV): Likewise.
768 (bug-regex17-ENV): Likewise.
769 (bug-regex18-ENV): Likewise.
770 (bug-regex19-ENV): Likewise.
771 (bug-regex20-ENV): Likewise.
772 (bug-regex22-ENV): Likewise.
773 (bug-regex23-ENV): Likewise.
774 (bug-regex25-ENV): Likewise.
775 (bug-regex26-ENV): Likewise.
776 (bug-regex30-ENV): Likewise.
777 (bug-regex32-ENV): Likewise.
778 (bug-regex33-ENV): Likewise.
779 (bug-regex34-ENV): Likewise.
780 (bug-regex35-ENV): Likewise.
781 (tst-rxspencer-ENV): Likewise.
782 (tst-rxspencer-no-utf8-ENV): Likewise.
783 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
784 (tst-sscanf-ENV): Likewise.
785 (tst-swprintf-ENV): Likewise.
786 (tst-swscanf-ENV): Likewise.
787 (test-vfprintf-ENV): Likewise.
788 (scanf13-ENV): Likewise.
789 (bug14-ENV): Likewise.
790 (tst-grouping-ENV): Likewise.
791 * stdlib/Makefile (tst-strtod-ENV): Likewise.
792 (tst-strtod3-ENV): Likewise.
793 (tst-strtod4-ENV): Likewise.
794 (tst-strtod5-ENV): Likewise.
795 (testmb2-ENV): Likewise./
796 * string/Makefile (tst-strxfrm-ENV): Likewise.
797 (tst-strxfrm2-ENV): Likewise.
798 (bug-strcoll1-ENV): Likewise.
799 (test-strcasecmp-ENV): Likewise.
800 (test-strncasecmp-ENV): Likewise.
801 * time/Makefile (tst-strptime-ENV): Likewise.
802 (tst-ftime_l-ENV): Likewise.
803 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
804 (tst-mbrtowc-ENV): Likewise.
805 (tst-wcrtomb-ENV): Likewise.
806 (tst-mbrtowc2-ENV): Likewise.
807 (tst-c16c32-1-ENV): Likewise.
808 (tst-mbsnrtowcs-ENV): Likewise.
810 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
812 * manual/resource.texi (How to get information about the memory
813 subsystem?): Fix typo.
814 Reported by Peon de la Parra Ivan <peon@keba.com>
816 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
819 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
820 (pthread_spin_lock): Branch out of spin loop to proper location.
821 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
822 (pthread_spin_lock): Likewise.
824 * nptl/tst-spin4.c: New test.
825 * nptl/Makefile (tests): Add tst-spin4.
827 2014-06-03 Andreas Schwab <schwab@suse.de>
830 * resolv/res_send.c (send_dg): Reload file descriptor after
833 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
835 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
837 2014-06-03 Richard Henderson <rth@redhat.com>
839 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
840 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
841 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
842 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
843 in the SAVE_PID block.
844 (__libc_vfork): New alias.
845 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
847 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
848 child in registers, not on the stack. Remove RESET_PID conditionals.
849 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
851 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
853 * sysdeps/aarch64/libm-test-ulps: Regenerate.
855 2014-06-03 Wilco <wdijkstr@arm.com>
857 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
858 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
859 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
860 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
861 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
864 2014-06-03 Wilco <wdijkstr@arm.com>
866 * sysdeps/aarch64/fpu/math_private.h
867 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
868 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
869 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
870 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
873 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
875 * crypt/crypt-private.h: Include ufc-crypt.h.
876 (__b64_from_24bit): Declare extern.
877 * crypt/crypt_util.c(__b64_from_24bit): New function.
878 (b64t): New static const variable.
879 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
880 (b64t): Remove variable.
881 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
882 * crypt/sha256-crypt.c: Include crypt-private.h.
883 (b64t): Remove variable.
884 (__sha256_crypt_r): Remove b64_from_24bit and replace
885 with __b64_from_24bit.
886 * crypt/sha512-crypt.c: Likewise.
888 2014-06-02 Roland McGrath <roland@hack.frob.com>
890 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
891 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
892 Label the code __libc_vfork rather than __vfork.
893 [!NOT_IN_libc] (vfork): Define as weak alias.
894 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
895 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
896 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
898 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
900 * malloc/malloc.c (malloc_info): Fix format specifier for
903 2014-06-02 Wilco <wdijkstr@arm.com>
905 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
908 2014-06-02 Wilco <wdijkstr@arm.com>
911 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
912 Rewrite to reduce FPCR/FPSR accesses.
914 2014-06-01 David S. Miller <davem@davemloft.net>
916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
918 2014-05-31 David S. Miller <davem@davemloft.net>
920 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
921 to occur in round to nearest mode when |x| >= 2.0
923 2014-05-30 Richard Henderson <rth@twiddle.net>
925 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
926 (PSEUDO_RET_NOERRNO): Remove.
927 (ret): Don't redefine.
928 (ret_NOERRNO): Define in terms of ret.
929 (ret_ERRVAL): Likewise.
931 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
932 use of PSEUDO_RET; perform the error check directly.
934 2014-05-30 Marko Myllynen <myllynen@redhat.com>
936 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
939 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
941 * malloc/malloc (malloc_info): Fix formatting.
943 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
944 Roland McGrath <roland@hack.frob.com>
946 * malloc/malloc (malloc_info): Also print mmapped statistics.
948 2014-05-30 Roland McGrath <roland@hack.frob.com>
950 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
951 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
953 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
955 * malloc/malloc.c (malloc_info): Inline mi_arena.
957 2014-05-29 Richard Henderson <rth@twiddle.net>
959 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
960 Remove comma before expanding ASM_ARGS_##nr.
961 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
962 Make _x0 a strict output; make _x8 a strict input; adjust expansion
964 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
965 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
966 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
967 (ASM_ARGS_1): Add leading comma.
969 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
970 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
972 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
973 Remove the expected plt for __errno_location.
975 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
976 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
979 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
980 Always allocate 64 bytes of stack frame. Use ldp/stp to create
981 it and break it down.
982 (DOCARGS_0, DOCARGS_1): Do nothing.
983 (DOCARGS_2): Update to store into the new stack frame.
984 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
985 (UNDOCARGS_1): Update to restore from the new stack frame.
986 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
987 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
989 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
990 (SINGLE_THREAD_P): New parameter for result regno.
991 (PSEUDO): Update to match; use cbz instead of beq.
993 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
994 Use ENTRY to define the _nocancel entry point. Share the syscall
995 and syscall error check paths with the cancel path.
998 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
999 whitespace; tabs before and after asm mnemonics.
1001 2014-05-29 Eric Wong <normalperson@yhbt.net>
1004 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1005 Call fstat64 or stat64 internally, depending on arguments passed.
1006 Replace stat buffer argument with file descriptor argument.
1007 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1008 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1009 Pass fd to __internal_statvfs instead of calling fstat64.
1010 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1011 Pass fd to __internal_statvfs64 instead of calling fstat64.
1012 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1013 Pass -1 to __internal_statvfs instead of calling stat64.
1014 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1015 Pass -1 to __internal_statvfs64 instead of calling stat64.
1017 2014-05-28 Roland McGrath <roland@hack.frob.com>
1019 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1020 that was previously under [RESET_PID].
1021 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1023 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1024 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1026 2014-05-27 Roland McGrath <roland@hack.frob.com>
1028 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1030 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1031 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1033 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
1035 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1037 2014-05-27 Andreas Schwab <schwab@suse.de>
1039 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1041 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1042 * elf/rtld.c (init_tls, dl_main): Likewise.
1043 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1044 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1045 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1046 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1047 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1048 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1049 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1050 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1051 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1052 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1053 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1054 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1055 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1056 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1057 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1058 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1059 * sysdeps/generic/tls.h: Update description.
1061 2014-05-27 Will Newton <will.newton@linaro.org>
1064 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1065 and restore r2 rather than just restoring.
1067 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 * libio/tst-ftell-append.c: New test case.
1071 * libio/Makefile (tests): Add test case.
1072 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1074 * libio/wfileops.c (do_ftell_wide): Likewise.
1076 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1080 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1084 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1085 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1086 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1087 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1088 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1089 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1096 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1097 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1098 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1099 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1100 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1102 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1103 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1105 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1107 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1109 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1110 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1111 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1113 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1114 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1115 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1116 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1118 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1124 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1127 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1131 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1134 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1139 conditional [RESET_PID].
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1141 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1143 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1148 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1149 (__libc_vfork): New strong alias.
1150 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1152 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1157 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1158 (__libc_vfork): New strong alias.
1159 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1161 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1164 2014-05-26 Carlos O'Donell <carlos@redhat.com>
1166 * malloc/malloc.c (mi_arena): New function.
1167 (malloc_info): Remove nested function mi_arena. Call non-nosted
1170 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1174 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1175 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1176 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1177 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1178 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1179 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1180 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1182 2014-05-26 Andreas Schwab <schwab@suse.de>
1185 * locale/programs/repertoire.c (repertoire_read): Add slash
1186 between I18NPATH element and file name.
1187 * locale/programs/locfile.c (locfile_read): Likewise.
1189 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1191 * nptl/pthread_mutexattr_settype.c
1192 (__pthread_mutexattr_settype):
1193 Disable lock elision for PTHREAD_MUTEX_NORMAL.
1195 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1197 * nptl/tst-mutex5 (do_test):
1198 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1200 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1202 * benchtests/README: Document 'init' directive.
1203 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1205 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1206 (parse_file): Recognize 'init' directive.
1208 2014-05-26 Kyle McMartin <kyle@redhat.com>
1211 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1212 alignment of struct pthread.
1214 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1217 * nscd/netgroupcache.c (addgetnetgrentX): Look for
1218 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1219 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1220 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1222 2014-05-25 Richard Henderson <rth@twiddle.net>
1224 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1225 (SINGLE_THREAD_P_PIC): Remove.
1226 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1227 (SINGLE_THREAD_P_PIC): Remove.
1229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1230 branch to syscall error ...
1232 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1233 from __local_syscall_error to .Lsyscall_error.
1234 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1235 (SYSCALL_ERROR): Update label name.
1237 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1238 Do not use DOARGS/UNDOARGS.
1239 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1240 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1241 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1242 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1243 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1245 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1248 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1249 define if !NOT_IN_libc.
1250 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1251 define with non-default symbol versions.
1253 2014-05-23 Richard Henderson <rth@twiddle.net>
1255 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1256 (vfork, __vfork): Define via compat_symbol.
1258 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1259 [!HAVE_IFUNC] (vfork_compat): Remove.
1260 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1262 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1265 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1266 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1269 2014-05-23 Richard Henderson <rth@twiddle.net>
1271 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1272 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1273 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1274 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1276 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1277 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1278 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1279 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1280 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1281 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1282 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1283 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1284 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1285 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1286 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1287 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1288 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1289 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1290 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1291 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1292 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1293 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1294 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1295 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1296 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1297 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1298 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1299 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1300 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1301 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1302 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1303 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1304 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1305 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1306 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1307 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1308 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1309 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1310 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1311 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1312 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1313 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1314 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1315 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1316 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1317 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1318 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1319 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1320 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1321 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1322 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1323 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1324 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1325 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1326 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1327 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1328 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1329 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1330 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
1331 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
1333 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
1334 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
1335 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
1336 before exiting on error.
1337 (__libc_vfork): New strong alias.
1338 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
1339 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
1341 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
1342 that was previously under [RESET_PID].
1343 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
1345 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
1347 2014-05-23 Joseph Myers <joseph@codesourcery.com>
1350 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
1351 value when x - 1 is zero.
1352 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
1353 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
1354 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
1355 0.0L for an argument of 1.0L.
1356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
1358 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
1359 value when x - 1 is zero.
1360 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
1361 * sysdeps/i386/fpu/libm-test-ulps: Update.
1362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1364 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1366 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
1367 alphasort and versionsort.
1369 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1371 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
1373 [copysignf]: Likewise.
1375 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1377 * crypt/md5-crypt.c: Fix formatting.
1379 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1381 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
1382 (b64_from_24bit): New function.
1384 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1386 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
1387 libc_hidden_builtin_def to ifunc.
1388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1389 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
1391 2014-05-21 Roland McGrath <roland@hack.frob.com>
1393 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
1394 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
1396 2014-05-21 Joseph Myers <joseph@codesourcery.com>
1398 * nscd/Depend (linuxthreads): Remove.
1400 * resolv/Depend (linuxthreads): Remove.
1401 * rt/Depend (linuxthreads): Remove.
1403 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
1404 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
1405 $(common-objpfx)elf/.
1406 (link-libc-before-gnulib): Likewise.
1407 (elfobjdir): Remove variable.
1408 * Makefile (install): Use $(elf-objpfx) instead of
1409 $(common-objpfx)elf/.
1410 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
1412 (link-libc-deps): Likewise.
1413 ($(common-objpfx)libc.so): Likewise.
1414 ($(common-objpfx)linkobj/libc.so): Likewise.
1415 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
1416 instead of $(common-objpfx)elf/.
1417 (symbolic-link-list): Likewise.
1418 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1419 [$(cross-compiling) = no]: Likewise.
1420 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
1422 (static-gnulib-arch): Likewise.
1423 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1424 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
1425 $(common-objpfx)elf/.
1427 2014-05-21 Richard Henderson <rth@redhat.com>
1429 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1430 (SINGLE_THREAD_P): Use the correct width load. Fold
1431 into the ldr offset.
1433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
1434 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
1436 2014-05-20 Joseph Myers <joseph@codesourcery.com>
1438 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
1439 (libgcc_s_resume): Use __attribute_used__.
1440 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
1443 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1445 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
1446 optimization when used with float constants.
1448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1450 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
1453 * locale/nl_langinfo_l.c: Make direct reference to every
1454 _nl_current_CATEGORY symbol.
1455 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
1456 (tests-static): Add tst-langinfo-static.
1457 (tests-special): Add tst-langinfo-static.out.
1458 ($(objpfx)tst-langinfo.out): Redirect output.
1459 ($(objpfx)tst-langinfo-static.out): New.
1460 * localedata/tst-langinfo.sh: Send output to stdout.
1461 * localedata/tst-langinfo-static.c: New file.
1464 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
1465 when the shift amount is modulo the limb size.
1467 2014-05-20 Richard Henderson <rth@redhat.com>
1470 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
1471 Change type of sa_flags from unsigned int to int.
1474 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
1476 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
1478 2014-05-20 Will Newton <will.newton@linaro.org>
1480 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1481 Test the return value of the system call in the nocancel case.
1483 2014-05-20 Will Newton <will.newton@linaro.org>
1484 Yvan Roux <yvan.roux@linaro.org>
1486 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
1487 #include of asm/ptrace.h.
1488 (PTRACE_GET_THREAD_AREA): Remove #undef.
1489 (PTRACE_GETHBPREGS): Likewise.
1490 (PTRACE_SETHBPREGS): Likewise.
1491 (struct user_regs_struct): New structure.
1492 (struct user_fpsimd_struct): New structure.
1493 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
1494 #include of asm/ptrace.h and second #include of sys/user.h.
1495 (PTRACE_GET_THREAD_AREA): Remove #undef.
1496 (PTRACE_GETHBPREGS): Likewise.
1497 (PTRACE_SETHBPREGS): Likewise.
1498 (ELF_NGREG): Use new struct user_regs_struct.
1499 (elf_fpregset_t): Use new struct user_fpsimd_struct.
1501 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
1504 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
1506 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
1509 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
1510 membar to avoid block loads/stores to overlap previous stores.
1512 2014-05-17 Richard Henderson <rth@redhat.com>
1514 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
1515 Create the __##syscall_name##_nocancel entry point.
1516 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
1517 Remove; let the sysdep-cancel.h code create it.
1519 2014-05-17 David S. Miller <davem@davemloft.net>
1521 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
1522 Protect with __USE_GNU.
1523 (TIOCSET_TEMPT): Likewise.
1524 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
1525 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
1526 these are already provided in bits/ioctl-types.h
1528 2014-05-16 Roland McGrath <roland@hack.frob.com>
1530 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
1531 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
1533 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
1534 Use wait4 regardless of [__NR_waitpid].
1536 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
1539 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1540 (_FP_NANSIGN_Q): Set the quiet bit.
1542 2014-05-16 Joseph Myers <joseph@codesourcery.com>
1544 * benchtests/Makefile
1545 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
1546 not $(common-objpfx)math/libm.so.
1547 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
1548 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
1549 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
1550 $(common-objpfx)dlfcn/libdl.so.
1551 ($(objpfx)tst-audit8): Depend on $(libm), not
1552 $(common-objpfx)math/libm.so.
1553 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
1554 not $(common-objpfx)dlfcn/libdl.so.
1556 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1557 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
1558 [$(build-shared) = yes].
1559 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
1560 $(common-objpfx)nptl/libpthread.so.
1561 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
1562 $(common-objpfx)math/libm.so$(libm.so-version) or
1563 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
1564 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
1565 $(common-objpfx)dlfcn/libdl.so.
1566 * setjmp/Makefile (link-libm): Remove variable.
1567 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
1568 * stdio-common/Makefile (link-libm): Remove variable.
1569 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
1570 * stdlib/Makefile (link-libm): Remove variable.
1571 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
1572 ($(objpfx)tst-strtod-round): Likewise.
1573 ($(objpfx)tst-tininess): Likewise.
1574 ($(objpfx)tst-strtod-underflow): Likewise.
1575 ($(objpfx)tst-strtod6): Likewise.
1576 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
1577 $(libdl), not $(common-objpfx)nptl/libpthread.so and
1578 $(common-objpfx)dlfcn/libdl.so.
1580 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1582 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
1583 BSD terminal modes definitions.
1585 2014-05-16 Roland McGrath <roland@hack.frob.com>
1587 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
1588 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
1590 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
1591 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
1592 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
1593 Don't do #include_next.
1594 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
1595 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
1596 Don't do #include_next.
1597 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
1598 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
1599 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
1600 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
1602 2014-05-16 Allan McRae <allan@archlinux.org>
1604 * po/sv.po: Update Swedish translation from translation project.
1606 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
1609 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
1612 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
1613 errno if the TIOCGPTN ioctl fails with an error different than
1615 * login/tst-ptsname.c: New file.
1616 * login/Makefile (tests): Add tst-ptsname.
1619 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
1622 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
1625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
1626 herrno to return EAI_AGAIN.
1628 2014-05-14 Roland McGrath <roland@hack.frob.com>
1630 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
1631 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
1632 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
1633 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
1634 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
1635 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
1636 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
1637 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
1638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
1639 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
1640 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
1641 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
1642 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
1643 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
1644 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
1645 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
1646 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
1647 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
1648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
1649 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
1650 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
1651 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
1652 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
1653 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
1654 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
1655 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
1656 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
1657 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
1658 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
1659 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
1660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
1661 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
1662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
1663 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
1664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1666 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
1667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
1668 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
1669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
1670 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
1671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
1672 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
1673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
1674 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
1675 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
1676 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
1677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
1678 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
1679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
1680 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
1681 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
1682 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
1683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
1684 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
1685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
1686 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
1687 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
1688 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
1689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
1690 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
1691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
1692 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
1693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
1695 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
1699 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
1700 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
1701 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
1702 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
1703 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
1704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
1705 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
1709 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
1711 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
1712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
1713 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
1716 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
1718 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
1720 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
1721 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
1722 (libpthread-sysdep_routines): Add elision-related stuff here instead.
1723 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
1724 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
1725 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
1726 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
1727 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
1728 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
1729 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
1730 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
1731 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
1732 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
1733 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
1734 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
1735 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
1736 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
1737 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
1738 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
1739 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
1740 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
1741 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
1742 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
1743 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
1744 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
1745 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
1746 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
1747 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
1748 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
1749 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
1750 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
1752 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
1753 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
1755 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
1756 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
1757 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
1758 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
1759 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
1760 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
1762 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
1763 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
1765 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
1766 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
1768 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
1769 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
1771 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
1772 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
1773 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
1774 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
1776 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
1777 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
1778 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
1779 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
1780 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
1781 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
1782 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
1783 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
1785 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
1786 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1788 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
1790 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
1791 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
1792 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
1793 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
1794 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1796 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
1798 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
1800 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
1801 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
1802 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
1803 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
1804 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
1805 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
1807 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
1808 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
1810 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
1811 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
1813 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
1814 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
1816 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
1817 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
1818 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
1819 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
1821 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
1822 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
1823 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
1824 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
1825 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
1826 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
1827 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
1828 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
1830 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
1831 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1833 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
1835 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
1836 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
1837 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
1838 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
1839 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1841 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
1843 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
1845 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
1846 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
1847 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
1848 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
1849 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
1850 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
1851 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
1852 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
1853 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
1854 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
1856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
1857 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
1859 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
1860 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
1862 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
1863 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
1865 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
1866 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
1867 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
1868 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
1869 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
1870 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
1872 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
1873 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
1874 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
1875 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
1876 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
1877 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
1878 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
1879 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
1881 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
1882 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1884 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
1886 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
1887 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
1888 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
1889 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
1890 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1892 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
1894 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
1896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
1897 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
1898 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
1899 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
1900 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
1901 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
1902 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
1903 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
1904 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
1905 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
1906 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
1908 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
1909 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
1911 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
1912 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
1914 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
1915 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
1916 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
1917 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
1918 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
1919 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
1920 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
1921 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
1922 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
1923 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
1924 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
1925 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
1926 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
1927 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
1928 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
1929 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
1930 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
1931 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
1933 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
1934 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
1935 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
1936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
1938 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
1939 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
1940 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
1941 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
1942 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
1943 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
1944 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
1945 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
1947 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
1948 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
1950 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
1951 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
1952 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
1953 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
1954 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
1955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
1956 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
1957 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
1958 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
1959 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
1960 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
1961 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
1962 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
1963 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
1964 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
1965 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
1966 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
1968 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
1969 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
1970 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
1971 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
1972 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
1974 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
1975 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
1976 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
1977 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
1978 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
1979 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
1980 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
1981 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
1982 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
1983 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
1985 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
1986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
1988 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
1989 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
1990 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
1991 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
1992 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
1993 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
1994 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
1995 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
1996 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
1997 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
1998 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
1999 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2000 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2001 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2002 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2004 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2008 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2010 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2012 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2014 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2016 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2018 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2020 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2022 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2023 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2024 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2025 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2028 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2030 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2032 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2033 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2034 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2035 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
2036 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
2038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2039 that was previously under [RESET_PID].
2040 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2041 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2042 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2044 * sysdeps/i386/nptl/Implies: New file.
2045 * sysdeps/x86_64/nptl/Implies: New file.
2046 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2047 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2048 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2049 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2051 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2052 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2053 (__libc_vfork): New strong alias.
2054 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2055 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2057 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2058 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2059 (__libc_vfork): New strong alias.
2060 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2061 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2063 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2064 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2065 (__libc_vfork): New strong alias.
2066 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2067 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2068 * nptl/pt-vfork.c: New file.
2069 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2070 (libpthread: GLIBC_2.20): New version set (empty).
2072 2014-05-14 Will Newton <will.newton@linaro.org>
2074 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2077 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2080 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2081 arguments with exponent 65 or above.
2082 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2083 arguments 0x1p113L or above.
2084 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2085 to arguments 0x1p107L or above.
2086 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2087 positive arguments with exponent 65 or above.
2088 * math/auto-libm-test-in: Add more tests of log1p.
2089 * math/auto-libm-test-out: Regenerated.
2092 * math/s_cacos.c (__cacos): Ensure zero real part of result from
2093 non-finite arguments is +0.
2094 * math/s_cacosf.c (__cacosf): Likewise.
2095 * math/s_cacosl.c (__cacosl): Likewise.
2096 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2097 * sysdeps/i386/fpu/libm-test-ulps: Update.
2098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2101 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2103 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2104 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2105 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2106 for explicit high bit of mantissa when testing for argument equal
2108 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2109 * sysdeps/i386/fpu/libm-test-ulps: Update.
2110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2113 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2114 (__erf): Scale by 16 instead of 8 in potentially underflowing
2115 case. Ensure exception if result actually underflows.
2116 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2117 (__erff): Scale by 16 instead of 8 in potentially underflowing
2118 case. Ensure exception if result actually underflows.
2119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2120 (efx8): Remove variable.
2121 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2122 case. Ensure exception if result actually underflows.
2123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2124 (efx8): Remove variable.
2125 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2126 case. Ensure exception if result actually underflows.
2127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2128 (efx8): Remove variable.
2129 (__erfl): Scale by 16 instead of 8 in potentially underflowing
2130 case. Ensure exception if result actually underflows.
2131 * math/auto-libm-test-in: Add more tests of erf.
2132 * math/auto-libm-test-out: Regenerated.
2134 2014-05-14 Andreas Schwab <schwab@suse.de>
2136 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2137 Remove code conditionalized on USE___THREAD.
2139 * config.h.in (HAVE_PT_CHOWN): Define as 0.
2140 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2143 2014-05-14 Joseph Myers <joseph@codesourcery.com>
2145 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2146 Define unconditionally.
2147 (__ASSUME_O_CLOEXEC): Likewise.
2148 (__ASSUME_SOCK_CLOEXEC): Likewise.
2149 (__ASSUME_IN_NONBLOCK): Likewise.
2150 (__ASSUME_PIPE2): Likewise.
2151 (__ASSUME_EVENTFD2): Likewise.
2152 (__ASSUME_SIGNALFD4): Likewise.
2153 (__ASSUME_DUP3): Likewise.
2154 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2155 (__ASSUME_DUP3): Do not define.
2156 (__ASSUME_EVENTFD2): Likewise.
2157 (__ASSUME_IN_NONBLOCK): Likewise.
2158 (__ASSUME_O_CLOEXEC): Likewise.
2159 (__ASSUME_PIPE2): Likewise.
2160 (__ASSUME_SIGNALFD4): Likewise.
2161 (__ASSUME_SOCK_CLOEXEC): Likewise.
2162 (__ASSUME_UTIMES): Undefine.
2163 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2164 (__ASSUME_UTIMES): Do not define.
2165 (__ASSUME_O_CLOEXEC): Likewise.
2166 (__ASSUME_SOCK_CLOEXEC): Likewise.
2167 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2168 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2170 (__ASSUME_PIPE2): Likewise.
2171 (__ASSUME_EVENTFD2): Likewise.
2172 (__ASSUME_SIGNALFD4): Likewise.
2173 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2174 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2176 (__ASSUME_EVENTFD2): Likewise.
2177 (__ASSUME_SIGNALFD4): Likewise.
2178 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2179 (__ASSUME_32BITUIDS): Likewise.
2180 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2181 (__ASSUME_IPC64): Likewise.
2182 (__ASSUME_ST_INO_64_BIT): Likewise.
2183 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2184 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2185 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2186 (__ASSUME_UTIMES): Do not define.
2187 (__ASSUME_PSELECT): Likewise.
2188 (__ASSUME_PPOLL): Likewise.
2189 (__ASSUME_O_CLOEXEC): Likewise.
2190 (__ASSUME_SOCK_CLOEXEC): Likewise.
2191 (__ASSUME_IN_NONBLOCK): Likewise.
2192 (__ASSUME_PIPE2): Likewise.
2193 (__ASSUME_EVENTFD2): Likewise.
2194 (__ASSUME_SIGNALFD4): Likewise.
2195 (__ASSUME_DUP3): Likewise.
2196 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2197 (__ASSUME_UTIMES): Likewise.
2198 (__ASSUME_O_CLOEXEC): Likewise.
2199 (__ASSUME_SOCK_CLOEXEC): Likewise.
2200 (__ASSUME_IN_NONBLOCK): Likewise.
2201 (__ASSUME_PIPE2): Likewise.
2202 (__ASSUME_EVENTFD2): Likewise.
2203 (__ASSUME_SIGNALFD4): Likewise.
2204 (__ASSUME_DUP3): Likewise.
2205 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2206 (__ASSUME_UTIMES): Likewise.
2207 (__ASSUME_O_CLOEXEC): Likewise.
2208 (__ASSUME_SOCK_CLOEXEC): Likewise.
2209 (__ASSUME_IN_NONBLOCK): Likewise.
2210 (__ASSUME_PIPE2): Likewise.
2211 (__ASSUME_EVENTFD2): Likewise.
2212 (__ASSUME_SIGNALFD4): Likewise.
2213 (__ASSUME_DUP3): Likewise.
2214 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2216 (__ASSUME_UTIMES): Likewise.
2217 (__ASSUME_EVENTFD2): Likewise.
2218 (__ASSUME_SIGNALFD4): Likewise.
2219 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2220 (__ASSUME_O_CLOEXEC): Likewise.
2221 (__ASSUME_SOCK_CLOEXEC): Likewise.
2222 (__ASSUME_IN_NONBLOCK): Likewise.
2223 (__ASSUME_PIPE2): Likewise.
2224 (__ASSUME_EVENTFD2): Likewise.
2225 (__ASSUME_SIGNALFD4): Likewise.
2226 (__ASSUME_DUP3): Likewise.
2227 (__ASSUME_UTIMES): Undefine.
2229 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2230 feclearexcept. Remove symbol versioning code.
2231 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
2232 symbol versioning code.
2233 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
2234 symbol versioning code.
2235 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2236 feupdateenv. Remove symbol versioning code.
2237 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2238 fegetexceptflag. Remove symbol versioning code.
2239 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2240 fesetexceptflag. Remove symbol versioning code.
2241 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2242 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
2243 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2244 (__posix_fadvise64_l32): Remove prototype.
2245 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2248 2014-05-13 Roland McGrath <roland@hack.frob.com>
2250 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2251 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2252 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2253 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2255 2014-05-13 Sami Kerola <kerolasa@iki.fi>
2257 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2258 current working directory
2260 2014-05-13 Roland McGrath <roland@hack.frob.com>
2262 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2263 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2264 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2265 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2266 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2267 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2268 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2269 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2270 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2271 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2272 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2273 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2274 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2275 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2276 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2277 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2278 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2279 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2280 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2281 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2282 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2283 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2284 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2285 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2286 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2287 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2288 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2289 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2290 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2291 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2292 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2293 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2294 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2295 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2296 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2297 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2298 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2299 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2300 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2301 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2302 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2303 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2305 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2306 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2308 * sysdeps/unix/sysv/linux/arm/Makefile
2309 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2310 Add rt-aeabi_unwind_cpp_pr1.
2311 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2312 Add nptl-aeabi_unwind_cpp_pr1.
2313 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2314 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2315 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2316 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2317 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2318 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2320 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2321 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2322 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2323 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2325 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2326 Deconditionalize the code that was previously under [RESET_PID].
2327 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2329 * sysdeps/generic/exit-thread.h: New file.
2330 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
2331 * include/unistd.h (__exit_thread): Remove declaration.
2332 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
2333 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
2334 * csu/libc-start.c: Include <exit-thread.h>.
2335 (LIBC_START_MAIN): Pass no argument to __exit_thread.
2336 * nptl/pthread_create.c: Include <exit-thread.h>.
2337 (start_thread): Call __exit_thread in place of __exit_thread_inline.
2338 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
2339 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
2340 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
2341 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
2342 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
2343 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
2344 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
2345 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
2346 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
2347 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
2348 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
2349 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
2350 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
2351 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
2352 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
2353 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
2355 2014-05-13 Andreas Schwab <schwab@suse.de>
2357 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
2359 2014-05-12 Joseph Myers <joseph@codesourcery.com>
2361 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
2362 (__ASSUME_UTIMES): Do not condition on kernel version.
2363 (__ASSUME_PSELECT): Define unconditionally.
2364 (__ASSUME_PPOLL): Likewise.
2365 (__ASSUME_ATFCTS): Likewise.
2366 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
2367 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
2368 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
2369 (__ASSUME_UTIMENSAT): Define unconditionally.
2370 (__ASSUME_PRIVATE_FUTEX): Likewise.
2371 (__ASSUME_FALLOCATE): Likewise.
2372 (__ASSUME_O_CLOEXEC): Likewise.
2373 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
2374 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
2375 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
2376 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
2377 (__ASSUME_IN_NONBLOCK): Likewise.
2378 (__ASSUME_PIPE2): Likewise.
2379 (__ASSUME_EVENTFD2): Likewise.
2380 (__ASSUME_SIGNALFD4): Likewise.
2381 (__ASSUME_DUP3): Likewise.
2382 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2383 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
2384 (__ASSUME_AT_RANDOM): Likewise.
2385 (__ASSUME_PREADV): Likewise.
2386 (__ASSUME_PWRITEV): Likewise.
2387 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
2388 (__ASSUME_F_GETOWN_EX): Define unconditionally.
2389 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
2390 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
2391 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
2392 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2393 (__ASSUME_O_CLOEXEC): Define unconditionally.
2394 (__ASSUME_PSELECT): Do not undefine conditionally.
2395 (__ASSUME_PPOLL): Likewise.
2396 (__ASSUME_ATFCTS): Likewise.
2397 (__ASSUME_SET_ROBUST_LIST): Likewise.
2398 (__ASSUME_UTIMENSAT): Likewise.
2399 (__ASSUME_FDATASYNC): Define unconditionally.
2400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2401 (__ASSUME_SIGFRAME_V2): Likewise.
2402 )__ASSUME_EVENTFD2): Likewise.
2403 (__ASSUME_SIGNALFD4): Likewise.
2404 (__ASSUME_PSELECT): Do not undefine conditionally.
2405 (__ASSUME_PPOLL): Likewise.
2406 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2407 (__ASSUME_PSELECT): Define unconditionally.
2408 (__ASSUME_PPOLL): Likewise.
2409 (__ASSUME_O_CLOEXEC): Likewise.
2410 (__ASSUME_SOCK_CLOEXEC): Likewise.
2411 (__ASSUME_IN_NONBLOCK): Likewise.
2412 (__ASSUME_PIPE2): Likewise.
2413 (__ASSUME_EVENTFD2): Likewise.
2414 (__ASSUME_SIGNALFD4): Likewise.
2415 (__ASSUME_DUP3): Likewise.
2416 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2417 (__ASSUME_O_CLOEXEC): Likewise.
2418 (__ASSUME_SOCK_CLOEXEC): Likewise.
2419 (__ASSUME_IN_NONBLOCK): Likewise.
2420 (__ASSUME_PIPE2): Likewise.
2421 (__ASSUME_EVENTFD2): Likewise.
2422 (__ASSUME_SIGNALFD4): Likewise.
2423 (__ASSUME_DUP3): Likewise.
2424 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2425 (__ASSUME_EVENTFD2): Likewise.
2426 (__ASSUME_SIGNALFD4): Likewise.
2427 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2429 2014-05-12 Andreas Schwab <schwab@suse.de>
2432 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
2433 (_nss_nis_gethostbyname4_r): Return error if item length is larger
2434 than maximum RPC packet size.
2435 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
2436 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
2437 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
2438 (_nss_nis_getservbyport_r): Likewise.
2440 2014-05-12 Will Newton <will.newton@linaro.org>
2442 * malloc/Makefile (tests): Add tst-mallopt.
2443 * malloc/tst-mallopt.c: New file.
2445 2014-05-09 Roland McGrath <roland@hack.frob.com>
2447 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
2448 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
2450 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2452 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
2453 (tst-tlsmod6.so): Likewise.
2455 2014-05-09 Roland McGrath <roland@hack.frob.com>
2457 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
2459 2014-05-09 Joseph Myers <joseph@codesourcery.com>
2462 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
2463 and <dl-procinfo.h>.
2464 (__fegetenv): Save SSE state in envp->__eip if supported.
2465 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
2466 envp->__eip if supported.
2467 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
2468 and <dl-procinfo.h>.
2469 (__fesetenv): Always set __eip, __cs_selector, __opcode,
2470 __data_offset and __data_selector in environment to 0. Set SSE
2472 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2474 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
2476 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
2478 2014-05-09 Will Newton <will.newton@linaro.org>
2480 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
2481 and libc_relro_required for ARM.
2482 * sysdeps/arm/preconfigure: Regenerate.
2484 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
2485 Stefan Liebler <stli@linux.vnet.ibm.com>
2487 * config.make.in (enable-lock-elision): New Makefile variable.
2488 * configure.ac: Likewise.
2489 * configure: Regenerate.
2490 * sysdeps/s390/configure.ac:
2491 Add check for gcc transactions support.
2492 * sysdeps/s390/configure: Regenerate.
2493 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
2494 Build elision files if enabled.
2495 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
2496 Add lock elision support for s390.
2497 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
2498 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
2499 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
2500 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2501 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2502 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
2503 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
2505 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
2507 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
2509 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
2511 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
2512 (__lll_timedlock_elision, __lll_lock_elision)
2513 (__lll_unlock_elision, __lll_trylock_elision)
2514 (lll_timedlock_elision, lll_lock_elision)
2515 (lll_unlock_elision, lll_trylock_elision): Add.
2516 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2517 (pthread_mutex_t): Add lock elision support for s390.
2519 2014-05-14 Wilco <wdijkstr@arm.com>
2521 * sysdeps/arm/fclrexcpt.c: Cleanup.
2522 * sysdeps/arm/fedisblxcpt.c: Cleanup.
2523 * sysdeps/arm/feenablxcpt.c: Cleanup.
2524 * sysdeps/arm/fegetenv.c: Cleanup.
2525 * sysdeps/arm/fegetexcept.c: Cleanup.
2526 * sysdeps/arm/fegetround.c: Cleanup.
2527 * sysdeps/arm/feholdexcpt.c: Cleanup.
2528 * sysdeps/arm/fesetenv.c: Cleanup.
2529 * sysdeps/arm/fesetround.c: Cleanup.
2530 * sysdeps/arm/feupdateenv.c: Cleanup.
2531 * sysdeps/arm/fgetexcptflg.c: Cleanup.
2532 * sysdeps/arm/fraiseexcpt.c: Cleanup.
2533 * sysdeps/arm/fsetexcptflg.c: Cleanup.
2534 * sysdeps/arm/ftestexcept.c: Cleanup.
2535 * sysdeps/arm/get-rounding-mode.h: Cleanup.
2536 * sysdeps/arm/setfpucw.c: Cleanup.
2538 2014-05-09 Will Newton <will.newton@linaro.org>
2540 * sysdeps/arm/armv7/strcmp.S: New file.
2541 * NEWS: Mention addition of ARMv7 optimized strcmp.
2543 2014-05-08 Roland McGrath <roland@hack.frob.com>
2545 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
2546 look for %.ac rather than %.in.
2548 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
2549 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
2550 * sysdeps/mach/hurd/configure: Regenerated.
2551 * sysdeps/unix/sysv/linux/configure: Regenerated.
2553 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
2555 2014-05-07 Steve Ellcey <sellcey@mips.com>
2558 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
2562 2014-05-07 Andreas Schwab <schwab@suse.de>
2564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
2565 when skipping over non-matching result from nscd.
2567 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
2570 * nptl/sockperf.c (client): Check socket return value.
2573 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
2574 nscd security class.
2576 2014-05-06 Roland McGrath <roland@hack.frob.com>
2578 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
2579 * sysdeps/arm/unwind.h: ... here.
2581 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
2584 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
2587 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
2589 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
2590 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
2591 multiarch strncpy for PPC64.
2592 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
2593 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
2594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
2595 multiarch optimizations.
2596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2597 (__libc_ifunc_impl_list): Likewise.
2598 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
2599 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
2600 multiarch stpncpy for PPC64.
2601 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
2602 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
2604 2014-05-06 Andreas Schwab <schwab@suse.de>
2607 * gmon/mcount.c (_MCOUNT_DECL): Use
2608 atomic_compare_and_exchange_bool_acq instead of
2609 catomic_compare_and_exchange_bool_acq.
2611 2014-05-05 Roland McGrath <roland@hack.frob.com>
2613 * elf/Makefile (others, install-bin): Remove pldd.
2614 (pldd-modules): Variable removed.
2615 ($(objpfx)pldd): Target removed.
2616 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
2617 (others, install-bin): Append pldd here.
2618 ($(objpfx)pldd): New target.
2620 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
2621 to 0, so the first #if test emitted later doesn't see it undefined.
2622 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
2623 * sysdeps/gnu/errlist.c: Regenerated.
2625 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2627 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2628 [libc_hidden_builtin_def]: Define to empty value.
2629 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
2630 [libc_hidden_builtin_def]: Likewise.
2631 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
2632 [libc_hidden_builtin_def]: Likewise.
2633 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
2634 [libc_hidden_builtin_def]: Likewise.
2635 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
2636 __redirect_memcpy and define ifunc as default hidden symbol.
2637 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
2638 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
2640 2014-05-04 Adam Conrad <adconrad@0c3.net>
2642 * locale/iso-4217.def: Reintroduce XDR currency.
2644 2014-05-04 Allan McRae <allan@archlinux.org>
2646 * po/eo.po: Update Esperanto translation from translation project.
2648 2014-05-02 Carlos O'Donell <carlos@redhat.com>
2650 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
2651 and FEATURE_INDEX_MAX to 1.
2652 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
2654 2014-05-01 Steve Ellcey <sellcey@mips.com>
2656 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
2657 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
2658 * iconvdata/big5.c (ONE_DIRECTION): Define.
2659 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
2660 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
2661 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
2662 * iconvdata/cp932.c (ONE_DIRECTION): Define.
2663 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
2664 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
2665 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
2666 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
2667 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
2668 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
2669 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
2670 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
2671 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
2672 * iconvdata/gbk.c (ONE_DIRECTION): Define.
2673 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
2674 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
2675 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
2676 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
2677 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
2678 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
2679 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
2680 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
2681 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
2682 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
2683 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
2684 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
2685 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
2686 * iconvdata/iso646.c (ONE_DIRECTION): Define.
2687 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
2688 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
2689 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
2690 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
2691 * iconvdata/johab.c (ONE_DIRECTION): Define.
2692 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
2693 * iconvdata/sjis.c (ONE_DIRECTION): Define.
2694 * iconvdata/t.61.c (ONE_DIRECTION): Define.
2695 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
2696 * iconvdata/tscii.c (ONE_DIRECTION): Define.
2697 * iconvdata/uhc.c (ONE_DIRECTION): Define.
2698 * iconvdata/unicode.c (ONE_DIRECTION): Define.
2699 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
2700 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
2701 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
2703 2014-05-01 Roland McGrath <roland@hack.frob.com>
2705 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
2706 (_IO_JUMPS_OFFSET): Define to 0.
2708 * nptl/sysdeps/pthread/bits/libc-lock.h
2709 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2710 (__libc_lock_define_initialized_recursive): Always define using
2711 initializer. Modern compilers treat uninitialized (implicit zero) and
2712 explicit zero initializers the same (i.e. put the datum in bss).
2714 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2716 * nscd/nscd-client.h: Include <string.h>.
2718 2014-05-01 David S. Miller <davem@davemloft.net>
2721 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
2722 multiple zero bytes exist at the end of a string.
2723 Reported by Aurelien Jarno <aurelien@aurel32.net>
2725 * string/test-strcmp.c (check): Add explicit test for situations where
2726 there are multiple zero bytes after the first.
2728 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
2731 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
2732 when compiling wprintf.
2733 * stdio-common/tstdiomisc.c (t3): New function.
2736 2014-05-01 Steve Ellcey <sellcey@mips.com>
2738 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
2739 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
2740 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
2741 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
2743 2014-05-01 Steve Ellcey <sellcey@mips.com>
2745 * stdlib/longlong.h: Updated from GCC.
2747 2014-05-01 Will Newton <will.newton@linaro.org>
2748 Bernard Ogden <bernie.ogden@linaro.org>
2750 * NEWS: Update fixed bug list.
2753 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
2755 2014-04-30 David S. Miller <davem@davemloft.net>
2757 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
2758 (libc_feholdexcept_setround_sparc_ctx): New function.
2759 (libc_fesetenv_sparc_ctx): Likewise.
2760 (libc_feupdateenv_sparc_ctx): Likewise.
2761 (libc_feholdsetround_sparc_ctx): Likewise.
2762 (libc_feholdexcept_setround_ctx): Define.
2763 (libc_feholdexcept_setroundf_ctx): Likewise.
2764 (libc_feholdexcept_setroundl_ctx): Likewise.
2765 (libc_fesetenv_ctx): Likewise.
2766 (libc_fesetenvf_ctx): Likewise.
2767 (libc_fesetenvl_ctx): Likewise.
2768 (libc_feupdateenv_ctx): Likewise.
2769 (libc_feupdateenvf_ctx): Likewise.
2770 (libc_feupdateenvl_ctx): Likewise.
2771 (libc_feresetround_ctx): Likewise.
2772 (libc_feresetroundf_ctx): Likewise.
2773 (libc_feresetroundl_ctx): Likewise.
2774 (libc_feholdsetround_ctx): Likewise.
2775 (libc_feholdsetroundf_ctx): Likewise.
2776 (libc_feholdsetroundl_ctx): Likewise.
2778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2779 with __USE_GNU instead of XOPEN cpp guards.
2781 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
2784 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
2785 with XOPEN cpp guards.
2787 2014-04-30 Julian Brown <julian@codesourcery.com>
2790 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
2793 2014-04-30 Joseph Myers <joseph@codesourcery.com>
2796 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
2798 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
2799 * sysdeps/unix/sysv/linux/configure: Regenerated.
2800 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
2801 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
2802 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
2803 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
2804 * README: Update reference to required Linux kernel version.
2805 * manual/install.texi (Linux): Update reference to required Linux
2806 kernel headers version.
2807 * INSTALL: Regenerated.
2809 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
2811 [POSIX] (limits.h): Likewise.
2812 [POSIX] (math.h): Likewise.
2813 [POSIX] (sys/wait.h): Likewise.
2814 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
2816 [POSIX] (stddef.h): Do not allow header inclusion.
2818 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2820 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
2822 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
2824 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
2825 Return immediately after lll_futex_wake.
2827 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2830 * nscd/nscd-client.h (datahead_init_common): Initialize entire
2832 (datahead_init_pos): Call datahead_init_common early.
2833 (datahead_init_neg): Likewise.
2835 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
2836 datahead_init_neg): New functions.
2837 * nscd/aicache.c (addhstaiX): Use them.
2838 * nscd/grpcache.c (cache_addgr): Likewise.
2839 * nscd/hstcache.c (cache_addhst): Likewise.
2840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2841 * nscd/netgroupcache.c (do_notfound): Likewise.
2842 (addgetnetgrentX): Likewise.
2843 (addinnetgrX): Likewise.
2844 * nscd/pwdcache.c (cache_addpw): Likewise.
2845 * nscd/servicescache.c (cache_addserv): Likewise.
2847 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2848 Atsushi Onoe <atsushi@onoe.org>
2853 * resolv/res_query.c (__libc_res_nsearch): Return if at least
2854 one response is valid.
2855 * resolv/res_send.c (send_dg): Check for validity of other
2856 response if the current response is a referral.
2858 2014-04-29 Steve Ellcey <sellcey@mips.com>
2860 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
2862 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
2865 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
2866 Always divide by positive zero when computing -Inf result.
2867 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2868 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
2870 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2872 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
2873 FPSCR if value do not change.
2874 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
2875 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
2876 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2877 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2878 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
2879 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
2882 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
2884 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
2885 * sysdeps/unix/sysv/linux/hppa: Move directory from
2886 ports/systeps/unix/sysv/linux/hppa.
2887 * README: Update listing for hppa-*-linux-gnu.
2889 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
2892 * manual/stdio.texi (Hook functions): Fix types of stream hook
2895 * socket/sys/socket.h: Fix typo in comment.
2897 2014-04-28 Wilco <wdijkstr@arm.com>
2899 * sysdeps/arm/fenv_private.h: New file.
2900 * sysdeps/arm/math_private.h: New file.
2901 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
2903 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
2905 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
2907 (La_x86_64_retval): Likewise.
2909 2014-04-24 Ian Bolton <ian.bolton@arm.com>
2911 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
2912 fpsr if value didn't change.
2913 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
2914 to fpcr if value didn't change.
2915 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
2916 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
2917 fpsr or fpcr if value didn't change.
2918 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2919 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
2920 fpcr if value didn't change.
2921 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
2922 to fpsr if value didn't change.
2924 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2926 * nptl/tst-sem3.c: Use test-skeleton.c
2927 (main): Rename to do_test. Use return instead of
2929 * nptl/tst-sem4.c: Use test-skeleton.c
2930 (main): Rename to do_test.
2932 2014-04-22 David S. Miller <davem@davemloft.net>
2934 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
2935 (struct sigaction): New struct member __glibc_reserved0, change
2936 type of sa_flags to int.
2938 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
2940 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
2941 (COUNT_LEADING_ZEROS_0): Define for AArch64.
2943 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2945 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
2946 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
2948 2014-04-22 Will Newton <will.newton@linaro.org>
2949 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
2951 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
2952 (__longjmp): Add longjmp and longjmp_target SystemTap
2954 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
2955 (__sigsetjmp): Add setjmp SystemTap probe.
2957 2014-04-17 Carlos O'Donell <carlos@redhat.com>
2959 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
2962 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2964 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
2966 * sysdeps/powerpc/fpu/fenv_private.h
2967 (libc_feholdexcept_setroundl_ctx): Define to
2968 libc_feholdexcept_setround_ppc_ctx.
2969 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
2970 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
2971 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
2972 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
2974 2014-04-17 Ian Bolton <ian.bolton@arm.com>
2976 * sysdeps/aarch64/math-tests.h: New file.
2978 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
2980 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
2982 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2983 Check and set bit_AVX2_Usable.
2984 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
2986 (bit_AVX2): Likewise.
2987 (index_AVX2_Usable): Likewise.
2988 (CPUID_AVX2): Likewise.
2989 (HAS_AVX2): Likewise.
2991 2014-04-17 Will Newton <will.newton@linaro.org>
2993 * manual/setjmp.texi (System V contexts): Add note that
2994 calling setcontext on a context created by a call to a
2995 signal handler is undefined. Update text to note that
2996 setcontext from a signal handler is possible but not
3000 * stdlib/tst-setcontext.c: Include signal.h.
3001 (main): Check that the signal stack before and
3002 after swapcontext is the same.
3004 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3005 Re-implement to restore registers in user code and avoid
3006 rt_sigreturn system call.
3008 2014-04-17 Wilco <wdijkstr@arm.com>
3010 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3011 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3012 * math/test-fenv.c: Skip exception trap tests on targets which only
3013 support non-stop mode.
3015 2014-04-17 Ian Bolton <ian.bolton@arm.com>
3016 Wilco Dijkstra <wilco.dijkstra@arm.com>
3018 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3019 (libc_feholdsetround_aarch64_ctx)
3020 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3021 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3022 (libc_feresetround_ctx, libc_feresetroundf_ctx)
3023 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3024 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3025 (libc_feresetround_noexl_ctx): Define.
3027 2014-04-16 Richard Henderson <rth@redhat.com>
3029 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3031 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3034 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3035 const from the non-libc, non-ldso copy.
3037 * sysdeps/alpha/libm-test-ulps: Regenerate.
3039 2014-04-16 Ian Bolton <ian.bolton@arm.com>
3040 Wilco Dijkstra <wilco.dijkstra@arm.com>
3042 * sysdeps/aarch64/fpu/math_private.h: New file.
3044 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
3046 * sysdeps/aarch64/libm-test-ulps: Regenerate.
3048 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
3050 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3051 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3052 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3053 Intel MPX bound registers before _dl_profile_fixup.
3054 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3055 registers after _dl_profile_fixup. Save and restore bound
3056 registers bnd0/bnd1 when calling _dl_call_pltexit.
3057 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3058 (LR_BND_OFFSET): Likewise.
3059 (LRV_BND0_OFFSET): Likewise.
3060 (LRV_BND1_OFFSET): Likewise.
3062 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3064 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3066 * sysdeps/mach/hurd/i386/tls.h: ... here.
3067 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3068 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3071 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
3073 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3075 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3077 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3079 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
3082 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3083 * sysdeps/s390/configure: Regenerate.
3086 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3087 Set round-to-nearest internally to reduce error accumulation.
3089 2014-04-16 Alan Modra <amodra@gmail.com>
3093 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3094 * math/libm-test.inc (frexp_test_data): Add tests.
3095 * NEWS: Update fixed bug list.
3097 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3099 * benchtests/Makefile: Depend on libraries in build directory.
3100 (bench-math): Separate out math tests.
3101 (bench-pthread): Separate out pthread tests.
3102 (bench): Include math and pthread tests.
3104 2014-04-14 Carlos O'Donell <carlos@redhat.com>
3107 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3108 _dl_debug_initialize.
3110 * configure.ac: Remove SELinux header check.
3111 * configure: Regenerate.
3112 * nscd/selinux.c (perms): Array of const char* to permission names.
3113 (nscd_request_avc_has_perm): Call security_deny_unknown to find
3114 default policy. Call string_to_security_class and string_to_av_perm to
3115 translate strings. Enforce default policy and call avs_has_perm with
3116 results of translated strings.
3118 2014-04-13 David S. Miller <davem@davemloft.net>
3120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3122 2014-04-12 Allan McRae <allan@archlinux.org>
3125 * manual/string.texi (Collation Functions): Fix qsort argument
3127 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3129 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
3131 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3132 Make the test a no-op if there are no exceptions defined.
3134 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3136 * elf/Makefile (tests): make tst-dlopen-aout conditional on
3137 enable-hardcoded-path-in-tests
3139 2014-04-11 Will Newton <will.newton@linaro.org>
3141 * benchtests/Makefile (extra-objs): Add json-lib.o.
3142 (bench-func): Tidy up JSON output.
3143 * benchtests/bench-skeleton.c: Include json-lib.h.
3144 (main): Use JSON library functions to do output of
3146 * benchtests/bench-timing-type.c (main): Output the
3147 timing type simply, leaving formatting to the user.
3148 * benchtests/json-lib.c: New file.
3149 * benchtests/json-lib.h: Likewise.
3151 2014-04-11 Torvald Riegel <triegel@redhat.com>
3154 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3155 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
3156 memory barriers. Add comments.
3157 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3158 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3159 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3160 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3161 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3162 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3164 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3166 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3167 * sysdeps/s390/s390-64/configure.ac: ... this ...
3168 * sysdeps/s390/configure.ac: ... to here.
3169 * sysdeps/s390/s390-32/configure: Delete file.
3170 * sysdeps/s390/s390-64/configure: Delete file.
3171 * sysdeps/s390/configure: Regenerate.
3173 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
3175 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3177 2014-04-11 Will Newton <will.newton@linaro.org>
3179 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3180 to zero if it is not defined elsewhere. (mtrim): Test
3181 the value of MALLOC_DEBUG with #if rather than #ifdef.
3183 2014-04-10 Torvald Riegel <triegel@redhat.com>
3185 * benchtests/pthread_once-inputs: New file.
3186 * benchtests/pthread_once-source.c: New file.
3187 * benchtests/README: Update documentation.
3189 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
3190 H.J. Lu <hongjiu.lu@intel.com>
3192 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3193 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3194 * sysdeps/x86_64/configure: Regenerated.
3195 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3197 (REGISTER_SAVE_RAX): Likewise.
3198 (REGISTER_SAVE_RCX): Likewise.
3199 (REGISTER_SAVE_RDX): Likewise.
3200 (REGISTER_SAVE_RSI): Likewise.
3201 (REGISTER_SAVE_RDI): Likewise.
3202 (REGISTER_SAVE_R8): Likewise.
3203 (REGISTER_SAVE_R9): Likewise.
3204 (REGISTER_SAVE_BND0): Likewise.
3205 (REGISTER_SAVE_BND1): Likewise.
3206 (REGISTER_SAVE_BND2): Likewise.
3207 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
3208 bound registers when calling _dl_fixup.
3210 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3212 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3213 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3215 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3216 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3217 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3218 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3219 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3220 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3221 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3223 2014-04-09 Peter Brett <peter@peter-b.co.uk>
3226 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3227 pathconf(_PC_NAME_MAX).
3229 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3231 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3233 (__PTHREAD_SPINS): Move definition to ...
3234 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3235 (__PTHREAD_SPINS): ... here.
3236 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3237 (__PTHREAD_SPIN): Likewise.
3238 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3239 (__PTHREAD_SPIN): Likewise.
3240 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3241 (__PTHREAD_SPIN): Likewise.
3242 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3243 (__PTHREAD_SPIN): Likewise.
3244 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3245 (__PTHREAD_SPIN): Likewise.
3246 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3247 (__PTHREAD_SPIN): Likewise.
3248 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3249 (__PTHREAD_SPIN): Likewise.
3250 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3251 (__PTHREAD_SPIN): Likewise.
3252 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3253 (__PTHREAD_SPIN): Likewise.
3254 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3255 (__PTHREAD_SPIN): Likewise.
3256 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3257 (__PTHREAD_SPIN): Likewise.
3258 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3259 (__PTHREAD_SPIN): Likewise.
3261 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3262 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3263 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3264 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3266 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3267 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3268 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3269 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3271 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3272 strlen symbol for non multi-arch builds.
3273 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3274 missing hidden_def and weak_alias.
3276 2014-04-08 Carlos O'Donell <carlos@redhat.com>
3278 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3280 2014-04-07 Will Newton <will.newton@linaro.org>
3282 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3283 and contents. [!_LIBC] Remove #ifndef and contents.
3284 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
3285 * string/memccpy.c (__memccpy): Use ANSI prototype.
3286 * string/memfrob.c (memfrob): Likewise.
3287 * string/strcoll.c (STRCOLL): Likewise.
3288 * string/strlen.c (strlen): Likewise.
3289 * string/strtok.c (STRTOK): Likewise.
3290 * string/strcat.c: Remove unused #include of memcopy.h.
3291 (strcat): Use ANSI prototype.
3292 * string/strchr.c: Remove unused #include of memcopy.h.
3293 (strchr): Use ANSI prototype.
3294 * string/strcmp.c: Remove unused #include of memcopy.h.
3295 (strcmp): Use ANSI prototype.
3296 * string/strcpy.c: Remove unused #include of memcopy.h.
3297 (strcpy): Use ANSI prototype.
3299 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3301 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3302 * config.make.in (config-extra-cppflags): Set it from
3303 libc_extra_cppflags.
3304 * configure.ac (libc_extra_cflags): Make it accumulate over
3305 configure fragments.
3306 (libc_extra_cppflags): New flag.
3307 * configure. Regenerate.
3308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3309 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3310 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3314 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3315 result for FE_DOWNWARD rounding mode.
3316 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3320 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
3322 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3323 in function argument name.
3325 2014-04-03 David Svoboda <svoboda@cert.org>
3328 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3331 2014-04-03 Roland McGrath <roland@hack.frob.com>
3333 * elf/dl-unmap-segments.h: New file.
3334 * sysdeps/generic/ldsodefs.h
3335 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
3336 * elf/dl-close.c: Include <dl-unmap-segments.h>.
3337 * elf/dl-fptr.c: Likewise.
3338 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
3339 * sysdeps/aarch64/tlsdesc.c: Likewise.
3340 * sysdeps/arm/tlsdesc.c: Likewise.
3341 * sysdeps/i386/tlsdesc.c: Likewise.
3342 * sysdeps/tile/dl-runtime.c: Likewise.
3343 * sysdeps/x86_64/tlsdesc.c: Likewise.
3344 * elf/dl-load.h: New file.
3345 * elf/dl-load.c: Include it.
3346 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
3347 Macros moved to dl-load.h.
3348 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
3349 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
3350 Use _dl_unmap_segments in place of __munmap.
3351 Break out segment-mapping loop into ...
3352 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
3354 2014-04-03 Will Newton <will.newton@linaro.org>
3356 * elf/dl-lookup.c (do_lookup_x): Remove comment
3357 referring to nested function and move variable
3358 declarations down to before first use.
3360 2014-04-02 Joseph Myers <joseph@codesourcery.com>
3364 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
3366 * math/s_catanf.c (__catanf): Likewise.
3367 * math/s_catanh.c (__catanh): Likewise.
3368 * math/s_catanhf.c (__catanhf): Likewise.
3369 * math/s_catanhl.c (__catanhl): Likewise.
3370 * math/s_catanl.c (__catanl): Likewise.
3371 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
3372 by positive zero when computing -Inf result.
3373 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
3374 (catanh_test): Likewise.
3375 * sysdeps/i386/fpu/libm-test-ulps: Update.
3376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3379 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
3380 instead of using underflowing value in computing result.
3381 * math/s_clog10.c (__clog10): Likewise.
3382 * math/s_clog10f.c (__clog10f): Likewise.
3383 * math/s_clog10l.c (__clog10l): Likewise.
3384 * math/s_clogf.c (__clogf): Likewise.
3385 * math/s_clogl.c (__clogl): Likewise.
3386 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
3387 (clog10_test): Likewise.
3388 * sysdeps/i386/fpu/libm-test-ulps: Update.
3389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3391 2014-04-02 Alan Modra <amodra@gmail.com>
3394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
3395 output when value is near a power of two. Use int64_t for lx and
3396 remove casts. Use decimal rather than hex exponent constants.
3397 Don't use long double multiplication when double will suffice.
3398 * math/libm-test.inc (nextafter_test_data): Add tests.
3399 * NEWS: Add 16739 and 16786 to bug list.
3401 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
3403 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
3405 2014-04-01 Will Newton <will.newton@linaro.org>
3407 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
3408 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
3410 2014-04-01 Florian Weimer <fweimer@redhat.com>
3413 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
3414 * nptl/tst-setuid2.c: New file.
3415 * nptl/Makefile (xtests): Add tst-setuid2.
3417 2014-04-01 Alan Modra <amodra@gmail.com>
3420 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
3422 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3426 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
3427 set errno as appropriate.
3428 * math/w_scalbf.c (__scalbf): Likewise.
3429 * math/w_scalbl.c (__scalbl): Likewise.
3430 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
3431 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
3432 * math/libm-test.inc (scalb_test_data): Add errno expectations.
3436 * math/w_atan2.c: Include <errno.h>.
3437 (__atan2): Set errno for result underflowing to zero.
3438 * math/w_atan2f.c: Include <errno.h>.
3439 (__atan2f): Set errno for result underflowing to zero.
3440 * math/w_atan2l.c: Include <errno.h>.
3441 (__atan2l): Set errno for result underflowing to zero.
3442 * math/auto-libm-test-in: Don't allow missing errno for some atan2
3444 * math/auto-libm-test-out: Regenerated.
3446 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3448 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3449 Encode instruction correctly in little endian.
3450 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3452 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3454 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3456 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3459 2014-03-31 Joseph Myers <joseph@codesourcery.com>
3462 * sysdeps/unix/sysv/linux/kernel-features.h
3463 [__sparc__ && !__arch64__ && !__sparc_v9__]
3464 (__ASSUME_SET_ROBUST_LIST): Do not define.
3465 [__sparc__ && !__arch64__ && !__sparc_v9__]
3466 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3467 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
3469 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3470 (__ASSUME_FUTEX_LOCK_PI): Undefine.
3471 (__ASSUME_REQUEUE_PI): Likewise.
3472 (__ASSUME_SET_ROBUST_LIST): Likewise.
3473 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3474 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
3476 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3477 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
3479 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
3481 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
3483 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3484 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
3486 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
3487 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
3491 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3492 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
3493 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
3495 2014-03-31 Will Newton <will.newton@linaro.org>
3497 * benchtests/Makefile (bench): Add ffs and ffsll to list
3499 * benchtests/ffs-inputs: New file.
3500 * benchtests/ffsll-inputs: Likewise.
3502 2014-03-29 Joseph Myers <joseph@codesourcery.com>
3505 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
3506 too large before casting to int.
3507 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
3508 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
3509 * math/libm-test.inc (scalb_test_data): Add more tests.
3511 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3513 * benchtests/Makefile (DETAILED_OPT): New make option.
3514 (bench-func): Run benchmark program with -d if DETAILED_OPT is
3516 * benchtests/bench-skeleton.c: Include stdbool.h.
3517 (main): Store and print timings per input.
3518 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
3519 member to each argument value.
3520 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
3521 (_print_arg_data): Initialize per-input timing to 0.
3523 * benchtests/Makefile (timing-type): New binary.
3524 (bench-clean): Also remove bench-timing-type.
3525 (bench): New target for timing-type.
3526 (bench-func): Print output in JSON format.
3527 * benchtests/bench-skeleton.c (main): Print output in JSON
3529 * benchtests/bench-timing-type.c: New file.
3530 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
3531 (TIMING_PRINT_STATS): Remove.
3532 * benchtests/scripts/bench.py (_print_arg_data): Store variant
3535 * benchtests/bench-modf.c: Remove.
3536 * benchtests/modf-inputs: New inputs file.
3538 2014-03-28 Joseph Myers <joseph@codesourcery.com>
3541 * math/s_clog10.c (M_PI_LOG10E): New macro.
3542 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
3543 imaginary parts are 0.
3544 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
3545 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
3546 imaginary parts are 0.
3547 * math/s_clog10l.c (M_PI_LOG10El): New macro.
3548 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
3549 imaginary parts are 0.
3550 * math/libm-test.inc (clog10_test_data): Update expected results
3551 for when real and imaginary parts are 0.
3553 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
3555 * elf/dl-load.c: Finish conversion of __builtin_expect into
3558 2014-03-27 Joseph Myers <joseph@codesourcery.com>
3561 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
3562 1+x for argument with exponent below -67.
3563 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
3565 * math/auto-libm-test-in: Add more tests of exp.
3566 * math/auto-libm-test-out: Regenerated.
3568 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3571 * inet/getnetgrent_r.c (get_nonempty_val): New function.
3572 (nscd_getnetgrent): Use it.
3575 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
3578 2014-03-27 Andi Kleen <ak@linux.intel.com>
3580 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
3581 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3582 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3583 (lll_robust_unlock): Remove out of line section. Use cfi
3585 (LLL_STUB_UNWIND_INFO*): Remove.
3586 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
3587 (lll_robust_lock, lll_cond_lock, lll_timedlock)
3588 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
3589 (lll_robust_unlock): Remove out of line section. Use cfi
3591 (LLL_STUB_UNWIND_INFO*): Remove.
3593 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3596 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
3599 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
3601 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
3603 2014-03-26 Joseph Myers <joseph@codesourcery.com>
3606 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
3608 * math/test-fenv-preserve.c: New file.
3609 * math/Makefile (tests): Add test-fenv-preserve.
3611 2014-03-26 Will Newton <will.newton@linaro.org>
3613 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
3615 2014-03-25 Roland McGrath <roland@hack.frob.com>
3617 * scripts/versionlist.awk: Partition the version sets and emit all
3618 GLIBC_* (sorted) before all others (sorted).
3620 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3622 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
3623 GLIBC_2.2.5 version.
3625 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3627 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
3630 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
3633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3635 2014-03-25 Andreas Schwab <schwab@suse.de>
3637 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
3638 label to be used after in6ailist is initialized.
3640 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3642 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3643 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3645 2014-03-25 Joseph Myers <joseph@codesourcery.com>
3649 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
3651 (fp_formats): Update initializers.
3652 (init_fp_formats): Initialize new field.
3653 (output_for_one_input_case): Allow underflow for results up to
3655 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
3656 * math/auto-libm-test-in: Don't mark some underflows from asin and
3658 * math/auto-libm-test-out: Regenerated.
3659 * sysdeps/i386/fpu/libm-test-ulps: Update.
3660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3662 2014-03-25 Andreas Schwab <schwab@suse.de>
3664 * libio/Makefile (tst-ftell-partial-wide-ENV)
3665 (tst-ftell-active-handler-ENV): Define.
3667 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
3669 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
3671 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3673 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
3675 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3677 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
3678 * sysdeps/x86_64/fpu/multiarch/e_exp.c
3679 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
3681 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
3684 * elf/dl-load.c (open_verify): Add mode parameter.
3685 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
3686 (open_path): Change from boolean 'secure' to complete flag 'mode'
3687 (_dl_map_object): Adjust.
3688 * elf/Makefile (tests): Add tst-dlopen-aout.
3689 * elf/tst-dlopen-aout.c: New test.
3691 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3694 * sysdeps/unix/sysv/linux/s390/bits/stat.h
3695 (struct stat): Rename member pad0 to __glibc_reserved0.
3698 * sysdeps/s390/s390-32/bits/wordsize.h
3699 (__WORDSIZE32_SIZE_ULONG): New define.
3700 * sysdeps/s390/s390-64/bits/wordsize.h
3701 (__WORDSIZE32_SIZE_ULONG): Likewise.
3702 * sysdeps/generic/stdint.h (SIZE_MAX):
3703 Define as UL if __WORDSIZE32_SIZE_ULONG.
3706 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
3707 (__glibc_reserved0): New variable.
3708 (sa_flags): Change type to int.
3710 * posix/Makefile (before-compile): Use += before-compile instead
3713 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3714 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
3716 2014-03-20 Andreas Schwab <schwab@suse.de>
3719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
3720 non-matching result from nscd.
3722 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3724 * scripts/bench.py: Moved to ...
3725 * benchtests/scripts/bench.py: ... here.
3726 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
3728 2014-03-24 Andreas Schwab <schwab@suse.de>
3731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
3732 alloca_account and account alloca use for struct in6ailist.
3734 2014-03-24 Joseph Myers <joseph@codesourcery.com>
3737 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
3738 rounding mode to recompute results that overflow to infinity or
3740 * math/auto-libm-test-in: Don't mark tests as expected to fail for
3742 * math/auto-libm-test-out: Regenerated.
3743 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
3744 (ccosh_test): Likewise.
3745 (csin_test_data): Use plus_oflow.
3746 (csin_test): Use ALL_RM_TEST.
3747 (csinh_test_data): Use plus_oflow.
3748 (csinh_test): Use ALL_RM_TEST.
3749 * sysdeps/i386/fpu/libm-test-ulps: Update.
3750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3752 2014-03-21 Joseph Myers <joseph@codesourcery.com>
3754 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
3755 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
3756 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
3759 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
3761 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
3762 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
3763 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3764 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
3766 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
3767 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
3769 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3773 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3775 * scripts/bench.pl: Remove file.
3776 * scripts/bench.py: New benchmark script.
3777 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
3778 * benchtests/README: Mention python dependency.
3779 * scripts/pylintrc: New file.
3780 * scripts/pylint: New file.
3782 * bits/mathdef.h: Use #ifdef instead of #if.
3783 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
3784 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3785 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
3786 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3787 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
3788 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
3790 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3791 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
3793 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
3794 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
3795 and strpbrk-ppc64 objects.
3796 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3797 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
3798 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
3799 multiarch strpbrk for POWER7.
3800 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
3801 multiarch strpbrk for PPC64.
3802 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
3804 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
3807 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3809 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
3810 (atan_test): Likewise.
3811 (atanh_test_data): Use NO_TEST_INLINE for two tests.
3812 (atanh_test): Use ALL_RM_TEST.
3813 (atan2_test_data): Likewise.
3814 (cabs_test): Likewise.
3815 (cacosh_test): Likewise.
3816 (carg_test): Likewise.
3817 (casin_test): Likewise.
3818 (casinh_test): Likewise.
3819 (cbrt_test): Likewise.
3820 (csqrt_test): Likewise.
3821 (erf_test): Likewise.
3822 (erfc_test): Likewise.
3823 (pow10_test): Likewise.
3824 (exp2_test): Likewise.
3825 (hypot_test): Likewise.
3826 (j0_test): Likewise.
3827 (j1_test): Likewise.
3828 (lgamma_test): Likewise.
3829 (gamma_test): Likewise.
3830 (sincos_test): Likewise.
3831 (tanh_test): Likewise.
3832 (y0_test): Likewise.
3833 (y1_test): Likewise.
3834 * sysdeps/i386/fpu/libm-test-ulps: Update.
3835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3837 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3839 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
3840 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
3841 and strcspn-ppc64 objects.
3842 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3843 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
3844 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
3845 multiarch strcspn for POWER7.
3846 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
3847 multiarch strcspn for PPC64.
3848 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
3850 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
3853 2014-03-20 Joseph Myers <joseph@codesourcery.com>
3855 * math/gen-libm-test.pl (generate_testfile): Expect only function
3856 name as argument to AUTO_TESTS_* and pass results for all rounding
3857 modes to parse_args.
3858 (parse_auto_input): Separate inputs of automatic tests from
3859 outputs before storing in %auto_tests.
3860 * math/libm-test.inc (acos_test_data): Update call to
3862 (acos_test): Use ALL_RM_TEST.
3863 (acos_tonearest_test_data): Remove.
3864 (acos_test_tonearest): Likewise.
3865 (acos_towardzero_test_data): Likewise.
3866 (acos_test_towardzero): Likewise.
3867 (acos_downward_test_data): Likewise.
3868 (acos_test_downward): Likewise.
3869 (acos_upward_test_data): Likewise.
3870 (acos_test_upward): Likewise.
3871 (acosh_test_data): Update call to AUTO_TESTS_f_f.
3872 (asin_test_data): Likewise.
3873 (asin_test): Use ALL_RM_TEST.
3874 (asin_tonearest_test_data): Remove.
3875 (asin_test_tonearest): Likewise.
3876 (asin_towardzero_test_data): Likewise.
3877 (asin_test_towardzero): Likewise.
3878 (asin_downward_test_data): Likewise.
3879 (asin_test_downward): Likewise.
3880 (asin_upward_test_data): Likewise.
3881 (asin_test_upward): Likewise.
3882 (asinh_test_data): Update call to AUTO_TESTS_f_f.
3883 (atan_test_data): Likewise.
3884 (atanh_test_data): Likewise.
3885 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
3886 (cabs_test_data): Update call to AUTO_TESTS_c_f.
3887 (carg_test_data): Likewise.
3888 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
3889 (ccos_test_data): Update call to AUTO_TESTS_c_c.
3890 (ccosh_test_data): Likewise.
3891 (cexp_test_data): Likewise.
3892 (clog_test_data): Likewise.
3893 (clog10_test_data): Likewise.
3894 (cos_test_data): Update call to AUTO_TESTS_f_f.
3895 (cos_test): Use ALL_RM_TEST.
3896 (cos_tonearest_test_data): Remove.
3897 (cos_test_tonearest): Likewise.
3898 (cos_towardzero_test_data): Likewise.
3899 (cos_test_towardzero): Likewise.
3900 (cos_downward_test_data): Likewise.
3901 (cos_test_downward): Likewise.
3902 (cos_upward_test_data): Likewise.
3903 (cos_test_upward): Likewise.
3904 (cosh_test_data): Update call to AUTO_TESTS_f_f.
3905 (cosh_test): Use ALL_RM_TEST.
3906 (cosh_tonearest_test_data): Remove.
3907 (cosh_test_tonearest): Likewise.
3908 (cosh_towardzero_test_data): Likewise.
3909 (cosh_test_towardzero): Likewise.
3910 (cosh_downward_test_data): Likewise.
3911 (cosh_test_downward): Likewise.
3912 (cosh_upward_test_data): Likewise.
3913 (cosh_test_upward): Likewise.
3914 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
3915 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
3916 (ctan_test_data): Likewise.
3917 (ctan_test): Use ALL_RM_TEST.
3918 (ctan_tonearest_test_data): Remove.
3919 (ctan_test_tonearest): Likewise.
3920 (ctan_towardzero_test_data): Likewise.
3921 (ctan_test_towardzero): Likewise.
3922 (ctan_downward_test_data): Likewise.
3923 (ctan_test_downward): Likewise.
3924 (ctan_upward_test_data): Likewise.
3925 (ctan_test_upward): Likewise.
3926 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
3927 (ctanh_test): Use ALL_RM_TEST.
3928 (ctanh_tonearest_test_data): Remove.
3929 (ctanh_test_tonearest): Likewise.
3930 (ctanh_towardzero_test_data): Likewise.
3931 (ctanh_test_towardzero): Likewise.
3932 (ctanh_downward_test_data): Likewise.
3933 (ctanh_test_downward): Likewise.
3934 (ctanh_upward_test_data): Likewise.
3935 (ctanh_test_upward): Likewise.
3936 (erf_test_data): Update call to AUTO_TESTS_f_f.
3937 (erfc_test_data): Likewise.
3938 (exp_test_data): Likewise.
3939 (exp_test): Use ALL_RM_TEST.
3940 (exp_tonearest_test_data): Remove.
3941 (exp_test_tonearest): Likewise.
3942 (exp_towardzero_test_data): Likewise.
3943 (exp_test_towardzero): Likewise.
3944 (exp_downward_test_data): Likewise.
3945 (exp_test_downward): Likewise.
3946 (exp_upward_test_data): Likewise.
3947 (exp_test_upward): Likewise.
3948 (exp10_test_data): Update call to AUTO_TESTS_f_f.
3949 (exp10_test): Use ALL_RM_TEST.
3950 (exp10_tonearest_test_data): Remove.
3951 (exp10_test_tonearest): Likewise.
3952 (exp10_towardzero_test_data): Likewise.
3953 (exp10_test_towardzero): Likewise.
3954 (exp10_downward_test_data): Likewise.
3955 (exp10_test_downward): Likewise.
3956 (exp10_upward_test_data): Likewise.
3957 (exp10_test_upward): Likewise.
3958 (exp2_test_data): Update call to AUTO_TESTS_f_f.
3959 (expm1_test_data): Likewise.
3960 (expm1_test): Use ALL_RM_TEST.
3961 (expm1_tonearest_test_data): Remove.
3962 (expm1_test_tonearest): Likewise.
3963 (expm1_towardzero_test_data): Likewise.
3964 (expm1_test_towardzero): Likewise.
3965 (expm1_downward_test_data): Likewise.
3966 (expm1_test_downward): Likewise.
3967 (expm1_upward_test_data): Likewise.
3968 (expm1_test_upward): Likewise.
3969 (fma_test_data): Update call to AUTO_TESTS_fff_f.
3970 (fma_test): Use ALL_RM_TEST.
3971 (fma_towardzero_test_data): Remove.
3972 (fma_test_towardzero): Likewise.
3973 (fma_downward_test_data): Likewise.
3974 (fma_test_downward): Likewise.
3975 (fma_upward_test_data): Likewise.
3976 (fma_test_upward): Likewise.
3977 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
3978 (j0_test_data): Update call to AUTO_TESTS_f_f.
3979 (j1_test_data): Likewise.
3980 (jn_test_data): Update call to AUTO_TESTS_if_f.
3981 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
3982 (log_test_data): Update call to AUTO_TESTS_f_f.
3983 (log10_test_data): Likewise.
3984 (log1p_test_data): Likewise.
3985 (log2_test_data): Likewise.
3986 (pow_test_data): Update call to AUTO_TESTS_ff_f.
3987 (pow_tonearest_test_data): Likewise.
3988 (sin_test_data): Update call to AUTO_TESTS_f_f.
3989 (sin_test): Use ALL_RM_TEST.
3990 (sin_tonearest_test_data): Remove.
3991 (sin_test_tonearest): Likewise.
3992 (sin_towardzero_test_data): Likewise.
3993 (sin_test_towardzero): Likewise.
3994 (sin_downward_test_data): Likewise.
3995 (sin_test_downward): Likewise.
3996 (sin_upward_test_data): Likewise.
3997 (sin_test_upward): Likewise.
3998 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
3999 (sinh_test_data): Update call to AUTO_TESTS_f_f.
4000 (sinh_test): Use ALL_RM_TEST.
4001 (sinh_tonearest_test_data): Remove.
4002 (sinh_test_tonearest): Likewise.
4003 (sinh_towardzero_test_data): Likewise.
4004 (sinh_test_towardzero): Likewise.
4005 (sinh_downward_test_data): Likewise.
4006 (sinh_test_downward): Likewise.
4007 (sinh_upward_test_data): Likewise.
4008 (sinh_test_upward): Likewise.
4009 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4010 (sqrt_test): Use ALL_RM_TEST.
4011 (sqrt_tonearest_test_data): Remove.
4012 (sqrt_test_tonearest): Likewise.
4013 (sqrt_towardzero_test_data): Likewise.
4014 (sqrt_test_towardzero): Likewise.
4015 (sqrt_downward_test_data): Likewise.
4016 (sqrt_test_downward): Likewise.
4017 (sqrt_upward_test_data): Likewise.
4018 (sqrt_test_upward): Likewise.
4019 (tan_test_data): Update call to AUTO_TESTS_f_f.
4020 (tan_test): Use ALL_RM_TEST.
4021 (tan_tonearest_test_data): Remove.
4022 (tan_test_tonearest): Likewise.
4023 (tan_towardzero_test_data): Likewise.
4024 (tan_test_towardzero): Likewise.
4025 (tan_downward_test_data): Likewise.
4026 (tan_test_downward): Likewise.
4027 (tan_upward_test_data): Likewise.
4028 (tan_test_upward): Likewise.
4029 (tanh_test_data): Update call to AUTO_TESTS_f_f.
4030 (tgamma_test_data): Likewise.
4031 (y0_test_data): Likewise.
4032 (y1_test_data): Likewise.
4033 (yn_test_data): Update call to AUTO_TESTS_if_f.
4034 (main): Do not call removed functions.
4036 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4038 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4039 (ldexp_test_data): Remove.
4040 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
4042 (scalb_test): Use ALL_RM_TEST.
4044 2014-03-19 Andreas Schwab <schwab@suse.de>
4046 * nscd/nscd.service: Also invalidate netgroup cache on reload.
4048 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4051 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4052 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4053 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4054 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4055 (__ASSUME_PREADV): Undefine.
4056 (__ASSUME_PWRITEV): Likewise.
4058 2014-03-18 Roland McGrath <roland@hack.frob.com>
4060 * bits/mman-linux.h: Add comment about non-Linux use.
4061 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4062 bits/mman-linux.h resting place.
4064 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4065 * bits/mman-linux.h: ... here.
4067 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4069 * conform/conformtest.pl: Add standard definition when calling C
4070 preprocessor on data files.
4071 (checknamespace): Remove unused variable.
4073 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4075 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4076 minus_oflow, plus_uflow and minus_uflow in expected results.
4077 * math/libm-test.inc (scalbn_test_data): Add more tests of
4078 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
4080 (scalbn_test): Use ALL_RM_TEST.
4081 (scalbln_test_data): Add more tests of negative arguments. Use
4082 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4083 (scalbln_test): Use ALL_RM_TEST.
4085 2014-03-18 Roland McGrath <roland@hack.frob.com>
4087 * scripts/abilist.awk: Ignore symbols marked with .hidden.
4089 2014-03-18 Will Newton <will.newton@linaro.org>
4091 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4094 2014-03-18 Joseph Myers <joseph@codesourcery.com>
4096 * Makerules [!subdir] (check-abi): Exit with error status if a
4099 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4101 * math/libm-test.inc (nearbyint_test_data): Include all tests used
4102 for rint. Include results for all rounding modes.
4103 (nearbyint_test): Use ALL_RM_TEST.
4104 (rint_test_data): Include all tests used for nearbyint.
4106 2014-03-17 Will Newton <will.newton@linaro.org>
4108 * nptl/sysdeps/pthread/pthread.h: Revert previous
4111 * sysdeps/generic/ldsodefs.h: Revert previous
4114 * libio/genops.c: Revert previous change.
4115 * libio/libioP.h: Likewise.
4116 * stdio-common/vfprintf.c: Likewise.
4118 * sysdeps/generic/math_private.h: Revert previous
4121 * sysdeps/generic/math_private.h: Check whether
4122 HAVE_RM_CTX is defined with #ifdef rather
4125 * argp/argp-fmtstream.h: Check whether
4126 __STRICT_ANSI__ is defined with #ifdef rather
4128 * argp/argp.h: Likewise.
4130 * libio/genops.c: Check whether
4131 _IO_JUMPS_OFFSET is defined with #ifdef rather
4133 * libio/libioP.h: Likewise.
4134 * stdio-common/vfprintf.c: Likewise.
4136 * sysdeps/generic/ldsodefs.h: Check whether
4137 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4140 * nptl/sysdeps/pthread/pthread.h: Check
4141 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4144 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4146 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4148 * libio/tst-ftell-active-handler.c (do_append_test): Add a
4152 * libio/fileops.c (_IO_file_open): Seek to end of file but
4153 don't cache the offset.
4154 (get_file_offset): Remove function.
4155 (do_ftell): Use cached offset when available.
4156 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4157 don't cache the offset.
4158 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4160 (do_one_test): Call it.
4161 (do_ftell_test): Fix up expected old offset for a+ mode.
4162 * libio/wfileops.c (do_ftell_wide): Used cached offset when
4165 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4166 up test status with function return status.
4167 (do_write_test): Likewise.
4168 (do_append_test): Likewise.
4170 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4171 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4174 2014-03-17 Joseph Myers <joseph@codesourcery.com>
4176 * math/gen-libm-test.pl (parse_args): Handle results specified for
4177 each rounding mode separately.
4178 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4179 tests and results from lrint_tonearest_test_data,
4180 lrint_towardzero_test_data, lrint_downward_test_data and
4181 lrint_upward_test_data.
4182 (lrint_test): Use ALL_RM_TEST.
4183 (lrint_tonearest_test_data): Remove.
4184 (lrint_test_tonearest): Likewise.
4185 (lrint_towardzero_test_data): Likewise.
4186 (lrint_test_towardzero): Likewise.
4187 (lrint_downward_test_data): Likewise.
4188 (lrint_test_downward): Likewise.
4189 (lrint_upward_test_data): Likewise.
4190 (lrint_test_upward): Likewise.
4191 (llrint_test_data): Merge in per-rounding-mode tests and results
4192 from llrint_tonearest_test_data, llrint_towardzero_test_data,
4193 llrint_downward_test_data and llrint_upward_test_data.
4194 (llrint_test): Use ALL_RM_TEST.
4195 (llrint_tonearest_test_data): Remove.
4196 (llrint_test_tonearest): Likewise.
4197 (llrint_towardzero_test_data): Likewise.
4198 (llrint_test_towardzero): Likewise.
4199 (llrint_downward_test_data): Likewise.
4200 (llrint_test_downward): Likewise.
4201 (llrint_upward_test_data): Likewise.
4202 (llrint_test_upward): Likewise.
4203 (rint_test_data): Merge in per-rounding-mode tests and results
4204 from rint_tonearest_test_data, rint_towardzero_test_data,
4205 rint_downward_test_data and rint_upward_test_data. Add
4206 per-rounding-mode results for tests not in those arrays.
4207 (rint_test): Use ALL_RM_TEST.
4208 (rint_tonearest_test_data): Remove.
4209 (rint_test_tonearest): Likewise.
4210 (rint_towardzero_test_data): Likewise.
4211 (rint_test_towardzero): Likewise.
4212 (rint_downward_test_data): Likewise.
4213 (rint_test_downward): Likewise.
4214 (rint_upward_test_data): Likewise.
4215 (rint_test_upward): Likewise.
4216 (main): Don't call removed functions.
4218 2014-03-14 Roland McGrath <roland@hack.frob.com>
4220 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4221 "Compiled on ..." crapola. It is anti-useful.
4223 2014-03-14 Joseph Myers <joseph@codesourcery.com>
4225 * scripts/evaluate-test.sh: Handle fourth argument to determine
4226 whether test run should stop on failure.
4227 * Makeconfig (stop-on-test-failure): New variable.
4228 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4229 $(stop-on-test-failure).
4230 * Makefile (tests): Give a summary of results from testing and
4231 exit with failure status if they include an ERROR or FAIL.
4233 * manual/install.texi (Configuring and compiling): Mention
4234 stop-on-test-failure=y.
4235 * INSTALL: Regenerated.
4237 2014-03-14 Roland McGrath <roland@hack.frob.com>
4239 * scripts/versionlist.awk: New file.
4240 * Makerules [$(build-shared) = yes]
4241 (postclean-generated): Add Versions.def, not Versions.def.v and
4243 ($(common-objpfx)Versions.def.v.i): Target removed.
4244 ($(common-objpfx)Versions.def): New target.
4245 ($(common-objpfx)Versions.all): Depend on that rather that
4246 $(common-objpfx)Versions.def.v.
4247 * Versions.def: File removed.
4249 * Makeconfig (+gccwarn): Add -Wundef.
4250 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4251 a dl-sysdep.h breaking its contract.
4252 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4253 * include/stackinfo.h: New file.
4254 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4255 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4256 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4257 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4258 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4259 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4260 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4261 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4262 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4263 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4264 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4265 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4266 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4267 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4268 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4270 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4273 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4275 * math/libm-test.inc (round_test_data): Add more tests.
4278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4280 * math/libm-test.inc (nearbyint_test_data): Add more tests.
4283 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4285 * math/libm-test.inc (ceil_test_data): Add more tests.
4287 * math/libm-test.inc (trunc_test_data): Add more tests related to
4290 2014-03-14 Roland McGrath <roland@hack.frob.com>
4292 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4293 with #if rather than #ifdef.
4294 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4296 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
4298 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4299 first. Disable AVX-512 GCC support if assembler doesn't support
4301 * sysdeps/x86_64/configure: Regenerated.
4303 2014-03-13 Carlos O'Donell <carlos@redhat.com>
4305 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4306 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4307 (__old_pthread_attr_setstack): Likewise.
4308 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4309 [!_STACK_GROWS_DOWN]: Likewise.
4311 2014-03-13 Mike Frysinger <vapier@gentoo.org>
4313 * config.make.in (have-bash2): Delete.
4314 * configure.ac (libc_cv_have_bash2): Delete.
4315 * configure: Regenerate.
4316 * elf/Makefile (common-ldd-rewrite): Rename to ...
4317 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
4318 (sh-ldd-rewrite): Delete.
4319 (bash-ldd-rewrite): Delete.
4320 (have-bash2): Delete checks.
4321 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4324 * config.make.in (have-ksh): Delete.
4326 * configure.ac (libc_cv_have_ksh): Delete.
4327 * configure: Regenerate.
4329 * elf/Makefile: Delete $(have-ksh) check.
4330 ($(objpfx)sotruss): Change KSH to BASH.
4331 * elf/sotruss.ksh: Rename to ...
4332 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
4333 function style to match POSIX. Drop ksh vim mode setting.
4335 * manual/time.texi (Specifying the Time Zone with TZ): Change
4336 Tuesday to Thursday.
4338 * debug/tst-longjmp_chk2.c: Update header comment.
4339 (stackoverflow_handler): Add comment. Call assert on pass value.
4341 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
4343 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
4344 (HAVE_AVX512_ASM_SUPPORT): Likewise.
4345 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
4346 (La_x86_64_vector): Add zmm.
4347 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
4348 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
4349 ($(objpfx)tst-audit10): New target.
4350 ($(objpfx)tst-audit10.out): Likewise.
4351 (tst-audit10-ENV): New.
4352 (AVX512-CFLAGS): Likewise.
4353 (CFLAGS-tst-audit10.c): Likewise.
4354 (CFLAGS-tst-auditmod10a.c): Likewise.
4355 (CFLAGS-tst-auditmod10b.c): Likewise.
4356 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
4357 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
4358 * sysdeps/x86_64/configure: Regenerated.
4359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
4360 AVX-512 zmm register support.
4361 (_dl_x86_64_save_sse): Likewise.
4362 (_dl_x86_64_restore_sse): Likewise.
4363 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
4364 size vector registers.
4365 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
4366 (ZMM_SIZE): Likewise.
4367 * sysdeps/x86_64/tst-audit10.c: New file.
4368 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
4369 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
4371 2014-03-13 Roland McGrath <roland@hack.frob.com>
4373 * configure.ac (HAVE_EHDR_START): New check.
4374 * configure: Regenerated.
4375 * config.h.in (HAVE_EHDR_START): New #undef.
4376 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
4377 assuming the lowest-addressed segment maps the start of the file.
4379 2014-03-13 Joseph Myers <joseph@codesourcery.com>
4381 * INSTALL: Regenerated.
4383 2014-03-13 Will Newton <will.newton@linaro.org>
4385 * manual/setjmp.texi (System V contexts): Improve
4386 clarity and grammar of documentation.
4388 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
4391 * elf/Makefile (tests): Add tst-pie2.
4392 (tests-pie): Add tst-pie2.
4393 * elf/tst-pie2.c: New file.
4394 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
4396 * elf/rtld.c (map_doit): Load executable as lt_executable.
4397 (dl_main): Likewise.
4399 2014-03-12 Joseph Myers <joseph@codesourcery.com>
4402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4403 (__ASSUME_PSELECT): Undefine.
4405 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
4409 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
4411 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
4412 selector for static builds.
4414 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4417 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
4420 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4422 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
4423 IFUNC selector for static builds.
4425 2014-03-11 Joseph Myers <joseph@codesourcery.com>
4427 * sysdeps/mips/math_private.h [__mips_hard_float]
4428 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
4429 libc_feresetround_mips_ctx.
4430 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
4431 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
4432 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
4435 * math/s_nextafter.c (__nextafter): Do not return value from
4436 overflowing computation.
4437 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
4438 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
4439 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
4441 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
4443 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
4444 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
4446 2014-03-11 Roland McGrath <roland@hack.frob.com>
4448 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
4449 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
4450 Move sfi_sp use from the load-multiple (that no longer sets sp) to
4451 the new mov targetting sp.
4453 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4456 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
4457 Define it for static builds as well.
4458 (NO_BZERO_IMPL): Likewise.
4460 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4462 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
4463 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
4464 multiarch strspn for PPC64.
4465 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
4466 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
4467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4468 (__libc_ifunc_impl_list): Likewise.
4469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
4470 multiarch optimizations
4471 * string/strspn.c (strspn): Using macro to redefine symbol name.
4473 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4474 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4476 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
4477 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
4478 multiarch strncat for PPC64.
4479 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
4480 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
4481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4482 (__libc_ifunc_impl_list): Likewise.
4483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
4484 multiarch optimizations
4486 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4489 * nscd/nscd.service: Make service type forking.
4491 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4493 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
4494 sign in non default rounding modes.
4495 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
4497 2014-03-08 Joseph Myers <joseph@codesourcery.com>
4499 * math/libm-test.inc (ALL_RM_TEST): New macro.
4500 (ceil_test): Use ALL_RM_TEST.
4501 (cimag_test): Likewise.
4502 (conj_test): Likewise.
4503 (copysign_test): Likewise.
4504 (cproj_test): Likewise.
4505 (creal_test): Likewise.
4506 (fabs_test): Likewise.
4507 (floor_test): Likewise.
4508 (fmax_test): Likewise.
4509 (fmin_test): Likewise.
4510 (fmod_test): Likewise.
4511 (fpclassify_test): Likewise.
4512 (frexp_test): Likewise.
4513 (ilogb_test): Likewise.
4514 (isfinite_test): Likewise.
4515 (finite_test): Likewise.
4516 (isgreater_test): Likewise.
4517 (isgreaterequal_test): Likewise.
4518 (isinf_test): Likewise.
4519 (isless_test): Likewise.
4520 (islessequal_test): Likewise.
4521 (islessgreater_test): Likewise.
4522 (isnan_test): Likewise.
4523 (isnormal_test): Likewise.
4524 (issignaling_test): Likewise.
4525 (isunordered_test): Likewise.
4526 (logb_test): Likewise.
4527 (logb_downward_test_data): Remove.
4528 (logb_test_downward): Likewise.
4529 (lround_test): Use ALL_RM_TEST.
4530 (llround_test): Likewise.
4531 (modf_test): Likewise.
4532 (nexttoward_test): Likewise.
4533 (remainder_test): Likewise.
4534 (drem_test): Likewise.
4535 (remainder_tonearest_test_data): Likewise.
4536 (remainder_test_tonearest): Likewise.
4537 (drem_test_tonearest): Likewise.
4538 (remainder_towardzero_test_data): Likewise.
4539 (remainder_test_towardzero): Likewise.
4540 (drem_test_towardzero): Likewise.
4541 (remainder_downward_test_data): Likewise.
4542 (remainder_test_downward): Likewise.
4543 (drem_test_downward): Likewise.
4544 (remainder_upward_test_data): Likewise.
4545 (remainder_test_upward): Likewise.
4546 (drem_test_upward): Likewise.
4547 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
4548 (round_test): Use ALL_RM_TEST.
4549 (signbit_test): Likewise.
4550 (trunc_test): Likewise.
4551 (significand_test): Likewise.
4552 (main): Don't call removed functions.
4554 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4557 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
4559 (ILL_ILLOPN): Likewise.
4560 (ILL_ILLADR): Likewise.
4561 (ILL_ILLTRP): Likewise.
4562 (ILL_PRVOPC): Likewise.
4563 (ILL_PRVREG): Likewise.
4564 (ILL_COPROC): Likewise.
4565 (ILL_BADSTK): Likewise.
4566 (FPE_INTDIV): Likewise.
4567 (FPE_INTOVF): Likewise.
4568 (FPE_FLTDIV): Likewise.
4569 (FPE_FLTOVF): Likewise.
4570 (FPE_FLTUND): Likewise.
4571 (FPE_FLTRES): Likewise.
4572 (FPE_FLTINV): Likewise.
4573 (FPE_FLTSUB): Likewise.
4574 (SEGV_MAPERR): Likewise.
4575 (SEGV_ACCERR): Likewise.
4576 (BUS_ADRALN): Likewise.
4577 (BUS_ADRERR): Likewise.
4578 (BUS_OBJERR): Likewise.
4579 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4580 (TRAP_TRACE): Likewise.
4581 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4583 (CLD_KILLED): Likewise.
4584 (CLD_DUMPED): Likewise.
4585 (CLD_TRAPPED): Likewise.
4586 (CLD_STOPPED): Likewise.
4587 (CLD_CONTINUED): Likewise.
4588 (POLL_IN): Likewise.
4589 (POLL_OUT): Likewise.
4590 (POLL_MSG): Likewise.
4591 (POLL_ERR): Likewise.
4592 (POLL_PRI): Likewise.
4593 (POLL_HUP): Likewise.
4594 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
4596 (ILL_ILLOPN): Likewise.
4597 (ILL_ILLADR): Likewise.
4598 (ILL_ILLTRP): Likewise.
4599 (ILL_PRVOPC): Likewise.
4600 (ILL_PRVREG): Likewise.
4601 (ILL_COPROC): Likewise.
4602 (ILL_BADSTK): Likewise.
4603 (FPE_INTDIV): Likewise.
4604 (FPE_INTOVF): Likewise.
4605 (FPE_FLTDIV): Likewise.
4606 (FPE_FLTOVF): Likewise.
4607 (FPE_FLTUND): Likewise.
4608 (FPE_FLTRES): Likewise.
4609 (FPE_FLTINV): Likewise.
4610 (FPE_FLTSUB): Likewise.
4611 (SEGV_MAPERR): Likewise.
4612 (SEGV_ACCERR): Likewise.
4613 (BUS_ADRALN): Likewise.
4614 (BUS_ADRERR): Likewise.
4615 (BUS_OBJERR): Likewise.
4616 (BUS_MCEERR_AR): Likewise.
4617 (BUS_MCEERR_AO): Likewise.
4618 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4619 (TRAP_TRACE): Likewise.
4620 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4622 (CLD_KILLED): Likewise.
4623 (CLD_DUMPED): Likewise.
4624 (CLD_TRAPPED): Likewise.
4625 (CLD_STOPPED): Likewise.
4626 (CLD_CONTINUED): Likewise.
4627 (POLL_IN): Likewise.
4628 (POLL_OUT): Likewise.
4629 (POLL_MSG): Likewise.
4630 (POLL_ERR): Likewise.
4631 (POLL_PRI): Likewise.
4632 (POLL_HUP): Likewise.
4633 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
4634 (ILL_ILLOPN): Likewise.
4635 (ILL_ILLADR): Likewise.
4636 (ILL_ILLTRP): Likewise.
4637 (ILL_PRVOPC): Likewise.
4638 (ILL_PRVREG): Likewise.
4639 (ILL_COPROC): Likewise.
4640 (ILL_BADSTK): Likewise.
4641 (FPE_INTDIV): Likewise.
4642 (FPE_INTOVF): Likewise.
4643 (FPE_FLTDIV): Likewise.
4644 (FPE_FLTOVF): Likewise.
4645 (FPE_FLTUND): Likewise.
4646 (FPE_FLTRES): Likewise.
4647 (FPE_FLTINV): Likewise.
4648 (FPE_FLTSUB): Likewise.
4649 (SEGV_MAPERR): Likewise.
4650 (SEGV_ACCERR): Likewise.
4651 (BUS_ADRALN): Likewise.
4652 (BUS_ADRERR): Likewise.
4653 (BUS_OBJERR): Likewise.
4654 (BUS_MCEERR_AR): Likewise.
4655 (BUS_MCEERR_AO): Likewise.
4656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4657 (TRAP_TRACE): Likewise.
4658 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4660 (CLD_KILLED): Likewise.
4661 (CLD_DUMPED): Likewise.
4662 (CLD_TRAPPED): Likewise.
4663 (CLD_STOPPED): Likewise.
4664 (CLD_CONTINUED): Likewise.
4665 (POLL_IN): Likewise.
4666 (POLL_OUT): Likewise.
4667 (POLL_MSG): Likewise.
4668 (POLL_ERR): Likewise.
4669 (POLL_PRI): Likewise.
4670 (POLL_HUP): Likewise.
4671 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
4673 (ILL_ILLOPN): Likewise.
4674 (ILL_ILLADR): Likewise.
4675 (ILL_ILLTRP): Likewise.
4676 (ILL_PRVOPC): Likewise.
4677 (ILL_PRVREG): Likewise.
4678 (ILL_COPROC): Likewise.
4679 (ILL_BADSTK): Likewise.
4680 (ILL_BADIADDR): Likewise.
4681 (ILL_BREAK): Likewise.
4682 (FPE_INTDIV): Likewise.
4683 (FPE_INTOVF): Likewise.
4684 (FPE_FLTDIV): Likewise.
4685 (FPE_FLTOVF): Likewise.
4686 (FPE_FLTUND): Likewise.
4687 (FPE_FLTRES): Likewise.
4688 (FPE_FLTINV): Likewise.
4689 (FPE_FLTSUB): Likewise.
4690 (FPE_DECOVF): Likewise.
4691 (FPE_DECDIV): Likewise.
4692 (FPE_DECERR): Likewise.
4693 (FPE_INVASC): Likewise.
4694 (FPE_INVDEC): Likewise.
4695 (SEGV_MAPERR): Likewise.
4696 (SEGV_ACCERR): Likewise.
4697 (SEGV_PSTKOVF): Likewise.
4698 (BUS_ADRALN): Likewise.
4699 (BUS_ADRERR): Likewise.
4700 (BUS_OBJERR): Likewise.
4701 (BUS_MCEERR_AR): Likewise.
4702 (BUS_MCEERR_AO): Likewise.
4703 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4704 (TRAP_TRACE): Likewise.
4705 (TRAP_BRANCH): Likewise.
4706 (TRAP_HWBKPT): Likewise.
4707 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4709 (CLD_KILLED): Likewise.
4710 (CLD_DUMPED): Likewise.
4711 (CLD_TRAPPED): Likewise.
4712 (CLD_STOPPED): Likewise.
4713 (CLD_CONTINUED): Likewise.
4714 (POLL_IN): Likewise.
4715 (POLL_OUT): Likewise.
4716 (POLL_MSG): Likewise.
4717 (POLL_ERR): Likewise.
4718 (POLL_PRI): Likewise.
4719 (POLL_HUP): Likewise.
4720 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
4721 (ILL_ILLOPN): Likewise.
4722 (ILL_ILLADR): Likewise.
4723 (ILL_ILLTRP): Likewise.
4724 (ILL_PRVOPC): Likewise.
4725 (ILL_PRVREG): Likewise.
4726 (ILL_COPROC): Likewise.
4727 (ILL_BADSTK): Likewise.
4728 (FPE_INTDIV): Likewise.
4729 (FPE_INTOVF): Likewise.
4730 (FPE_FLTDIV): Likewise.
4731 (FPE_FLTOVF): Likewise.
4732 (FPE_FLTUND): Likewise.
4733 (FPE_FLTRES): Likewise.
4734 (FPE_FLTINV): Likewise.
4735 (FPE_FLTSUB): Likewise.
4736 (SEGV_MAPERR): Likewise.
4737 (SEGV_ACCERR): Likewise.
4738 (BUS_ADRALN): Likewise.
4739 (BUS_ADRERR): Likewise.
4740 (BUS_OBJERR): Likewise.
4741 (BUS_MCEERR_AR): Likewise.
4742 (BUS_MCEERR_AO): Likewise.
4743 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4744 (TRAP_TRACE): Likewise.
4745 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4747 (CLD_KILLED): Likewise.
4748 (CLD_DUMPED): Likewise.
4749 (CLD_TRAPPED): Likewise.
4750 (CLD_STOPPED): Likewise.
4751 (CLD_CONTINUED): Likewise.
4752 (POLL_IN): Likewise.
4753 (POLL_OUT): Likewise.
4754 (POLL_MSG): Likewise.
4755 (POLL_ERR): Likewise.
4756 (POLL_PRI): Likewise.
4757 (POLL_HUP): Likewise.
4758 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
4759 (ILL_ILLOPN): Likewise.
4760 (ILL_ILLADR): Likewise.
4761 (ILL_ILLTRP): Likewise.
4762 (ILL_PRVOPC): Likewise.
4763 (ILL_PRVREG): Likewise.
4764 (ILL_COPROC): Likewise.
4765 (ILL_BADSTK): Likewise.
4766 (FPE_INTDIV): Likewise.
4767 (FPE_INTOVF): Likewise.
4768 (FPE_FLTDIV): Likewise.
4769 (FPE_FLTOVF): Likewise.
4770 (FPE_FLTUND): Likewise.
4771 (FPE_FLTRES): Likewise.
4772 (FPE_FLTINV): Likewise.
4773 (FPE_FLTSUB): Likewise.
4774 (SEGV_MAPERR): Likewise.
4775 (SEGV_ACCERR): Likewise.
4776 (BUS_ADRALN): Likewise.
4777 (BUS_ADRERR): Likewise.
4778 (BUS_OBJERR): Likewise.
4779 (BUS_MCEERR_AR): Likewise.
4780 (BUS_MCEERR_AO): Likewise.
4781 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4782 (TRAP_TRACE): Likewise.
4783 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4785 (CLD_KILLED): Likewise.
4786 (CLD_DUMPED): Likewise.
4787 (CLD_TRAPPED): Likewise.
4788 (CLD_STOPPED): Likewise.
4789 (CLD_CONTINUED): Likewise.
4790 (POLL_IN): Likewise.
4791 (POLL_OUT): Likewise.
4792 (POLL_MSG): Likewise.
4793 (POLL_ERR): Likewise.
4794 (POLL_PRI): Likewise.
4795 (POLL_HUP): Likewise.
4796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
4797 (ILL_ILLOPN): Likewise.
4798 (ILL_ILLADR): Likewise.
4799 (ILL_ILLTRP): Likewise.
4800 (ILL_PRVOPC): Likewise.
4801 (ILL_PRVREG): Likewise.
4802 (ILL_COPROC): Likewise.
4803 (ILL_BADSTK): Likewise.
4804 (FPE_INTDIV): Likewise.
4805 (FPE_INTOVF): Likewise.
4806 (FPE_FLTDIV): Likewise.
4807 (FPE_FLTOVF): Likewise.
4808 (FPE_FLTUND): Likewise.
4809 (FPE_FLTRES): Likewise.
4810 (FPE_FLTINV): Likewise.
4811 (FPE_FLTSUB): Likewise.
4812 (SEGV_MAPERR): Likewise.
4813 (SEGV_ACCERR): Likewise.
4814 (BUS_ADRALN): Likewise.
4815 (BUS_ADRERR): Likewise.
4816 (BUS_OBJERR): Likewise.
4817 (BUS_MCEERR_AR): Likewise.
4818 (BUS_MCEERR_AO): Likewise.
4819 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4820 (TRAP_TRACE): Likewise.
4821 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4823 (CLD_KILLED): Likewise.
4824 (CLD_DUMPED): Likewise.
4825 (CLD_TRAPPED): Likewise.
4826 (CLD_STOPPED): Likewise.
4827 (CLD_CONTINUED): Likewise.
4828 (POLL_IN): Likewise.
4829 (POLL_OUT): Likewise.
4830 (POLL_MSG): Likewise.
4831 (POLL_ERR): Likewise.
4832 (POLL_PRI): Likewise.
4833 (POLL_HUP): Likewise.
4834 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
4835 (ILL_ILLOPN): Likewise.
4836 (ILL_ILLADR): Likewise.
4837 (ILL_ILLTRP): Likewise.
4838 (ILL_PRVOPC): Likewise.
4839 (ILL_PRVREG): Likewise.
4840 (ILL_COPROC): Likewise.
4841 (ILL_BADSTK): Likewise.
4842 (ILL_DBLFLT): Likewise.
4843 (ILL_HARDWALL): Likewise.
4844 (FPE_INTDIV): Likewise.
4845 (FPE_INTOVF): Likewise.
4846 (FPE_FLTDIV): Likewise.
4847 (FPE_FLTOVF): Likewise.
4848 (FPE_FLTUND): Likewise.
4849 (FPE_FLTRES): Likewise.
4850 (FPE_FLTINV): Likewise.
4851 (FPE_FLTSUB): Likewise.
4852 (SEGV_MAPERR): Likewise.
4853 (SEGV_ACCERR): Likewise.
4854 (BUS_ADRALN): Likewise.
4855 (BUS_ADRERR): Likewise.
4856 (BUS_OBJERR): Likewise.
4857 (BUS_MCEERR_AR): Likewise.
4858 (BUS_MCEERR_AO): Likewise.
4859 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4860 (TRAP_TRACE): Likewise.
4861 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4863 (CLD_KILLED): Likewise.
4864 (CLD_DUMPED): Likewise.
4865 (CLD_TRAPPED): Likewise.
4866 (CLD_STOPPED): Likewise.
4867 (CLD_CONTINUED): Likewise.
4868 (POLL_IN): Likewise.
4869 (POLL_OUT): Likewise.
4870 (POLL_MSG): Likewise.
4871 (POLL_ERR): Likewise.
4872 (POLL_PRI): Likewise.
4873 (POLL_HUP): Likewise.
4874 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
4875 (ILL_ILLOPN): Likewise.
4876 (ILL_ILLADR): Likewise.
4877 (ILL_ILLTRP): Likewise.
4878 (ILL_PRVOPC): Likewise.
4879 (ILL_PRVREG): Likewise.
4880 (ILL_COPROC): Likewise.
4881 (ILL_BADSTK): Likewise.
4882 (FPE_INTDIV): Likewise.
4883 (FPE_INTOVF): Likewise.
4884 (FPE_FLTDIV): Likewise.
4885 (FPE_FLTOVF): Likewise.
4886 (FPE_FLTUND): Likewise.
4887 (FPE_FLTRES): Likewise.
4888 (FPE_FLTINV): Likewise.
4889 (FPE_FLTSUB): Likewise.
4890 (SEGV_MAPERR): Likewise.
4891 (SEGV_ACCERR): Likewise.
4892 (BUS_ADRALN): Likewise.
4893 (BUS_ADRERR): Likewise.
4894 (BUS_OBJERR): Likewise.
4895 (BUS_MCEERR_AR): Likewise.
4896 (BUS_MCEERR_AO): Likewise.
4897 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
4898 (TRAP_TRACE): Likewise.
4899 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
4901 (CLD_KILLED): Likewise.
4902 (CLD_DUMPED): Likewise.
4903 (CLD_TRAPPED): Likewise.
4904 (CLD_STOPPED): Likewise.
4905 (CLD_CONTINUED): Likewise.
4906 (POLL_IN): Likewise.
4907 (POLL_OUT): Likewise.
4908 (POLL_MSG): Likewise.
4909 (POLL_ERR): Likewise.
4910 (POLL_PRI): Likewise.
4911 (POLL_HUP): Likewise.
4912 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
4913 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
4916 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
4917 before #include of <time.h>.
4918 [!__USE_XOPEN2K] (__need_timespec): Likewise.
4919 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
4920 (test-xfail-UNIX98/sched.h/conform): Likewise.
4922 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
4924 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
4925 error absence of trapping exception support.
4926 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4928 2014-03-07 Joseph Myers <joseph@codesourcery.com>
4930 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
4931 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
4932 * timezone/Makefile (testdata): Move definition above include of
4934 (test-zones): New variable.
4935 (tests-special): Add zone files.
4936 (build-testdata): Use $(evaluate-test).
4938 * elf/Makefile (tests-special): Rename tests to end with .out.
4939 ($(objpfx)noload-mem): Likewise.
4940 ($(objpfx)tst-leaks1-mem): Likewise.
4941 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
4942 * iconv/Makefile (xtests-special): Change test-iconvconfig to
4943 $(objpfx)test-iconvconfig.out.
4944 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
4945 set -e inside subshell and redirect output to file.
4946 * iconvdata/Makefile (generated): Rename tests to end with .out.
4948 (tests-special): Rename tests to end with .out.
4949 ($(objpfx)mtrace-tst-loading): Likewise.
4950 * intl/Makefile (generated): Likewise.
4951 (tests-special): Likewise.
4952 ($(objpfx)mtrace-tst-gettext): Likewise.
4953 * misc/Makefile (generated): Likewise.
4954 (tests-special): Likewise.
4955 ($(objpfx)tst-error1-mem): Likewise.
4956 * nptl/Makefile (tests-special): Likewise.
4957 ($(objpfx)tst-stack3-mem): Likewise.
4958 (generated): Likewise.
4959 * posix/Makefile (generated): Likewise.
4960 (tests-special): Likewise.
4961 (xtests-special): Likewise.
4962 ($(objpfx)tst-fnmatch-mem): Likewise.
4963 ($(objpfx)bug-regex2-mem): Likewise.
4964 ($(objpfx)bug-regex14-mem): Likewise.
4965 ($(objpfx)bug-regex21-mem): Likewise.
4966 ($(objpfx)bug-regex31-mem): Likewise.
4967 ($(objpfx)tst-vfork3-mem): Likewise.
4968 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4969 ($(objpfx)tst-pcre-mem): Likewise.
4970 ($(objpfx)tst-boost-mem): Likewise.
4971 ($(objpfx)bug-ga2-mem): Likewise.
4972 ($(objpfx)bug-glob2-mem): Likewise.
4973 * resolv/Makefile (generate): Likewise.
4974 (tests-special): Likewise.
4975 (xtests-special): Likewise.
4976 (generated): Likewise.
4977 ($(objpfx)mtrace-tst-leaks): Likewise.
4978 ($(objpfx)mtrace-tst-leaks2): Likewise.
4980 * scripts/merge-test-results.sh: New file.
4981 * Makefile (tests-special-notdir): New variable.
4982 (tests): Run merge-test-results.sh.
4984 * Rules (tests-special-notdir): New variable.
4985 (xtests-special-notdir): Likewise.
4986 (tests): Run merge-test-results.sh
4989 * Makeconfig (test-xfail-name): New variable.
4990 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
4991 compute variable name for expected failures.
4992 * conform/Makefile (conformtest-headers-data): New variable.
4993 (conformtest-standards): Likewise.
4994 (conformtest-headers-ISO): Likewise.
4995 (conformtest-headers-ISO99): Likewise.
4996 (conformtest-headers-ISO11): Likewise.
4997 (conformtest-headers-POSIX): Likewise.
4998 (conformtest-headers-XPG3): Likewise.
4999 (conformtest-headers-XPG4): Likewise.
5000 (conformtest-headers-UNIX98): Likewise.
5001 (conformtest-headers-XOPEN2K): Likewise.
5002 (conformtest-headers-POSIX2008): Likewise.
5003 (conformtest-headers-XOPEN2K8): Likewise.
5004 (conformtest-header-list-base): Likewise.
5005 (conformtest-header-list-tests): Likewise.
5006 (conformtest-header-base): Likewise.
5007 (conformtest-header-tests): Likewise.
5008 (tests-special): Add $(conformtest-header-list-tests). If
5009 [$(fast-check) && !$(cross-compiling)], add
5010 $(conformtest-header-tests) instead of
5011 $(objpfx)run-conformtest.out.
5012 (generated): Add $(conformtest-header-list-base). If
5013 [$(fast-check) && !$(cross-compiling)], add
5014 $(conformtest-header-base). Remove previous setting.
5015 ($(conformtest-header-list-tests)): New target.
5016 (test-xfail-run-conformtest): Remove variable.
5017 ($(objpfx)run-conformtest.out): Remove target.
5018 (test-xfail-ISO11/complex.h/conform): New variable.
5019 (test-xfail-ISO11/stdalign.h/conform): Likewise.
5020 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5021 (test-xfail-XPG3/varargs.h/conform): Likewise.
5022 (test-xfail-XPG4/varargs.h/conform): Likewise.
5023 (test-xfail-UNIX98/varargs.h/conform): Likewise.
5024 (test-xfail-XPG4/ndbm.h/conform): Likewise.
5025 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5026 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5027 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5028 (test-xfail-XPG3/fcntl.h/conform): Likewise.
5029 (test-xfail-XPG3/ftw.h/conform): Likewise.
5030 (test-xfail-XPG3/grp.h/conform): Likewise.
5031 (test-xfail-XPG3/langinfo.h/conform): Likewise.
5032 (test-xfail-XPG3/limits.h/conform): Likewise.
5033 (test-xfail-XPG3/pwd.h/conform): Likewise.
5034 (test-xfail-XPG3/search.h/conform): Likewise.
5035 (test-xfail-XPG3/signal.h/conform): Likewise.
5036 (test-xfail-XPG3/stdio.h/conform): Likewise.
5037 (test-xfail-XPG3/stdlib.h/conform): Likewise.
5038 (test-xfail-XPG3/string.h/conform): Likewise.
5039 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5040 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5041 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5042 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5043 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5044 (test-xfail-XPG3/sys/types.h/conform): Likewise.
5045 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5046 (test-xfail-XPG3/termios.h/conform): Likewise.
5047 (test-xfail-XPG3/time.h/conform): Likewise.
5048 (test-xfail-XPG3/unistd.h/conform): Likewise.
5049 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5050 (test-xfail-XPG4/fcntl.h/conform): Likewise.
5051 (test-xfail-XPG4/langinfo.h/conform): Likewise.
5052 (test-xfail-XPG4/netdb.h/conform): Likewise.
5053 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5054 (test-xfail-XPG4/signal.h/conform): Likewise.
5055 (test-xfail-XPG4/stdio.h/conform): Likewise.
5056 (test-xfail-XPG4/stdlib.h/conform): Likewise.
5057 (test-xfail-XPG4/stropts.h/conform): Likewise.
5058 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5059 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5060 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5061 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5062 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5063 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5064 (test-xfail-XPG4/sys/time.h/conform): Likewise.
5065 (test-xfail-XPG4/sys/types.h/conform): Likewise.
5066 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5067 (test-xfail-XPG4/termios.h/conform): Likewise.
5068 (test-xfail-XPG4/ucontext.h/conform): Likewise.
5069 (test-xfail-XPG4/unistd.h/conform): Likewise.
5070 (test-xfail-XPG4/utmpx.h/conform): Likewise.
5071 (test-xfail-POSIX/sched.h/conform): Likewise.
5072 (test-xfail-POSIX/signal.h/conform): Likewise.
5073 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5074 (test-xfail-POSIX/tar.h/conform): Likewise.
5075 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5076 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5077 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5078 (test-xfail-UNIX98/netdb.h/conform): Likewise.
5079 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5080 (test-xfail-UNIX98/sched.h/conform): Likewise.
5081 (test-xfail-UNIX98/signal.h/conform): Likewise.
5082 (test-xfail-UNIX98/stdio.h/conform): Likewise.
5083 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5084 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5085 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5086 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5087 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5088 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5089 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5090 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5091 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5092 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5093 (test-xfail-UNIX98/unistd.h/conform): Likewise.
5094 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5095 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5096 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5097 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5098 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5099 (test-xfail-XOPEN2K/math.h/conform): Likewise.
5100 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5101 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5102 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5103 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5104 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5105 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5106 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5107 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5108 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5109 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5110 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5111 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5112 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5113 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5114 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5115 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5116 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5117 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5118 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5119 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5120 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5121 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5122 (test-xfail-POSIX2008/signal.h/conform): Likewise.
5123 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5124 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5125 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5126 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5127 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5128 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5129 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5130 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5131 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5132 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5133 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5134 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5135 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5136 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5137 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5138 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5139 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5140 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5141 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5142 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5143 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5144 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5145 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5146 (conformtest-cc-flags): Likewise.
5147 ($(conformtest-header-tests): New target.
5148 * conform/check-header-lists.sh: New file.
5149 * conform/run-conformtest.sh: Remove.
5151 * conform/conformtest.pl: Allow ' and \ in values given for
5153 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5155 [POSIX] (sys/types.h): Likewise.
5156 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5158 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5160 * conform/data/signal.h-data (SIGIO): Remove expectation.
5161 [XPG3] (SIGBUS): Do not expect.
5162 [POSIX || XPG3] (SIGPOLL): Likewise.
5163 [POSIX || XPG3] (SIGPROF): Likewise.
5164 [POSIX || XPG3] (SIGSYS): Likewise.
5165 [XPG3] (SIGTRAP): Likewise.
5166 [POSIX || XPG3] (SIGURG): Likewise.
5167 [POSIX || XPG3] (SIGVTALRM): Likewise.
5168 [POSIX || XPG3] (SIGXCPU): Likewise.
5169 [POSIX || XPG3] (SIGXFSZ): Likewise.
5170 [POSIX] (SA_SIGINFO): Expect.
5171 [XPG3] (siginfo_t): Do not expect type or contents.
5172 [POSIX] (si_pid): Do not expect element.
5173 [POSIX] (si_uid): Likewise.
5174 [POSIX] (si_addr): Likewise.
5175 [POSIX] (si_status): Likewise.
5176 [POSIX] (si_band): Likewise.
5177 [XPG4] (si_value): Likewise.
5178 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5179 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5180 [POSIX || XPG3] (ILL_ILLADR): Likewise.
5181 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5182 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5183 [POSIX || XPG3] (ILL_PRVREG): Likewise.
5184 [POSIX || XPG3] (ILL_COPROC): Likewise.
5185 [POSIX || XPG3] (ILL_BADSTK): Likewise.
5186 [POSIX || XPG3] (FPE_INTDIV): Likewise.
5187 [POSIX || XPG3] (FPE_INTOVF): Likewise.
5188 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5189 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5190 [POSIX || XPG3] (FPE_FLTUND): Likewise.
5191 [POSIX || XPG3] (FPE_FLTRES): Likewise.
5192 [POSIX || XPG3] (FPE_FLTINV): Likewise.
5193 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5194 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5195 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5196 [POSIX || XPG3] (BUS_ADRALN): Likewise.
5197 [POSIX || XPG3] (BUS_ADRERR): Likewise.
5198 [POSIX || XPG3] (BUS_OBJERR): Likewise.
5199 [POSIX || XPG3] (CLD_EXITED): Likewise.
5200 [POSIX || XPG3] (CLD_KILLED): Likewise.
5201 [POSIX || XPG3] (CLD_DUMPED): Likewise.
5202 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5203 [POSIX || XPG3] (CLD_STOPPED): Likewise.
5204 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5205 [POSIX || XPG3] (POLL_IN): Likewise.
5206 [POSIX || XPG3] (POLL_OUT): Likewise.
5207 [POSIX || XPG3] (POLL_MSG): Likewise.
5208 [POSIX || XPG3] (POLL_ERR): Likewise.
5209 [POSIX || XPG3] (POLL_PRI): Likewise.
5210 [POSIX || XPG3] (POLL_HUP): Likewise.
5211 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5212 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5213 (SIG*): Do not allow.
5214 [XPG3] (si_*): Likewise.
5215 [XPG3] (SI_*): Likewise.
5216 [XPG3 || XPG4] (sigev_*): Likewise.
5217 [XPG3 || XPG4] (SIGEV_*): Likewise.
5218 [XPG3 || XPG4] (sival_*): Likewise.
5219 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5220 [POSIX || XPG3] (BUS_*): Likewise.
5221 [POSIX || XPG3] (CLD_*): Likewise.
5222 [POSIX || XPG3] (FPE_*): Likewise.
5223 [POSIX || XPG3] (ILL_*): Likewise.
5224 [POSIX || XPG3] (POLL_*): Likewise.
5225 [POSIX || XPG3] (SEGV_*): Likewise.
5226 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5227 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5228 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5229 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5230 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5231 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5232 Specify type and value.
5233 (TVERSLEN): Likewise.
5234 (REGTYPE): Likewise.
5235 (AREGTYPE): Likewise.
5236 (LNKTYPE): Likewise.
5237 (SYMTYPE): Likewise.
5238 (CHRTYPE): Likewise.
5239 (BLKTYPE): Likewise.
5240 (DIRTYPE): Likewise.
5241 (FIFOTYPE): Likewise.
5242 (CONTTYPE): Likewise.
5247 (TUWRITE): Likewise.
5250 (TGWRITE): Likewise.
5253 (TOWRITE): Likewise.
5255 [POSIX] (TSVTX): Expect constant.
5257 2014-03-06 Joseph Myers <joseph@codesourcery.com>
5259 * Makefile (tests): Change dependencies to ....
5260 (tests-special): ... additions to this variable.
5261 (tests): Depend on $(tests-special).
5262 * Makerules (check-abi-list): New variable.
5263 (check-abi): Depend on $(check-abi-list).
5264 [$(subdir) = elf] (tests-special): Add
5265 $(objpfx)check-abi-libc.out.
5266 [$(build-shared) = yes && subdir] (tests-special): Add
5268 [$(build-shared) = yes && subdir] (tests): Do not depend on
5270 * Rules (tests): Depend on $(tests-special).
5271 (xtests): Depend on $(xtests-special).
5272 * catgets/Makefile (tests): Change dependencies to ....
5273 (tests-special): ... additions to this variable.
5274 * conform/Makefile (tests): Change dependencies to ....
5275 (tests-special): ... additions to this variable.
5276 * elf/Makefile (tests): Change dependencies to ....
5277 (tests-special): ... additions to this variable.
5278 * grp/Makefile (tests): Change dependencies to ....
5279 (tests-special): ... additions to this variable.
5280 * iconv/Makefile (xtests): Change dependencies to ....
5281 (xtests-special): ... additions to this variable.
5282 * iconvdata/Makefile (tests): Change dependencies to ....
5283 (tests-special): ... additions to this variable.
5284 * intl/Makefile (tests): Change dependencies to ....
5285 (tests-special): ... additions to this variable. Also add
5286 $(objpfx)tst-gettext.out.
5287 * io/Makefile (tests): Change dependencies to ....
5288 (tests-special): ... additions to this variable.
5289 * libio/Makefile (tests): Change dependencies to ....
5290 (tests-special): ... additions to this variable.
5291 * malloc/Makefile (tests): Change dependencies to ....
5292 (tests-special): ... additions to this variable.
5293 * misc/Makefile (tests): Change dependencies to ....
5294 (tests-special): ... additions to this variable.
5295 * nptl/Makefile (tests): Change dependencies to ....
5296 (tests-special): ... additions to this variable.
5297 * nptl_db/Makefile (tests): Change dependencies to ....
5298 (tests-special): ... additions to this variable.
5299 * posix/Makefile (tests): Change dependencies to ....
5300 (tests-special): ... additions to this variable.
5301 (xtests): Change dependencies to ....
5302 (xtests-special): ... additions to this variable.
5303 * resolv/Makefile (tests): Change dependencies to ....
5304 (tests-special): ... additions to this variable.
5305 (xtests): Change dependencies to ....
5306 (xtests-special): ... additions to this variable.
5307 * stdio-common/Makefile (tests): Change dependencies to ....
5308 (tests-special): ... additions to this variable.
5309 (do-tst-unbputc): Remove target.
5310 (do-tst-printf): Likewise.
5311 * stdlib/Makefile (tests): Change dependencies to ....
5312 (tests-special): ... additions to this variable.
5313 * string/Makefile (tests): Change dependencies to ....
5314 (tests-special): ... additions to this variable.
5315 * sysdeps/x86/Makefile (tests): Change dependencies to ....
5316 (tests-special): ... additions to this variable.
5318 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5320 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5322 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5323 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5325 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5326 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5327 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5328 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5329 * conform/data/libgen.h-data [XPG3]: Likewise.
5330 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
5331 * conform/data/ndbm.h-data [XPG3]: Likewise.
5332 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5333 * conform/data/netdb.h-data [XPG3]: Likewise.
5334 * conform/data/netinet/in.h-data [XPG3]: Likewise.
5335 * conform/data/poll.h-data [XPG3]: Likewise.
5336 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
5337 * conform/data/strings.h-data [XPG3]: Likewise.
5338 * conform/data/stropts.h-data [XPG3]: Likewise.
5339 * conform/data/sys/mman.h-data [XPG3]: Likewise.
5340 * conform/data/sys/resource.h-data [XPG3]: Likewise.
5341 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
5343 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
5344 * conform/data/sys/time.h-data [XPG3]: Likewise.
5345 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
5346 * conform/data/sys/uio.h-data [XPG3]: Likewise.
5347 * conform/data/sys/un.h-data [XPG3]: Likewise.
5348 * conform/data/syslog.h-data [XPG3]: Likewise.
5349 * conform/data/ucontext.h-data [XPG3]: Likewise.
5350 * conform/data/utmpx.h-data [XPG3]: Likewise.
5351 * conform/data/varargs.h-data [UNIX98]: Enable file.
5353 * manual/Makefile (INSTALL_INFO): Remove variable setting.
5355 * math/libm-test.inc (struct test_f_f_data): Move expected results
5356 into structure for each rounding mode.
5357 (struct test_ff_f_data): Likewise.
5358 (struct test_ff_f_data_nexttoward): Likewise.
5359 (struct test_fi_f_data): Likewise.
5360 (struct test_fl_f_data): Likewise.
5361 (struct test_if_f_data): Likewise.
5362 (struct test_fff_f_data): Likewise.
5363 (struct test_c_f_data): Likewise.
5364 (struct test_f_f1_data): Likewise.
5365 (struct test_fF_f1_data): Likewise.
5366 (struct test_ffI_f1_data): Likewise.
5367 (struct test_c_c_data): Likewise.
5368 (struct test_cc_c_data): Likewise.
5369 (struct test_f_i_data): Likewise.
5370 (struct test_ff_i_data): Likewise.
5371 (struct test_f_l_data): Likewise.
5372 (struct test_f_L_data): Likewise.
5373 (struct test_fFF_11_data): Likewise.
5375 (RM_FE_DOWNWARD): Likewise.
5376 (RM_FE_TONEAREST): Likewise.
5377 (RM_FE_TOWARDZERO): Likewise.
5378 (RM_FE_UPWARD): Likewise.
5379 (RUN_TEST_LOOP_f_f): Update references to expected results.
5380 (RUN_TEST_LOOP_2_f): Likewise.
5381 (RUN_TEST_LOOP_fff_f): Likewise.
5382 (RUN_TEST_LOOP_c_f): Likewise.
5383 (RUN_TEST_LOOP_f_f1): Likewise.
5384 (RUN_TEST_LOOP_fF_f1): Likewise.
5385 (RUN_TEST_LOOP_fI_f1): Likewise.
5386 (RUN_TEST_LOOP_ffI_f1): Likewise.
5387 (RUN_TEST_LOOP_c_c): Likewise.
5388 (RUN_TEST_LOOP_cc_c): Likewise.
5389 (RUN_TEST_LOOP_f_i): Likewise.
5390 (RUN_TEST_LOOP_f_i_tg): Likewise.
5391 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5392 (RUN_TEST_LOOP_f_b): Likewise.
5393 (RUN_TEST_LOOP_f_b_tg): Likewise.
5394 (RUN_TEST_LOOP_f_l): Likewise.
5395 (RUN_TEST_LOOP_f_L): Likewise.
5396 (RUN_TEST_LOOP_fFF_11): Likewise.
5397 * math/gen-libm-test.pl (parse_args): Output four copies of
5398 expected results for each test.
5400 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5401 (__ASSUME_UTIMES): Remove.
5402 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5403 (__ASSUME_UTIMES): Likewise.
5405 * math/gen-auto-libm-tests.c: Update comment on output format.
5406 (output_for_one_input_case): Generate before-rounding and
5407 after-rounding information as conditions on output flags not
5408 floating-point format.
5409 * math/auto-libm-test-out: Regenerated.
5410 * math/gen-libm-test.pl (cond_value): New function.
5411 (or_cond_value): Use cond_value.
5412 (generate_testfile): Handle conditional exceptions.
5414 2014-03-05 Joseph Myers <joseph@codesourcery.com>
5416 * math/libm-test.inc (max_valid_error): New variable.
5417 (init_max_error): Take new argument specifying whether function
5418 results are exactly determined. Set max_valid_error and bound
5419 other variables for errors based on this argument.
5420 (set_max_error): Do not record results above max_valid_error.
5421 (check_float_internal): Only accept errors of up to 0.5ulps if
5422 also at most max_valid_error.
5423 (START): Take new argument EXACT and pass it to init_max_error.
5424 (acos_test): Update call to START.
5425 (acos_test_tonearest): Likewise.
5426 (acos_test_towardzero): Likewise.
5427 (acos_test_downward): Likewise.
5428 (acos_test_upward): Likewise.
5429 (acosh_test): Likewise.
5430 (asin_test): Likewise.
5431 (asin_test_tonearest): Likewise.
5432 (asin_test_towardzero): Likewise.
5433 (asin_test_downward): Likewise.
5434 (asin_test_upward): Likewise.
5435 (asinh_test): Likewise.
5436 (atan_test): Likewise.
5437 (atanh_test): Likewise.
5438 (atan2_test): Likewise.
5439 (cabs_test): Likewise.
5440 (cacos_test): Likewise.
5441 (cacosh_test): Likewise.
5442 (carg_test): Likewise.
5443 (casin_test): Likewise.
5444 (casinh_test): Likewise.
5445 (catan_test): Likewise.
5446 (catanh_test): Likewise.
5447 (cbrt_test): Likewise.
5448 (ccos_test): Likewise.
5449 (ccosh_test): Likewise.
5450 (ceil_test): Likewise.
5451 (cexp_test): Likewise.
5452 (cimag_test): Likewise.
5453 (clog_test): Likewise.
5454 (clog10_test): Likewise.
5455 (conj_test): Likewise.
5456 (copysign_test): Likewise.
5457 (cos_test): Likewise.
5458 (cos_test_tonearest): Likewise.
5459 (cos_test_towardzero): Likewise.
5460 (cos_test_downward): Likewise.
5461 (cos_test_upward): Likewise.
5462 (cosh_test): Likewise.
5463 (cosh_test_tonearest): Likewise.
5464 (cosh_test_towardzero): Likewise.
5465 (cosh_test_downward): Likewise.
5466 (cosh_test_upward): Likewise.
5467 (cpow_test): Likewise.
5468 (cproj_test): Likewise.
5469 (creal_test): Likewise.
5470 (csin_test): Likewise.
5471 (csinh_test): Likewise.
5472 (csqrt_test): Likewise.
5473 (ctan_test): Likewise.
5474 (ctan_test_tonearest): Likewise.
5475 (ctan_test_towardzero): Likewise.
5476 (ctan_test_downward): Likewise.
5477 (ctan_test_upward): Likewise.
5478 (ctanh_test): Likewise.
5479 (ctanh_test_tonearest): Likewise.
5480 (ctanh_test_towardzero): Likewise.
5481 (ctanh_test_downward): Likewise.
5482 (ctanh_test_upward): Likewise.
5483 (erf_test): Likewise.
5484 (erfc_test): Likewise.
5485 (exp_test): Likewise.
5486 (exp_test_tonearest): Likewise.
5487 (exp_test_towardzero): Likewise.
5488 (exp_test_downward): Likewise.
5489 (exp_test_upward): Likewise.
5490 (exp10_test): Likewise.
5491 (exp10_test_tonearest): Likewise.
5492 (exp10_test_towardzero): Likewise.
5493 (exp10_test_downward): Likewise.
5494 (exp10_test_upward): Likewise.
5495 (pow10_test): Likewise.
5496 (exp2_test): Likewise.
5497 (expm1_test): Likewise.
5498 (expm1_test_tonearest): Likewise.
5499 (expm1_test_towardzero): Likewise.
5500 (expm1_test_downward): Likewise.
5501 (expm1_test_upward): Likewise.
5502 (fabs_test): Likewise.
5503 (fdim_test): Likewise.
5504 (floor_test): Likewise.
5505 (fma_test): Likewise.
5506 (fma_test_towardzero): Likewise.
5507 (fma_test_downward): Likewise.
5508 (fma_test_upward): Likewise.
5509 (fmax_test): Likewise.
5510 (fmin_test): Likewise.
5511 (fmod_test): Likewise.
5512 (fpclassify_test): Likewise.
5513 (frexp_test): Likewise.
5514 (hypot_test): Likewise.
5515 (ilogb_test): Likewise.
5516 (isfinite_test): Likewise.
5517 (finite_test): Likewise.
5518 (isgreater_test): Likewise.
5519 (isgreaterequal_test): Likewise.
5520 (isinf_test): Likewise.
5521 (isless_test): Likewise.
5522 (islessequal_test): Likewise.
5523 (islessgreater_test): Likewise.
5524 (isnan_test): Likewise.
5525 (isnormal_test): Likewise.
5526 (issignaling_test): Likewise.
5527 (isunordered_test): Likewise.
5528 (j0_test): Likewise.
5529 (j1_test): Likewise.
5530 (jn_test): Likewise.
5531 (ldexp_test): Likewise.
5532 (lgamma_test): Likewise.
5533 (gamma_test): Likewise.
5534 (lrint_test): Likewise.
5535 (lrint_test_tonearest): Likewise.
5536 (lrint_test_towardzero): Likewise.
5537 (lrint_test_downward): Likewise.
5538 (lrint_test_upward): Likewise.
5539 (llrint_test): Likewise.
5540 (llrint_test_tonearest): Likewise.
5541 (llrint_test_towardzero): Likewise.
5542 (llrint_test_downward): Likewise.
5543 (llrint_test_upward): Likewise.
5544 (log_test): Likewise.
5545 (log10_test): Likewise.
5546 (log1p_test): Likewise.
5547 (log2_test): Likewise.
5548 (logb_test): Likewise.
5549 (logb_test_downward): Likewise.
5550 (lround_test): Likewise.
5551 (llround_test): Likewise.
5552 (modf_test): Likewise.
5553 (nearbyint_test): Likewise.
5554 (nextafter_test): Likewise.
5555 (nexttoward_test): Likewise.
5556 (pow_test): Likewise.
5557 (pow_test_tonearest): Likewise.
5558 (pow_test_towardzero): Likewise.
5559 (pow_test_downward): Likewise.
5560 (pow_test_upward): Likewise.
5561 (remainder_test): Likewise.
5562 (drem_test): Likewise.
5563 (remainder_test_tonearest): Likewise.
5564 (drem_test_tonearest): Likewise.
5565 (remainder_test_towardzero): Likewise.
5566 (drem_test_towardzero): Likewise.
5567 (remainder_test_downward): Likewise.
5568 (drem_test_downward): Likewise.
5569 (remainder_test_upward): Likewise.
5570 (drem_test_upward): Likewise.
5571 (remquo_test): Likewise.
5572 (rint_test): Likewise.
5573 (rint_test_tonearest): Likewise.
5574 (rint_test_towardzero): Likewise.
5575 (rint_test_downward): Likewise.
5576 (rint_test_upward): Likewise.
5577 (round_test): Likewise.
5578 (scalb_test): Likewise.
5579 (scalbn_test): Likewise.
5580 (scalbln_test): Likewise.
5581 (signbit_test): Likewise.
5582 (sin_test): Likewise.
5583 (sin_test_tonearest): Likewise.
5584 (sin_test_towardzero): Likewise.
5585 (sin_test_downward): Likewise.
5586 (sin_test_upward): Likewise.
5587 (sincos_test): Likewise.
5588 (sinh_test): Likewise.
5589 (sinh_test_tonearest): Likewise.
5590 (sinh_test_towardzero): Likewise.
5591 (sinh_test_downward): Likewise.
5592 (sinh_test_upward): Likewise.
5593 (sqrt_test): Likewise.
5594 (sqrt_test_tonearest): Likewise.
5595 (sqrt_test_towardzero): Likewise.
5596 (sqrt_test_downward): Likewise.
5597 (sqrt_test_upward): Likewise.
5598 (tan_test): Likewise.
5599 (tan_test_tonearest): Likewise.
5600 (tan_test_towardzero): Likewise.
5601 (tan_test_downward): Likewise.
5602 (tan_test_upward): Likewise.
5603 (tanh_test): Likewise.
5604 (tgamma_test): Likewise.
5605 (trunc_test): Likewise.
5606 (y0_test): Likewise.
5607 (y1_test): Likewise.
5608 (yn_test): Likewise.
5609 (significand_test): Likewise.
5611 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
5612 individual tests in comment.
5613 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
5614 (prev_max_error): New variable.
5615 (prev_real_max_error): Likewise.
5616 (prev_imag_max_error): Likewise.
5617 (compare_ulp_data): Don't refer to test names in comment.
5618 (find_test_ulps): Remove function.
5619 (find_function_ulps): Likewise.
5620 (find_complex_function_ulps): Likewise.
5621 (init_max_error): Take function name as argument. Look up ulps
5623 (print_ulps): Remove function.
5624 (print_max_error): Use prev_max_error instead of calling
5626 (print_complex_max_error): Use prev_real_max_error and
5627 prev_imag_max_error instead of calling find_complex_function_ulps.
5628 (check_float_internal): Take max_ulp parameter instead of calling
5629 find_test_ulps. Don't call print_ulps.
5630 (check_float): Update call to check_float_internal.
5631 (check_complex): Update calls to check_float_internal.
5632 (START): Pass argument to init_max_error.
5633 * math/gen-libm-test.pl (%results): Don't include "kind"
5635 (parse_ulps): Don't handle ulps of individual tests.
5636 (print_ulps_file): Likewise.
5637 (output_ulps): Likewise.
5638 * math/README.libm-test: Update.
5639 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
5641 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
5642 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
5643 * sysdeps/arm/libm-test-ulps: Likewise.
5644 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
5645 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
5646 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
5647 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
5648 * sysdeps/microblaze/libm-test-ulps: Likewise.
5649 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5650 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5651 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5652 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5653 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5654 * sysdeps/sh/libm-test-ulps: Likewise.
5655 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5656 * sysdeps/tile/libm-test-ulps: Likewise.
5657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5659 2014-03-04 Joseph Myers <joseph@codesourcery.com>
5661 * math/libm-test.inc (print_complex_max_error): Check separately
5662 whether real and imaginary errors are within allowed range and
5663 pass 0 to print_complex_function_ulps instead of value within
5666 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
5668 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
5670 (get_handles_fopen): Likewise.
5671 (do_write_test): Likewise.
5673 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
5675 * libio/fileops.c (do_ftell): Use cached offset when
5677 * libio/iofwide.c (do_ftell_wide): Likewise.
5678 * libio/iofdopen.c (_IO_new_fdopen): Don't use
5680 * libio/wfileops.c (_IO_fwide): Don't cache offset.
5683 * libio/libioP.h (get_file_offset): New function.
5684 * libio/fileops.c (get_file_offset): Likewise.
5685 (do_ftell): Likewise.
5686 (_IO_new_file_seekoff): Split out ftell logic.
5687 * libio/wfileops.c (do_ftell_wide): Likewise.
5688 (_IO_wfile_seekoff): Split out ftell logic.
5689 * libio/tst-ftell-active-handler.c: New test case.
5690 * libio/Makefile (tests): Add it.
5692 2014-03-03 Roland McGrath <roland@hack.frob.com>
5694 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
5695 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
5697 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5700 * nscd/connections.c (nscd_init): Call do_exit.
5701 (start_threads): Call do_exit and notify_parent.
5702 (begin_drop_privileges): Call do_exit.
5703 (finish_drop_privileges): Likewise.
5704 * nscd/selinux.c (preserve_capabilities): Likewise.
5705 (install_real_capabilities): Likewise.
5706 (nscd_selinux_enabled): Likewise.
5707 (avc_create_thread): Likewise.
5708 (avc_alloc_lock): Likewise.
5709 (nscd_avc_init): Likewise.
5710 * nscd/nscd.c (parent_fd): New static variable.
5711 (main): Create a pipe between parent and child processes.
5712 Skip closing parent_fd.
5713 (monitor_child): New function.
5714 (do_exit): Likewise.
5715 (notify_parent): Likewise.
5716 * nscd/nscd.h (notify_parent): Likewise.
5717 (do_exit): Likewise.
5719 2014-03-03 Carlos O'Donell <carlos@redhat.com>
5721 * malloc/malloc.c (__libc_calloc): Revert last change.
5723 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5727 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5729 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
5730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
5732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5733 (__libc_ifunc_impl_list): Likewise.
5734 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
5735 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
5736 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
5737 * string/strrchr.c: Define STRRCHR.
5739 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
5741 * benchtest/bench-strtok.c (simple_strtok): Delete.
5742 (strtok_string): Use as benchmark.
5743 * string/strtok (STRTOK): New macro.
5745 2014-02-28 Carlos O'Donell <carlos@redhat.com>
5747 * manual/threads.texi: Add header and standard comments to all
5750 * elf/dl-lookup.c (check_match): New function.
5751 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
5752 (do_lookup_x): Remove nested function check_match. Use non-nested
5753 function check_match.
5755 2014-02-28 Roland McGrath <roland@hack.frob.com>
5757 * csu/Makefile (generated, before-compile): Use += rather than =.
5758 * catgets/Makefile (generated, generated-dirs): Likewise.
5759 * debug/Makefile (generated): Likewise.
5760 * dlfcn/Makefile (generated): Likewise.
5761 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
5762 * iconvdata/Makefile (before-compile, generated): Likewise.
5763 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
5764 * libio/Makefile (generated): Likewise.
5765 * malloc/Makefile (generated): Likewise.
5766 * manual/Makefile (generated, generated-dirs): Likewise.
5767 * misc/Makefile (generated): Likewise.
5768 * posix/Makefile (generated): Likewise.
5769 * resolv/Makefile (generated): Likewise.
5770 * sunrpc/Makefile (generated, generated-dirs): Likewise.
5771 * timezone/Makefile (generated, generated-dirs): Likewise.
5773 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
5775 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5778 power8 implementation.
5779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
5780 file: POWER8 llround ifunc implementation.
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
5782 (__lllround): Add POWER8 implementation.
5783 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
5784 POWER8 llround implementation.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
5787 power8 implementation.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
5789 file: POWER8 llrint ifunc implementation.
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
5791 Add POWER8 implementation.
5792 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
5793 POWER8 llrint implementation.
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
5796 power8 implementation.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
5798 file: POWER8 finite ifunc implementation.
5799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
5800 Add POWER8 implementation.
5801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
5803 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
5804 POWER8 finite implementation.
5805 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
5808 power8 implementation.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
5810 file: POWER8 isinf ifunc implementation.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
5812 POWER8 implementation.
5813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
5815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
5816 isinf implementation.
5817 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
5819 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
5820 (INIT_ARCH): Add hwcap2 initialization.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5822 power8 implementation.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
5824 file: POWER8 isnan ifunc implementation.
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
5826 POWER8 implementation.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
5829 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
5830 isnan implementation.
5831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
5833 2014-02-27 Joey Ye <joey.ye@arm.com>
5835 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5836 (_FP_NANFRAC_Q): Set to zero.
5838 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5841 * math/auto-libm-test-in: New test inputs.
5842 * math/auto-libm-test-out: Regenerate.
5843 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
5846 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5848 2014-02-27 Joseph Myers <joseph@codesourcery.com>
5850 * scripts/evaluate-test.sh: Take new argument indicating whether
5851 failure is expected.
5852 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
5853 indicating whether failure is expected.
5854 * conform/Makefile (test-xfail-run-conformtest): New variable.
5855 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
5857 * posix/Makefile (test-xfail-annexc): New variable.
5858 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
5860 2014-02-26 Joseph Myers <joseph@codesourcery.com>
5862 * argp/Makefile: Include Makeconfig immediately after defining
5864 * assert/Makefile: Likewise.
5865 * benchtests/Makefile: Likewise.
5866 * catgets/Makefile: Likewise.
5867 * conform/Makefile: Likewise.
5868 * crypt/Makefile: Likewise.
5869 * csu/Makefile: Likewise.
5870 (all): Remove target.
5871 * ctype/Makefile: Include Makeconfig immediately after defining
5873 * debug/Makefile: Likewise.
5874 * dirent/Makefile: Likewise.
5875 * dlfcn/Makefile: Likewise.
5876 * gmon/Makefile: Likewise.
5877 * gnulib/Makefile: Likewise.
5878 * grp/Makefile: Likewise.
5879 * gshadow/Makefile: Likewise.
5880 * hesiod/Makefile: Likewise.
5881 * hurd/Makefile: Likewise.
5882 (all): Remove target.
5883 * iconvdata/Makefile: Include Makeconfig immediately after
5885 * inet/Makefile: Likewise.
5886 * intl/Makefile: Likewise.
5887 * io/Makefile: Likewise.
5888 * libio/Makefile: Likewise.
5889 (all): Remove target.
5890 * locale/Makefile: Include Makeconfig immediately after defining
5892 * login/Makefile: Likewise.
5893 * mach/Makefile: Likewise.
5894 (all): Remove target.
5895 * malloc/Makefile: Include Makeconfig immediately after defining
5897 (all): Remove target.
5898 * manual/Makefile: Include Makeconfig immediately after defining
5900 * math/Makefile: Likewise.
5901 * misc/Makefile: Likewise.
5902 * nis/Makefile: Likewise.
5903 * nss/Makefile: Likewise.
5904 * po/Makefile: Likewise.
5905 (all): Remove target.
5906 * posix/Makefile: Include Makeconfig immediately after defining
5908 * pwd/Makefile: Likewise.
5909 * resolv/Makefile: Likewise.
5910 * resource/Makefile: Likewise.
5911 * rt/Makefile: Likewise.
5912 * setjmp/Makefile: Likewise.
5913 * shadow/Makefile: Likewise.
5914 * signal/Makefile: Likewise.
5915 * socket/Makefile: Likewise.
5916 * soft-fp/Makefile: Likewise.
5917 * stdio-common/Makefile: Likewise.
5918 * stdlib/Makefile: Likewise.
5919 * streams/Makefile: Likewise.
5920 * string/Makefile: Likewise.
5921 * sunrpc/Makefile: Likewise.
5922 (all): Remove target.
5923 * sysvipc/Makefile: Include Makeconfig immediately after defining
5925 * termios/Makefile: Likewise.
5926 * time/Makefile: Likewise.
5927 * timezone/Makefile: Likewise.
5928 (all): Remove target.
5929 * wcsmbs/Makefile: Include Makeconfig immediately after defining
5931 * wctype/Makefile: Likewise.
5933 2014-02-26 Steve Ellcey <sellcey@mips.com>
5935 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
5936 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
5937 (libc_feholdexcept_setround_mips): Ditto.
5938 (libc_feholdsetround): New.
5939 (libc_feholdsetroundf): New.
5940 (libc_feholdsetroundl): New.
5941 (libc_feupdateenv_test_mips): New.
5942 (libc_feupdateenv_test): New.
5943 (libc_feupdateenv_testf): New.
5944 (libc_feupdateenv_testl): New.
5945 (libc_feresetround): New.
5946 (libc_feresetroundf): New.
5947 (libc_feresetroundl): New.
5948 (libc_fetestexcept_mips): New.
5949 (libc_fetestexcept): New.
5950 (libc_fetestexceptf): New.
5951 (libc_fetestexceptl): New.
5953 (libc_feholdexcept_setround_mips_ctx): New.
5954 (libc_feholdexcept_setround_ctx): New.
5955 (libc_feholdexcept_setroundf_ctx): New.
5956 (libc_feholdexcept_setroundl_ctx): New.
5957 (libc_fesetenv_mips_ctx): New.
5958 (libc_fesetenv_ctx): New.
5959 (libc_fesetenv_ctxf): New.
5960 (libc_fesetenv_ctxl): New.
5961 (libc_feupdateenv_mips_ctx): New.
5962 (libc_feupdateenv_ctx): New.
5963 (libc_feupdateenvf_ctx): New.
5964 (libc_feupdateenvl_ctx): New.
5965 (libc_feholdsetround_mips_ctx): New.
5966 (libc_feholdsetround_ctx): New.
5967 (libc_feholdsetroundf_ctx): New.
5968 (libc_feholdsetroundl_ctx): New.
5969 (libc_feresetround_mips_ctx): New.
5970 (libc_feresetround_ctx): New.
5971 (libc_feresetroundf_ctx): New.
5972 (libc_feresetroundl_ctx): New.
5974 2014-02-26 Carlos O'Donell <carlos@redhat.com>
5976 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
5978 * manual/ipc.texi: New file.
5979 * manual/Makefile (chapters): Add ipc.
5980 * manual/job.texi: Add "Inter-Process Communication" to next.
5981 * manual/process.texi: Add "Inter-Process Communication" to prev.
5983 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5987 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
5989 * malloc/malloc.c (__libc_calloc): Simplify implementation.
5991 * manual/arith.texi: Fix spaces after sentences.
5992 * manual/charset.texi: Likewise.
5993 * manual/errno.texi: Likewise.
5994 * manual/install.texi: Likewise.
5995 * manual/llio.texi: Likewise.
5996 * manual/locale.texi: Likewise.
5997 * manual/maint.texi: Likewise.
5998 * manual/math.texi: Likewise.
5999 * manual/memory.texi: Likewise.
6000 * manual/message.texi: Likewise.
6001 * manual/probes.texi: Likewise.
6002 * manual/resource.texi: Likewise.
6003 * manual/signal.texi: Likewise.
6004 * manual/socket.texi: Likewise.
6005 * manual/stdio.texi: Likewise.
6006 * manual/string.texi: Likewise.
6007 * manual/time.texi: Likewise.
6008 * manual/users.texi: Likewise.
6010 2014-02-25 Carlos O'Donell <carlos@redhat.com>
6013 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6014 _DEFAULT_SOURCE is defined.
6016 2014-02-25 Ulrich Drepper <drepper@gmail.com>
6017 Carlos O'Donell <carlos@redhat.com>
6020 * elf/dl-tls.c (_dl_count_modids): New function.
6021 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6022 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6023 audit library and increment generation counter.
6024 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6025 * elf/tst-audit9.c: New file.
6026 * elf/tst-auditmod9a.c: New file.
6027 * elf/tst-auditmod9b.c: New file.
6028 * elf/Makefile: Add rules to build and run tst-audit9.
6030 2014-02-25 Florian Weimer <fweimer@redhat.com>
6033 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6035 2014-02-25 Will Newton <will.newton@linaro.org>
6037 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6038 (__longjmp): Restore sp and lr before restoring callee
6039 saved registers. Add longjmp and longjmp_target
6040 SystemTap probe point.
6041 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6042 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6043 Define to zero to match jmpbuf layout.
6044 * sysdeps/arm/setjmp.S: Include stap-probe.h.
6045 (__sigsetjmp): Save sp and lr before saving callee
6046 saved registers. Add setjmp SystemTap probe point.
6048 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
6050 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6052 2014-02-24 Andreas Schwab <schwab@suse.de>
6055 * elf/pldd.c (wait_for_ptrace_stop): New function.
6056 (main): Call it after attaching.
6058 2014-02-22 Roland McGrath <roland@hack.frob.com>
6060 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6061 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6062 Versions files is now verboten.
6063 * hurd/Versions (libc: GLIBC_2.0):
6064 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6065 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6066 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6067 * mach/Versions: Likewise.
6069 * csu/Versions: Remove unused %include.
6070 * resolv/Versions: Likewise.
6072 2014-02-21 Joseph Myers <joseph@codesourcery.com>
6074 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6075 ($(objpfx)check-local-headers.out): Likewise.
6076 ($(objpfx)begin-end-check.out): Likewise.
6077 * Makerules (check-abi-%.out): Likewise.
6078 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6079 ($(objpfx)test2.cat): Likewise.
6080 ($(objpfx)de/libc.cat): Likewise.
6081 ($(objpfx)test-gencat.out): Likewise.
6082 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6083 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6084 ($(objpfx)noload-mem): Likewise.
6085 ($(objpfx)tst-pathopt.out): Likewise.
6086 ($(objpfx)tst-rtld-load-self.out): Likewise.
6087 ($(objpfx)tst-array1-cmp.out): Likewise.
6088 ($(objpfx)tst-array1-static-cmp.out): Likewise.
6089 ($(objpfx)tst-array2-cmp.out): Likewise.
6090 ($(objpfx)tst-array3-cmp.out): Likewise.
6091 ($(objpfx)tst-array4-cmp.out): Likewise.
6092 ($(objpfx)tst-array5-cmp.out): Likewise.
6093 ($(objpfx)tst-array5-static-cmp.out): Likewise.
6094 ($(objpfx)check-textrel.out): Likewise.
6095 ($(objpfx)check-execstack.out): Likewise.
6096 ($(objpfx)check-localplt.out): Likewise.
6097 ($(objpfx)order2-cmp.out): Likewise.
6098 ($(objpfx)tst-leaks1-mem): Likewise.
6099 ($(objpfx)tst-leaks1-static-mem): Likewise.
6100 ($(objpfx)tst-initorder-cmp.out): Likewise.
6101 ($(objpfx)tst-initorder2-cmp.out): Likewise.
6102 ($(objpfx)tst-unused-dep.out): Likewise.
6103 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6105 * iconv/Makefile (test-iconvconfig): Likewise.
6106 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6107 ($(objpfx)iconv-test.out): Likewise.
6108 ($(objpfx)tst-tables.out): Likewise.
6109 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6110 ($(objpfx)tst-gettext.out): Likewise.
6111 ($(objpfx)tst-translit.out): Likewise.
6112 ($(objpfx)tst-gettext2.out): Likewise.
6113 ($(objpfx)tst-gettext4.out): Likewise.
6114 ($(objpfx)tst-gettext6.out): Likewise.
6115 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6116 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6117 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6118 ($(objpfx)tst-fopenloc-mem.out): Likewise.
6119 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6120 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6121 * posix/Makefile ($(objpfx)globtest.out): Likewise.
6122 ($(objpfx)wordexp-tst.out): Likewise.
6123 ($(objpfx)annexc.out): Likewise.
6124 ($(objpfx)tst-fnmatch-mem): Likewise.
6125 ($(objpfx)bug-regex2-mem): Likewise.
6126 ($(objpfx)bug-regex14-mem): Likewise.
6127 ($(objpfx)bug-regex21-mem): Likewise.
6128 ($(objpfx)bug-regex31-mem): Likewise.
6129 ($(objpfx)tst-vfork3-mem): Likewise.
6130 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6131 ($(objpfx)tst-pcre-mem): Likewise.
6132 ($(objpfx)tst-boost-mem): Likewise.
6133 ($(objpfx)tst-getconf.out): Likewise.
6134 ($(objpfx)bug-ga2-mem): Likewise.
6135 ($(objpfx)bug-glob2-mem): Likewise.
6136 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6137 ($(objpfx)mtrace-tst-leaks2): Likewise.
6138 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6139 ($(objpfx)tst-printf.out): Likewise.
6140 ($(objpfx)tst-setvbuf1.out): Likewise.
6141 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6142 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6143 ($(objpfx)tst-fmtmsg.out): Likewise.
6144 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6145 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6147 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6148 * bits/sigaction.h [__USE_MISC]: Likewise.
6149 * bits/waitstatus.h: Update #endif comments.
6150 * ctype/ctype.h: Likewise.
6151 * dirent/dirent.h: Likewise.
6152 [__USE_MISC]: Remove redundant conditionals.
6153 * grp/grp.h: Update #endif comments.
6154 [__USE_GNU]: Remove redundant conditionals.
6155 [__USE_MISC]: Likewise.
6156 * inet/netinet/in.h [__USE_GNU]: Likewise.
6157 * io/sys/stat.h [__USE_MISC]: Likewise.
6158 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6159 * libio/bits/stdio.h: Update #endif comments.
6160 [__USE_MISC]: Remove redundant conditionals.
6161 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6162 * libio/stdio.h: Update #endif comments.
6163 [__USE_MISC]: Remove redundant conditionals.
6164 * math/bits/math-finite.h [__USE_MISC]: Likewise.
6165 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6166 * math/math.h: Update #else and #endif comments.
6167 [__USE_MISC]: Remove redundant conditionals.
6168 * misc/sys/uio.h: Update #endif comments.
6169 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6170 * posix/glob.h [__USE_MISC]: Likewise.
6171 * posix/sys/types.h: Update #endif comments.
6172 [__USE_MISC]: Remove redundant conditionals.
6173 * posix/sys/wait.h: Update #endif comments.
6174 [__USE_MISC]: Remove redundant conditionals.
6175 * posix/unistd.h: Update #endif comments.
6176 [__USE_MISC]: Remove redundant conditionals.
6177 * pwd/pwd.h [__USE_GNU]: Likewise.
6178 [__USE_MISC]: Likewise.
6179 * resolv/netdb.h [__USE_GNU]: Likewise.
6180 * signal/signal.h: Update #endif comments.
6181 [__USE_MISC]: Remove redundant conditionals.
6182 * stdlib/stdlib.h: Update #else and #endif comments.
6183 [__USE_MISC]: Remove redundant conditionals.
6184 [__USE_GNU]: Likewise.
6185 * string/bits/string2.h [__USE_MISC]: Likewise.
6186 * string/string.h: Update #endif comments.
6187 [__USE_MISC]: Remove redundant conditionals.
6188 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6190 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6191 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6192 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6194 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6198 [__USE_MISC]: Remove redundant conditionals.
6199 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6200 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6201 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6202 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6203 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6205 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6206 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6208 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6209 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6211 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6213 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6214 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6216 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6218 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6219 * sysdeps/x86/bits/string.h: Update #endif comments.
6220 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6222 * time/sys/time.h: Update #endif comments.
6223 * time/time.h: Likewise.
6224 [__USE_MISC]: Remove redundant conditionals.
6226 2014-02-21 Yury Gribov <y.gribov@samsung.com>
6229 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6231 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
6233 * Versions.def (librt): Add GLIBC_2.17.
6235 2014-02-21 Adam Conrad <adconrad@0c3.net>
6237 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6238 synonym for _SYS_AUXV_H to allow direct inclusion.
6239 * sysdeps/sparc/bits/hwcap.h: Likewise.
6240 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6241 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6242 * sysdeps/sparc/sysdep.h: Likewise.
6244 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6246 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6248 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6250 * benchtests/bench-strrchr.c: Print length instead of position.
6252 2014-02-20 Joseph Myers <joseph@codesourcery.com>
6255 * sysdeps/unix/sysv/linux/kernel-features.h
6256 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6257 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6258 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6259 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6261 [__i386__ || __powerpc__ || __sh__ || __sparc__]
6262 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6263 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6264 (__ASSUME_SENDMMSG): Define instead of using previous
6265 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6266 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6267 (__ASSUME_SENDMMSG_SYSCALL): Define.
6268 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6269 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6271 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6272 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6274 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6275 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6277 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6278 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6279 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6280 [__ASSUME_SENDMMSG]: Change conditionals to
6281 [__ASSUME_SENDMMSG_SOCKETCALL].
6282 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6283 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6285 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6286 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6288 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6289 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6290 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6291 [!__ASSUME_SENDMMSG]: Change conditional to
6292 [!__ASSUME_SENDMMSG_SOCKETCALL].
6293 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6294 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6298 * sysdeps/unix/sysv/linux/kernel-features.h
6299 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6300 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6301 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6302 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6303 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6304 [__i386__ || __sparc__]
6305 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6306 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6307 (__ASSUME_RECVMMSG): Define instead of using previous
6308 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6309 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6310 (__ASSUME_RECVMMSG_SYSCALL): Define.
6311 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6312 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6314 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6317 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6318 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6320 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6321 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6322 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6323 [__ASSUME_RECVMMSG]: Change condition to
6324 [__ASSUME_RECVMMSG_SOCKETCALL].
6325 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6326 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6328 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6329 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6330 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6332 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
6333 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6334 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6335 [!__ASSUME_RECVMMSG]: Change condition to
6336 [!__ASSUME_RECVMMSG_SOCKETCALL].
6337 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6338 (__ASSUME_RECVMMSG_SYSCALL): Define.
6341 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
6342 __powerpc__ || __s390__ || __sh__ || __sparc__]
6343 (__ASSUME_SOCKETCALL): Define.
6344 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
6345 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
6346 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
6347 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
6348 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6349 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6350 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
6351 (__ASSUME_ACCEPT4): Define instead of using previous
6352 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
6353 __powerpc__ || __sparc__ || __s390__)] condition.
6354 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6355 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6356 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
6357 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6358 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6359 [!__ASSUME_ACCEPT4]: Change condition to
6360 [!__ASSUME_ACCEPT4_SOCKETCALL].
6361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6362 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
6363 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
6364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6365 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
6366 __ASSUME_ACCEPT4_SYSCALL.
6367 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
6368 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
6369 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6370 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
6371 __ASSUME_ACCEPT4_SYSCALL.
6372 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
6373 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
6374 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
6375 [__ASSUME_ACCEPT4]: Change condition to
6376 [__ASSUME_ACCEPT4_SOCKETCALL].
6377 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6378 (__ASSUME_SOCKETCALL): Define.
6379 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
6380 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6381 (__ASSUME_SOCKETCALL): Define.
6382 (__ASSUME_ACCEPT4): Remove.
6383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
6385 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6386 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
6388 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6389 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
6391 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
6393 (HWCAP_ARM_LPAE): Likewise.
6394 (HWCAP_ARM_EVTSTRM): Likewise.
6395 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
6396 Add vpfd32, lpae and evtstrm.
6397 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
6400 2014-02-19 Joseph Myers <joseph@codesourcery.com>
6402 * math/auto-libm-test-in: Add tests of clog10.
6403 * math/auto-libm-test-out: Regenerated.
6404 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
6405 * sysdeps/i386/fpu/libm-test-ulps: Update.
6406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6408 2014-02-18 Andreas Schwab <schwab@suse.de>
6411 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
6412 Store non-zero if the second buffer was newly allocated.
6413 (send_dg): Likewise.
6414 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
6415 to send_vc and send_dg.
6416 (res_nsend): Pass NULL for ansp2_malloced.
6417 * resolv/res_query.c (__libc_res_nquery): Add parameter
6418 answerp2_malloced and pass it down to __libc_res_nsend.
6419 (res_nquery): Pass additional NULL to __libc_res_nquery.
6420 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
6421 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
6422 second answer buffer if answerp2_malloced was set.
6423 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
6424 (__libc_res_nquerydomain): Add parameter
6425 answerp2_malloced and pass it down to __libc_res_nquery.
6426 (res_nquerydomain): Pass additional NULL to
6427 __libc_res_nquerydomain.
6428 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
6429 additional NULL to __libc_res_nsend and __libc_res_nquery.
6430 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
6431 additional NULL to __libc_res_nsearch.
6432 (_nss_dns_gethostbyname4_r): Revert last change. Use new
6433 parameter of __libc_res_nsearch to check for separately allocated
6435 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
6437 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
6438 additional NULL to __libc_res_nquery.
6439 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
6441 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
6442 * include/resolv.h: Update prototypes of __libc_res_nquery,
6443 __libc_res_nsearch, __libc_res_nsend.
6445 2014-02-18 Joseph Myers <joseph@codesourcery.com>
6447 * math/auto-libm-test-in: Add tests of fma.
6448 * math/auto-libm-test-out: Regenerated.
6449 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
6450 (fma_towardzero_test_data): Likewise.
6451 (fma_downward_test_data): Likewise.
6452 (fma_upward_test_data): Likewise.
6453 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
6455 (rounding_modes): Add values for new field.
6456 (func_calc_method): Add value mpfr_fff_f.
6457 (func_calc_desc): Add mpfr_fff_f union field.
6458 (test_function): Add field exact_args.
6459 (FUNC): Add macro argument EXACT_ARGS.
6460 (FUNC_mpfr_f_f): Update call to FUNC.
6461 (FUNC_mpfr_f_f): Likewise.
6462 (FUNC_mpfr_ff_f): Likewise.
6463 (FUNC_mpfr_if_f): Likewise.
6464 (FUNC_mpc_c_f): Likewise.
6465 (FUNC_mpc_c_c): Likewise.
6466 (test_functions): Add fma. Update calls to FUNC.
6467 (handle_input_arg): Add argument exact_args.
6468 (add_test): Update call to handle_input_arg.
6469 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
6470 (output_for_one_input_case): Update call to calc_generic_results.
6471 Recalculate exact zero results in each rounding mode.
6473 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
6474 non-negative before setting low bit.
6475 * math/auto-libm-test-in: Mark one asin test possibly having
6477 * math/auto-libm-test-out: Regenerated.
6478 * sysdeps/i386/fpu/libm-test-ulps: Update.
6479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6481 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
6483 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
6484 * sysdeps/unix/sysv/linux/microblaze: Move directory from
6485 ports/sysdeps/unix/sysv/linux/microblaze.
6486 * README: Add missing listing for microblaze*-*-linux-gnu.
6488 2014-02-16 Mike Frysinger <vapier@gentoo.org>
6490 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
6491 * sysdeps/unix/sysv/linux/ia64: Move directory from
6492 ports/sysdeps/unix/sysv/linux/ia64.
6493 * README: Update listing for ia64-*-linux-gnu.
6495 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
6496 Joseph Myers <joseph@codesourcery.com>
6498 * Makeconfig (test-name): New variable.
6499 (evaluate-test): Likewise.
6500 * Makerules (do-test-clean): Remove .test-result files.
6501 (common-mostlyclean): Likewise.
6502 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
6503 * scripts/evaluate-test.sh: New file.
6505 2014-02-14 Joseph Myers <joseph@codesourcery.com>
6507 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
6508 separate $(objpfx)tst-fopenloc-cmp.out and
6509 $(objpfx)tst-fopenloc-mem.out targets.
6510 (tests): Update dependencies.
6511 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
6512 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
6513 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
6514 (tst-rxspencer-no-utf8-ARGS): New variable.
6515 (tst-rxspencer-no-utf8-ENV): Likewise.
6516 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
6517 instead of $(objpfx)tst-rxspencer-mem.
6518 ($(objpfx)tst-rxspencer-mem): Change target to
6519 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
6520 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
6521 * posix/tst-rxspencer-no-utf8.c: New file.
6523 * elf/Makefile ($(objpfx)order.out): Remove rule.
6524 [$(run-built-tests) = yes] (tests): Depend on
6525 $(objpfx)order-cmp.out.
6526 ($(objpfx)order-cmp.out): New rule.
6527 [$(run-built-tests) = yes] (tests): Depend on
6528 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
6529 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
6530 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
6531 $(objpfx)tst-array5-static-cmp.out.
6532 ($(objpfx)tst-array1.out): Remove rule.
6533 ($(objpfx)tst-array1-cmp.out): New rule.
6534 ($(objpfx)tst-array1-static.out): Remove rule.
6535 ($(objpfx)tst-array1-static-cmp.out): New rule.
6536 ($(objpfx)tst-array2.out): Remove rule.
6537 ($(objpfx)tst-array2-cmp.out): New rule.
6538 ($(objpfx)tst-array3.out): Remove rule.
6539 ($(objpfx)tst-array3-cmp.out): New rule.
6540 ($(objpfx)tst-array4.out): Remove rule.
6541 ($(objpfx)tst-array4-cmp.out): New rule.
6542 ($(objpfx)tst-array5.out): Remove rule.
6543 ($(objpfx)tst-array5-cmp.out): New rule.
6544 ($(objpfx)tst-array5-static.out): Remove rule.
6545 ($(objpfx)tst-array5-static-cmp.out): New rule.
6546 [$(run-built-tests) = yes] (tests): Depend on
6547 $(objpfx)order2-cmp.out.
6548 ($(objpfx)order2.out): Remove rule.
6549 ($(objpfx)order2-cmp.out): New rule.
6550 ($(objpfx)tst-initorder.out): Remove rule.
6551 [$(run-built-tests) = yes] (tests): Depend on
6552 $(objpfx)tst-initorder-cmp.out.
6553 ($(objpfx)tst-initorder-cmp.out): New rule.
6554 ($(objpfx)tst-initorder2.out): Remove rule.
6555 [$(run-built-tests) = yes] (tests): Depend on
6556 $(objpfx)tst-initorder2-cmp.out.
6557 ($(objpfx)tst-initorder2-cmp.out): New rule.
6558 [$(run-built-tests) = yes] (tests): Depend on
6559 $(objpfx)tst-unused-dep-cmp.out.
6560 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
6561 ($(objpfx)tst-unused-dep-cmp.out): New rule.
6562 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
6563 on $(objpfx)tst-setvbuf1-cmp.out.
6564 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
6565 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
6566 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
6567 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
6568 ($(objpfx)tst-svc.out): Remove rule.
6569 ($(objpfx)tst-svc-cmp.out): New rule.
6571 2014-02-13 Joseph Myers <joseph@codesourcery.com>
6573 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
6574 * ctype/ctype.h [__USE_MISC]: Likewise.
6575 * dirent/dirent.h [__USE_MISC]: Likewise.
6576 * grp/grp.h [__USE_MISC]: Likewise.
6577 * io/fcntl.h [__USE_MISC]: Likewise.
6578 * io/sys/stat.h [__USE_MISC]: Likewise.
6579 * libio/stdio.h [__USE_MISC]: Likewise.
6580 * posix/unistd.h [__USE_MISC]: Likewise.
6581 * pwd/pwd.h [__USE_MISC]: Likewise.
6582 * stdlib.h [__USE_MISC]: Likewise.
6583 * string/bits/string2.h [__USE_MISC]: Likewise.
6584 * string/string.h [__USE_MISC]: Likewise.
6585 * time/time.h [__USE_MISC]: Likewise.
6587 2014-02-13 Andreas Schwab <schwab@suse.de>
6590 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
6591 second answer buffer if it was separately allocated.
6593 2014-02-12 Joseph Myers <joseph@codesourcery.com>
6595 * sysdeps/mips/math-tests.h: Include <features.h>.
6596 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6597 (ROUNDING_TESTS_long_double): Do not define.
6598 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
6599 (EXCEPTION_TESTS_long_double): Likewise.
6600 * sysdeps/mips/mips64/libm-test-ulps: Update.
6602 * include/features.h (__USE_BSD): Remove macro definitions.
6603 (__USE_SVID): Likewise.
6604 (_BSD_SOURCE): Likewise.
6605 (_SVID_SOURCE): Likewise.
6606 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
6607 from definition of _DEFAULT_SOURCE.
6608 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
6610 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
6611 * bits/mman.h [__USE_BSD]: Likewise.
6612 * bits/termios.h [__USE_BSD]: Likewise.
6613 * bits/waitstatus.h [__USE_BSD]: Likewise.
6614 * ctype/ctype.h [__USE_SVID]: Likewise.
6615 * dirent/dirent.h [__USE_BSD]: Likewise.
6616 * grp/grp.h [__USE_SVID]: Likewise.
6617 [__USE_BSD]: Likewise.
6618 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
6619 * io/fcntl.h [__USE_BSD]: Likewise.
6620 * io/ftw.h [__USE_BSD]: Likewise.
6621 * io/sys/stat.h [__USE_BSD]: Likewise.
6622 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
6623 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
6624 * libio/stdio.h [__USE_SVID]: Likewise.
6625 [__USE_BSD]: Likewise.
6626 * math/math.h [__USE_SVID]: Likewise.
6627 [__USE_BSD]: Likewise.
6628 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
6629 * misc/bits/syslog.h [__USE_BSD]: Likewise.
6630 * misc/search.h [__USE_SVID]: Likewise.
6631 * misc/sys/mman.h [__USE_BSD]: Likewise.
6632 * misc/sys/syslog.h [__USE_BSD]: Likewise.
6633 * misc/sys/uio.h [__USE_BSD]: Likewise.
6634 * posix/bits/unistd.h [__USE_BSD]: Likewise.
6635 * posix/glob.h [__USE_BSD]: Likewise.
6636 * posix/regex.h [__USE_BSD]: Likewise.
6637 * posix/sys/types.h [__USE_BSD]: Likewise.
6638 [__USE_SVID]: Likewise.
6639 * posix/sys/utsname.h [__USE_SVID]: Likewise.
6640 * posix/sys/wait.h [__USE_BSD]: Likewise.
6641 [__USE_SVID]: Likewise.
6642 * posix/unistd.h [__USE_BSD]: Likewise.
6643 [__USE_SVID]: Likewise.
6644 * pwd/pwd.h [__USE_SVID]: Likewise.
6645 * resolv/netdb.h [__USE_BSD]: Likewise.
6646 * setjmp/setjmp.h [__USE_BSD]: Likewise.
6647 * signal/signal.h [__USE_BSD]: Likewise.
6648 [__USE_SVID]: Likewise.
6649 * socket/sys/socket.h [__USE_BSD]: Likewise.
6650 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
6651 * stdlib/stdlib.h [__USE_BSD]: Likewise.
6652 [__USE_SVID]: Likewise.
6653 * string/bits/string2.h [__USE_BSD]: Likewise.
6654 [__USE_SVID]: Likewise.
6655 * string/bits/string3.h [__USE_BSD]: Likewise.
6656 * string/endian.h [__USE_BSD]: Likewise.
6657 * string/string.h [__USE_SVID]: Likewise.
6658 [__USE_BSD]: Likewise.
6659 * string/strings.h [__USE_BSD]: Likewise.
6660 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
6661 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
6662 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
6663 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
6664 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
6665 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
6667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
6669 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
6670 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
6672 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
6673 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
6675 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
6677 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
6678 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
6679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
6681 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
6683 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
6684 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
6685 * termios/termios.h [__USE_BSD]: Likewise.
6686 * time/sys/time.h [__USE_BSD]: Likewise.
6687 * time/time.h [__USE_BSD]: Likewise.
6688 [__USE_SVID]: Likewise.
6690 * Makefile (subdir_targets): Remove subdir_lint.out.
6692 * stdio-common/Makefile (do-tst-unbputc): Remove target.
6693 (do-tst-printf): Likewise.
6694 (tests): Depend directly on $(objpfx)tst-unbputc.out and
6695 $(objpfx)tst-printf.out.
6697 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
6699 * Makerules (check-abi-%): Change target to
6700 $(objpfx)check-abi-%.out.
6701 (check-abi target): Update dependencies.
6702 (check-abi-pattern variable): Redirect output of diff to $@.
6703 (check-abi variable): Likewise.
6704 * elf/Makefile (check-abi): Update dependencies.
6706 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
6708 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
6709 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
6711 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
6712 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
6713 value has largest subnormal exponent.
6714 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
6715 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
6716 * sysdeps/aarch64/soft-fp/sfp-machine.h
6717 (_FP_TININESS_AFTER_ROUNDING): New macro.
6718 * sysdeps/alpha/soft-fp/sfp-machine.h
6719 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6720 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6722 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
6723 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6724 * sysdeps/mips/soft-fp/sfp-machine.h
6725 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6726 * sysdeps/powerpc/soft-fp/sfp-machine.h
6727 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6728 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6730 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
6731 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6732 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
6733 (_FP_TININESS_AFTER_ROUNDING): Likewise.
6734 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
6737 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
6740 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
6743 2014-02-12 Richard Henderson <rth@redhat.com>
6745 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
6746 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
6747 * sysdeps/unix/sysv/linux/alpha: Move directory from
6748 ports/sysdeps/unix/sysv/linux/alpha.
6749 * README: Update listing for alpha-*-linux-gnu.
6751 2014-02-11 Joseph Myers <joseph@codesourcery.com>
6753 * include/features.h: Update comment documenting feature test
6755 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
6757 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
6758 (_SVID_SOURCE): Likewise.
6759 (_DEFAULT_SOURCE): Update description of default features.
6760 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
6762 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
6763 (S_ISVTX): Likewise.
6764 * manual/math.texi (Mathematical Constants): Likewise.
6765 * manual/signal.texi (Interrupted Primitives): Likewise.
6766 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
6767 * math/test-matherr.c (_SVID_SOURCE): Do not define.
6768 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
6769 Don't refer to _SVID_SOURCE in warning text.
6771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6773 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
6775 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
6776 * sysdeps/mips/dl-lookup.c: Remove.
6777 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
6779 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6782 * math/auto-libm-test-in: Add testcase for expl.
6783 * math/auto-libm-test-out: Regenerate.
6784 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
6785 calculation of unsafe.
6786 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
6788 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
6790 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
6791 * sysdeps/unix/sysv/linux/aarch64: Move directory from
6792 ports/sysdeps/unix/sysv/linux/aarch64.
6793 * README: Update listing for aarch64*-*-linux-gnu.
6795 2014-02-11 Will Newton <will.newton@linaro.org>
6797 * manual/probes.texi (Mathematical Function Probes): Use
6798 "triggered" instead of "hit".
6800 * manual/probes.texi (Internal Probes): Add documentation
6801 of setjmp, longjmp and longjmp_target probes.
6803 * include/stap-probe.h: Add comment about probe argument
6806 * malloc/mtrace.c (attribute_hidden): Remove unused macro
6807 definition. (tr_where, tr_freehook, tr_mallochook,
6808 tr_reallochook, tr_memalignhook): Use ANSI protoype.
6810 2014-02-11 David S. Miller <davem@davemloft.net>
6812 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
6813 processing int_tests.
6815 2014-02-10 Joseph Myers <joseph@codesourcery.com>
6817 * sysdeps/mips: Move directory from ports/sysdeps/mips.
6818 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
6819 * sysdeps/unix/sysv/linux/mips: Move directory from
6820 ports/sysdeps/unix/sysv/linux/mips.
6821 * README: Update listing for mips-*-linux-gnu and
6824 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
6826 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
6827 * sysdeps/unix/sysv/linux/m68k: Move directory from
6828 ports/sysdeps/unix/sysv/linux/m68k.
6829 * README: Update listing for m68k-*-linux-gnu.
6831 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
6833 * sysdeps/tile: Move directory from ports/sysdeps/tile.
6834 * sysdeps/unix/sysv/linux/generic: Move directory from
6835 ports/sysdeps/unix/sysv/linux/generic.
6836 * sysdeps/unix/sysv/linux/tile: Move directory from
6837 ports/sysdeps/unix/sysv/linux/tile.
6838 * README: Update listing for tile*-*-linux-gnu.
6840 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
6842 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
6844 * benchtests/bench-memmem.c (simple_memmem): Likewise.
6845 * catgets/open_catalog.c (__open_catalog): Likewise.
6846 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
6847 * debug/confstr_chk.c: Likewise.
6848 * debug/fread_chk.c (__fread_chk): Likewise.
6849 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
6850 * debug/getgroups_chk.c: Likewise.
6851 * debug/mbsnrtowcs_chk.c: Likewise.
6852 * debug/mbsrtowcs_chk.c: Likewise.
6853 * debug/mbstowcs_chk.c: Likewise.
6854 * debug/memcpy_chk.c: Likewise.
6855 * debug/memmove_chk.c: Likewise.
6856 * debug/mempcpy_chk.c: Likewise.
6857 * debug/memset_chk.c: Likewise.
6858 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
6859 * debug/strcat_chk.c (__strcat_chk): Likewise.
6860 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
6861 * debug/strncat_chk.c (__strncat_chk): Likewise.
6862 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
6863 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
6864 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
6865 * debug/wcpncpy_chk.c: Likewise.
6866 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
6867 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
6868 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
6869 * debug/wcsncpy_chk.c: Likewise.
6870 * debug/wcsnrtombs_chk.c: Likewise.
6871 * debug/wcsrtombs_chk.c: Likewise.
6872 * debug/wcstombs_chk.c: Likewise.
6873 * debug/wmemcpy_chk.c: Likewise.
6874 * debug/wmemmove_chk.c: Likewise.
6875 * debug/wmempcpy_chk.c: Likewise.
6876 * debug/wmemset_chk.c: Likewise.
6877 * dirent/scandirat.c (SCANDIRAT): Likewise.
6878 * dlfcn/dladdr1.c (dladdr1): Likewise.
6879 * dlfcn/dladdr.c (dladdr): Likewise.
6880 * dlfcn/dlclose.c (dlclose_doit): Likewise.
6881 * dlfcn/dlerror.c (__dlerror): Likewise.
6882 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
6883 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6884 * dlfcn/dlopen.c (dlopen_doit): Likewise.
6885 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
6886 * dlfcn/dlsym.c (dlsym_doit): Likewise.
6887 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
6888 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
6889 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
6891 * elf/dl-conflict.c: Likewise.
6892 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
6893 * elf/dl-dst.h: Likewise.
6894 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
6895 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
6896 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
6897 * elf/dl-init.c (call_init, _dl_init): Likewise.
6898 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
6899 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
6900 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
6902 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
6904 * elf/dl-minimal.c (__libc_memalign): Likewise.
6905 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
6906 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6907 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
6908 * elf/dl-sym.c (do_sym): Likewise.
6909 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
6910 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
6911 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
6912 * elf/dl-writev.h (_dl_writev): Likewise.
6913 * elf/ldconfig.c (search_dir): Likewise.
6914 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
6915 (dl_main): Likewise.
6916 * elf/setup-vdso.h (setup_vdso): Likewise.
6917 * grp/compat-initgroups.c (compat_call): Likewise.
6918 * grp/fgetgrent.c (fgetgrent): Likewise.
6919 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
6920 * grp/putgrent.c (putgrent): Likewise.
6921 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6923 * hurd/hurdinit.c: Likewise.
6924 * iconvdata/8bit-gap.c (struct): Likewise.
6925 * iconvdata/ansi_x3.110.c : Likewise.
6926 * iconvdata/big5.c : Likewise.
6927 * iconvdata/big5hkscs.c : Likewise.
6928 * iconvdata/cp1255.c: Likewise.
6929 * iconvdata/cp1258.c : Likewise.
6930 * iconvdata/cp932.c : Likewise.
6931 * iconvdata/euc-cn.c: Likewise.
6932 * iconvdata/euc-jisx0213.c : Likewise.
6933 * iconvdata/euc-jp.c: Likewise.
6934 * iconvdata/euc-jp-ms.c : Likewise.
6935 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
6936 * iconvdata/gb18030.c : Likewise.
6937 * iconvdata/gbbig5.c (const): Likewise.
6938 * iconvdata/gbgbk.c: Likewise.
6939 * iconvdata/gbk.c : Likewise.
6940 * iconvdata/ibm1364.c : Likewise.
6941 * iconvdata/ibm930.c : Likewise.
6942 * iconvdata/ibm932.c: Likewise.
6943 * iconvdata/ibm933.c : Likewise.
6944 * iconvdata/ibm935.c : Likewise.
6945 * iconvdata/ibm937.c : Likewise.
6946 * iconvdata/ibm939.c : Likewise.
6947 * iconvdata/ibm943.c: Likewise.
6948 * iconvdata/iso_11548-1.c: Likewise.
6949 * iconvdata/iso-2022-cn.c : Likewise.
6950 * iconvdata/iso-2022-cn-ext.c : Likewise.
6951 * iconvdata/iso-2022-jp-3.c: Likewise.
6952 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
6953 * iconvdata/iso-2022-kr.c : Likewise.
6954 * iconvdata/iso646.c (gconv_end): Likewise.
6955 * iconvdata/iso_6937-2.c : Likewise.
6956 * iconvdata/iso_6937.c : Likewise.
6957 * iconvdata/iso8859-1.c: Likewise.
6958 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
6959 * iconvdata/shift_jisx0213.c : Likewise.
6960 * iconvdata/sjis.c : Likewise.
6961 * iconvdata/t.61.c : Likewise.
6962 * iconvdata/tcvn5712-1.c : Likewise.
6963 * iconvdata/tscii.c: Likewise.
6964 * iconvdata/uhc.c : Likewise.
6965 * iconvdata/unicode.c (gconv_end): Likewise.
6966 * iconvdata/utf-16.c (gconv_end): Likewise.
6967 * iconvdata/utf-32.c (gconv_end): Likewise.
6968 * iconvdata/utf-7.c (base64): Likewise.
6969 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
6970 * iconv/gconv_close.c (__gconv_close): Likewise.
6971 * iconv/gconv_open.c (__gconv_open): Likewise.
6972 * iconv/gconv_simple.c (internal_ucs4_loop_single)
6973 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
6974 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
6975 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
6976 (ucs4le_internal_loop_single): Likewise.
6977 * iconv/iconv.c (iconv): Likewise.
6978 * iconv/iconv_close.c: Likewise.
6979 * iconv/loop.c (SINGLE): Likewise.
6980 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
6981 * include/atomic.h: Likewise.
6982 * inet/inet6_option.c (option_alloc): Likewise.
6983 * intl/bindtextdom.c (set_binding_values): Likewise.
6984 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
6985 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
6986 * intl/localealias.c (read_alias_file): Likewise.
6987 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
6988 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
6989 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
6990 * libio/fmemopen.c (fmemopen): Likewise.
6991 * libio/iofgets.c (_IO_fgets): Likewise.
6992 * libio/iofgets_u.c (fgets_unlocked): Likewise.
6993 * libio/iofgetws.c (fgetws): Likewise.
6994 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
6995 * libio/iogetdelim.c (_IO_getdelim): Likewise.
6996 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
6997 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
6998 * locale/findlocale.c (_nl_find_locale): Likewise.
6999 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7000 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7002 * locale/setlocale.c (setlocale): Likewise.
7003 * login/programs/pt_chown.c (main): Likewise.
7004 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7005 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7006 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7007 (mmap, mmap64, mremap, munmap): Likewise.
7008 * math/e_exp2l.c: Likewise.
7009 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7010 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7011 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7012 * math/s_catan.c (__catan): Likewise.
7013 * math/s_catanf.c (__catanf): Likewise.
7014 * math/s_catanh.c (__catanh): Likewise.
7015 * math/s_catanhf.c (__catanhf): Likewise.
7016 * math/s_catanhl.c (__catanhl): Likewise.
7017 * math/s_catanl.c (__catanl): Likewise.
7018 * math/s_ccosh.c (__ccosh): Likewise.
7019 * math/s_ccoshf.c (__ccoshf): Likewise.
7020 * math/s_ccoshl.c (__ccoshl): Likewise.
7021 * math/s_cexp.c (__cexp): Likewise.
7022 * math/s_cexpf.c (__cexpf): Likewise.
7023 * math/s_cexpl.c (__cexpl): Likewise.
7024 * math/s_clog10.c (__clog10): Likewise.
7025 * math/s_clog10f.c (__clog10f): Likewise.
7026 * math/s_clog10l.c (__clog10l): Likewise.
7027 * math/s_clog.c (__clog): Likewise.
7028 * math/s_clogf.c (__clogf): Likewise.
7029 * math/s_clogl.c (__clogl): Likewise.
7030 * math/s_csin.c (__csin): Likewise.
7031 * math/s_csinf.c (__csinf): Likewise.
7032 * math/s_csinh.c (__csinh): Likewise.
7033 * math/s_csinhf.c (__csinhf): Likewise.
7034 * math/s_csinhl.c (__csinhl): Likewise.
7035 * math/s_csinl.c (__csinl): Likewise.
7036 * math/s_csqrt.c (__csqrt): Likewise.
7037 * math/s_csqrtf.c (__csqrtf): Likewise.
7038 * math/s_csqrtl.c (__csqrtl): Likewise.
7039 * math/s_ctan.c (__ctan): Likewise.
7040 * math/s_ctanf.c (__ctanf): Likewise.
7041 * math/s_ctanh.c (__ctanh): Likewise.
7042 * math/s_ctanhf.c (__ctanhf): Likewise.
7043 * math/s_ctanhl.c (__ctanhl): Likewise.
7044 * math/s_ctanl.c (__ctanl): Likewise.
7045 * math/w_pow.c: Likewise.
7046 * math/w_powf.c: Likewise.
7047 * math/w_powl.c: Likewise.
7048 * math/w_scalb.c (sysv_scalb): Likewise.
7049 * math/w_scalbf.c (sysv_scalbf): Likewise.
7050 * math/w_scalbl.c (sysv_scalbl): Likewise.
7051 * misc/error.c (error_tail): Likewise.
7052 * misc/pselect.c (__pselect): Likewise.
7053 * nis/nis_callback.c (__nis_create_callback): Likewise.
7054 * nis/nis_call.c (__nisfind_server): Likewise.
7055 * nis/nis_creategroup.c (nis_creategroup): Likewise.
7056 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7057 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7058 * nis/nis_getservlist.c (nis_getservlist): Likewise.
7059 * nis/nis_lookup.c (nis_lookup): Likewise.
7060 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7061 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7062 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7063 * nis/nis_xdr.c (xdr_endpoint): Likewise.
7064 * nis/nss_compat/compat-grp.c (getgrent_next_file)
7065 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7066 * nis/nss_compat/compat-initgroups.c (add_group)
7067 (internal_getgrent_r): Likewise.
7068 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7069 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7070 * nis/nss_compat/compat-spwd.c (getspent_next_file)
7071 (internal_getspnam_r): Likewise.
7072 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7073 (_nss_nis_getaliasbyname_r): Likewise.
7074 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7075 (_nss_nis_getntohost_r): Likewise.
7076 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7077 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7078 (_nss_nis_getgrgid_r): Likewise.
7079 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7080 (internal_nis_gethostent_r, internal_gethostbyname2_r)
7081 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7082 (_nss_nis_gethostbyname4_r): Likewise.
7083 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7084 (initgroups_netid): Likewise.
7085 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7086 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7087 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7088 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7089 (_nss_nis_getprotobynumber_r): Likewise.
7090 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7091 (_nss_nis_getsecretkey): Likewise.
7092 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7093 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7094 (_nss_nis_getpwuid_r): Likewise.
7095 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7096 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7097 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7098 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7099 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7100 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7101 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7103 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7104 (_nss_nisplus_getntohost_r): Likewise.
7105 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7106 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7107 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7108 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7110 * nis/nss_nisplus/nisplus-initgroups.c
7111 (_nss_nisplus_initgroups_dyn): Likewise.
7112 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7113 (_nss_nisplus_getnetbyaddr_r): Likewise.
7114 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7115 (_nss_nisplus_getprotobynumber_r): Likewise.
7116 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7117 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7118 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7120 * nis/nss_nisplus/nisplus-service.c
7121 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7122 (_nss_nisplus_getservbyport_r): Likewise.
7123 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7124 (_nss_nisplus_getspnam_r): Likewise.
7125 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7127 * nscd/aicache.c (addhstaiX): Likewise.
7128 * nscd/cache.c (cache_search, prune_cache): Likewise.
7129 * nscd/connections.c (register_traced_file, send_ro_fd)
7130 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7131 (main_loop_epoll): Likewise.
7132 * nscd/grpcache.c (addgrbyX): Likewise.
7133 * nscd/hstcache.c (addhstbyX): Likewise.
7134 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7135 * nscd/mem.c (gc, mempool_alloc): Likewise.
7136 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7137 (addinnetgrX): Likewise.
7138 * nscd/nscd-client.h (__nscd_acquire_maplock)
7139 (__nscd_drop_map_ref): Likewise.
7140 * nscd/nscd_getai.c (__nscd_getai): Likewise.
7141 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7142 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7144 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7145 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7146 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7147 (__nscd_get_map_ref): Likewise.
7148 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7149 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7151 * nscd/pwdcache.c (addpwbyX): Likewise.
7152 * nscd/selinux.c (preserve_capabilities): Likewise.
7153 * nscd/servicescache.c (addservbyX): Likewise.
7154 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7155 * posix/fnmatch.c (fnmatch): Likewise.
7156 * posix/getopt.c (_getopt_internal_r): Likewise.
7157 * posix/glob.c (glob, glob_in_dir): Likewise.
7158 * posix/wordexp.c (exec_comm_child): Likewise.
7159 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7160 (getanswer_r, gaih_getanswer_slice): Likewise.
7161 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7162 * resolv/res_init.c: Likewise.
7163 * resolv/res_mkquery.c (res_nmkquery): Likewise.
7164 * resolv/res_query.c (__libc_res_nquery): Likewise.
7165 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7167 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7168 * stdio-common/perror.c (perror): Likewise.
7169 * stdio-common/printf_fp.c (___printf_fp): Likewise.
7170 * stdio-common/tmpnam.c (tmpnam): Likewise.
7171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7172 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7173 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7175 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7176 * stdlib/putenv.c (putenv): Likewise.
7177 * stdlib/setenv.c (__add_to_environ): Likewise.
7178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7179 * stdlib/strtol_l.c (INTERNAL): Likewise.
7180 * string/memmem.c (memmem): Likewise.
7181 * string/strerror.c (strerror): Likewise.
7182 * string/strnlen.c (__strnlen): Likewise.
7183 * string/test-memmem.c (simple_memmem): Likewise.
7184 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7185 * sunrpc/pm_getport.c (__get_socket): Likewise.
7186 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7187 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7188 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7189 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7191 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7192 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7193 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7194 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7195 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7196 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7198 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7200 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7201 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7202 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7203 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7204 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7205 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7206 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7207 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7208 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7210 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7211 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7215 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7217 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7218 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7219 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7220 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7221 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7222 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7223 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7226 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7227 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7228 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7229 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7231 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7232 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7234 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7236 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7238 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7240 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7241 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7242 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7244 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7245 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7246 * sysdeps/posix/opendir.c (__opendirat): Likewise.
7247 * sysdeps/posix/sleep.c: Likewise.
7248 * sysdeps/posix/tempname.c: Likewise.
7249 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7250 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7252 * sysdeps/powerpc/powerpc32/dl-machine.h
7253 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7254 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7255 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7256 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7257 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7259 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7260 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7261 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7262 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7263 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7264 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7265 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7266 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7267 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7268 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7269 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7270 (elf_machine_lazy_rel): Likewise.
7271 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7273 (elf_machine_lazy_rel): Likewise.
7274 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7275 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7276 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7277 * sysdeps/unix/grantpt.c (grantpt): Likewise.
7278 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7279 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7280 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7281 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7283 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7284 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7285 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7286 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7287 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7288 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7289 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7290 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7291 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7292 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7293 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7295 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7296 (__posix_fallocate64_l64): Likewise.
7297 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7298 (posix_fallocate): Likewise.
7299 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7301 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7302 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7303 (getifaddrs_internal): Likewise.
7304 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7305 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7306 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7307 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7308 * sysdeps/unix/sysv/linux/posix_fallocate64.c
7309 (__posix_fallocate64_l64): Likewise.
7310 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7312 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7314 (__get_clockfreq): Likewise.
7315 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7316 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7317 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7319 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7320 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7321 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7322 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7324 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7325 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7326 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7327 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7328 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7329 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7330 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
7332 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7333 (posix_fallocate): Likewise.
7334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7335 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
7336 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
7337 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
7338 (elf_machine_rela, elf_machine_rela_relative)
7339 (elf_machine_lazy_rel): Likewise.
7340 * time/asctime.c (asctime_internal): Likewise.
7341 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
7342 * time/tzset.c (__tzset_parse_tz): Likewise.
7343 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7344 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7345 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
7346 * wcsmbs/wcsmbsload.h: Likewise.
7349 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
7351 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
7352 (arena_get2): Remove THREAD_STATS conditionals.
7353 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
7354 (__malloc_stats, int): Likewise.
7356 2014-02-08 Mike Frysinger <vapier@gentoo.org>
7358 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
7359 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
7361 * manual/setjmp.texi: Fix typos/grammar errors.
7363 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
7364 Only return early when n is <= 0. Delete unused return statement.
7366 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
7367 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
7368 * debug/tst-longjmp_chk3.c: New file.
7370 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
7371 (test_main): Replace code with set_fortify_handler call.
7372 * debug/test-strcpy_chk.c: Likewise.
7373 * debug/tst-chk1.c: Likewise.
7374 * debug/tst-longjmp_chk.c: Likewise.
7375 * test-skeleton.c: Include fcntl.h & paths.h
7376 (set_fortify_handler): Define.
7378 * debug/tst-longjmp_chk.c: Add header comment and include
7380 (do_test): Mark static.
7381 (TEST_FUNCTION): Define.
7383 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
7384 (IP_PMTUDISC_INTERFACE): Likewise.
7385 (IP_MULTICAST_IF): Likewise.
7386 (IP_MULTICAST_TTL): Likewise.
7387 (IP_MULTICAST_LOOP): Likewise.
7388 (IP_ADD_MEMBERSHIP): Likewise.
7389 (IP_DROP_MEMBERSHIP): Likewise.
7390 (IP_UNBLOCK_SOURCE): Likewise.
7391 (IP_BLOCK_SOURCE): Likewise.
7392 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
7393 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
7394 (IP_MSFILTER): Likewise.
7395 (MCAST_JOIN_GROUP): Likewise.
7396 (MCAST_BLOCK_SOURCE): Likewise.
7397 (MCAST_UNBLOCK_SOURCE): Likewise.
7398 (MCAST_LEAVE_GROUP): Likewise.
7399 (MCAST_JOIN_SOURCE_GROUP): Likewise.
7400 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
7401 (MCAST_MSFILTER): Likewise.
7402 (IP_MULTICAST_ALL): Likewise.
7403 (IP_UNICAST_IF): Likewise.
7405 * timezone/Makefile: Delete $(have-ksh) check.
7406 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
7407 * timezone/tzselect.ksh: Add +x mode bits.
7409 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
7410 (ANON_INODE_FS_MAGIC): Likewise.
7411 (BDEVFS_MAGIC): Likewise.
7412 (BINFMTFS_MAGIC): Likewise.
7413 (BTRFS_TEST_MAGIC): Likewise.
7414 (CRAMFS_MAGIC_WEND): Likewise.
7415 (DEBUGFS_MAGIC): Likewise.
7416 (ECRYPTFS_SUPER_MAGIC): Likewise.
7417 (EXT3_SUPER_MAGIC): Likewise.
7418 (EXT4_SUPER_MAGIC): Likewise.
7419 (FUTEXFS_SUPER_MAGIC): Likewise.
7420 (HOSTFS_SUPER_MAGIC): Likewise.
7421 (HUGETLBFS_MAGIC): Likewise.
7422 (MINIX3_SUPER_MAGIC): Likewise.
7423 (MTD_INODE_FS_MAGIC): Likewise.
7424 (NILFS_SUPER_MAGIC): Likewise.
7425 (OPENPROM_SUPER_MAGIC): Likewise.
7426 (PIPEFS_MAGIC): Likewise.
7427 (PSTOREFS_MAGIC): Likewise.
7428 (QNX6_SUPER_MAGIC): Likewise.
7429 (RAMFS_MAGIC): Likewise.
7430 (REISERFS_SUPER_MAGIC_STRING): Likewise.
7431 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
7432 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
7433 (SECURITYFS_MAGIC): Likewise.
7434 (SELINUX_MAGIC): Likewise.
7435 (SMACK_MAGIC): Likewise.
7436 (SOCKFS_MAGIC): Likewise.
7437 (SQUASHFS_MAGIC): Likewise.
7438 (STACK_END_MAGIC): Likewise.
7439 (TMPFS_MAGIC): Likewise.
7440 (USBDEVICE_SUPER_MAGIC): Likewise.
7441 (V9FS_MAGIC): Likewise.
7442 (XENFS_SUPER_MAGIC): Likewise.
7443 (CRAMFS_MAGIC): Fix typo in comment.
7444 (EXT2_SUPER_MAGIC): Update comment.
7445 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
7447 2014-02-08 Joseph Myers <joseph@codesourcery.com>
7449 * sysdeps/arm: Move directory from ports/sysdeps/arm.
7450 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
7451 * sysdeps/unix/sysv/linux/arm: Move directory from
7452 ports/sysdeps/unix/sysv/linux/arm.
7453 * README: Update listing for arm-*-linux-gnueabi.
7455 * README: Remove mention of am33.
7457 2014-02-07 Roland McGrath <roland@hack.frob.com>
7459 * bits/sigset.h (__sigemptyset): Use a statement expression rather
7460 than the comma operator, to avoid "rhs of comma has no effect"
7462 (__sigfillset, __sigandset, __sigorset): Likewise.
7463 * include/signal.h (__sigemptyset): Likewise.
7464 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
7466 2014-02-07 Allan McRae <allan@archlinux.org>
7468 * version.h (RELEASE): Set to "development".
7469 (VERSION): Set to "2.19.90"
7470 * NEWS: Add 2.20 section.
7472 2014-02-06 Carlos O'Donell <carlos@redhat.com>
7475 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
7477 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7479 * manual/contrib.texi: Update entry for Carlos O'Donell,
7480 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
7482 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
7484 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
7486 * sysdeps/unix/sysv/linux/kernel-features.h
7487 [__LINUX_KERNEL_VERSION >= 0x020621]
7488 (__ASSUME_PROC_PID_TASK_COMM): Define.
7490 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7493 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
7494 conversion when destination buffer does not have enough space.
7495 * libio/tst-ftell-partial-wide.c: New test case.
7496 * libio/Makefile (tests): Add tst-ftell-partial-wide.
7498 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
7499 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
7500 Leonard and Allan McRae.
7502 2014-02-04 David S. Miller <davem@davemloft.net>
7504 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
7507 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7536 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7538 * nptl/shlib-versions: Change powerpc*le start to 2.17.
7539 * shlib-versions: Likewise.
7541 2014-02-04 Roland McGrath <roland@hack.frob.com>
7542 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7544 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
7545 (abilist-pattern): New variable, set to %-le.abilist.
7547 * Makerules (abilist-pattern): New variable.
7548 (vpath): Use $(abilist-pattern) in place of %.abilist.
7549 (check-abi-% pattern rule): Likewise.
7550 (check-abi, update-abi): Likewise.
7552 2014-02-04 Eric Wong <normalperson@yhbt.net>
7554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7556 2014-02-03 Carlos O'Donell <carlos@redhat.com>
7558 * manual/startup.texi: Add next, previous, and top entries for
7559 the `Program Arguments' and `Environment Variables' nodes.
7561 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
7563 * manual/macros.texi: Add comments before MTASC-safety macros.
7565 * manual/users.texi: Document MTASC-safety properties.
7567 * manual/threads.texi (pthread_key_create, pthread_key_delete)
7568 (pthread_getspecific, pthread_setspecific): Format with
7569 @deftypefun, and add @safety note.
7570 * manual/signal.texi: Move comments that analyze the above
7571 functions to their home place.
7573 2014-02-03 Allan McRae <allan@archlinux.org>
7575 * po/sl.po: Update Slovenian translation from translation project.
7577 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
7579 * manual/time.texi (timegm): Add missing blank after @c.
7580 Reported by Joseph Myers <joseph@codesourcery.com>.
7582 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
7584 * manual/check-safety.sh: New.
7585 * manual/Makefile ($(objpfx)stamp-summary): Run it.
7587 * manual/terminal.texi: Document MTASC-safety properties.
7589 * manual/filesys.texi: Document MTASC-safety properties.
7591 * manual/errno.texi: Document MTASC-safety properties.
7593 * manual/intro.texi: Document safety identifiers and
7596 * manual/string.texi (wcstok): Fix prototype.
7597 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
7599 * manual/time.texi: Document MTASC-safety properties.
7601 * manual/string.texi: Document MTASC-safety properties.
7603 * manual/threads.texi: Document MTASC-safety properties.
7605 * manual/stdio.texi: Document MTASC-safety properties.
7607 * manual/syslog.texi: Document MTASC-safety properties.
7609 * manual/sysinfo.texi: Document MTASC-safety properties.
7611 * manual/startup.texi: Document MTASC-safety properties.
7613 * manual/socket.texi: Document MTASC-safety properties.
7615 * manual/signal.texi: Document MTASC-safety properties.
7617 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
7619 * manual/setjmp.texi: Document MTASC-safety properties.
7621 * manual/search.texi: Document MTASC-safety properties.
7623 * manual/resource.texi: Document MTASC-safety properties.
7625 * manual/process.texi: Document MTASC-safety properties.
7627 * manual/platform.texi: Document MTASC-safety properties.
7629 * manual/pipe.texi: Document MTASC-safety properties.
7631 * manual/pattern.texi: Document MTASC-safety properties.
7633 * manual/message.texi: Document MTASC-safety properties.
7636 * manual/memory.texi: Document MTASC-safety properties.
7638 * manual/math.texi: Document MTASC-safety properties.
7640 * manual/locale.texi: Document MTASC-safety properties.
7642 * manual/llio.texi: Document MTASC-safety properties.
7644 * manual/libdl.texi: New.
7646 * manual/lang.texi: Document MTASC-safety properties.
7648 * manual/job.texi: Document MTASC-safety properties.
7650 * manual/getopt.texi: Document MTASC-safety properties.
7652 * manual/ctype.texi: Document MTASC-safety properties.
7654 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
7657 * csu/libc-tls.c (static_map): Remove variable.
7658 (__libc_setup_tls): Use main executable's link map for TLS data.
7659 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
7660 casing for LM_ID_BASE and GL(dl_nns).
7661 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
7662 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
7663 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
7664 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
7665 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
7667 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
7670 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
7672 * manual/debug.texi: Document MTASC-safety properties.
7674 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
7677 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
7678 of __x86_64__ when disabling x87 inline functions.
7680 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
7682 * manual/charset.texi: Document MTASC-safety properties.
7684 * manual/crypt.texi: Document MTASC-safety properties.
7686 * manual/conf.texi: Document MTASC-safety properties.
7688 * manual/arith.texi: Document MTASC-safety properties.
7690 * manual/argp.texi: Document MTASC-safety properties.
7692 * manual/macros.texi: Introduce macros to document multi
7693 thread, asynchronous signal and asynchronous cancellation
7695 * manual/intro.texi: Introduce the properties themselves.
7697 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7699 * sysdeps/sh/sh4/Makefile: New file.
7701 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
7703 * math/gen-libm-test.pl ($srcdir): New variable.
7704 ($auto_input): Use it.
7706 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7709 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
7710 access beyond array bounds when parsing netgroups file.
7712 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
7713 the old buffer before realloc.
7715 2014-01-27 Allan McRae <allan@archlinux.org>
7717 * po/fr.po: Update French translation from translation project.
7719 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7721 * sysdeps/sh/libm-test-ulps: Regenerate.
7723 2014-01-24 David S. Miller <davem@davemloft.net>
7725 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
7727 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7729 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
7730 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
7732 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7735 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
7736 string pointers after reallocation.
7738 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7740 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
7741 __SH4A__ instead of __SH_FPU_ANY__.
7743 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7745 * sysdeps/sh/fpu_control.h: New file.
7746 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
7747 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
7748 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
7749 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
7750 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
7751 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
7752 * sysdeps/sh/sys/ucontext.h: Remove.
7753 * sysdeps/sh/sys: Remove directory.
7755 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7757 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
7758 s390/sys/ucontext.h.
7759 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
7760 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
7762 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
7765 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
7767 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7770 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7771 Adjust the vDSO correctly for internal calls.
7772 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
7774 2014-01-20 Allan McRae <allan@archlinux.org>
7776 * po/ca.po: Update Catalan translation from translation project.
7778 2014-01-16 Mike Frysinger <vapier@gentoo.org>
7780 * sysdeps/s390/sotruss-lib.c: New file.
7782 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7785 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
7786 (__GI___gettimeofday): Alias for a different internal symbol to avoid
7787 local calls issues by not having a PLT stub required for IFUNC calls.
7788 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
7790 2014-01-16 Joseph Myers <joseph@codesourcery.com>
7792 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
7793 * math/test-fpucw-static.c: Likewise.
7795 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7798 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
7800 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7802 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
7803 implementation for powerpc.
7805 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
7808 * sysdeps/posix/system.c (__libc_system): Do not enable
7809 asynchronous cancellation.
7811 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7814 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
7815 handling only for numbers special also in the IEEE case.
7817 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7819 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7821 2014-01-11 Allan McRae <allan@archlinux.org>
7823 * po/bg.po: Update Bulgarian translation from translation project.
7825 * po/de.po: Update German translation from translation project.
7827 2014-01-10 Roland McGrath <roland@hack.frob.com>
7829 * sysdeps/generic/gcc-compat.h: New file.
7831 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7833 * benchtests/asin-inputs: Correct slow inputs.
7834 * benchtests/acos-inputs: Likewise.
7836 2014-01-10 Allan McRae <allan@archlinux.org>
7838 * po:sv.po: Update Swedish translation from translation project.
7840 * po/vi.po: Update Vietnamese translation from translation project.
7842 * po/eo.po: Update Esperanto translation from translation project.
7844 * po/cs.po: Update Czech translation from translation project.
7846 * po/nl.po: Update Dutch translation from translation project.
7848 * po/pl.po: Update Polish translation from translation project.
7850 * po/ru.po: Update Russian translation from translation project.
7852 * po/uk.po: Update Ukrainian translation from translation project.
7854 2014-01-08 Brooks Moses <bmoses@google.com>
7856 * elf/dl-load.c: Fix comment typo.
7858 2014-01-08 Carlos O'Donell <carlos@redhat.com>
7860 * po/header.pot: Rename to...
7861 * po/pot.header: ... this.
7862 * po/Makefile: Use pot.header.
7864 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
7865 Maxim Kuvyrkov <maxim@kugelworks.com>
7868 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
7869 SRC and DEST against LEN.
7871 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7874 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
7876 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
7878 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7882 2014-01-08 Joseph Myers <joseph@codesourcery.com>
7885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
7886 for large positive arguments.
7888 2014-01-07 Joseph Myers <joseph@codesourcery.com>
7890 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7892 * math/auto-libm-test-in: Mark various tests with
7893 xfail-rounding:ldbl-128ibm.
7894 * math/auto-libm-test-out: Regenerated.
7897 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7898 Increase overflow threshold.
7900 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
7903 * stdio-common/vfprintf.c: Check for integer overflow.
7905 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7907 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
7908 the first argument and return value of __tls_get_addr_internal.
7910 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7912 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
7913 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
7915 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7917 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
7918 * sysdeps/s390/rtld-global-offsets.sym: New file.
7919 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
7921 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
7922 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
7923 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7925 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
7926 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7932 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
7933 halfs of GPRs for high_gprs contexts.
7934 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
7935 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
7937 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
7939 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
7941 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
7942 for high GPRs (uc_high_gprs) and for future extensions
7944 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
7945 for future extensions (__reserved).
7946 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
7948 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
7949 SC_HIGHGPRS offset definition.
7950 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
7951 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
7953 * Versions.def: Add GLIBC_2.19 for libpthread.
7954 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
7955 siglongjmp for libpthread with GLIBC_2.19 symver.
7956 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
7957 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
7958 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
7959 * sysdeps/s390/__longjmp.c: New file.
7960 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
7961 * sysdeps/s390/longjmp.c: New file.
7962 * sysdeps/s390/setjmp.S: New file.
7963 * sysdeps/s390/sigjmp.S: New file.
7964 * sysdeps/s390/v1-longjmp.c: New file.
7965 * sysdeps/s390/v1-setjmp.h: New file.
7966 * sysdeps/s390/v1-sigjmp.c: New file.
7967 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
7968 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
7970 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
7971 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
7972 versioned symbols for ____longjmp_chk.
7973 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7979 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7983 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
7984 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
7985 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
7986 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
7987 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
7988 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
7989 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
7990 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
7991 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
7992 * sysdeps/s390/rtld-__longjmp.c: New file.
7993 * sysdeps/s390/rtld-setjmp.S: New file.
7995 2014-01-06 Joseph Myers <joseph@codesourcery.com>
7998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7999 Return -__logl (x) for small positive arguments without evaluating
8002 2014-01-06 Mike Frysinger <vapier@gentoo.org>
8004 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8006 (__ptrace_peeksiginfo_args): ... this.
8007 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8008 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8009 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8011 2014-01-06 Allan McRae <allan@archlinux.org>
8013 * inet/netinet/in.h: Fix typo in comment.
8015 2014-01-05 Andreas Jaeger <aj@suse.de>
8017 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 2014-01-05 Allan McRae <allan@archlinux.org>
8021 * po/libc.pot: Regenerated.
8023 * malloc/memusagestat.c: Fix gettext call formatting.
8025 2014-01-04 Sami Kerola <kerolasa@iki.fi>
8027 * nscd/nscd.c: Improve usage() output.
8029 2014-01-04 Mike Frysinger <vapier@gentoo.org>
8031 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8032 * sysdeps/unix/sysv/linux/configure: Regenerated.
8033 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8034 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8036 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8039 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8040 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8042 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8045 extra tokens at end of #undef directive.
8046 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8048 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8050 2014-01-03 Joseph Myers <joseph@codesourcery.com>
8052 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8054 * math/auto-libm-test-in: Mark various tests with
8055 xfail-rounding:ldbl-128ibm.
8056 * math/auto-libm-test-out: Regenerated.
8058 2014-01-02 Joseph Myers <joseph@codesourcery.com>
8061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8062 numbers with subnormal high part when calculating exponent.
8065 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8069 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8071 (__ieee754_acoshl): Use __log1pl not __log1p.
8073 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
8075 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8076 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8077 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8078 (grow_heap, heap_trim, _int_new_arena, get_free_list)
8079 (reused_arena, arena_get2): Convert to GNU style.
8080 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8081 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8082 (memalign_check, __malloc_set_state): Likewise.
8083 * malloc/mallocbug.c (main): Likewise.
8084 * malloc/malloc.c (__malloc_assert, malloc_init_state)
8085 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8086 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8087 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8088 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8089 (__posix_memalign, malloc_info): Likewise.
8090 * malloc/malloc.h: Likewise.
8091 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8092 (mallochook, memalignhook, reallochook, mabort): Likewise.
8093 * malloc/mcheck.h: Likewise.
8094 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8095 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8096 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8097 * malloc/morecore.c (__default_morecore): Likewise.
8098 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8099 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8100 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8101 (print_and_abort): Likewise.
8102 * malloc/obstack.h: Likewise.
8103 * malloc/set-freeres.c (__libc_freeres): Likewise.
8104 * malloc/tst-mallocstate.c (main): Likewise.
8105 * malloc/tst-mtrace.c (main): Likewise.
8106 * malloc/tst-realloc.c (do_test): Likewise.
8108 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8111 * nscd/netgroupcache.c (do_notfound): New function.
8112 (addgetnetgrentX): Use it.
8115 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8116 NSS_STATUS_NOTFOUND.
8118 2014-01-01 Joseph Myers <joseph@codesourcery.com>
8120 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8123 2014-01-01 Allan McRae <allan@archlinux.org>
8125 * scripts/update-copyrights: Update configure input file suffix.
8127 * NEWS: Update copyright year.
8128 * catgets/gencat.c: Likewise.
8129 * csu/version.c: Likewise.
8130 * debug/catchsegv.sh: Likewise.
8131 * debug/pcprofiledump.c: Likewise.
8132 * debug/xtrace.sh: Likewise.
8133 * elf/ldconfig.c: Likewise.
8134 * elf/ldd.bash.in: Likewise.
8135 * elf/pldd.c: Likewise.
8136 * elf/sotruss.ksh: Likewise.
8137 * elf/sprof.c: Likewise.
8138 * iconv/iconv_prog.c: Likewise.
8139 * iconv/iconvconfig.c: Likewise.
8140 * locale/programs/locale.c: Likewise.
8141 * locale/programs/localedef.c: Likewise.
8142 * login/programs/pt_chown.c: Likewise.
8143 * malloc/memusage.sh: Likewise.
8144 * malloc/memusagestat.c: Likewise.
8145 * malloc/mtrace.pl: Likewise.
8146 * manual/libc.texinfo: Likewise.
8147 * nscd/nscd.c: Likewise.
8148 * nss/getent.c: Likewise.
8149 * nss/makedb.c: Likewise.
8150 * posix/getconf.c: Likewise.
8151 * scripts/test-installation.pl: Likewise.
8153 * All files with FSF copyright notices: Update copyright dates
8154 using scripts/update-copyrights.
8155 * intl/plural.c: Regenerated.
8156 * locale/programs/charmap-kw.h: Likewise.
8157 * locale/programs/locfile-kw.h: Likewise.
8159 2013-12-31 Mike Frysinger <vapier@gentoo.org>
8161 * sysdeps/unix/sysv/linux/configure: Regenerated.
8162 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8163 the linux/fanotify.h header.
8164 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8165 HAVE_LINUX_FANOTIFY_H is defined.
8167 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8169 * benchtests/cos-inputs: New inputs.
8170 * benchtests/sin-inputs: Likewise.
8172 * benchtests/atan-inputs: New inputs. Fix name of multiple
8173 precision fallback inputs.
8175 * benchtests/atanh-inputs: New inputs.
8176 * benchtests/tanh-inputs: Likewise.
8178 * benchtests/acosh-inputs: New inputs.
8179 * benchtests/asinh-inputs: Likewise.
8181 * benchtests/cosh-inputs: New inputs.
8182 * benchtests/sinh-inputs: Likewise.
8184 * benchtests/acos-inputs: Add more inputs.
8185 * benchtests/asin-inputs: Likewise.
8187 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
8190 * manual/arith.texi: Fix spelling.
8191 * manual/charset.texi: Likewise.
8192 * manual/errno.texi: Likewise.
8193 * manual/filesys.texi: Likewise.
8194 * manual/lang.texi: Likewise.
8195 * manual/llio.texi: Likewise.
8196 * manual/locale.texi: Likewise.
8197 * manual/message.texi: Likewise.
8198 * manual/resource.texi: Likewise.
8199 * manual/search.texi: Likewise.
8200 * manual/setjmp.texi: Likewise.
8201 * manual/stdio.texi: Likewise.
8202 * manual/string.texi: Likewise.
8203 * manual/sysinfo.texi: Likewise.
8204 * manual/time.texi: Likewise.
8206 2013-12-27 Carlos O'Donell <carlos@redhat.com>
8208 * po/sl.po: New file.
8210 2013-12-27 Mike Frysinger <vapier@gentoo.org>
8212 * .gitignore: Add core/.gdbinit/.gdb_history.
8214 2013-12-27 Allan McRae <allan@archlinux.org>
8217 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8218 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8220 2013-12-24 Brooks Moses <bmoses@google.com>
8222 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8223 all compilers that claim C++98 compliance, not just GCC.
8224 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8227 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8229 * NEWS: Restore accidentally deleted bug-fix entries.
8231 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
8232 Ondřej Bílka <neleai@seznam.cz>
8235 * malloc/malloc.c (_int_free): Perform sanity check only if we
8238 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
8241 * manual/stdio.texi (String Input Conversions): Clarify that character
8242 classes are not supported.
8244 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8248 2013-12-22 Joseph Myers <joseph@codesourcery.com>
8251 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8252 Calculate results for small negative arguments directly rather
8253 than using reflection formula with special underflow handling.
8255 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8256 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8257 sysdeps/unix/bsd/bsd4.4/syscalls.list.
8258 (fchflags): Likewise.
8260 (setlogin): Likewise.
8261 (sigaltstack): Likewise.
8264 (sigsetmask): Likewise.
8266 (waitpid): Likewise.
8267 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8268 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8270 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8271 * sysdeps/unix/bsd/Makefile: ... here.
8272 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8273 * sysdeps/unix/bsd/Versions: ... here.
8274 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8275 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8276 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8277 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8278 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8279 * sysdeps/unix/bsd/sigblock.c: ... here.
8280 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8281 * sysdeps/unix/bsd/sigsetmask.c: ... here.
8282 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8283 * sysdeps/unix/bsd/sigvec.c: ... here.
8284 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8285 * sysdeps/unix/bsd/tcdrain.c: ... here.
8286 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8287 * sysdeps/unix/bsd/tcgetattr.c: ... here.
8288 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8289 * sysdeps/unix/bsd/tcsetattr.c: ... here.
8290 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8291 * sysdeps/unix/bsd/wait.c: ... here.
8292 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8293 * sysdeps/unix/bsd/wait3.c: ... here.
8294 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8295 * sysdeps/unix/bsd/waitpid.c: ... here.
8297 2013-12-21 Joseph Myers <joseph@codesourcery.com>
8300 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8301 round-to-nearest for [!USE_AS_EXPM1L].
8302 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8303 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
8304 more tests of exp and exp10. Expect some exp10 tests to miss
8305 exceptions or fail in directed rounding modes.
8306 * math/auto-libm-test-out: Regenerated.
8307 * math/libm-test.inc (exp10_tonearest_test_data): New array.
8308 (exp10_test_tonearest): New function.
8309 (exp10_towardzero_test_data): New array.
8310 (exp10_test_towardzero): New function.
8311 (exp10_downward_test_data): New array.
8312 (exp10_test_downward): New function.
8313 (exp10_upward_test_data): New array.
8314 (exp10_test_upward): New function.
8315 (main): Call the new functions.
8316 * sysdeps/i386/fpu/libm-test-ulps: Update.
8317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8319 2013-12-20 Joseph Myers <joseph@codesourcery.com>
8321 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8322 asinh, atan, atan2, atanh, cbrt, cos and cosh.
8323 * math/auto-libm-test-out: Regenerated.
8324 * math/libm-test.inc (acosh_test_data): Add more tests.
8325 (atanh_test_data): Likewise.
8326 (ceil_test_data): Likewise.
8327 (copysign_test_data): Likewise.
8328 * sysdeps/i386/fpu/libm-test-ulps: Update.
8329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8331 * timezone/checktab.awk: Update from tzcode 2013i.
8332 * timezone/private.h: Likewise.
8333 * timezone/scheck.c: Likewise.
8334 * timezone/tzfile.h: Likewise.
8335 * timezone/tzselect.ksh: Likewise.
8336 * timezone/zdump.c: Likewise.
8337 * timezone/zic.c: Likewise.
8339 * math/auto-libm-test-in: Add tests of cpow.
8340 * math/auto-libm-test-out: Regenerated.
8341 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
8342 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8344 (func_calc_desc): Add mpc_cc_c union field.
8345 (test_functions): Add cpow.
8346 (special_fill_2pi): New function.
8347 (special_real_inputs): Add 2pi.
8348 (calc_generic_results): Handle mpc_cc_c.
8349 * sysdeps/i386/fpu/libm-test-ulps: Update.
8350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8352 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
8353 csqrt, ctan and ctanh.
8354 * math/auto-libm-test-out: Regenerated.
8355 * math/libm-test.inc (TEST_COND_x86_64): New macro.
8356 (TEST_COND_x86): Likewise.
8357 (ccos_test_data): Use AUTO_TESTS_c_c.
8358 (ccosh_test_data): Likewise.
8359 (cexp_test_data): Likewise.
8360 (clog_test_data): Likewise.
8361 (csqrt_test_data): Likewise.
8362 (ctan_test_data): Likewise.
8363 (ctan_tonearest_test_data): Likewise.
8364 (ctan_towardzero_test_data): Likewise.
8365 (ctan_downward_test_data): Likewise.
8366 (ctan_upward_test_data): Likewise.
8367 (ctanh_test_data): Likewise.
8368 (ctanh_tonearest_test_data): Likewise.
8369 (ctanh_towardzero_test_data): Likewise.
8370 (ctanh_downward_test_data): Likewise.
8371 (ctanh_upward_test_data): Likewise.
8372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8374 (func_calc_desc): Add mpc_c_c union field.
8375 (FUNC_mpc_c_c): New macro.
8376 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
8377 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
8379 (special_fill_min_subnorm_p120): New function.
8380 (special_real_inputs): Add min_subnorm_p120.
8381 (calc_generic_results): Handle mpc_c_c.
8382 * sysdeps/i386/fpu/libm-test-ulps: Update.
8383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8385 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8387 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
8388 (do_sin_slow): New functions.
8389 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
8390 (cslow2, csloww1, csloww2): Use the new functions.
8392 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
8393 Use M to change sign of result instead of X. Assume X is
8395 (csloww1): Likewise.
8399 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
8404 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
8406 (sloww1): Don't adjust sign of DX.
8407 (csloww1): Likewise.
8408 (sloww2): Use X directly and don't adjust sign of DX.
8409 (csloww2): Likewise.
8411 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8413 * math/auto-libm-test-in: Add tests of cabs and carg.
8414 * math/auto-libm-test-out: Regenerated.
8415 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
8416 (carg_test_data): Likewise.
8417 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8419 (func_calc_desc): Add mpc_c_f union field.
8420 (test_functions): Add cabs and carg.
8421 (calc_generic_results): Handle mpc_c_f.
8423 * sysdeps/powerpc/powerpc32/libgcc-compat.S
8424 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
8425 as a macro and a compat symbol.
8426 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8427 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8428 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8429 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8430 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
8431 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
8433 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
8435 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
8437 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
8439 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
8441 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
8443 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
8444 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
8447 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8451 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8453 * manual/texinfo.tex: Update to version 2013-11-26.10 with
8454 trailing whitespace removed.
8455 * scripts/config.guess: Update to version 2013-11-29.
8456 * scripts/config.sub: Update to version 2013-10-01.
8458 * math/auto-libm-test-in: Add tests of sincos.
8459 * math/auto-libm-test-out: Regenerated.
8460 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
8461 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8463 (func_calc_desc): Add mpfr_f_11 union field.
8464 (test_functions): Add sincos.
8465 (calc_generic_results): Handle mpfr_f_11.
8466 * sysdeps/i386/fpu/libm-test-ulps: Update.
8467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8469 2013-12-19 Andreas Schwab <schwab@suse.de>
8471 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
8473 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8474 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
8475 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
8477 2013-12-19 Joseph Myers <joseph@codesourcery.com>
8479 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
8480 * sysdeps/i386/fpu/libm-test-ulps: Update.
8481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
8485 round-to-nearest mode when using frndint.
8486 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
8487 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
8488 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8490 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
8492 * math/auto-libm-test-out: Regenerated.
8493 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
8494 (TEST_COND_x86): Likewise.
8495 (expm1_tonearest_test_data): New array.
8496 (expm1_test_tonearest): New function.
8497 (expm1_towardzero_test_data): New array.
8498 (expm1_test_towardzero): New function.
8499 (expm1_downward_test_data): New array.
8500 (expm1_test_downward): New function.
8501 (expm1_upward_test_data): New array.
8502 (expm1_test_upward): New function.
8503 (main): Run the new test functions.
8504 * sysdeps/i386/fpu/libm-test-ulps: Update.
8505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8507 * include/features.h: Update comment documenting feature test
8508 macros. Mention _DEFAULT_SOURCE in comment.
8509 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
8510 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
8511 _BSD_SOURCE and _SVID_SOURCE.
8512 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
8513 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
8514 !_SVID_SOURCE]: Likewise.
8515 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8516 (__USE_POSIX_IMPLICITLY): Define.
8517 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8518 (_POSIX_SOURCE): Undefine and redefine.
8519 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
8520 (_POSIX_C_SOURCE): Likewise.
8521 * manual/creature.texi (_DEFAULT_SOURCE): Document.
8522 (Feature Test Macros): Update documentation of default features.
8524 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8526 * benchtests/Makefile: Add bench-strtok.
8527 * benchtests/bench-strtok.c: New file: strtok benchtest.
8529 2013-12-19 Allan McRae <allan@archlinux.org>
8531 * manual/install.texi: Suppress menu for plain text output.
8532 * INSTALL: Regenerated.
8534 2013-12-18 Brooks Moses <bmoses@google.com>
8537 * misc/getauxval.c: Include errno.h.
8538 (__getauxval): Set errno to ENOENT if the requested type is not
8540 * misc/sys/auxv.h (getauxval): Document that it may set errno;
8541 don't declare with __attribute_const__.
8542 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
8543 * manual/startup.texi: Document that getauxval sets errno.
8545 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8547 * math/auto-libm-test-in: Add tests of jn and yn.
8548 * math/auto-libm-test-out: Regenerated.
8549 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
8550 (yn_test_data): Likewise.
8551 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8553 (func_calc_desc): Add mpfr_if_f union field.
8554 (FUNC_mpfr_if_f): New macro.
8555 (test_functions): Add jn and yn.
8556 (calc_generic_results): Assert type of second input for
8557 mpfr_ff_f. Handle mpfr_if_f.
8558 (output_for_one_input_case): Disable all checking for arguments
8559 fitting floating-point types in case of an integer argument.
8560 * sysdeps/i386/fpu/libm-test-ulps: Update.
8561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8564 Don't expect fegetround reference in libm.so.
8566 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8568 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
8569 $(config-cflags-nofma).
8571 2013-12-18 Joseph Myers <joseph@codesourcery.com>
8573 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
8574 * math/auto-libm-test-out: Regenerated.
8577 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
8578 to determine exponent and adjust argument to have exponent of -1.
8579 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
8581 * math/auto-libm-test-out: Regenerated.
8582 * sysdeps/i386/fpu/libm-test-ulps: Update.
8583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
8587 * manual/probes.texi: Remove cases when per-thread arenas are
8590 2013-12-18 Andreas Schwab <schwab@suse.de>
8592 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
8593 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
8594 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
8595 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
8596 * sysdeps/i386/i686/multiarch/Makefile: Update.
8597 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
8599 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8601 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
8602 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
8604 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
8607 Support TZ transition times < 00:00:00.
8608 This is needed for version-3 tz-format files; it supports time
8609 stamps past 2037 for America/Godthab (the only entry in the tz
8610 database for which this change is relevant).
8611 * manual/time.texi (TZ Variable): Document transition times
8612 from -167:59:59 through -00:00:01.
8613 * time/tzset.c (tz_rule): Time of day is now signed.
8614 (__tzset_parse_tz): Parse negative time of day.
8616 Document TZ transition times >= 25:00:00.
8617 * manual/time.texi (TZ Variable): Document transition times from
8618 25:00:00 through 167:59:59. These are already supported, and this
8619 support will help with version-3 tz-format files.
8621 * manual/time.texi (TZ Variable): Modernize North America example
8622 to reflect current (i.e., 2007-and-later) daylight saving rules.
8624 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
8626 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8628 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
8629 * sysdeps/unix/bsd/bits/stat.h: Likewise.
8630 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
8631 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
8632 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
8633 * sysdeps/unix/bsd/bsdstat.h: Likewise.
8634 * sysdeps/unix/bsd/clock.c: Likewise.
8635 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
8636 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
8637 * sysdeps/unix/bsd/init-posix.c: Likewise.
8638 * sysdeps/unix/bsd/poll.c: Likewise.
8639 * sysdeps/unix/bsd/ptsname.c: Likewise.
8640 * sysdeps/unix/bsd/seekdir.c: Likewise.
8641 * sysdeps/unix/bsd/setegid.c: Likewise.
8642 * sysdeps/unix/bsd/seteuid.c: Likewise.
8643 * sysdeps/unix/bsd/setgid.c: Likewise.
8644 * sysdeps/unix/bsd/setrgid.c: Likewise.
8645 * sysdeps/unix/bsd/setruid.c: Likewise.
8646 * sysdeps/unix/bsd/setsid.c: Likewise.
8647 * sysdeps/unix/bsd/setuid.c: Likewise.
8648 * sysdeps/unix/bsd/sigaction.c: Likewise.
8649 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
8650 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
8651 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
8652 * sysdeps/unix/bsd/telldir.c: Likewise.
8653 * sysdeps/unix/bsd/times.c: Likewise.
8654 * sysdeps/unix/bsd/usleep.c: Likewise.
8656 * misc/Makefile (install-lib): Remove libbsd-compat.a.
8657 ($(objpfx)libbsd-compat.a): Remove rule.
8659 * include/features.h (__FAVOR_BSD): Do not define.
8660 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
8661 features conflicting with POSIX.
8662 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
8663 (_BSD_SOURCE): Remove description of not being a subset of other
8664 feature test macros.
8665 * manual/job.texi (getpgrp): Do not document BSD version.
8666 (getpgid): Do not document by reference to BSD getpgrp.
8667 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
8668 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
8669 * signal/signal.h [__FAVOR_BSD]: Likewise.
8670 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
8671 instead of making contents conditional on [__FAVOR_BSD].
8672 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
8674 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8678 2013-12-17 Joseph Myers <joseph@codesourcery.com>
8681 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
8682 values below 2**-450, not 2**-500.
8683 * math/auto-libm-test-in: Don't allow spurious underflow from
8685 * math/auto-libm-test-out: Regenerated.
8689 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
8690 values of ha and hb and sort them after adjusting subnormal
8692 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
8694 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
8695 values of ea and eb and sort them after adjusting subnormal
8697 * math/auto-libm-test-in: Do not expect some hypot tests of
8698 subnormals to fail. Add more hypot tests.
8699 * math/auto-libm-test-out: Regenerated.
8701 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8704 * sysdeps/sh/s_fma.c: New file.
8705 * sysdeps/sh/s_fmaf.c: New file.
8706 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
8708 * sysdeps/sh/Implies: Add sh/soft-fp.
8710 2013-12-16 Roland McGrath <roland@hack.frob.com>
8712 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
8713 level of indirection to members `objname', `errstring', `malloced'.
8714 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
8715 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
8716 it as the __longjmp argument (just pass 1 instead).
8717 (_dl_catch_error): Initialize C with argument pointers and address of
8718 volatile local ERRCODE rather than copying values out of C at return.
8720 2013-12-16 Joseph Myers <joseph@codesourcery.com>
8722 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
8723 * math/auto-libm-test-out: Regenerated.
8724 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
8725 (hypot_test_data): Likewise.
8726 (pow_test_data): Likewise.
8727 (pow_tonearest_test_data): Likewise.
8728 * math/gen-auto-libm-tests.c (func_calc_method): Add value
8730 (func_calc_desc): Add mpfr_ff_f union field.
8731 (FUNC_mpfr_ff_f): New macro.
8732 (test_functions): Add atan2, hypot and pow.
8733 (special_fill_min): New function.
8734 (special_fill_minus_min): Likewise.
8735 (special_fill_min_subnorm): Likewise.
8736 (special_fill_minus_min_subnorm): Likewise.
8737 (special_real_inputs): Add min, -min, min_subnorm and
8739 (calc_generic_results): Handle mpfr_ff_f.
8740 * sysdeps/i386/fpu/libm-test-ulps: Update.
8741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8743 2013-12-16 Will Newton <will.newton@linaro.org>
8745 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
8746 (Aligned Memory Blocks): Add documentation for aligned_alloc
8747 and suggest it as an alternative to posix_memalign.
8748 (Hooks for Malloc): Document __memalign_hook is also called
8749 for aligned_alloc. (Summary of Malloc): Add summary for
8750 aligned alloc. Document __memalign_hook is also called
8753 2013-12-16 Will Newton <will.newton@linaro.org>
8755 * manual/memory.texi (Malloc Examples): Clarify default
8756 alignment documentation. Suggest posix_memalign rather
8757 than memalign or valloc.
8758 (Aligned Memory Blocks): Remove suggestion to use memalign
8759 or valloc. Remove obsolete comment about BSD.
8760 Document memalign errno values and mark the function obsolete.
8761 Document posix_memalign returned error codes. Mark valloc
8762 as obsolete. (Hooks for Malloc): __memalign_hook is also
8763 called for posix_memalign and valloc.
8764 (Summary of Malloc): Add posix_memalign to function summary.
8765 __memalign_hook is also called for posix_memalign and valloc.
8767 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8769 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
8773 (sloww): Use mynumber union. Expand ternary operator into
8775 (cslow): use mynumber union.
8777 2013-12-16 Allan McRae <allan@archlinux.org>
8779 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
8780 * configure: Regenerated.
8782 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
8785 * configure.ac: Added --enable-maintainer-mode. Check for
8786 autoconf when enabled.
8787 * configure: Regenerated.
8789 * nscd/nscd.service: New file.
8790 * nscd/nscd.tmpfiles: New file.
8792 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
8795 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
8796 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
8797 * sysdeps/x86_64/multiarch/strstr.c: ... here.
8798 (strstr): Add __strstr_sse2_unaligned ifunc.
8799 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
8800 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
8801 (strcasestr): Remove __strcasestr_sse42 ifunc.
8802 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
8803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8806 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8808 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
8809 * sysdeps/sh/bits/fenv.h: ... here.
8810 * sysdeps/sh/sh4/fpu/bits: Remove directory.
8812 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8814 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
8816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
8817 hypotf multiarch implementations.
8818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
8819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
8820 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
8821 multiarch hypot for PPC64.
8822 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
8823 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
8824 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
8825 multiarch hypotf for PPC64.
8827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
8828 modff multiarch implementations.
8829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
8830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
8831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
8832 multiarch modf for PPC64.
8833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
8834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
8835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
8836 multiarch modff for PPC64.
8838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
8839 and logl multiarch implementations.
8840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
8841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
8842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
8843 multiarch logb for PPC64.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
8845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
8846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
8847 multiarch logb for PPC64.
8848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
8849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
8850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
8851 multiarch logb for PPC64.
8853 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
8854 isinff multiarch implementation.
8855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
8857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
8858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
8859 multiarch isinf for PPC64.
8860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
8862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
8863 multiarch isinff for PPC64.
8865 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
8866 finitef multiarch implementation.
8867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
8869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
8870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
8871 multiarch finite for PPC64.
8872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
8874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
8875 multiarch finitef for PPC64.
8877 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
8878 lrint multiarch implementation.
8879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
8881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
8882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
8883 multiarch llrint for PPC64.
8884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
8885 multiarch lrint for PPC64.
8887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
8888 copysignf multiarch implementation.
8889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
8891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
8893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
8894 multiarch copysign for PPC64.
8895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
8896 multiarch copysignf for PPC64.
8898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
8899 multiarch implementation.
8900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
8902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
8904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
8906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
8908 multiarch llround for PPC64.
8909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
8910 multiarch trunc for PPC64.
8911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
8912 multiarch truncf for PPC64.
8914 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
8915 multiarch implementation.
8916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
8918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
8920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
8922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
8924 multiarch llround for PPC64.
8925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
8926 multiarch round for PPC64.
8927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
8928 multiarch roundf for PPC64.
8930 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
8931 multiarch implementation.
8932 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
8934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
8936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
8938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
8940 multiarch llround for PPC64.
8941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
8942 multiarch floor for PPC64.
8943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
8944 multiarch floorf for PPC64.
8946 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
8947 multiarch implementation.
8948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
8950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
8952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
8954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
8956 multiarch llround for PPC64.
8957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
8958 multiarch ceil for PPC64.
8959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
8960 multiarch ceilf for PPC64.
8962 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
8963 multiarch implementation.
8964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
8966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
8968 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
8970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
8971 multiarch llround for PPC64.
8972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
8973 multiarch lround for PPC64.
8975 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
8976 multiarch implementation.
8977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
8978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
8979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
8981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
8982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
8983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
8984 multiarch isnan for PPC64.
8985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
8986 multiarch isnanf for PPC64.
8988 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
8989 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
8990 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
8991 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
8992 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
8995 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
8996 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8997 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8998 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9001 multiarch implementations.
9002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9003 (__libc_ifunc_impl_list): Likewise.
9004 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9005 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9006 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9007 multiarch stpcpy for PPC64.
9009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9010 multiarch implementations.
9011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9012 (__libc_ifunc_impl_list): Likewise.
9013 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9014 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9015 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9016 multiarch strcpy for PPC64.
9018 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9019 redefine function name.
9020 (_wordcopy_fwd_dest_aligned): Likewise.
9021 (_wordcopy_bwd_aligned): Likewise.
9022 (_wordcopy_bwd_dest_aligned): Likewise.
9023 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9024 multiarch implementations.
9025 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9026 (__libc_ifunc_impl_list): Likewise.
9027 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9028 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9029 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9030 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9031 multiarch wcscpy for PPC64.
9033 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9034 multiarch implementations.
9035 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9036 (__libc_ifunc_impl_list): Likewise.
9037 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9038 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9039 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9040 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9041 multiarch wcscpy for PPC64.
9043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9044 multiarch implementations.
9045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9046 (__libc_ifunc_impl_list): Likewise.
9047 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9048 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9049 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9050 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9051 multiarch wcsrchr for PPC64.
9053 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9054 multiarch implementations.
9055 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9056 (__libc_ifunc_impl_list): Likewise.
9057 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9058 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9059 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9060 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9061 multiarch wcschr for PPC64.
9063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9064 multiarch implementations.
9065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9066 (__libc_ifunc_impl_list): Likewise.
9067 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9068 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9069 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9070 multiarch strchrnul for PPC64.
9072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9075 (__libc_ifunc_impl_list): Likewise.
9076 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9077 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9078 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9079 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9085 (__libc_ifunc_impl_list): Likewise.
9086 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9087 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9088 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9089 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9093 multiarch implementations.
9094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9095 (__libc_ifunc_impl_list): Likewise.
9096 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9097 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9098 strncasecmp for PPC64.
9099 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9100 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9101 multiarch strncasecmp_l for PPC64.
9103 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9104 multiarch implementations.
9105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9106 (__libc_ifunc_impl_list): Likewise.
9107 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9108 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9109 multiarch strcasecmp for PPC64.
9110 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9112 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9113 multiarch strcasecmp_l for PPC64.
9115 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9118 (__libc_ifunc_impl_list): Likewise.
9119 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9120 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9121 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9127 (__libc_ifunc_impl_list): Likewise.
9128 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9129 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9130 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9136 (__libc_ifunc_impl_list): Likewise.
9137 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9139 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9140 rawmemrchr for PPC64.
9142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9145 (__libc_ifunc_impl_list): Likewise.
9146 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9147 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9148 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9151 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9154 (__libc_ifunc_impl_list): Likewise.
9155 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9156 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9157 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9160 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9162 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9163 (__libc_ifunc_impl_list): Likewise.
9164 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9165 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9166 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9169 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9170 avoid cretion of __bzero symbol.
9171 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9173 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9175 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9178 multiarch implementations.
9179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9180 (__libc_ifunc_impl_list): Likewise.
9181 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9182 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9183 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9184 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9186 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9187 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9188 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9189 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9190 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9192 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9194 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9198 (__libc_ifunc_impl_list): Likewise.
9199 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9200 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9201 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9202 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9206 multiarch for POWER/PPC64.
9207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9208 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9209 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9210 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9211 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9212 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9215 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9218 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9219 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9220 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9221 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9222 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9223 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9224 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9225 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9226 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9227 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9228 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9229 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9230 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9231 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9232 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9241 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9243 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9245 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9247 * benchtests/Makefile (bench): Add exp2 and log2.
9248 (LDLIBS-bench-exp2): Add -lm.
9249 (LDLIBS-bench-log2): Likewise.
9250 * benchtests/exp2-inputs: New inputs file.
9251 * benchtests/log2-inputs: New inputs file.
9252 * benchtests/log-inputs: Add new inputs.
9253 * benchtests/tan-inputs: Likewise.
9255 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9257 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9259 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9260 (csloww2): ... from here.
9262 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9263 instead of structures.
9264 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9265 (POLYNOMIAL): Likewise.
9266 (TAYLOR_SLOW): Likewise.
9274 (bsloww1): Likewise.
9275 (bsloww2): Likewise.
9278 (csloww1): Likewise.
9279 (csloww2): Likewise.
9281 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
9283 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9284 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9285 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9286 * malloc/hooks.c (realloc_check): Likewise.
9288 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9289 * malloc/arena.c: Remove PER_THREAD conditional.
9290 [!PER_THREAD]: Remove code.
9291 (ptmalloc_unlock_all2): Likewise.
9292 (ptmalloc_init): Likewise.
9293 (_int_new_arena): Likewise.
9294 (arena_get2): Likewise.
9295 * malloc/hooks.c (__malloc_get_state): Likewise.
9296 (__malloc_set_state): Likewise.
9297 * malloc/malloc.c: Likewise.
9298 (struct malloc_state): Likewise.
9299 (struct malloc_par): Likewise.
9300 (__libc_realloc): Likewise.
9301 (__libc_mallopt): Likewise.
9303 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9305 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9307 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
9309 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9310 macro to a function. Check for zero perturb_byte.
9311 (_int_malloc, _int_free): Remove zero perturb_byte checks.
9313 * malloc/malloc.c: (force_reg): Remove.
9314 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9315 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9316 force_reg by atomic_forced_read.
9317 * malloc/arena.c (ptmalloc_init): Likewise.
9318 * malloc/hooks.c (top_check): Likewise.
9320 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9324 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
9326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9328 2013-12-08 Joseph Myers <joseph@codesourcery.com>
9330 * math/auto-libm-test-in: Add tests of lgamma.
9331 * math/auto-libm-test-out: Regenerated.
9332 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
9333 (M_LOG_2_SQRT_PIl): Likewise.
9334 (lgamma_test_data): Use AUTO_TESTS_f_f1.
9335 * math/gen-auto-libm-tests.c (func_calc_method): Add value
9337 (func_calc_desc): Add mpfr_f_f1 union field.
9346 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
9347 (test_functions): Add lgamma.
9348 (calc_generic_results): Handle mpfr_f_f1.
9349 * sysdeps/i386/fpu/libm-test-ulps: Update.
9350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9352 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9354 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
9355 __mpn_add_n for PowerPC64/POWER7.
9356 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
9357 __mpn_sub_n for PowerPC64/POWER7.
9359 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
9360 __mpn_addmul_1 for PowerPC64.
9361 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
9362 __mpn_submul_1 for PowerPC64.
9363 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
9365 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
9368 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
9371 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
9373 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9375 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
9377 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
9378 add multiarch folders.
9379 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
9380 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
9381 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
9382 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
9383 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
9384 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
9385 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
9386 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
9387 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
9388 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
9389 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
9390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
9391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
9392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
9393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
9394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
9395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
9397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9398 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
9399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
9401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
9403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
9404 multiarch __ieee754_hypot for PowerPC32.
9405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
9407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
9409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
9410 multiarch __ieee754_hypotf for PowerPC32.
9412 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
9413 long_double_symbol only if __logbl is defined.
9414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
9415 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
9416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
9417 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
9418 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
9419 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
9420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
9421 path for implementation.
9422 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
9423 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
9424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
9425 logb, and logbl multiarch implementations for PowerPC32.
9426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
9428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
9430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
9431 multiarch logb for PowerPC32.
9432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
9434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
9436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
9437 multiarch logbf for PowerPC32.
9438 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
9439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
9441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
9442 multiarch logbl implementation for PowerPC32.
9444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
9445 and modff multiarch implementations.
9446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
9448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
9450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
9451 multiarch modf for PowerPC32.
9452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
9454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
9456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
9457 multiarch modff for PowerPC32.
9459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
9460 and lrintf multiarch implementations.
9461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
9463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
9465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
9466 multiarch lrint for PowerPC32.
9467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
9468 file: multiarch lrintf for PowerPC32.
9470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
9471 and lroundf multiarch implementations.
9472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
9474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
9476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
9478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
9479 multiarch lround for PowerPC32.
9480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
9481 file: multiarch lroundf for PowerPC32.
9483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
9484 copysign and copysignf multiarch implementations.
9485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
9487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
9489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
9490 file: multiarch copysign for PowerPC32.
9491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
9492 file: multiarch copysignf for PowerPC32.
9494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
9495 and truncf multiarch implementations.
9496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
9498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
9500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
9501 multiarch trunc for PowerPC32.
9502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
9504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
9506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
9507 multiarch truncf for PowerPC32.
9509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
9510 and roundf multiarch implementations.
9511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
9513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
9515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
9516 multiarch round for PowerPC32.
9517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
9519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
9521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
9522 multiarch roundf for PowerPC32.
9524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
9525 and floorf multiarch implementations.
9526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
9528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
9530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
9531 multiarch floor for PowerPC32.
9532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
9534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
9536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
9537 multiarch floorf for PowerPC32.
9539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
9540 and ceilf multiarch implementations.
9541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
9543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
9545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
9546 multiarch ceil for PowerPC32.
9547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
9549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
9551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
9552 multiarch ceilf for PowerPC32.
9554 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
9556 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
9558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
9559 and finitef multiarch implementations.
9560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
9562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
9564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
9565 multiarch finite for PowerPC32.
9566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
9568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
9569 file: multiarch finitef for PowerPC32.
9571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
9572 and isinff multiarch implementations.
9573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
9575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
9577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
9578 multiarch isinf for PowerPC32.
9579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
9581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
9582 multiarch isinff for PowerPC32.
9584 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
9585 alias when __isnan is defined.
9586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
9587 and isnanf multiarch implementations.
9588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
9590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
9592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
9594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
9596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
9597 multiarch isnan for PowerPC32.
9598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
9600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
9602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
9603 multiarch isnanf for PowerPC32.
9605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
9606 and sqrtf multiarch implementations.
9607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
9609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
9611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
9612 multiarch sqrt for PowerPC32.
9613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
9615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
9617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
9618 multiarch sqrtf for PowerPC32.
9620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
9621 and llroundf multiarch implementations.
9622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
9624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
9626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
9628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
9629 file: multiarch llround for PowerPC32.
9630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
9631 file: multiarch llroundf for PowerPC32.
9633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
9634 multiarch PowerPC32 fpu implementations.
9635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
9637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
9639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
9640 multiarch llrint for PowerPC32.
9641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
9643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
9645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
9650 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
9652 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
9654 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
9656 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
9657 multiarch wordcopy for PPC32.
9658 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9660 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9661 (__libc_ifunc_impl_list): Likewise.
9662 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
9663 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
9664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
9665 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
9666 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
9667 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
9669 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
9670 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
9672 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
9674 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
9676 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
9677 multiarch wcscpy for PPC32.
9678 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
9680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9681 (__libc_ifunc_impl_list): Likewise.
9682 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9683 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9684 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
9685 sysdeps/powerpc/power6/wcscpy.c.
9687 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
9688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
9690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
9692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
9694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
9695 multiarch wcsrchr for PPC32.
9696 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9698 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9699 (__libc_ifunc_impl_list): Likewise.
9700 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
9701 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
9702 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
9703 sysdeps/powerpc/power6/wcsrchr.c.
9705 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
9707 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
9709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
9710 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
9711 multiarch wcschr for PPc32.
9712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
9714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9715 (__libc_ifunc_impl_list): Likewise.
9716 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
9717 * sysdeps/powerpc/power6/wcschr.c: ... to here.
9718 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
9719 sysdeps/powerpc/power6/wcschr.c.
9721 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
9722 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
9724 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
9725 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
9726 file: multiarch strchr for PPC32.
9727 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
9729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9730 (__libc_ifunc_impl_list): Likewise.
9732 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
9734 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
9736 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
9738 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
9739 multiarch strchrnul for PPC32.
9740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
9742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9743 (__libc_ifunc_impl_list): Likewise.
9745 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
9747 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
9748 multiarch strncasecmp for PPC32.
9749 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
9751 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
9752 multiarch strncasecmp_l for PPC32.
9753 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
9754 strncasecmp multiarch objects.
9755 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9756 (__libc_ifunc_impl_list): Likewise.
9758 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
9760 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
9761 multiarch strncasecmp for PPC32.
9762 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9764 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
9765 multiarch strcasecmp_l for PPC32.
9766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
9768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9769 (__libc_ifunc_impl_list): Likewise.
9771 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
9773 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
9775 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
9776 multiarch strncmp for PPC32.
9777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
9779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9780 (__libc_ifunc_impl_list): Likewise.
9782 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
9783 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
9785 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
9786 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
9787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
9789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9790 (__libc_ifunc_impl_list): Likewise.
9792 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
9794 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
9796 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
9797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
9799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9800 (__libc_ifunc_impl_list): Likewise.
9802 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
9804 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
9806 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
9807 multiarch rawmemchr for PPC32.
9808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
9810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9811 (__libc_ifunc_impl_list): Likewise.
9813 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
9815 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
9817 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
9818 file: memrchr multiarch for PPC32.
9819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
9821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
9822 (__libc_ifunc_impl_list): Likewise.
9824 * string/memchr.c (__memchr): Using macro to redefine symbol name.
9825 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
9827 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
9828 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
9829 multiarch memchr for PPC32.
9830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
9832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9833 (__libc_ifunc_impl_list): Likewise.
9835 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
9836 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
9838 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
9840 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
9841 file: multiarch mempcpy for PPC32.
9842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
9844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9845 (__libc_ifunc_impl_list): Likewise.
9847 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
9848 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
9849 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
9850 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
9851 multiarch bzero for PPC32.
9852 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
9854 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
9856 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
9857 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
9858 file: multiarch memset for PPC32.
9859 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
9860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
9861 memset multiarch objects.
9862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9863 (__libc_ifunc_impl_list): Likewise.
9865 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
9867 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
9868 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
9870 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
9871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
9873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9874 (__libc_ifunc_impl_list): Likewise.
9876 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
9877 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
9878 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
9880 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9882 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
9884 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
9885 multiarch memcpy for PPC32.
9886 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
9888 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9889 (__libc_ifunc_impl_list): Likewise.
9891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
9892 support multiarch for POWER/PPC32.
9893 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
9895 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
9897 Implies file to make multiarch folder appers before the fpu and
9898 default folder for power4 configuration.
9900 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9902 * scripts/bench.pl: Append volatile keyword to type.
9904 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9906 * sysdeps/sh/sotruss-lib.c: New file.
9907 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
9909 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9913 2013-12-05 Joseph Myers <joseph@codesourcery.com>
9916 * math/w_tgamma.c: Include <errno.h>.
9917 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
9918 * math/w_tgammaf.c: Include <errno.h>.
9919 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
9920 * math/w_tgammal.c: Include <errno.h>.
9921 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
9922 * math/auto-libm-test-in: Do not allow missing errno on tgamma
9923 underflow. Add more tgamma tests.
9924 * math/auto-libm-test-out: Regenerated.
9925 * sysdeps/i386/fpu/libm-test-ulps: Update.
9926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9928 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
9929 sin, sinh, tan, tanh, tgamma, y0 and y1.
9930 * math/auto-libm-test-out: Regenerated.
9931 * math/libm-test.inc (TEST_COND_x86_64): New macro.
9932 (TEST_COND_x86): Likewise.
9933 (M_E2l): Remove macro.
9935 (M_2_SQRT_PIl): Likewise.
9936 (M_SQRT_PIl): Likewise.
9937 (M_1_DIV_El): Likewise.
9938 (log_test_data): Use AUTO_TESTS_f_f.
9939 (log10_test_data): Likewise.
9940 (log1p_test_data): Likewise.
9941 (log2_test_data): Likewise.
9942 (sin_test_data): Likewise.
9943 (sin_tonearest_test_data): Likewise.
9944 (sin_towardzero_test_data): Likewise.
9945 (sin_downward_test_data): Likewise.
9946 (sin_upward_test_data): Likewise.
9947 (sinh_test_data): Likewise.
9948 (sinh_tonearest_test_data): Likewise.
9949 (sinh_towardzero_test_data): Likewise.
9950 (sinh_downward_test_data): Likewise.
9951 (sinh_upward_test_data): Likewise.
9952 (tan_test_data): Likewise.
9953 (tan_tonearest_test_data): Likewise.
9954 (tan_towardzero_test_data): Likewise.
9955 (tan_downward_test_data): Likewise.
9956 (tan_upward_test_data): Likewise.
9957 (tanh_test_data): Likewise.
9958 (tgamma_test_data): Likewise.
9959 (y0_test_data): Likewise.
9960 (y1_test_data): Likewise.
9961 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
9962 (special_real_inputs): Add pi/4.
9963 * sysdeps/i386/fpu/libm-test-ulps: Update.
9964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9966 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9968 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
9969 "longjmp_target" static probes.
9970 (__longjmp): Rename to __longjmp_symbol.
9971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9972 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
9973 on which longjmp to generate.
9974 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9975 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
9977 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9978 (__sigjmp_save): Rename to __sigjmp_save_symbol.
9979 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9980 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
9981 and __sigjmp_save_symbol based on which sigsetjmp to generated.
9982 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
9984 __longjmp_symbol based on which __longjmp to generate.
9985 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
9987 (setjmp): Rename to setjmp_symbol.
9988 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9989 (_setjmp): Rename to _setjmp_symbol.
9990 (__sigsetjmp): Rename to __sigsetjmp_symbol.
9991 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
9992 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
9993 which setjmp to generate.
9994 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
9995 "longjmp_target" static probes.
9997 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9999 * benchtests/README: Add note about output arguments.
10000 * benchtests/bench-sincos.c: Remove file.
10001 * benchtests/sincos-inputs: New file.
10002 * scripts/bench.pl: Identify output arguments and define
10003 static variables for them.
10005 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10008 * Makefile (INSTALL): Add install-plain.texi as the primary
10010 * manual/install-plain.texi: New file.
10011 * manual/install.texi: Include node directive only for
10012 non-plaintext output.
10014 2013-12-04 Joseph Myers <joseph@codesourcery.com>
10016 * stdlib/longlong.h: Update from GCC.
10020 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10021 * math/w_j0f.c (y0f): Likewise.
10022 * math/w_j0l.c (__y0l): Likewise.
10023 * math/w_j1.c (y1): Likewise.
10024 * math/w_j1f.c (y1f): Likewise.
10025 * math/w_j1l.c (__y1l): Likewise
10026 * math/w_jn.c (yn): Likewise.
10027 * math/w_jnf.c (ynf): Likewise.
10028 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10029 Bessel function pole errors in _POSIX_ mode. Use NAN as return
10030 value for Bessel function domain errors outside _SVID_ mode.
10031 Adjust sign of return value for yn (negative integer, 0).
10032 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10033 by zero in return for negative x and set sign appropriately for
10035 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10036 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10037 * math/libm-test.inc (y0_test_data): Add more tests and adjust
10038 expectations in error cases.
10039 (y1_test_data): Likewise.
10040 (yn_test_data): Likewise.
10041 * sysdeps/i386/fpu/libm-test-ulps: Update.
10042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10044 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10046 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10047 "64" to "64-v1". Add "64-v2".
10048 (abi-64-options): Rename to ...
10049 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
10050 (abi-64-condition): Rename to ...
10051 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
10052 (abi-64-ld-soname): Rename to ...
10053 (abi-64-v1-ld-soname): ... this.
10054 (abi-64-v2-options): Define.
10055 (abi-64-v2-condition): Likewise.
10056 (abi-64-v2-ld-soname): Likewise.
10057 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10058 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10063 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10064 Alan Modra <amodra@gmail.com>
10066 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10067 New versions for use with the ELFv2 ABI.
10068 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10069 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10071 (struct La_ppc64v2_retval): Likewise.
10072 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10073 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10074 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10075 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10076 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10077 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10078 Do not save or restore CR.
10079 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10080 (_dl_profile_resolve): Do no save or restore CR. Support extended
10081 return values for ELFv2 ABI. Fix location of FPR return registers.
10082 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10083 updated values for _CALL_ELF == 2.
10084 (La_regs, La_retval, int_retval): Likewise.
10086 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10088 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10089 (FRAME_MIN_SIZE_PARM): Likewise.
10090 (FRAME_BACKCHAIN): Likewise.
10091 (FRAME_CR_SAVE): Likewise.
10092 (FRAME_LR_SAVE): Likewise.
10093 (FRAME_TOC_SAVE): Likewise.
10094 (FRAME_PARM_SAVE): Likewise.
10095 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10096 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10097 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10098 (call_mcount_parm_offset): New macro.
10099 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10100 (PROF): Use symbolic stack frame offsets.
10101 (TAIL_CALL_SYSCALL_ERROR): Likewise.
10102 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10103 Redefine in terms of FRAME_MIN_SIZE.
10104 (_dl_runtime_resolve): Use symbolic stack frame offsets.
10105 (_dl_profile_resolve): Likewise. Update comment.
10106 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10107 symbols stack frame offsets.
10108 (__sigsetjmp): Likewise.
10109 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10110 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10111 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10112 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10115 (FRAME_BACKCHAIN): Remove.
10116 (FRAME_CR_SAVE): Likewise.
10117 (FRAME_LR_SAVE): Likewise.
10118 (FRAME_COMPILER_DW): Likewise.
10119 (FRAME_LINKER_DW): Likewise.
10120 (FRAME_TOC_SAVE): Likewise.
10121 (FRAME_PARM_SAVE): Likewise.
10122 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10123 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10124 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10126 (CHECK_SP): Use symbolic stack frame offsets.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10128 zone" instead of caller's parameter save area for temp storage.
10129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10130 Likewise. Also, use symbolic stack frame offsets.
10131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10132 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10133 our own stack frame instead of the caller's.
10134 (__socket): Use symbolic stack frame offsets.
10136 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10137 Alan Modra <amodra@gmail.com>
10139 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10141 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10142 (PPC64_LOCAL_ENTRY_OFFSET): Define.
10143 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10145 (elf_machine_fixup_plt): Call it.
10146 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
10148 (elf_machine_rela): Update call to elf_machine_plt_conflict.
10149 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10150 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10151 r2 before calling target.
10153 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10154 Alan Modra <amodra@gmail.com>
10156 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10157 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10158 versions of macros to support ELFv2 ABI.
10159 (LOCALENTRY): New macro.
10160 (ENTRY, EALIGN): Use it.
10161 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10162 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10163 fall through into ENTRY entry point.
10164 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10165 Only define if _CALL_ELF != 2.
10167 (elf_machine_matches_host): Verify ABI version matches.
10168 (RTLD_START): Use LOCALENTRY.
10169 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10170 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10171 (PLT_ENTRY_WORDS): New macro.
10172 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10173 (elf_machine_runtime_setup): Support ELFv2 ABI.
10174 (elf_machine_fixup_plt): Likewise.
10175 (elf_machine_plt_conflict): Likewise.
10176 (resolve_ifunc): Likewise.
10177 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10178 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10181 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10183 (makecontext): Support ELFv2 ABI.
10184 * elf/elf.h (EF_PPC64_ABI): Define.
10186 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10188 * sysdeps/powerpc/powerpc64/sysdep.h
10189 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10190 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10191 (ENTRY) [ASSEMBLER]: ... but instead here ...
10192 (EALIGN) [ASSEMBLER]: ... and here.
10193 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10194 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10195 (ENTRY_2) [!ASSEMBLER]: Use it.
10196 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10197 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
10198 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10199 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10200 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10202 Use PPC64_LOAD_FUNCPTR.
10204 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10206 2013-12-04 Alan Modra <amodra@gmail.com>
10208 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10209 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10210 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10211 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10214 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10215 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10216 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10217 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10218 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10220 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10223 (__makecontext): Fix incorrect CFI when backtracing out of
10224 context created via makecontext.
10225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10226 (__setcontext): Fix incorrect CFI during switch to new context.
10227 (__novec_setcontext): Likewise.
10229 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10232 * time/strptime_l.c (__strptime_internal): Allow modifiers
10234 * time/tst-strptime.c (day_tests): Add testcase.
10236 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10238 * scripts/bench.pl: Skip over blank lines.
10240 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
10243 * manual/time.texi (Calendar Time): Clarify what timezone functions
10246 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10250 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
10252 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10254 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10255 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10256 * debug/memset_chk.c (__memset_chk): Likewise.
10257 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10258 * debug/strncpy_chk.c: Likewise.
10260 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10264 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10265 (__ieee754_exp): For possibly underflowing results, check size of
10266 result and force underflow exception if required.
10267 * math/auto-libm-test-in: Add more tests of exp.
10268 * math/auto-libm-test-out: Regenerated.
10269 * sysdeps/i386/fpu/libm-test-ulps: Update.
10270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10273 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10274 * math/w_exp2f.c (__exp2f): Likewise.
10275 * math/w_exp2l.c (__exp2l): Likewise.
10276 * math/auto-libm-test-in: Do not allow missing errno on exp2
10278 * math/auto-libm-test-out: Regenerated.
10280 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
10283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10284 handle filename validation.
10285 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10288 2013-12-03 Joseph Myers <joseph@codesourcery.com>
10291 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10292 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10293 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10295 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10296 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10297 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10298 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10299 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10300 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10301 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10302 * math/auto-libm-test-in: Don't allow missing errno from erfc.
10303 Add more erfc tests.
10304 * math/auto-libm-test-out: Regenerated.
10305 * sysdeps/i386/fpu/libm-test-ulps: Update.
10306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10308 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10309 exp2, expm1, j0 and j1.
10310 * math/auto-libm-test-out: Regenerated.
10311 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10312 (erfc_test_data): Likewise.
10313 (exp_test_data): Likewise.
10314 (exp_tonearest_test_data): Likewise.
10315 (exp_towardzero_test_data): Likewise.
10316 (exp_downward_test_data): Likewise.
10317 (exp_upward_test_data): Likewise.
10318 (exp10_test_data): Likewise.
10319 (exp2_test_data): Likewise.
10320 (expm1_test_data): Likewise.
10321 (j0_test_data): Likewise.
10322 (j1_test_data): Likewise.
10323 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10324 (input_flag_type): Add flag_xfail_rounding.
10325 (input_flags): Add xfail-rounding.
10326 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10327 (output_for_one_input_case): Handle flag_xfail_rounding.
10328 * sysdeps/i386/fpu/libm-test-ulps: Update.
10329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10331 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
10334 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
10337 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10340 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
10341 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
10342 (STAP_PROBE0): New macro.
10343 (STAP_PROBE1): Likewise.
10344 (STAP_PROBE2): Likewise.
10345 (STAP_PROBE3): Likewise.
10346 (STAP_PROBE4): Likewise.
10348 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
10350 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
10352 2013-12-02 Steve Ellcey <sellcey@mips.com>
10354 * benchtests/Makefile (bench): Add sqrt.
10355 (LDLIBS-bench-sqrt): New.
10356 * benchtests/sqrt-input: New.
10358 2013-12-02 Pavel Simerda <psimerda@redhat.com>
10360 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
10361 (GAIH_EAI): Likewise.
10362 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
10363 (gaih_inet): Likewise.
10364 (getaddrinfo): Don't use GAIH_EAI.
10366 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
10367 (struct gaih): Remove definition.
10369 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10371 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
10372 Use HERRNOP directly.
10374 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10376 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10378 2013-11-30 Joseph Myers <joseph@codesourcery.com>
10380 * math/gen-auto-libm-tests.c (test_functions): Add more
10381 single-argument functions.
10382 (special_fill_pi_2): New function.
10383 (special_fill_minus_pi_2): Likewise.
10384 (special_fill_pi_6): Likewise.
10385 (special_fill_minus_pi_6): Likewise.
10386 (special_fill_pi_3): Likewise.
10387 (special_fill_2pi_3): Likewise.
10388 (special_fill_e): Likewise.
10389 (special_fill_1_e): Likewise.
10390 (special_fill_e_minus_1): Likewise.
10391 (special_real_inputs): Add more special inputs.
10392 (output_for_one_input_case): Do not require ERANGE on underflow to
10393 zero if round-to-nearest result does not underflow to zero, unless
10394 exact results required.
10395 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
10396 atan, atanh, cbrt, cos and cosh.
10397 * math/auto-libm-test-out: Regenerated.
10398 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
10399 (acos_tonearest_test_data): Likewise.
10400 (acos_towardzero_test_data): Likewise.
10401 (acos_downward_test_data): Likewise.
10402 (acos_upward_test_data): Likewise.
10403 (acosh_test_data): Likewise.
10404 (asin_test_data): Likewise.
10405 (asin_tonearest_test_data): Likewise.
10406 (asin_towardzero_test_data): Likewise.
10407 (asin_upward_test_data): Likewise.
10408 (asinh_test_data): Likewise.
10409 (atan_test_data): Likewise.
10410 (atanh_test_data): Likewise.
10411 (cbrt_test_data): Likewise.
10412 (cos_test_data): Likewise.
10413 (cos_tonearest_test_data): Likewise.
10414 (cos_towardzero_test_data): Likewise.
10415 (cos_downward_test_data): Likewise.
10416 (cos_upward_test_data): Likewise.
10417 (cosh_test_data): Likewise.
10418 (cosh_tonearest_test_data): Likewise.
10419 (cosh_towardzero_test_data): Likewise.
10420 (cosh_downward_test_data): Likewise.
10421 (cosh_upward_test_data): Likewise.
10422 * sysdeps/i386/fpu/libm-test-ulps: Update.
10423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10425 2013-11-29 Joseph Myers <joseph@codesourcery.com>
10428 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
10429 * math/w_exp10f.c (__exp10f): Likewise.
10430 * math/w_exp10l.c (__exp10l): Likewise.
10431 * math/libm-test.inc (exp10_test_data): Add more tests and expect
10432 errno settings in existing tests.
10435 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
10436 precision control set to double precision.
10437 * sysdeps/i386/fpu/w_sqrt.c: New file.
10438 * math/auto-libm-test-in: Add more tests.
10439 * math/auto-libm-test-out: Update.
10441 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
10442 (sqrt_test_tonearest): New function.
10443 (sqrt_towardzero_test_data): New variable.
10444 (sqrt_test_towardzero): New function.
10445 (sqrt_downward_test_data): New variable.
10446 (sqrt_test_downward): New function.
10447 (sqrt_upward_test_data): New variable.
10448 (sqrt_test_upward): New function.
10449 (main): Call the new functions.
10451 * math/gen-auto-libm-tests.c: New file.
10452 * math/auto-libm-test-in: Likewise.
10453 * math/auto-libm-test-out: New generated file.
10454 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
10456 (%beautify): Add generated representations of zero.
10457 (top level): Set $auto_input and call parse_auto_input.
10458 (beautify): Remove trailing "f" from hex float constants.
10459 (parse_args): Handle XFAIL_TEST.
10460 (convert_condition): New function.
10461 (or_value): Likewise.
10462 (or_cond_value): Likewise.
10463 (generate_testfile): Handle AUTO_TESTS_* lines.
10464 (parse_auto_input): New function.
10465 * math/libm-test.inc (XFAIL_TEST): New macro.
10466 (ERRNO_UNCHANGED): Update value.
10467 (ERRNO_EDOM): Likewise.
10468 (ERRNO_ERANGE): Likewise.
10469 (IGNORE_RESULT): Likewise.
10470 (TEST_COND_flt_32): New macro.
10471 (TEST_COND_dbl_64): Likewise.
10472 (TEST_COND_ldbl_96_intel): Likewise.
10473 (TEST_COND_ldbl_96_m68k): Likewise.
10474 (TEST_COND_ldbl_128): Likewise.
10475 (TEST_COND_ldbl_128ibm): Likewise.
10476 (TEST_COND_long32): Likewise.
10477 (TEST_COND_long64): Likewise.
10478 (TEST_COND_before_rounding): Likewise.
10479 (TEST_COND_after_rounding): Likewise.
10480 (enable_test): Handle XFAIL_TEST flag.
10481 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
10482 with finite results.
10483 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
10484 auto-libm-test-out.
10486 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10487 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10490 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
10491 __tls_get_addr_internal instead of __tls_get_offset in order to
10492 avoid GOT pointer dependency. Make rtld export
10493 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
10494 __tls_get_addr since we are a __tls_get_offset platform.
10495 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
10496 GOT pointer being set up before.
10497 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
10499 2013-11-28 Joseph Myers <joseph@codesourcery.com>
10501 * manual/math.texi (Errors in Math Functions): Document accuracy
10505 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
10506 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
10507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10509 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
10514 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10515 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10516 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10517 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10518 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10520 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
10522 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
10523 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
10524 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
10525 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
10526 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
10528 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
10530 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
10532 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
10533 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
10534 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
10535 atomic-feupdateenv and flt-rounds.
10536 * sysdeps/powerpc/nofpu/Versions (libc): Add
10537 __atomic_feholdexcept, __atomic_feclearexcept,
10538 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
10539 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
10540 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
10541 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
10542 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
10544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10547 * manual/arith.texi (FP Exceptions): Document that exceptions may
10548 not be raised when matherr is used.
10549 (Math Error Reporting): Document overflow in directed rounding
10550 modes. Document that errno may not be set when finite values are
10551 returned on overflow. Document intent to set errno on underflow
10552 only for underflow to zero.
10555 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
10556 round-to-nearest then adjust result for other rounding modes.
10557 * include/fenv.h (fegetround): Use libm_hidden_proto.
10558 * math/fegetround.c (fegetround): Use libm_hidden_def.
10559 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10560 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10561 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10562 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10564 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
10565 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10566 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10567 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
10569 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10572 * nss/Versions (libnss_files): Add
10573 _nss_files_gethostbyname3_r.
10574 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
10576 (HOST_DB_LOOKUP): Remove macro.
10577 (_nss_files_gethostbyname_r): Implement function without the
10578 HOST_DB_LOOKUP macro.
10579 (_nss_files_gethostbyname2_r): Likewise.
10581 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
10583 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
10585 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
10587 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
10588 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
10591 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10593 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
10594 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
10595 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10596 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10597 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
10598 __fe_nomask_env_priv and attribute_hidden.
10599 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
10600 (libc_feupdateenv_test_ppc): Likewise.
10601 (libc_feresetround_ppc): Likewise.
10602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10603 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
10604 compat_symbol macro.
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10606 (__fe_nomask_env): Likewise.
10607 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
10609 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10611 * string/Makefile: Remove ifunc tests.
10612 * string/test-string.h: Define TEST_IFUNC.
10613 * string/test-bcopy-ifunc.c: Remove.
10614 * string/test-bzero-ifunc.c: Likewise.
10615 * string/test-memccpy-ifunc.c: Likewise.
10616 * string/test-memchr-ifunc.c: Likewise.
10617 * string/test-memcmp-ifunc.c: Likewise.
10618 * string/test-memcpy-ifunc.c: Likewise.
10619 * string/test-memmem-ifunc.c: Likewise.
10620 * string/test-memmove-ifunc.c: Likewise.
10621 * string/test-mempcpy-ifunc.c: Likewise.
10622 * string/test-memrchr-ifunc.c: Likewise.
10623 * string/test-memset-ifunc.c: Likewise.
10624 * string/test-rawmemchr-ifunc.c: Likewise.
10625 * string/test-stpcpy-ifunc.c: Likewise.
10626 * string/test-stpncpy-ifunc.c: Likewise.
10627 * string/test-strcasecmp-ifunc.c: Likewise.
10628 * string/test-strcasestr-ifunc.c: Likewise.
10629 * string/test-strcat-ifunc.c: Likewise.
10630 * string/test-strchr-ifunc.c: Likewise.
10631 * string/test-strchrnul-ifunc.c: Likewise.
10632 * string/test-strcmp-ifunc.c: Likewise.
10633 * string/test-strcpy-ifunc.c: Likewise.
10634 * string/test-strcspn-ifunc.c: Likewise.
10635 * string/test-strlen-ifunc.c: Likewise.
10636 * string/test-strncasecmp-ifunc.c: Likewise.
10637 * string/test-strncat-ifunc.c: Likewise.
10638 * string/test-strncmp-ifunc.c: Likewise.
10639 * string/test-strncpy-ifunc.c: Likewise.
10640 * string/test-strnlen-ifunc.c: Likewise.
10641 * string/test-strpbrk-ifunc.c: Likewise.
10642 * string/test-strrchr-ifunc.c: Likewise.
10643 * string/test-strspn-ifunc.c: Likewise.
10644 * string/test-strstr-ifunc.c: Likewise.
10646 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10648 * benchtests/Makefile: Remove ifunc tests.
10649 * benchtests/bench-string.h: Define TEST_IFUNC.
10650 * benchtests/bench-bcopy-ifunc.c: Remove.
10651 * benchtests/bench-bzero-ifunc.c: Likewise.
10652 * benchtests/bench-memccpy-ifunc.c: Likewise.
10653 * benchtests/bench-memchr-ifunc.c: Likewise.
10654 * benchtests/bench-memcmp-ifunc.c: Likewise.
10655 * benchtests/bench-memcpy-ifunc.c: Likewise.
10656 * benchtests/bench-memmem-ifunc.c: Likewise.
10657 * benchtests/bench-memmove-ifunc.c: Likewise.
10658 * benchtests/bench-mempcpy-ifunc.c: Likewise.
10659 * benchtests/bench-memrchr-ifunc.c: Likewise.
10660 * benchtests/bench-memset-ifunc.c: Likewise.
10661 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
10662 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
10663 * benchtests/bench-stpcpy-ifunc.c: Likewise.
10664 * benchtests/bench-stpncpy-ifunc.c: Likewise.
10665 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
10666 * benchtests/bench-strcasestr-ifunc.c: Likewise.
10667 * benchtests/bench-strcat-ifunc.c: Likewise.
10668 * benchtests/bench-strchr-ifunc.c: Likewise.
10669 * benchtests/bench-strchrnul-ifunc.c: Likewise.
10670 * benchtests/bench-strcmp-ifunc.c: Likewise.
10671 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
10672 * benchtests/bench-strcpy-ifunc.c: Likewise.
10673 * benchtests/bench-strcspn-ifunc.c: Likewise.
10674 * benchtests/bench-strlen-ifunc.c: Likewise.
10675 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
10676 * benchtests/bench-strncat-ifunc.c: Likewise.
10677 * benchtests/bench-strncmp-ifunc.c: Likewise.
10678 * benchtests/bench-strncpy-ifunc.c: Likewise.
10679 * benchtests/bench-strnlen-ifunc.c: Likewise.
10680 * benchtests/bench-strpbrk-ifunc.c: Likewise.
10681 * benchtests/bench-strrchr-ifunc.c: Likewise.
10682 * benchtests/bench-strsep-ifunc.c: Likewise.
10683 * benchtests/bench-strspn-ifunc.c: Likewise.
10684 * benchtests/bench-strstr-ifunc.c: Likewise.
10686 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10688 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
10690 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
10692 * resolv/netdb.h: Use __glibc_reserved instead __unused.
10693 * rt/aio.h: Likewise.
10694 * sysdeps/gnu/bits/utmp.h: Likewise.
10695 * sysdeps/gnu/bits/utmpx.h: Likewise.
10696 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10697 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
10698 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
10699 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
10700 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
10701 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
10702 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
10703 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
10704 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
10705 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
10706 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
10707 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
10708 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
10710 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
10711 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
10712 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
10713 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
10714 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
10715 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
10716 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
10717 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
10718 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
10719 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10720 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10722 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
10723 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
10724 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
10725 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
10726 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
10727 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
10728 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
10729 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10730 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
10731 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
10732 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
10733 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
10734 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
10735 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
10736 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
10737 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10739 2013-11-25 Carlos O'Donell <carlos@redhat.com>
10742 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
10743 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
10745 2013-11-25 Joseph Myers <joseph@codesourcery.com>
10747 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
10748 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10751 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10753 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
10754 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
10755 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
10756 (__fesetround): Remove define.
10757 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
10758 rounding and exceptions handling.
10759 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
10760 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
10761 (__fe_nomask_env): Likewise.
10762 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
10763 __fegetround instead of fegetround.
10764 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10765 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10767 2013-11-21 Roland McGrath <roland@hack.frob.com>
10769 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
10772 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
10774 2013-11-21 Meador Inge <meadori@codesourcery.com>
10777 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
10778 (encrypt_r): Likewise.
10779 * malloc/obstack.h (obstack_free): Likewise.
10780 * posix/unistd.h (encrypt): Likewise.
10782 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
10784 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
10785 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
10786 DL_CALL_DT_FINI() that call the functions directly.
10787 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
10788 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
10789 * elf/dl-fini.c: Likewise.
10791 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
10793 * malloc/hooks.c (memalign_check): Add alignment rounding.
10794 * malloc/malloc.c (_mid_memalign): New function.
10795 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
10796 Implement by calling _mid_memalign.
10797 * manual/probes.texi (Memory Allocation Probes): Remove
10798 memory_valloc_retry and memory_pvalloc_retry.
10800 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10802 * locale/programs/locarchive.c (open_archive): Add const
10803 qualifier to ARCHIVEFNAME and copy default fname to
10807 * libio/tst-widetext.input: Rename Oriya to Odia.
10808 * locale/iso-639.def: Likewise.
10810 * manual/probes.texi (Mathematical Function Probes): Add
10811 documentation for sin, cos, asin and acos probes.
10812 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
10813 (__sin32): Add slowasin probe.
10814 (__cos32): Add slowacos probe.
10815 (__mpsin): Add slowsin probe.
10816 (__mpcos): Add slowcos probe.
10818 2013-11-19 Joseph Myers <joseph@codesourcery.com>
10821 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
10822 thread-local __sim_exceptions_thread and global
10823 __sim_exceptions_global.
10824 (__sim_disabled_exceptions): Change to thread-local
10825 __sim_disabled_exceptions_thread and global
10826 __sim_disabled_exceptions_global.
10827 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10828 and global __sim_round_mode_global.
10829 (__simulate_exceptions): Use thread-local floating-point state and
10830 set global state from it as needed.
10831 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
10832 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
10833 __sim_round_mode_thread.
10834 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
10835 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
10836 and global __sim_exceptions_global.
10837 (__sim_disabled_exceptions): Change to thread-local
10838 __sim_disabled_exceptions_thread and global
10839 __sim_disabled_exceptions_global.
10840 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
10841 and global __sim_round_mode_global.
10842 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
10843 (SIM_SET_GLOBAL): Likewise.
10844 * sysdeps/powerpc/soft-fp/sfp-machine.h
10845 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
10846 __sim_round_mode_thread.
10847 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
10848 __sim_disabled_exceptions_thread.
10849 (__sim_exceptions): Change to __sim_exceptions_thread.
10850 (__sim_disabled_exceptions): Change to
10851 __sim_disabled_exceptions_thread.
10852 (__sim_round_mode): Change to __sim_round_mode_thread.
10853 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
10854 thread-local floating-point state and set global state from it as
10856 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
10857 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
10858 (__sim_disabled_exceptions): Remove extern declaration.
10859 (feenableexcept): Use thread-local floating-point state and set
10860 global state from it as needed.
10861 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
10862 extern declaration.
10863 (__sim_disabled_exceptions): Likewise.
10864 (__sim_round_mode): Likewise.
10865 (__fegetenv): Use thread-local floating-point state.
10866 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
10867 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
10868 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
10869 floating-point state and set global state from it as needed.
10870 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
10871 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10872 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
10874 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10875 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
10877 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
10878 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
10879 Use __sim_round_mode_thread.
10880 * math/test-fenv-tls.c: New file.
10881 * math/Makefile (tests): Add test-fenv-tls.
10882 ($(objpfx)test-fenv-tls): Depend on
10883 $(common-objpfx)nptl/libpthread.so.
10885 2013-11-19 Andreas Schwab <schwab@suse.de>
10887 * locale/programs/locale.c (show_info): Decode wordarray elements.
10888 * locale/categories.def (LC_MONETARY): Add element for
10889 _NL_MONETARY_CRNCYSTR.
10890 * locale/C-monetary.c (conversion_rate): New variable.
10891 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
10894 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
10896 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
10897 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
10899 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10901 * elf/Makefile (tst-auxv): New test.
10902 * elf/tst-auxv.c: New
10903 * elf/rtld.c (dl_main): Adjust AT_EXECFN
10905 2013-11-18 Joseph Myers <joseph@codesourcery.com>
10907 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
10908 (hidden_proto): Caller changed.
10909 (hidden_tls_proto): New macro.
10910 (libc_hidden_tls_proto): Likewise.
10911 (rtld_hidden_tls_proto): Likewise.
10912 (libm_hidden_tls_proto): Likewise.
10913 (libresolv_hidden_tls_proto): Likewise.
10914 (librt_hidden_tls_proto): Likewise.
10915 (libdl_hidden_tls_proto): Likewise.
10916 (libnss_files_hidden_tls_proto): Likewise.
10917 (libnsl_hidden_tls_proto): Likewise.
10918 (libnss_nisplus_hidden_tls_proto): Likewise.
10919 (libutil_hidden_tls_proto): Likewise.
10921 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
10924 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
10925 (decompose_rpath): Defer expansion to fillin_rpath.
10926 (_dl_init_paths): Pass linkmap to fillin_rpath.
10928 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10930 * benchtests/Makefile: Add strsep.
10931 * benchtests/bench-strsep.c: New file: strsep benchtest.
10932 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
10934 2013-11-18 Andreas Schwab <schwab@suse.de>
10936 * locale/programs/locale.c (show_info) [case byte]: Check for
10937 '\377' instead of '\177'.
10938 * locale/C-monetary.c (not_available): Always use "\377".
10939 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
10940 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
10941 detect unavailable sign_posn locale elements.
10942 * locale/localeconv.c (__localeconv): For grouping and
10943 mon_grouping handle "\177" and "\377" like no grouping.
10944 (INT_ELEM): New macro. Use it to set all numeric members.
10945 * locale/programs/ld-monetary.c (monetary_read)
10946 <tok_mon_grouping>: Normalize single -1 to the empty string.
10947 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
10950 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
10953 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
10954 when we match (nil).
10955 * stdio-common/tst-sscanf.c (struct test): Add testcase.
10957 2013-11-16 Joseph Myers <joseph@codesourcery.com>
10959 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
10960 (NO_TEST_INLINE): Update value.
10961 (ERRNO_UNCHANGED): Likewise.
10962 (ERRNO_EDOM): Likewise.
10963 (ERRNO_ERANGE): Likewise.
10964 (IGNORE_RESULT): Likewise.
10965 (check_float_internal): Check signs of NaN results if
10966 TEST_NAN_SIGN used.
10967 (check_complex): Pass TEST_NAN_SIGN flag through to second
10968 check_float_internal call.
10969 (copysign_test_data): Add tests with quiet NaNs as second
10970 argument. Use TEST_NAN_SIGN.
10971 (fabs_test_data): Add test of negative quiet NaN argument. Use
10973 (signbit_test_data): Add tests of quiet NaN argument.
10974 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
10976 * math/gen-libm-test.pl (show_exceptions): Take extra argument
10978 (parse_args): Handle function results specified as IGNORE.
10979 * math/libm-test.inc (IGNORE_RESULT): New macro.
10980 (check_float_internal): Do not check numerical result if flag
10982 (check_complex): Pass through IGNORE_RESULT to second
10983 check_float_internal call.
10984 (check_int): Do not check numerical result if flag IGNORE_RESULT
10986 (check_long): Likewise.
10987 (check_bool): Likewise.
10988 (check_longlong): Likewise.
10989 (lrint_test_data): Add tests of infinite and NaN arguments.
10990 (lrint_tonearest_test_data): Likewise.
10991 (lrint_towardzero_test_data): Likewise.
10992 (lrint_downward_test_data): Likewise.
10993 (lrint_upward_test_data): Likewise.
10994 (llrint_test_data): Likewise.
10995 (llrint_tonearest_test_data): Likewise.
10996 (llrint_towardzero_test_data): Likewise.
10997 (llrint_downward_test_data): Likewise.
10998 (llrint_upward_test_data): Likewise.
10999 (lround_test_data): Likewise.
11000 (llround_test_data): Likewise.
11002 * math/libm-test.inc (NO_TEST_INLINE): New macro.
11003 (ERRNO_UNCHANGED): Update value.
11004 (ERRNO_EDOM): Likewise.
11005 (ERRNO_ERANGE): Likewise.
11006 (NO_TEST_INLINE_FLOAT): New macro.
11007 (NO_TEST_INLINE_DOUBLE): Likewise.
11008 (enable_test): New function.
11009 (RUN_TEST_f_f): Check enable_test before running test.
11010 (RUN_TEST_2_f): Likewise.
11011 (RUN_TEST_fff_f): Likewise.
11012 (RUN_TEST_c_f): Likewise.
11013 (RUN_TEST_f_f1): Likewise.
11014 (RUN_TEST_fF_f1): Likewise.
11015 (RUN_TEST_fI_f1): Likewise.
11016 (RUN_TEST_ffI_f1): Likewise.
11017 (RUN_TEST_c_c): Likewise.
11018 (RUN_TEST_cc_c): Likewise.
11019 (RUN_TEST_f_i): Likewise.
11020 (RUN_TEST_f_i_tg): Likewise.
11021 (RUN_TEST_ff_i_tg): Likewise.
11022 (RUN_TEST_f_b): Likewise.
11023 (RUN_TEST_f_b_tg): Likewise.
11024 (RUN_TEST_f_l): Likewise.
11025 (RUN_TEST_f_L): Likewise.
11026 (RUN_TEST_fFF_11): Likewise.
11027 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11029 (cosh_test_data): Likewise.
11030 (exp_test_data): Likewise.
11031 (expm1_test_data): Likewise.
11032 (hypot_test_data): Likewise.
11033 (pow_test_data): Likewise.
11034 (sinh_test_data): Likewise.
11035 (tanh_test_data): Likewise.
11036 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11039 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11040 tests with quiet NaN input and output.
11041 (acosh_test_data): Likewise.
11042 (asin_test_data): Likewise.
11043 (asinh_test_data): Likewise.
11044 (atan_test_data): Likewise.
11045 (atanh_test_data): Likewise.
11046 (atan2_test_data): Likewise.
11047 (cbrt_test_data): Likewise.
11048 (cos_test_data): Likewise.
11049 (cosh_test_data): Likewise.
11050 (erf_test_data): Likewise.
11051 (erfc_test_data): Likewise.
11052 (exp_test_data): Likewise.
11053 (exp10_test_data): Likewise.
11054 (exp2_test_data): Likewise.
11055 (expm1_test_data): Likewise.
11056 (hypot_test_data): Likewise.
11057 (j0_test_data): Likewise.
11058 (j1_test_data): Likewise.
11059 (jn_test_data): Likewise.
11060 (lgamma_test_data): Likewise.
11061 (log_test_data): Likewise.
11062 (log10_test_data): Likewise.
11063 (log1p_test_data): Likewise.
11064 (log2_test_data): Likewise.
11065 (pow_test_data): Likewise.
11066 (scalb_test_data): Likewise.
11067 (sin_test_data): Likewise.
11068 (sincos_test_data): Likewise.
11069 (sinh_test_data): Likewise.
11070 (tan_test_data): Likewise.
11071 (tanh_test_data): Likewise.
11072 (tgamma_test_data): Likewise.
11073 (y0_test_data): Likewise.
11074 (y1_test_data): Likewise.
11075 (yn_test_data): Likewise.
11078 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11079 argument being NaN and avoid computations with second argument in
11081 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11082 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11083 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11085 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
11087 * locale/iso-639.def: Add Chitwani Tharu (the).
11089 2013-11-14 Andreas Schwab <schwab@suse.de>
11091 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11092 word instead of empty string.
11094 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11097 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11099 (__fe_nomask_env): Likewise.
11101 2013-11-13 Steve Ellcey <sellcey@mips.com>
11103 * benchtests/bench-timing.h: Include time.h.
11105 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
11108 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11110 * sysdeps/unix/sysv/linux/configure: Regenerated.
11112 2013-11-13 Joseph Myers <joseph@codesourcery.com>
11115 * stdlib/strtod_l.c (round_and_return): Do not consider
11116 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11117 exponent one less than half the least subnormal exponent.
11118 * stdlib/test-strtod-round-data: Add more tests.
11119 * stdlib/tst-strtod-round.c (tests): Regenerated.
11121 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11124 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11125 (__fe_mask_env): Likewise.
11126 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11127 libm_hidden_proto and add function prototype.
11128 (__fe_mask_env): Add function prototype.
11129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11130 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11132 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11134 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11136 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11138 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11139 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11141 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11143 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11144 of htab_find_slot().
11146 2013-11-11 David S. Miller <davem@davemloft.net>
11149 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11150 symbol in the non-vis3 case in static builds.
11151 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11152 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11153 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11154 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11156 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
11159 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11162 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11164 * benchtests/Makefile: Add bench-strtod.
11165 * benchtests/bench-strtod.c: New file: strtod benchtest
11167 2013-11-11 Andreas Schwab <schwab@suse.de>
11170 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11171 terminating NUL in key length.
11173 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11175 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11176 Add artificial ODP entry for vDSO symbol for PPC64.
11177 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11178 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11180 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
11183 * nss/getent.c (services_keys): Recognize services starting with digit.
11185 2013-11-06 David S. Miller <davem@davemloft.net>
11188 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11189 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11191 2013-11-06 Will Newton <will.newton@linaro.org>
11193 * manual/memory.texi (Malloc Examples): Remove register
11194 keyword from examples.
11196 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
11198 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11200 2013-11-04 Joseph Myers <joseph@codesourcery.com>
11203 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11204 depending on [__GCC_IEC_559 > 0].
11205 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11206 depending on [__GCC_IEC_559_COMPLEX > 0].
11208 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
11210 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11213 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
11215 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11217 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
11220 * malloc/malloc (malloc_info): Do not handle first bin as
11223 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
11225 * locale/iso-639.def: Add Central Nahuatl (nhn).
11227 2013-11-01 Bruno Haible <bruno@clisp.org>
11230 * manual/math.texi (BSD Random): Specify range upper bound as
11233 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
11235 * locale/iso-639.def: Add Meadow Mari (mhr).
11237 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
11239 [BZ #14752], [BZ #15763]
11240 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11242 * rt/tst_shm.c: Add test for escaping directory.
11244 2013-10-31 Andreas Schwab <schwab@suse.de>
11247 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11248 followed by 'x' as part of digit sequence.
11249 * stdio-common/tst-sscanf.c (double_tests2): New tests.
11251 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11254 * configure.ac: allow GNU Make 4.0 and greater.
11255 * configure: Regenerated.
11257 2013-10-30 Will Newton <will.newton@linaro.org>
11260 * malloc/hooks.c (memalign_check): Limit alignment to the
11261 maximum representable power of two.
11262 * malloc/malloc.c (__libc_memalign): Likewise.
11263 * malloc/tst-memalign.c (do_test): Add test for very
11264 large alignment values.
11265 * malloc/tst-posix_memalign.c (do_test): Likewise.
11267 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11270 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11271 (munmap_chunk): Likewise.
11272 (mremap_chunk): Likewise.
11274 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
11277 * stdlib/div.c (div): Remove obsolete code.
11278 * stdlib/ldiv.c (ldiv): Likewise.
11279 * stdlib/lldiv.c (lldiv): Likewise.
11281 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11284 * nss/nss_files/files-XXX.c (get_contents_ret): New
11286 (get_contents): New function.
11287 (internal_getent): Use it. Expand size of LINEBUFLEN.
11289 2013-10-30 Mike Frysinger <vapier@gentoo.org>
11291 * configure.in: Moved to ...
11292 * configure.ac: ... here. Change reference to configure.in
11294 * sysdeps/arm/preconfigure.ac: ... here.
11295 configure.in to configure.ac.
11296 * sysdeps/gnu/configure.in: Moved to ...
11297 * sysdeps/gnu/configure.ac: ... here.
11298 * sysdeps/i386/configure.in: Moved to ...
11299 * sysdeps/i386/configure.ac: ... here.
11300 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11301 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11302 * sysdeps/mach/configure.in: Moved to ...
11303 * sysdeps/mach/configure.ac: ... here.
11304 * sysdeps/mach/hurd/configure.in: Moved to ...
11305 * sysdeps/mach/hurd/configure.ac: ... here.
11306 * sysdeps/powerpc/configure.in: Moved to ...
11307 * sysdeps/powerpc/configure.ac: ... here.
11308 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11309 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11310 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11311 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11312 * sysdeps/s390/s390-32/configure.in: Moved to ...
11313 * sysdeps/s390/s390-32/configure.ac: ... here.
11314 * sysdeps/s390/s390-64/configure.in: Moved to ...
11315 * sysdeps/s390/s390-64/configure.ac: ... here.
11316 * sysdeps/sh/configure.in: Moved to ...
11317 * sysdeps/sh/configure.ac: ... here.
11318 * sysdeps/sparc/configure.in: Moved to ...
11319 * sysdeps/sparc/configure.ac: ... here.
11320 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11321 * sysdeps/unix/sysv/linux/configure.ac: ... here.
11322 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11323 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11324 * sysdeps/x86_64/configure.in: Moved to ...
11325 * sysdeps/x86_64/configure.ac: ... here.
11326 * sysdeps/x86_64/preconfigure.in: Moved to ...
11327 * sysdeps/x86_64/preconfigure.ac: ... here.
11328 * aclocal.m4: Change reference to configure.in to configure.ac.
11329 * config.h.in: Likewise.
11330 * manual/install.texi: Likewise.
11331 * manual/maint.texi: Likewise.
11332 * Makefile: Likewise.
11333 * malloc/Makefile: Likewise.
11334 * nscd/Makefile: Likewise.
11335 * Makeconfig: Change reference to configure.in and
11336 preconfigure.in to configure.ac and preconfigure.ac
11338 * INSTALL: Regenerated.
11339 * configure: Likewise.
11340 * sysdeps/gnu/configure: Likewise.
11341 * sysdeps/i386/configure: Likewise.
11342 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
11343 * sysdeps/mach/configure: Likewise.
11344 * sysdeps/mach/hurd/configure: Likewise.
11345 * sysdeps/powerpc/configure: Likewise.
11346 * sysdeps/powerpc/powerpc32/configure: Likewise.
11347 * sysdeps/powerpc/powerpc64/configure: Likewise.
11348 * sysdeps/s390/s390-32/configure: Likewise.
11349 * sysdeps/s390/s390-64/configure: Likewise.
11350 * sysdeps/sh/configure: Likewise.
11351 * sysdeps/sparc/configure: Likewise.
11352 * sysdeps/unix/sysv/linux/configure: Likewise.
11353 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
11354 * sysdeps/x86_64/configure: Likewise.
11355 * sysdeps/x86_64/preconfigure: Likewise.
11357 2013-10-29 Andreas Schwab <schwab@suse.de>
11359 * stdio-common/Makefile (tst-swscanf-ENV): Define.
11361 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11363 * benchtests/pow-inputs: Add new inputs.
11365 * benchtests/exp-inputs: Add new inputs.
11367 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
11368 conditional check for return value.
11369 (__cos32): Likewise.
11371 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11373 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
11374 to provide a boost for large inputs with word alignment.
11375 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
11376 implementation based on optimized PPC64 strcpy.
11377 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
11378 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
11379 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
11380 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
11382 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11385 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
11387 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11390 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
11391 * time/tst-strptime.c (day_tests): Add testcase.
11393 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
11396 * manual/pattern.texi: Acknowledge that fnmatch can fail.
11398 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
11401 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
11402 MAP_FAILED on error.
11404 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11407 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
11408 heap for large requests.
11410 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
11413 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
11414 result if the result has no associated interface.
11415 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
11416 interface for all 127.X.Y.Z addresses.
11418 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
11420 * locale/iso-639.def: Add Ligurian (lij)
11422 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
11425 * sunrpc/rpc_main.c: Document rpcgen -5.
11427 2013-10-19 Michael Stahl <mstahl@redhat.com>
11429 * elf/rtld.c (do_preload): Print the reason why preloading failed.
11431 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11434 * posix/glob.c: Match only directories when trailing slash is present.
11435 * posix/tst-gnuglob.c (my_opendir): Do not open files.
11436 (main): Add testcase.
11438 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
11441 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
11443 2013-10-18 Carlos O'Donell <carlos@redhat.com>
11445 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
11446 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
11447 AUTH_DES and cindex for FIPS 140-2.
11448 (DES Encryption): Add cindex FIPS 46-3.
11450 * locale/locarchive.h (struct locarhandle): Add fname.
11451 * locale/programs/localedef.c (main): Pass ARGV[remaining]
11452 if an optional argument was specified to --list-archive,
11454 * locale/programs/locarchive.c (show_archive_content): Take new
11455 argument fname and pass it via ah.fname to open_archive.
11456 * locale/programs/localedef.h: Update decl.
11457 (open_archive): If AH->fname is non-null, open that file
11458 rather than the default file name, and don't ignore ENOENT.
11459 (create_archive): Set AH.fname to NULL.
11460 (delete_locales_from_archive): Likewise.
11461 (add_locales_to_archive): Likewise.
11462 * locale/programs/locfile.c (write_all_categories): Likewise.
11464 2013-10-18 Joseph Myers <joseph@codesourcery.com>
11465 Aldy Hernandez <aldyh@redhat.com>
11467 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
11468 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
11469 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
11470 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
11471 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
11472 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
11473 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
11474 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
11475 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
11476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
11477 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
11478 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
11479 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
11480 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
11481 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
11483 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
11485 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
11487 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
11489 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
11490 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
11492 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
11493 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
11494 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
11495 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
11497 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
11498 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
11499 * sysdeps/powerpc/preconfigure: Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
11502 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
11503 Replace contents of file by #include of <fenv_libc.h>.
11504 * sysdeps/powerpc/soft-fp/sfp-machine.h
11505 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
11507 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
11508 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
11509 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
11510 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
11511 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
11512 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
11513 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
11514 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
11515 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
11516 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
11517 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
11518 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11520 Allow copysignl PLT reference to be missing.
11522 2013-10-18 Richard Sandiford <richard@codesourcery.com>
11523 Joseph Myers <joseph@codesourcery.com
11526 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
11528 (add_to_tablewc): Assert sequence of wide characters is nonempty.
11530 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11532 * elf/tst-tls-dlinfo.c: Don't include tls.h.
11533 * elf/tst-tls1.c: Likewise.
11534 * elf/tst-tls10.h: Likewise.
11535 * elf/tst-tls14.c: Likewise.
11536 * elf/tst-tls2.c: Likewise.
11537 * elf/tst-tls3.c: Likewise.
11538 * elf/tst-tls4.c: Likewise.
11539 * elf/tst-tls5.c: Likewise.
11540 * elf/tst-tls6.c: Likewise.
11541 * elf/tst-tls7.c: Likewise.
11542 * elf/tst-tls8.c: Likewise.
11543 * elf/tst-tls9.c: Likewise.
11544 * elf/tst-tlsmod1.c: Likewise.
11545 * elf/tst-tlsmod13.c: Likewise.
11546 * elf/tst-tlsmod13a.c: Likewise.
11547 * elf/tst-tlsmod14a.c: Likewise.
11548 * elf/tst-tlsmod16a.c: Likewise.
11549 * elf/tst-tlsmod16b.c: Likewise.
11550 * elf/tst-tlsmod2.c: Likewise.
11551 * elf/tst-tlsmod3.c: Likewise.
11552 * elf/tst-tlsmod4.c: Likewise.
11553 * elf/tst-tlsmod5.c: Likewise.
11554 * elf/tst-tlsmod6.c: Likewise.
11556 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
11559 * malloc/malloc.c: remove checks for statistics.
11561 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11564 * inet/inet_net.c (inet_network): Detect additional invalid strings.
11565 * inet/tst-network.c: Add testcase.
11567 2013-10-17 Andreas Schwab <schwab@suse.de>
11570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
11571 to determine canonical name.
11573 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
11575 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
11576 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
11577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11580 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11581 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11582 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11583 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11584 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11585 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
11586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11589 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11590 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11598 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
11599 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
11600 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11601 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11602 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
11603 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11604 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
11605 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11606 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11607 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
11608 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11609 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11610 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11611 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11612 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11613 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11614 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11615 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11616 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11617 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
11618 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11619 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
11620 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11621 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11622 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
11623 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
11624 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11625 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
11626 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11627 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11628 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
11629 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11630 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
11631 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11632 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11634 2013-10-17 Joseph Myers <joseph@codesourcery.com>
11637 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
11638 make result into a quiet NaN.
11640 2013-10-16 Joseph Myers <joseph@codesourcery.com>
11642 * soft-fp/adddf3.c: Fix horizontal whitespace.
11643 * soft-fp/addsf3.c: Likewise.
11644 * soft-fp/addtf3.c: Likewise.
11645 * soft-fp/divdf3.c: Likewise.
11646 * soft-fp/divsf3.c: Likewise.
11647 * soft-fp/divtf3.c: Likewise.
11648 * soft-fp/double.h: Likewise.
11649 * soft-fp/eqdf2.c: Likewise.
11650 * soft-fp/eqsf2.c: Likewise.
11651 * soft-fp/eqtf2.c: Likewise.
11652 * soft-fp/extenddftf2.c: Likewise.
11653 * soft-fp/extended.h: Likewise.
11654 * soft-fp/extendsfdf2.c: Likewise.
11655 * soft-fp/extendsftf2.c: Likewise.
11656 * soft-fp/extendxftf2.c: Likewise.
11657 * soft-fp/fixdfdi.c: Likewise.
11658 * soft-fp/fixdfsi.c: Likewise.
11659 * soft-fp/fixdfti.c: Likewise.
11660 * soft-fp/fixsfdi.c: Likewise.
11661 * soft-fp/fixsfsi.c: Likewise.
11662 * soft-fp/fixsfti.c: Likewise.
11663 * soft-fp/fixtfdi.c: Likewise.
11664 * soft-fp/fixtfsi.c: Likewise.
11665 * soft-fp/fixtfti.c: Likewise.
11666 * soft-fp/fixunsdfdi.c: Likewise.
11667 * soft-fp/fixunsdfsi.c: Likewise.
11668 * soft-fp/fixunsdfti.c: Likewise.
11669 * soft-fp/fixunssfdi.c: Likewise.
11670 * soft-fp/fixunssfsi.c: Likewise.
11671 * soft-fp/fixunssfti.c: Likewise.
11672 * soft-fp/fixunstfdi.c: Likewise.
11673 * soft-fp/fixunstfsi.c: Likewise.
11674 * soft-fp/fixunstfti.c: Likewise.
11675 * soft-fp/floatdidf.c: Likewise.
11676 * soft-fp/floatdisf.c: Likewise.
11677 * soft-fp/floatditf.c: Likewise.
11678 * soft-fp/floatsidf.c: Likewise.
11679 * soft-fp/floatsisf.c: Likewise.
11680 * soft-fp/floatsitf.c: Likewise.
11681 * soft-fp/floattidf.c: Likewise.
11682 * soft-fp/floattisf.c: Likewise.
11683 * soft-fp/floattitf.c: Likewise.
11684 * soft-fp/floatundidf.c: Likewise.
11685 * soft-fp/floatundisf.c: Likewise.
11686 * soft-fp/floatunditf.c: Likewise.
11687 * soft-fp/floatunsidf.c: Likewise.
11688 * soft-fp/floatunsisf.c: Likewise.
11689 * soft-fp/floatunsitf.c: Likewise.
11690 * soft-fp/floatuntidf.c: Likewise.
11691 * soft-fp/floatuntisf.c: Likewise.
11692 * soft-fp/floatuntitf.c: Likewise.
11693 * soft-fp/fmadf4.c: Likewise.
11694 * soft-fp/fmasf4.c: Likewise.
11695 * soft-fp/fmatf4.c: Likewise.
11696 * soft-fp/gedf2.c: Likewise.
11697 * soft-fp/gesf2.c: Likewise.
11698 * soft-fp/getf2.c: Likewise.
11699 * soft-fp/ledf2.c: Likewise.
11700 * soft-fp/lesf2.c: Likewise.
11701 * soft-fp/letf2.c: Likewise.
11702 * soft-fp/muldf3.c: Likewise.
11703 * soft-fp/mulsf3.c: Likewise.
11704 * soft-fp/multf3.c: Likewise.
11705 * soft-fp/negdf2.c: Likewise.
11706 * soft-fp/negsf2.c: Likewise.
11707 * soft-fp/negtf2.c: Likewise.
11708 * soft-fp/op-1.h: Likewise.
11709 * soft-fp/op-2.h: Likewise.
11710 * soft-fp/op-4.h: Likewise.
11711 * soft-fp/op-8.h: Likewise.
11712 * soft-fp/op-common.h: Likewise.
11713 * soft-fp/quad.h: Likewise.
11714 * soft-fp/single.h: Likewise.
11715 * soft-fp/soft-fp.h: Likewise.
11716 * soft-fp/sqrtdf2.c: Likewise.
11717 * soft-fp/sqrtsf2.c: Likewise.
11718 * soft-fp/sqrttf2.c: Likewise.
11719 * soft-fp/subdf3.c: Likewise.
11720 * soft-fp/subsf3.c: Likewise.
11721 * soft-fp/subtf3.c: Likewise.
11722 * soft-fp/truncdfsf2.c: Likewise.
11723 * soft-fp/trunctfdf2.c: Likewise.
11724 * soft-fp/trunctfsf2.c: Likewise.
11725 * soft-fp/trunctfxf2.c: Likewise.
11726 * soft-fp/unorddf2.c: Likewise.
11727 * soft-fp/unordsf2.c: Likewise.
11728 * soft-fp/unordtf2.c: Likewise.
11730 2013-10-15 Joseph Myers <joseph@codesourcery.com>
11732 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
11733 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
11735 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
11737 * elf/dl-libc.c: Clear initfini list after freeing.
11739 2013-10-14 Joseph Myers <joseph@codesourcery.com>
11741 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
11742 * soft-fp/addsf3.c: Likewise.
11743 * soft-fp/addtf3.c: Likewise.
11744 * soft-fp/divdf3.c: Likewise.
11745 * soft-fp/divsf3.c: Likewise.
11746 * soft-fp/divtf3.c: Likewise.
11747 * soft-fp/double.h: Likewise.
11748 * soft-fp/eqdf2.c: Likewise.
11749 * soft-fp/eqsf2.c: Likewise.
11750 * soft-fp/eqtf2.c: Likewise.
11751 * soft-fp/extenddftf2.c: Likewise.
11752 * soft-fp/extended.h: Likewise.
11753 * soft-fp/extendsfdf2.c: Likewise.
11754 * soft-fp/extendsftf2.c: Likewise.
11755 * soft-fp/extendxftf2.c: Likewise.
11756 * soft-fp/fixdfdi.c: Likewise.
11757 * soft-fp/fixdfsi.c: Likewise.
11758 * soft-fp/fixdfti.c: Likewise.
11759 * soft-fp/fixsfdi.c: Likewise.
11760 * soft-fp/fixsfsi.c: Likewise.
11761 * soft-fp/fixsfti.c: Likewise.
11762 * soft-fp/fixtfdi.c: Likewise.
11763 * soft-fp/fixtfsi.c: Likewise.
11764 * soft-fp/fixtfti.c: Likewise.
11765 * soft-fp/fixunsdfdi.c: Likewise.
11766 * soft-fp/fixunsdfsi.c: Likewise.
11767 * soft-fp/fixunsdfti.c: Likewise.
11768 * soft-fp/fixunssfdi.c: Likewise.
11769 * soft-fp/fixunssfsi.c: Likewise.
11770 * soft-fp/fixunssfti.c: Likewise.
11771 * soft-fp/fixunstfdi.c: Likewise.
11772 * soft-fp/fixunstfsi.c: Likewise.
11773 * soft-fp/fixunstfti.c: Likewise.
11774 * soft-fp/floatdidf.c: Likewise.
11775 * soft-fp/floatdisf.c: Likewise.
11776 * soft-fp/floatditf.c: Likewise.
11777 * soft-fp/floatsidf.c: Likewise.
11778 * soft-fp/floatsisf.c: Likewise.
11779 * soft-fp/floatsitf.c: Likewise.
11780 * soft-fp/floattidf.c: Likewise.
11781 * soft-fp/floattisf.c: Likewise.
11782 * soft-fp/floattitf.c: Likewise.
11783 * soft-fp/floatundidf.c: Likewise.
11784 * soft-fp/floatundisf.c: Likewise.
11785 * soft-fp/floatunsidf.c: Likewise.
11786 * soft-fp/floatunsisf.c: Likewise.
11787 * soft-fp/floatuntidf.c: Likewise.
11788 * soft-fp/floatuntisf.c: Likewise.
11789 * soft-fp/floatuntitf.c: Likewise.
11790 * soft-fp/fmadf4.c: Likewise.
11791 * soft-fp/fmasf4.c: Likewise.
11792 * soft-fp/fmatf4.c: Likewise.
11793 * soft-fp/gedf2.c: Likewise.
11794 * soft-fp/gesf2.c: Likewise.
11795 * soft-fp/getf2.c: Likewise.
11796 * soft-fp/ledf2.c: Likewise.
11797 * soft-fp/lesf2.c: Likewise.
11798 * soft-fp/letf2.c: Likewise.
11799 * soft-fp/muldf3.c: Likewise.
11800 * soft-fp/mulsf3.c: Likewise.
11801 * soft-fp/multf3.c: Likewise.
11802 * soft-fp/negdf2.c: Likewise.
11803 * soft-fp/negsf2.c: Likewise.
11804 * soft-fp/negtf2.c: Likewise.
11805 * soft-fp/op-1.h: Likewise.
11806 * soft-fp/op-2.h: Likewise.
11807 * soft-fp/op-4.h: Likewise.
11808 * soft-fp/op-8.h: Likewise.
11809 * soft-fp/op-common.h: Likewise.
11810 * soft-fp/quad.h: Likewise.
11811 * soft-fp/single.h: Likewise.
11812 * soft-fp/soft-fp.h: Likewise.
11813 * soft-fp/sqrtdf2.c: Likewise.
11814 * soft-fp/sqrtsf2.c: Likewise.
11815 * soft-fp/sqrttf2.c: Likewise.
11816 * soft-fp/subdf3.c: Likewise.
11817 * soft-fp/subsf3.c: Likewise.
11818 * soft-fp/subtf3.c: Likewise.
11819 * soft-fp/truncdfsf2.c: Likewise.
11820 * soft-fp/trunctfdf2.c: Likewise.
11821 * soft-fp/trunctfsf2.c: Likewise.
11822 * soft-fp/trunctfxf2.c: Likewise.
11823 * soft-fp/unorddf2.c: Likewise.
11824 * soft-fp/unordsf2.c: Likewise.
11825 * soft-fp/unordtf2.c: Likewise.
11827 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
11830 * misc/error.c (error_tail): Fix possible buffer overflow.
11832 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
11835 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
11838 2013-10-14 P. J. McDermott <pj@pehjota.net>
11841 * elf/ldd.bash.in (try_trace): New function. Delete previous code
11842 testing pipefail option.
11844 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11846 * soft-fp/double.h: Indent preprocessor directives inside #if.
11847 * soft-fp/extended.h: Likewise.
11848 * soft-fp/op-2.h: Likewise.
11849 * soft-fp/op-4.h: Likewise.
11850 * soft-fp/op-common.h: Likewise.
11851 * soft-fp/quad.h: Likewise.
11852 * soft-fp/single.h: Likewise.
11853 * soft-fp/soft-fp.h: Likewise.
11855 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
11857 * iconv/iconv_prog.c: Fix typos.
11858 * stdio-common/psiginfo-data.h: Likewise.
11860 2013-10-12 Reuben Thomas <rrt@sc3d.org>
11863 * locale/setlocale.c: Fix typo.
11865 2013-10-12 Joseph Myers <joseph@codesourcery.com>
11868 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
11869 signaling NaN arguments.
11870 * soft-fp/unordsf2.c (__unordsf2): Likewise.
11871 * soft-fp/unordtf2.c (__unordtf2): Likewise.
11874 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
11875 unordered operands.
11876 * soft-fp/gesf2.c (__gesf2): Likewise.
11877 * soft-fp/getf2.c (__getf2): Likewise.
11878 * soft-fp/ledf2.c (__ledf2): Likewise.
11879 * soft-fp/lesf2.c (__lesf2): Likewise.
11880 * soft-fp/letf2.c (__letf2): Likewise.
11882 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
11883 * soft-fp/eqsf2.c (__eqsf2): Likewise.
11884 * soft-fp/eqtf2.c (__eqtf2): Likewise.
11885 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
11886 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
11887 * soft-fp/fixdfti.c (__fixdfti): Likewise.
11888 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
11889 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
11890 * soft-fp/fixsfti.c (__fixsfti): Likewise.
11891 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
11892 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
11893 * soft-fp/fixtfti.c (__fixtfti): Likewise.
11894 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
11895 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
11896 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
11897 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
11898 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
11899 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
11900 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
11901 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
11902 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
11903 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
11904 * soft-fp/floatdisf.c (__floatdisf): Likewise.
11905 * soft-fp/floatsisf.c (__floatsisf): Likewise.
11906 * soft-fp/floattidf.c (__floattidf): Likewise.
11907 * soft-fp/floattisf.c (__floattisf): Likewise.
11908 * soft-fp/floattitf.c (__floattitf): Likewise.
11909 * soft-fp/floatundidf.c (__floatundidf): Likewise.
11910 * soft-fp/floatundisf.c (__floatundisf): Likewise.
11911 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
11912 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
11913 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
11914 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
11915 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
11916 * soft-fp/gesf2.c (__gesf2): Likewise.
11917 * soft-fp/getf2.c (__getf2): Likewise.
11918 * soft-fp/ledf2.c (__ledf2): Likewise.
11919 * soft-fp/lesf2.c (__lesf2): Likewise.
11920 * soft-fp/letf2.c (__letf2): Likewise.
11922 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
11923 Undefine and redefine.
11924 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
11925 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
11926 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
11927 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
11928 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11929 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
11930 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11931 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
11932 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11933 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
11934 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11935 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
11936 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11937 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
11938 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
11941 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
11942 without decrementing exponent if mantissa >= that for the
11943 denominator, not >.
11944 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
11945 denominator, not >. Decrement exponent in < case instead of
11946 incrementing in >= case.
11947 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
11948 without decrementing exponent if mantissa >= that for the
11949 denominator, not >.
11951 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
11952 computing saturated result for unsigned overflow.
11954 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11955 Jeff Law <law@redhat.com>
11957 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
11958 (atan2Mp): Add systemtap probe marker.
11959 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
11960 (__ieee754_log): Add systemtap probe marker.
11961 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
11962 (atanMp): Add systemtap probe marker.
11963 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
11964 (tanMp): Add systemtap probe marker.
11965 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
11966 (__slowexp): Add systemtap probe marker.
11967 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
11968 (__slowpow): Add systemtap probe marker.
11969 * manual/probes.texi: Document probes.
11971 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
11974 * libio/fileops.c (_IO_new_file_write): Return count of bytes
11976 (_IO_new_file_xsputn): Don't return EOF if nothing has been
11978 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
11979 written to buffer but not flushed.
11980 * libio/iofwrite_u.c: Likewise.
11981 * libio/iopadn.c: Return bytes returned even if EOF was
11983 * libio/iowpadn.c: Likewise.
11984 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
11985 if _IO_padn does not write the whole buffer.
11986 [!COMPILE_WPRINTF] (PAD): Likewise.
11988 2013-10-10 David S. Miller <davem@davemloft.net>
11990 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
11993 2013-10-10 Joseph Myers <joseph@codesourcery.com>
11995 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
11996 instead of FSF address.
11997 * soft-fp/fixdfti.c: Likewise.
11998 * soft-fp/fixsfti.c: Likewise.
11999 * soft-fp/fixtfti.c: Likewise.
12000 * soft-fp/fixunsdfti.c: Likewise.
12001 * soft-fp/fixunssfti.c: Likewise.
12002 * soft-fp/fixunstfti.c: Likewise.
12003 * soft-fp/floattidf.c: Likewise.
12004 * soft-fp/floattisf.c: Likewise.
12005 * soft-fp/floattitf.c: Likewise.
12006 * soft-fp/floatuntidf.c: Likewise.
12007 * soft-fp/floatuntisf.c: Likewise.
12008 * soft-fp/floatuntitf.c: Likewise.
12009 * soft-fp/trunctfxf2.c: Likewise.
12011 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
12012 * soft-fp/fixdfti.c: Likewise.
12013 * soft-fp/fixsfti.c: Likewise.
12014 * soft-fp/fixtfti.c: Likewise.
12015 * soft-fp/fixunsdfti.c: Likewise.
12016 * soft-fp/fixunssfti.c: Likewise.
12017 * soft-fp/fixunstfti.c: Likewise.
12018 * soft-fp/floattidf.c: Likewise.
12019 * soft-fp/floattisf.c: Likewise.
12020 * soft-fp/floattitf.c: Likewise.
12021 * soft-fp/floatuntidf.c: Likewise.
12022 * soft-fp/floatuntisf.c: Likewise.
12023 * soft-fp/floatuntitf.c: Likewise.
12024 * soft-fp/trunctfxf2.c: Likewise.
12026 2013-10-10 David S. Miller <davem@davemloft.net>
12028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12030 2013-10-10 Joseph Myers <joseph@codsourcery.com>
12032 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12033 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12034 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12040 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12041 for NaNs before doing comparisons on argument.
12042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12045 2013-10-10 Will Newton <will.newton@linaro.org>
12047 * malloc/hooks.c (memalign_check): Ensure the value of bytes
12048 passed to _int_memalign does not overflow.
12050 2013-10-10 Torvald Riegel <triegel@redhat.com>
12052 * scripts/bench.pl: Add include-sources directive.
12053 * benchtests/README: Update documentation.
12055 2013-10-10 Joseph Myers <joseph@codesourcery.com>
12057 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12058 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12059 instead of FP_INIT_ROUNDMODE.
12060 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12061 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12064 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
12065 copy class of input value.
12066 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
12067 not handle exceptions.
12068 * soft-fp/negsf2.c (__negsf2): Likewise.
12069 * soft-fp/negtf2.c (__negtf2): Likewise.
12070 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12072 2013-10-09 Joseph Myers <joseph@codesourcery.com>
12074 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12075 semicolon. From Linux kernel.
12077 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
12079 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12081 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
12084 * manual/socket.texi: Added statement about buffer
12085 for gethostbyname2_r.
12087 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
12089 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12090 Use .p2align directive instead, throughout.
12091 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12092 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12093 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12094 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12096 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12097 * sysdeps/x86_64/strchr.S: Likewise.
12098 * sysdeps/x86_64/strrchr.S: Likewise.
12100 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12102 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12104 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12106 * sysdeps/generic/math_private.h (__mpsin1): Remove
12108 (__mpcos1): Likewise.
12109 (__mpsin): New argument __range_reduce.
12110 (__mpcos): Likewise.
12111 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12112 (slow): Use __mpsin and __mpcos.
12116 (sloww1): Likewise.
12117 (sloww2): Likewise.
12118 (bsloww): Likewise.
12119 (bsloww1): Likewise.
12120 (bsloww2): Likewise.
12121 (cslow2): Likewise.
12122 (csloww): Likewise.
12123 (csloww1): Likewise.
12124 (csloww2): Likewise.
12125 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12126 range_reduce. Merge in __mpsin1.
12127 (__mpcos): Likewise.
12128 (__mpsin1): Remove.
12129 (__mpcos1): Likewise.
12131 2013-10-07 Joseph Myers <joseph@codesourcery.com>
12133 * locale/loadlocale.c (_nl_intern_locale_data): Use
12135 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12136 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12137 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12138 obstack data is appropriately aligned.
12139 (obstack_int32_grow_fast): Likewise.
12140 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12141 * locale/programs/locfile.c (add_locale_uint32): Likewise.
12142 (add_locale_uint32_array): Likewise.
12144 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12146 * benchtests/Makefile: Remove ARGLIST and RET variables.
12147 ($(objpfx)bench-%.c): Pass only function name to the script.
12148 * benchtests/README: Update documentation.
12149 * benchtests/acos-inputs: Add new directives.
12150 * benchtests/acosh-inputs: Likewise.
12151 * benchtests/asin-inputs: Likewise.
12152 * benchtests/asinh-inputs: Likewise.
12153 * benchtests/atan-inputs: Likewise.
12154 * benchtests/atanh-inputs: Likewise.
12155 * benchtests/cos-inputs: Likewise.
12156 * benchtests/cosh-inputs: Likewise.
12157 * benchtests/exp-inputs: Likewise.
12158 * benchtests/log-inputs: Likewise.
12159 * benchtests/pow-inputs: Likewise.
12160 * benchtests/rint-inputs: Likewise.
12161 * benchtests/sin-inputs: Likewise.
12162 * benchtests/sinh-inputs: Likewise.
12163 * benchtests/tan-inputs: Likewise.
12164 * benchtests/tanh-inputs: Likewise.
12165 * scripts/bench.pl: Add support for new directives.
12167 2013-10-07 Alan Modra <amodra@gmail.com>
12169 * README: Fix careless merge.
12171 2013-10-05 Alan Modra <amodra@gmail.com>
12173 * NEWS: Mention powerpc64le support and bugs fixed.
12174 * README: Both big-endian and little-endian powerpc64 supported.
12176 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
12178 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12179 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12180 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12181 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12183 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
12185 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12188 2013-10-04 Joseph Myers <joseph@codesourcery.com>
12190 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12191 Move -mhard-float appending from
12192 ports/sysdeps/powerpc/powerpc32/Makefile.
12193 [$(with-fp) = yes] (ASFLAGS): Likewise.
12194 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12195 * sysdeps/powerpc/nofpu: Move directory from
12196 ports/sysdeps/powerpc/nofpu.
12197 * sysdeps/powerpc/soft-fp: Move directory from
12198 ports/sysdeps/powerpc/soft-fp.
12199 * sysdeps/powerpc/powerpc32/405: Move directory from
12200 ports/sysdeps/powerpc/powerpc32/405.
12201 * sysdeps/powerpc/powerpc32/440: Move directory from
12202 ports/sysdeps/powerpc/powerpc32/440.
12203 * sysdeps/powerpc/powerpc32/464: Move directory from
12204 ports/sysdeps/powerpc/powerpc32/464.
12205 * sysdeps/powerpc/powerpc32/476: Move directory from
12206 ports/sysdeps/powerpc/powerpc32/476.
12207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12208 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12210 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12212 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12214 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12216 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12217 * README: Update for powerpc-*-linux-gnu software floating point
12220 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12221 case to powerpc/powerpc32*.
12222 * sysdeps/unix/sysv/linux/configure: Regenerated.
12224 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12225 (_FPU_MASK_OM): Define as 0x04.
12226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12234 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12237 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12240 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12241 and setcontext_e500.
12243 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
12245 * locale/iso-3166.def: Update iso-1366.def and related occurrences
12247 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12249 * manual/threads.texi (Default Thread Attributes): Fix typo.
12251 2013-10-04 Will Newton <will.newton@linaro.org>
12253 * malloc/Makefile: Add tst-memalign.
12254 * malloc/tst-memalign.c: New file.
12256 * malloc/tst-posix_memalign.c: Add comments.
12257 (do_test): Add comments and call free on all potentially
12258 allocated pointers. Add space after cast.
12260 * malloc/tst-pvalloc.c: Add comments.
12261 (do_test): Add comments and call free on all potentially
12262 allocated pointers. Remove duplicate check for NULL pointer.
12263 Add space after cast.
12265 * malloc/tst-valloc.c: Add comments.
12266 (do_test): Add comments and call free on all potentially
12267 allocated pointers. Remove duplicate check for NULL pointer.
12268 Add space after cast.
12270 2013-10-04 Alan Modra <amodra@gmail.com>
12272 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12273 Use stdint types in rather than __attribute__((mode())).
12274 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12276 2013-10-04 Alan Modra <amodra@gmail.com>
12278 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12279 Correct handling of unaligned relocs for little-endian.
12280 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12282 2013-10-04 Alan Modra <amodra@gmail.com>
12284 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12285 * configure: Regenerate.
12286 * nptl/shlib-versions: Powerpc*le starts at 2.18.
12287 * shlib-versions: Likewise.
12289 2013-10-04 Alan Modra <amodra@gmail.com>
12291 * string/tester.c (test_memrchr): Increment reported test cycle.
12293 2013-10-04 Alan Modra <amodra@gmail.com>
12295 * string/test-memcpy.c (do_one_test): When reporting errors, print
12296 string address and don't overrun end of string.
12298 2013-10-04 Alan Modra <amodra@gmail.com>
12300 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12301 insrdi. Make better use of reg selection to speed exit slightly.
12302 Schedule entry path a little better. Remove useless "are we done"
12303 checks on entry to main loop. Handle wrapping around zero address.
12304 Correct main loop count. Handle single left-over word from main
12305 loop inline rather than by using loop_small. Remove extra word
12306 case in loop_small caused by wrong loop count. Add little-endian
12308 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
12311 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12312 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12313 support. Avoid rlwimi.
12314 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12316 2013-10-04 Alan Modra <amodra@gmail.com>
12318 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12319 insrdi. Formatting.
12320 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12321 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12322 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12323 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12324 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12325 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12327 2013-10-04 Alan Modra <amodra@gmail.com>
12329 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12330 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12331 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12332 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
12333 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12334 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12335 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12336 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12337 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
12338 use of regs. Use power7 mtocrf. Tidy function tails.
12340 2013-10-04 Alan Modra <amodra@gmail.com>
12342 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
12343 Formatting. Consistently use rXXX register defines or rN defines.
12344 Use early exit labels that avoid restoring unused non-volatile regs.
12345 Make cr field use more consistent with rWORDn compares. Rename
12346 regs used as shift registers for unaligned loop, using rN defines
12347 for short lifetime/multiple use regs.
12348 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12349 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
12350 addi 1,1,64 to pop stack frame. Simplify return value code.
12351 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12353 2013-10-04 Alan Modra <amodra@gmail.com>
12355 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
12356 support. Correct typos, formatting. Optimize tail. Use insrdi
12357 rather than rlwimi.
12358 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
12359 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
12360 little-endian support. Correct typos.
12361 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
12362 rather than rlwimi.
12363 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
12364 in loop and entry code to keep "and." results.
12365 (strchr): Add little-endian support. Comment. Move cntlzd
12367 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
12369 2013-10-04 Alan Modra <amodra@gmail.com>
12371 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
12372 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
12373 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12374 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
12376 2013-10-04 Alan Modra <amodra@gmail.com>
12378 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
12379 (rTMP): Define as r11.
12380 (strcmp): Add little-endian support. Optimise tail.
12381 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
12382 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12383 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12384 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12385 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12386 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12389 2013-10-04 Alan Modra <amodra@gmail.com>
12391 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
12392 little-endian support. Remove unnecessary "are we done" tests.
12393 Handle "s" wrapping around zero and extremely large "size".
12394 Correct main loop count. Handle single left-over word from main
12395 loop inline rather than by using small_loop. Correct comments.
12396 Delete "zero" tail, use "end_max" instead.
12397 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
12399 2013-10-04 Alan Modra <amodra@gmail.com>
12401 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
12402 support. Don't branch over align.
12403 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
12404 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
12405 support. Rearrange tmp reg use to suit. Comment.
12406 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
12408 2013-10-04 Alan Modra <amodra@gmail.com>
12410 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
12412 2013-10-04 Alan Modra <amodra@gmail.com>
12414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
12415 conditional form of branch and link when obtaining pc.
12416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12418 2013-10-04 Alan Modra <amodra@gmail.com>
12420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
12425 2013-10-04 Alan Modra <amodra@gmail.com>
12427 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
12428 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
12429 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
12434 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12436 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
12438 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12439 Alistair Popple <alistair@ozlabs.au.ibm.com>
12440 Alan Modra <amodra@gmail.com>
12443 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
12444 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
12445 _dl_hwcap access for little-endian.
12446 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
12447 destroy vmx regs when saving unaligned.
12448 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
12449 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
12450 destroy vmx regs when saving unaligned.
12452 2013-10-04 Alan Modra <amodra@gmail.com>
12454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
12455 Don't use a union to pack hi/low value.
12457 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12459 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
12461 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
12463 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12467 2013-10-04 Alan Modra <amodra@gmail.com>
12469 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
12470 constants to usual value for .cst8 section, and remove redundant
12472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
12473 constant for 0x1p52. Load little-endian words of double from
12474 correct stack offsets.
12476 2013-10-04 Alan Modra <amodra@gmail.com>
12478 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
12479 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
12480 words of double from correct stack offsets.
12481 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12482 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
12483 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12484 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12487 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12488 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12489 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12490 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12491 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12492 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12493 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12494 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12495 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12496 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
12497 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12499 2013-10-04 Alan Modra <amodra@gmail.com>
12501 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
12502 64-bit int/double union.
12503 (_FPU_SETCW): Likewise.
12504 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
12505 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
12507 2013-10-04 Alan Modra <amodra@gmail.com>
12509 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
12510 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
12512 2013-10-04 Alan Modra <amodra@gmail.com>
12514 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
12515 use vector int constants.
12516 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
12518 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12520 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
12521 array with long long.
12522 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
12523 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
12524 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
12525 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
12526 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
12527 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
12528 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
12529 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
12530 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
12531 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
12532 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
12533 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
12534 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
12536 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
12538 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
12539 (__signbit): Likewise. Correct for little-endian.
12540 (__signbitl): Call __signbit.
12541 (lrint): Correct for little-endian.
12542 (lrintf): Call lrint.
12544 2013-10-04 Alan Modra <amodra@gmail.com>
12546 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
12547 union 32-bit int array member with 64-bit int array.
12548 (t515, tm256): Double rather than long double.
12549 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
12551 2013-10-04 Alan Modra <amodra@gmail.com>
12553 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
12555 (IEEE854_LONG_DOUBLE_BIAS): Delete.
12556 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
12557 version of math_ldbl.h.
12559 2013-10-04 Alan Modra <amodra@gmail.com>
12561 [BZ #15734], [BZ #15735]
12562 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
12563 all uses of ieee875 long double macros and unions. Simplify test
12564 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
12565 ldbl_extract_mantissa value for ix,iy exponents. Properly
12566 normalize after ldbl_extract_mantissa, and don't add hidden bit
12567 already handled. Don't treat low word of ieee854 mantissa like
12568 low word of IBM long double and mask off bit when testing for
12570 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
12571 all uses of ieee875 long double macros and unions. Simplify tests
12572 for 0.0L and inf. Correct double adjustment of k. Delete dead code
12573 adjusting ha,hb. Simplify code setting kld. Delete two600 and
12574 two1022, instead use their values. Recognise that tests for large
12575 "a" and small "b" are mutually exclusive. Rename vars. Comment.
12576 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
12577 Rewrite all uses of ieee875 long double macros and unions. Simplify
12578 test for 0.0L and nan. Correct negation.
12579 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
12580 ieee875 long double macros and unions. Correct output for large
12581 magnitude x. Correct absolute value calculation.
12582 (__erfcl): Likewise.
12583 * math/libm-test.inc: Add tests for errors discovered in IBM long
12584 double versions of fmodl, remainderl, erfl and erfcl.
12586 2013-10-04 Alan Modra <amodra@gmail.com>
12588 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
12589 all uses of ieee854 long double macros and unions. Simplify tests
12590 for long doubles that are fully specified by the high double.
12591 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
12593 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
12594 Remove dead code too.
12595 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12596 (__ieee754_ynl): Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
12598 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
12599 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12600 Remove dead code too.
12601 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
12602 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
12603 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12604 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
12606 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
12608 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
12609 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
12610 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
12611 Comment on variable precision.
12612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
12613 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12615 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
12616 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
12617 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
12618 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
12619 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
12621 2013-10-04 Alan Modra <amodra@gmail.com>
12623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
12624 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
12625 all uses of ieee854 long double macros and unions.
12626 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
12627 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
12628 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
12629 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
12630 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
12631 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
12634 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12635 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
12636 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
12637 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
12638 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
12639 Simplify sign and nan test too.
12640 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
12641 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
12642 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
12645 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
12648 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
12652 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
12653 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
12655 2013-10-04 Alan Modra <amodra@gmail.com>
12657 * stdio-common/printf_size.c (__printf_size): Don't use
12658 union ieee854_long_double in fpnum union.
12659 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
12660 signbit macro to retrieve sign from long double.
12661 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
12662 retrieve sign from long double.
12663 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
12664 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
12665 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
12666 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
12667 * math/test-misc.c (main): Don't use union ieee854_long_double.
12669 2013-10-04 Alan Modra <amodra@gmail.com>
12672 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
12673 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
12674 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
12675 calculation. Remove unnecessary test for denormal exponent.
12676 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
12677 Correct handling of denormals. Avoid undefined shift behaviour.
12678 Correct normalisation of low mantissa when low double is denormal.
12679 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
12680 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
12681 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
12682 Correct normalisation of low mantissa. Test for overflow of high
12683 mantissa and normalise.
12684 (ldbl_nearbyint): Use more readable constant for two52.
12685 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
12686 (__mpn_construct_long_double): Fix test for overflow of high
12687 mantissa and correct normalisation. Avoid undefined shift.
12689 2013-10-04 Alan Modra <amodra@gmail.com>
12691 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12692 (union ibm_extended_long_double): Define as an array of ieee754_double.
12693 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
12694 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
12695 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
12696 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
12697 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12698 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
12699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12700 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12701 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
12702 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
12703 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12705 2013-10-03 Joseph Myers <joseph@codesourcery.com>
12707 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
12708 page size instead of calling getpagesize.
12710 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
12711 (LOCFILE_ALIGN_MASK): Likewise.
12712 (LOCFILE_ALIGN_UP): Likewise.
12713 (LOCFILE_ALIGNED_P): Likewise.
12714 * locale/programs/ld-collate.c (collate_output): Use the new
12715 macros instead of __alignof__ (int32_t).
12716 * locale/weight.h (findidx): Likewise.
12718 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
12721 * manual/string.texi: Fix strncat and wcsncat.
12723 2013-10-03 Brooks Moses <bmoses@google.com>
12726 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
12727 * Makerules: ...here, and adjust associated comments.
12729 2013-10-02 Will Newton <will.newton@linaro.org>
12731 * malloc/Makefile: Add tst-pvalloc.
12732 * malloc/tst-pvalloc.c: New file.
12734 2013-10-02 Will Newton <will.newton@linaro.org>
12736 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
12737 improve test coverage.
12739 2013-10-02 Will Newton <will.newton@linaro.org>
12741 * malloc/Makefile: Add tst-posix_memalign.
12742 * malloc/tst-posix_memalign.c: New file.
12744 2013-10-01 Eric Blake <eblake@redhat.com>
12746 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
12747 Use __THROWNL rather than __THROW on static functions.
12749 2013-09-30 Petr Machata <pmachata@redhat.com>
12751 * elf/elf.h (R_AARCH64_ABS16): New macro.
12752 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
12753 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
12754 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
12755 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
12756 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
12757 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
12758 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
12759 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
12760 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
12761 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
12762 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
12763 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
12764 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
12765 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
12766 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
12767 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
12768 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
12769 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
12770 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
12771 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
12772 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
12773 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
12774 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
12775 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
12776 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
12777 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
12778 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
12779 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
12780 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
12781 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
12782 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
12783 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
12784 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
12785 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
12786 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
12787 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
12788 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
12789 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
12790 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
12791 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
12792 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
12793 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
12794 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
12795 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
12796 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
12797 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
12798 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
12799 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
12800 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
12801 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
12802 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
12803 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
12804 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
12805 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
12806 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
12807 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
12808 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
12809 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
12810 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
12811 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
12812 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
12813 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
12814 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
12815 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
12816 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
12817 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
12818 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
12819 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
12820 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
12821 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
12822 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
12823 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
12824 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
12825 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
12826 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
12827 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
12828 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
12829 (R_AARCH64_TLSDESC_LDR): Likewise.
12830 (R_AARCH64_TLSDESC_ADD): Likewise.
12831 (R_AARCH64_TLSDESC_CALL): Likewise.
12833 2013-09-30 Andreas Schwab <schwab@suse.de>
12836 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
12837 the nss database lookup.
12838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12841 2013-09-28 Mike Frysinger <vapier@gentoo.org>
12843 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
12845 2013-09-28 P. J. McDermott <pj@pehjota.net>
12847 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
12848 ${Bash-specific parameter/pattern/string} parameter expansion.
12849 * sysdeps/unix/make-syscalls.sh: Likewise.
12851 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12853 * sysdeps/sh/stackguard-macros.h: New file.
12855 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
12857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
12859 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
12860 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
12861 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12862 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
12864 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12866 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
12867 Fix thread ID register.
12869 2013-09-25 Joseph Myers <joseph@codesourcery.com>
12871 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
12872 [POSIX || UNIX98]: Require rather than permitting all symbols from
12874 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
12875 element of struct sched_param.
12876 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
12877 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
12878 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
12879 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
12882 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
12884 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
12885 argument calculation.
12887 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12889 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
12891 [POSIX] (pthread_attr_t): Do not require type.
12892 [POSIX] (pthread_cond_t): Likewise.
12893 [POSIX] (pthread_condattr_t): Likewise.
12894 [POSIX] (pthread_key_t): Likewise.
12895 [POSIX] (pthread_mutex_t): Likewise.
12896 [POSIX] (pthread_mutexattr_t): Likewise.
12897 [POSIX] (pthread_once_t): Likewise.
12898 [POSIX] (pthread_t): Likewise.
12899 [POSIX-based standards] (pthread_atfork): Expect function.
12901 2013-09-24 Joseph Myers <joseph@codesourcery.com>
12902 Richard Sandiford <richard@codesourcery.com>
12904 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
12905 (swap_endianness_p): New extern variable.
12906 (set_big_endian): New inline function.
12907 (maybe_swap_uint32): Likewise.
12908 (maybe_swap_uint32_array): Likewise.
12909 (maybe_swap_uint32_obstack): Likewise.
12910 * locale/programs/locfile.c: Include <stdbool.h>.
12911 (swap_endianness_p): New variable.
12912 (add_locale_uint32): Call maybe_swap_uint32.
12913 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
12914 (write_locale_data): Call maybe_swap_uint32_array.
12915 * locale/programs/ld-collate.c (obstack_int32_grow): Call
12917 (obstack_int32_grow_fast): Likewise.
12918 (output_weightwc): Call maybe_swap_uint32_obstack.
12919 (collate_output): Likewise.
12920 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
12921 (OPT_LITTLE_ENDIAN): Likewise.
12922 (options): Add --little-endian and --big-endian options.
12923 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
12924 * locale/programs/locarchive.c: Include "locfile.h".
12928 (create_archive): Use the new macros to access fields of
12929 structures directly mapped from or written to locale archives.
12930 (oldlocrecentcmp): Likewise.
12931 (enlarge_archive): Likewise.
12932 (insert_name): Likewise.
12933 (add_alias): Likewise.
12934 (add_locale): Likewise.
12935 (delete_locales_from_archive): Likewise.
12936 (show_archive_content): Likewise.
12937 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
12940 2013-09-24 Roland McGrath <roland@hack.frob.com>
12942 * manual/freemanuals.texi: Updated from (newly) canonical copy at
12943 http://www.gnu.org/doc/freemanuals.texi.
12944 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
12946 2013-09-24 Will Newton <will.newton@linaro.org>
12948 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
12951 2013-09-23 Joseph Myers <joseph@codesourcery.com>
12953 * locale/hashval.h (compute_hashval): Interpret bytes of key as
12956 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
12958 * manual/threads.texi (POSIX Threads): Fix a typo.
12960 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12963 * string/tst-strcoll-overflow.c: New test case.
12964 * string/Makefile (xtests): Add tst-strcoll-overflow.
12965 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
12966 cache if string sizes may cause integer overflow.
12969 * string/strcoll_l.c (coll_seq): New members rule, idx,
12970 save_idx and back_us.
12971 (get_next_seq_nocache): New function.
12972 (do_compare_nocache): New function.
12973 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
12976 2013-09-23 Carlos O'Donell <carlos@redhat.com>
12979 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
12980 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
12981 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
12984 * elf/Makefile (tests): Add tst-ptrguard1.
12985 (tests-static): Add tst-ptrguard1-static.
12986 (tst-ptrguard1-ARGS): Define.
12987 (tst-ptrguard1-static-ARGS): Define.
12988 * elf/tst-ptrguard1.c: New file.
12989 * elf/tst-ptrguard1-static.c: New file.
12990 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
12991 * sysdeps/i386/stackguard-macros.h: Likewise.
12992 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12993 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12994 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12995 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12996 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12997 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12999 2013-09-23 Hector Marco <hecmargi@upv.es>
13000 Ismael Ripoll <iripoll@disca.upv.es>
13001 Carlos O'Donell <carlos@redhat.com>
13004 * sysdeps/generic/stackguard-macros.h: Define
13005 __pointer_chk_guard_local and POINTER_CHK_GUARD.
13006 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13007 Define __pointer_chk_guard_local.
13008 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13009 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13011 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
13014 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13016 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
13018 * include/string.h (__ffs): Declare as hidden.
13019 * string/ffs.c (__ffs): Define as hidden.
13020 * sysdeps/i386/ffs.c (__ffs): Likewise.
13021 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13022 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13023 * sysdeps/s390/ffs.c (__ffs): Likewise.
13024 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13026 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
13028 * NEWS: Mention malloc probes.
13030 * malloc/arena.c (new_heap): New memory_heap_new probe.
13031 (grow_heap): New memory_heap_more probe.
13032 (shrink_heap): New memory_heap_less probe.
13033 (heap_trim): New memory_heap_free probe.
13034 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13035 (systrim): New memory_sbrk_less probe.
13036 * manual/probes.texi: Document them.
13038 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13039 * manual/probes.texi: Document it.
13041 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13042 (__libc_realloc): Add memory_realloc_retry probe.
13043 (__libc_memalign): Add memory_memalign_retry probe.
13044 (__libc_valloc): Add memory_valloc_retry probe.
13045 (__libc_pvalloc): Add memory_pvalloc_retry probe.
13046 (__libc_calloc): Add memory_calloc_retry probe.
13047 * manual/probes.texi: Document them.
13049 * malloc/arena.c (get_free_list): Add probe
13050 memory_arena_reuse_free_list.
13051 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13052 and memory_arena_reuse.
13053 (arena_get2) [!PER_THREAD]: Likewise.
13054 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13055 memory_arena_reuse_realloc.
13056 * manual/probes.texi: Document them.
13058 * malloc/malloc.c (__libc_free): Add
13059 memory_mallopt_free_dyn_thresholds probe.
13060 (__libc_mallopt): Add multiple memory_mallopt probes.
13061 * manual/probes.texi: Document them.
13063 * malloc/malloc.c: Include stap-probe.h.
13064 (__libc_mallopt): Add memory_mallopt probe.
13065 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13066 * manual/probes.texi: New.
13067 * manual/Makefile (chapters): Add probes.
13068 * manual/threads.texi: Set next node.
13070 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
13072 [BZ #15963, #13985]
13073 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13074 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13075 Add `Chinese' to `nan' entry name.
13077 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13079 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13080 (POLYNOMIAL): Likewise.
13081 (TAYLOR_SINCOS): Likewise.
13082 (TAYLOR_SLOW): Likewise.
13083 (__sin): Use TAYLOR_SINCOS.
13085 (slow): Use TAYLOR_SLOW.
13087 (bsloww): Likewise.
13088 (csloww): Likewise.
13090 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13092 * stdlib/strtod_l.c: Fix buffer overrun.
13094 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13096 * benchtests/Makefile (bench): Add sincos.
13097 * benchtests/bench-sincos.c: New file.
13099 * math/libm-test.inc (cos_test_data): New test inputs.
13100 (sin_test_data): Likewise.
13102 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13108 (sloww1): Likewise.
13109 (sloww2): Likewise.
13110 (bsloww1): Likewise.
13111 (bsloww2): Likewise.
13112 (cslow2): Likewise.
13113 (csloww1): Likewise.
13114 (csloww2): Likewise.
13116 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13121 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13125 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
13127 * config.h.in (HAVE_MIPS_NAN2008): New macro.
13128 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13129 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13130 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13131 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13132 * elf/cache.c (print_entry): Handle the new cache flags.
13134 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13135 Aldy Hernandez <aldyh@redhat.com>
13137 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13138 Change condition to [_SOFT_FLOAT].
13139 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13140 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13141 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13142 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13143 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13144 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13145 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13146 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13149 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13151 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13154 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13157 2013-09-18 Joseph Myers <joseph@codesourcery.com>
13159 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13160 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13161 (__longjmp): Use LOAD_GP to load saved GPRs.
13162 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13163 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13164 (__sigsetjmp): Use SAVE_GP to save GPRs.
13166 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13167 Do not append -msoft-float.
13168 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13170 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13172 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13174 2013-09-17 Joseph Myers <joseph@codesourcery.com>
13177 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13178 (_FPU_GETCW): Use initial "__" on variable and field names but not
13179 on macro parameter name.
13180 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
13181 parentheses around reference to macro parameter.
13183 2013-09-13 Richard Sandiford <richard@codesourcery.com>
13185 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13187 (ctype_startup): Use uint32_t in cast and sizeof for
13190 2013-09-11 Jia Liu <proljc@gmail.com>
13192 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13194 [__FreeBSD__]: Likewise.
13196 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
13198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13199 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13200 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13201 (strchr): Remove __strchr_sse42 ifunc selection.
13202 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13203 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13205 2013-09-11 Will Newton <will.newton@linaro.org>
13207 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13208 parameter to RES. Remove hardcoded 1000 value.
13209 * benchtests/bench-skeleton.c (main): Pass RES parameter
13210 to TIMING_INIT and multiply result by 1000.
13212 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13216 2013-09-11 Andreas Schwab <schwab@suse.de>
13218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13220 (O_TMPFILE) [__USE_GNU]: Define.
13221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13224 2013-09-11 Will Newton <will.newton@linaro.org>
13227 * malloc/malloc.c (__libc_memalign): Check the value of bytes
13230 2013-09-11 Will Newton <will.newton@linaro.org>
13233 * malloc/malloc.c (__libc_valloc): Check the value of bytes
13236 2013-09-11 Will Newton <will.newton@linaro.org>
13239 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13242 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
13244 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13246 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13247 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13248 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13250 2013-09-10 Allan McRae <allan@archlinux.org>
13253 * manual/arith.texi (Parsing of Floats): Clarify
13257 * manual/install.texi (Running make install): Mention
13259 * INSTALL: Regenerated.
13261 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
13263 * csu/init-first.c (_init): Remove the !SHARED condition around
13264 FPU control word initialization.
13265 * elf/dl-support.c (_dl_fpu_control): New variable.
13266 (_dl_aux_init) <AT_FPUCW>: Initialize it.
13267 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13268 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13269 * math/test-fpucw-static.c: New file.
13270 * math/test-fpucw-ieee.c: New file.
13271 * math/test-fpucw-ieee-static.c: New file.
13272 * math/Makefile (tests): Add `test-fpucw-ieee' and
13274 (tests-static): New variable.
13275 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13277 [($(build-shared),yes)]
13278 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13280 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13283 2013-09-09 Allan McRae <allan@archlinux.org>
13286 * manual/string.texi (Collation Functions): Fix typo in
13288 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13291 * stdlib/isomac.c (get_null_defines): Fix memory leak.
13294 * libio/memstream.c (open_memstream): Fix memory leak.
13295 * libio/wmemstream.c (open_wmemstream): Likewise.
13298 * nscd/netgroupcache.c: Fix nesting of ifdefs.
13300 2013-09-09 Will Newton <will.newton@linaro.org>
13302 * malloc/Makefile: Add tst-realloc to tests.
13303 * malloc/tst-realloc.c: New file.
13305 2013-09-09 Allan McRae <allan@archlinux.org>
13308 * COPYING: Update from GNU website to fix FSF address.
13309 * COPYING.LIB: Likewise.
13311 2013-09-06 David S. Miller <davem@davemloft.net>
13313 * po/zh_TW.po: Update Chinese (traditional) translation from
13314 translation project.
13316 2013-09-06 Richard Sandiford <richard@codesourcery.com>
13317 Joseph Myers <joseph@codesourcery.com>
13319 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13321 (obstack_chunk_alloc): New macro.
13322 (obstack_chunk_free): Likewise.
13323 (record_offset): New function.
13324 (init_locale_data): Likewise.
13325 (align_locale_data): Likewise.
13326 (add_locale_empty): Likewise.
13327 (add_locale_raw_data): Likewise.
13328 (add_locale_raw_obstack): Likewise.
13329 (add_locale_string): Likewise.
13330 (add_locale_wstring): Likewise.
13331 (add_locale_uint32): Likewise.
13332 (add_locale_uint32_array): Likewise.
13333 (add_locale_char): Likewise.
13334 (start_locale_structure): Likewise.
13335 (end_locale_structure): Likewise.
13336 (start_locale_prelude): Likewise.
13337 (end_locale_prelude): Likewise.
13338 (write_locale_data): Take locale_file structure rather than an
13340 * locale/programs/locfile.h: Include "obstack.h".
13341 (struct locale_file): Change to store locale file contents instead
13343 (init_locale_data): New prototype.
13344 (align_locale_data): Likewise.
13345 (add_locale_empty): Likewise.
13346 (add_locale_raw_data): Likewise.
13347 (add_locale_raw_obstack): Likewise.
13348 (add_locale_string): Likewise.
13349 (add_locale_wstring): Likewise.
13350 (add_locale_uint32): Likewise.
13351 (add_locale_uint32_array): Likewise.
13352 (add_locale_char): Likewise.
13353 (start_locale_structure): Likewise.
13354 (end_locale_structure): Likewise.
13355 (start_locale_prelude): Likewise.
13356 (end_locale_prelude): Likewise.
13357 (write_locale_data): Update prototype.
13358 * locale/programs/3level.h (struct TABLE): Remove result field.
13359 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
13360 Use new locale_file interface.
13361 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
13362 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
13363 * locale/programs/ld-address.c (address_output): Use new
13364 locale_file interface.
13365 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
13367 (collate_finish): Don't call collseq_table_finalize.
13368 (collate_output): Use new locale_file interface.
13369 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
13371 (NO_FINALIZE): Change to NO_ADD_LOCALE.
13372 (TABLE): Move defines earlier in file.
13373 (ELEMENT): Likewise.
13374 (DEFAULT): Likewise.
13375 (wctrans_table_add): Move macro and inline function earlier in
13377 (struct wctype_table): Move type earlier in file.
13378 (add_locale_wctype_table): New static prototype.
13379 (struct locale_ctype_t): Use logical types instead of struct iovec
13380 pointers for members.
13381 (ctype_output): Use new locale_file interface.
13382 (wctype_table_finalize): Change to add_locale_wctype_table. Use
13383 new locale_file interface.
13384 (allocate_arrays): Update for use of new locale_file interface.
13385 * locale/programs/ld-identification.c (identification_output): Use
13386 new locale_file interface.
13387 * locale/programs/ld-measurement.c (measurement_output): Likewise.
13388 * locale/programs/ld-messages.c (messages_output): Likewise.
13389 * locale/programs/ld-monetary.c (monetary_output): Likewise.
13390 * locale/programs/ld-name.c (name_output): Likewise.
13391 * locale/programs/ld-numeric.c (numeric_output): Likewise.
13392 * locale/programs/ld-paper.c (paper_output): Likewise.
13393 * locale/programs/ld-telephone.c (telephone_output): Likewise.
13394 * locale/programs/ld-time.c (time_output): Likewise.
13396 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13398 * benchtests/Makefile: Add memrchr benchmark.
13399 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
13400 benchmark as memrchr.
13401 * benchtests/bench-memrchr-ifunc.c: New file.
13402 * benchtests/bench-memrchr.c: New file.
13404 2013-09-06 Will Newton <will.newton@linaro.org>
13406 * benchtests/Makefile (string-bench): Add memcpy.
13408 2013-09-05 Carlos O'Donell <carlos@redhat.com>
13409 Cong Wang <amwang@redhat.com>
13412 * sysdeps/unix/sysv/linux/bits/in.h
13413 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
13414 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
13415 before __USE_KERNEL_IPV6_DEFS uses.
13416 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
13418 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
13419 sockaddr_in6, or ipv6_mreq.
13421 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13423 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
13424 memory access for final bytes in some large inputs.
13425 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
13427 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13429 * string/test-memrchr.c: New file.
13430 * string/test-memrchr-ifunc.c: New file.
13431 * string/Makefile: Add new memrchr testcase.
13433 2013-09-05 Mike Frysinger <vapier@gentoo.org>
13435 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
13436 fanotify_init returns EPERM.
13438 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13440 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
13442 (top level): Treat second token from macro or constant entries for
13443 allowed headers as allowed.
13444 * include/complex.h: Condition internal declarations on
13446 * include/fenv.h: Condition include of <stdbool.h> and internal
13447 declarations on [!_ISOMAC].
13449 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
13452 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
13454 2013-09-04 Joseph Myers <joseph@codesourcery.com>
13456 * configure.in (--enable-versioning): Remove configure option.
13457 (libc_cv_asm_symver_directive): Remove configure test.
13458 (libc_cv_ld_version_script_option): Likewise.
13459 (VERSIONING): Remove variable and AC_SUBST.
13460 (DO_VERSIONING): Remove AC_DEFINE.
13461 * configure: Regenerated.
13462 * config.h.in (DO_VERSIONING): Remove macro.
13463 * Makerules [$(versioning) = yes]: Change conditionals to
13464 [$(build-shared) = yes].
13465 * config.make.in (versioning): Remove variable.
13466 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
13467 [$(build-shared) = yes].
13468 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
13469 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
13470 * elf/Makefile [$(versioning) = yes]: Change conditionals to
13471 [$(build-shared) = yes].
13472 * extra-lib.mk [$(versioning) = yes]: Likewise.
13473 * hurd/Makefile [$(versioning) = yes]: Likewise.
13474 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
13476 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
13478 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13479 [SHARED && !NO_HIDDEN].
13480 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
13482 [SHARED && DO_VERSIONING]: Likewise..
13483 * libio/Makefile [$(versioning) = yes]: Change conditionals to
13484 [$(build-shared) = yes].
13485 * manual/install.texi (--disable-versioning): Remove
13487 * INSTALL: Regenerated.
13488 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
13490 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
13491 [$(build-shared) = yes].
13492 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
13493 * sysdeps/i386/i686/multiarch/strstr-c.c
13494 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
13495 [SHARED && !NO_HIDDEN].
13496 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
13497 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
13498 * sysdeps/powerpc/powerpc32/dl-machine.c
13499 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
13500 * sysdeps/powerpc/powerpc32/sysdep.h
13501 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
13502 to [SHARED && PIC && !NO_HIDDEN].
13503 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
13504 conditional to [SHARED].
13506 2013-09-04 Will Newton <will.newton@linaro.org>
13508 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
13509 * benchtests/bench-string.h: Include bench-timing.h instead
13510 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
13511 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
13512 call to HP_TIMING_DIFF_INIT.
13513 * benchtests/bench-memccpy.c: Use bench-timing.h macros
13514 instead of hp-timing.h macros.
13515 * benchtests/bench-memchr.c: Likewise.
13516 * benchtests/bench-memcmp.c: Likewise.
13517 * benchtests/bench-memcpy.c: Likewise.
13518 * benchtests/bench-memmem.c: Likewise.
13519 * benchtests/bench-memmove.c: Likewise.
13520 * benchtests/bench-memset.c: Likewise.
13521 * benchtests/bench-rawmemchr.c: Likewise.
13522 * benchtests/bench-strcasecmp.c: Likewise.
13523 * benchtests/bench-strcasestr.c: Likewise.
13524 * benchtests/bench-strcat.c: Likewise.
13525 * benchtests/bench-strchr.c: Likewise.
13526 * benchtests/bench-strcmp.c: Likewise.
13527 * benchtests/bench-strcpy.c: Likewise.
13528 * benchtests/bench-strcpy_chk.c: Likewise.
13529 * benchtests/bench-strlen.c: Likewise.
13530 * benchtests/bench-strncasecmp.c: Likewise.
13531 * benchtests/bench-strncat.c: Likewise.
13532 * benchtests/bench-strncmp.c: Likewise.
13533 * benchtests/bench-strncpy.c: Likewise.
13534 * benchtests/bench-strnlen.c: Likewise.
13535 * benchtests/bench-strpbrk.c: Likewise.
13536 * benchtests/bench-strrchr.c: Likewise.
13537 * benchtests/bench-strspn.c: Likewise.
13538 * benchtests/bench-strstr.c: Likewise.
13540 2013-09-04 Will Newton <will.newton@linaro.org>
13542 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
13544 2013-09-03 Joseph Myers <joseph@codesourcery.com>
13547 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
13548 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
13549 * math/libm-test.inc (lgamma_test_data): Add more tests.
13550 * sysdeps/i386/fpu/libm-test-ulps: Update.
13551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13553 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
13555 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
13556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13558 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13559 Add strcmp-sse2-unaligned
13560 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
13562 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13564 * Versions.def (libc): Add GLIBC_2.19.
13566 2013-09-02 Mike Frysinger <vapier@gentoo.org>
13568 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
13569 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
13571 2013-09-02 Joseph Myers <joseph@codesourcery.com>
13574 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
13575 intermediate calculations in recurrence.
13576 (__ieee754_ynf): Likewise.
13577 * math/libm-test.inc (jn_test_data): Do not allow spurious
13578 underflow exception. Add more tests.
13579 (yn_test_data): Add more tests.
13580 * sysdeps/i386/fpu/libm-test-ulps: Update.
13581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13583 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
13585 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
13587 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13589 * csu/init-first.c: Fix then/than typos.
13590 * locale/programs/ld-collate.c: Likewise.
13591 * locale/programs/linereader.h: Likewise.
13592 * manual/charset.texi: Likewise.
13593 * manual/filesys.texi: Likewise.
13594 * manual/stdio.texi: Likewise.
13595 * manual/string.texi: Likewise.
13596 * stdlib/fmtmsg.c: Likewise.
13597 * sysdeps/i386/stpncpy.S: Likewise.
13598 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13599 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13600 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13601 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13603 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13605 * elf/dl-open.c: Fix typos.
13606 * iconvdata/gbbig5.c: Likewise.
13607 * iconvdata/iso-2022-jp.c: Likewise.
13608 * iconv/gconv_int.h: Likewise.
13609 * iconv/loop.c: Likewise.
13610 * nis/rpcsvc/nis.h: Likewise.
13611 * resolv/ns_name.c: Likewise.
13612 * stdio-common/vfscanf.c: Likewise.
13613 * streams/stropts.h: Likewise.
13614 * sunrpc/rpc_thread.c: Likewise.
13615 * sysdeps/i386/strpbrk.S: Likewise.
13616 * sysdeps/ieee754/k_standard.c: Likewise.
13617 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13619 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
13620 * sysdeps/mach/hurd/profil.c: Likewise.
13621 * sysdeps/s390/dl-procinfo.h: Likewise.
13622 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
13623 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
13624 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
13625 * sysdeps/x86_64/dl-trampoline.S: Likewise.
13626 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
13628 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
13630 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
13631 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
13633 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13635 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
13636 aix specific files.
13637 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
13638 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
13639 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
13640 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
13641 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
13642 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
13643 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
13644 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
13646 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13647 Roland McGrath <roland@hack.frob.com>
13649 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
13650 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
13652 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
13654 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
13655 __executable_start symbol instead of _start.
13657 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
13659 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
13660 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
13662 * sysdeps/gnu/ldsodefs.h: ... this new file.
13664 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
13665 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
13666 instead of ELFOSABI_LINUX.
13668 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
13669 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
13670 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
13671 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
13673 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
13674 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
13675 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
13677 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13678 (ibm_extended_long_double): Add ieee_nan member.
13679 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
13680 (do_test): New function.
13682 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
13684 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
13685 functions, renamed from truncdfsf_test, trunctfsf_test,
13687 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
13689 (do_test): Run all these.
13691 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
13693 * argp/argp-help.c: Fix typos.
13694 * argp/argp-parse.c: Likewise.
13695 * debug/backtracesyms.c: Likewise.
13696 * elf/elf.h: Likewise.
13697 * malloc/malloc.c: Likewise.
13698 * nis/nis_print.c: Likewise.
13699 * resolv/res_comp.c: Likewise.
13700 * stdlib/stdlib.h: Likewise.
13701 * sunrpc/clnt_tcp.c: Likewise.
13702 * sunrpc/clnt_udp.c: Likewise.
13703 * sunrpc/clnt_unix.c: Likewise.
13704 * sysdeps/unix/bsd/ptsname.c: Likewise.
13705 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13706 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
13707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
13713 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13715 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13717 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
13718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13720 2013-08-27 Mike Frysinger <vapier@gentoo.org>
13723 * dlfcn/Makefile (tests): Add bug-dl-leaf.
13724 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
13725 ($(objpfx)bug-dl-leaf): New rule.
13726 ($(objpfx)bug-dl-leaf.so): Likewise.
13727 ($(objpfx)bug-dl-leaf.out): Likewise.
13728 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
13729 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
13730 * dlfcn/bug-dl-leaf.c: New test.
13731 * dlfcn/bug-dl-leaf-lib.c: Likewise.
13732 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
13733 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
13734 (dlclose): Likewise.
13735 (dlmopen): Likewise.
13737 2013-08-27 Roland McGrath <roland@hack.frob.com>
13739 * include/netdb.h [!_ISOMAC]:
13740 Don't include <tls.h>.
13741 (h_errno, __libc_h_errno): Move declaration and macros out of
13744 * include/resolv.h [_RESOLV_H_]:
13745 Don't include <tls.h>.
13746 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
13747 * resolv/res_libc.c: Don't include <tls.h>.
13748 (_res): Use __attribute__ ((nocommon)) in place of
13749 __attribute__ ((section (".bss"))).
13751 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
13752 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
13754 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
13756 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
13757 only under [SIOCGIFCONF && SIOCGIFNETMASK].
13759 * resolv/res_mkquery.c: Include <sys/time.h>.
13761 * inet/ifreq.c: Moved to ...
13762 * sysdeps/unix/ifreq.c: ... here.
13763 * inet/ifreq.c: New file, true stub version.
13765 * socket/sa_len.c: New file.
13766 * socket/Makefile (aux): Add it.
13767 * sysdeps/unix/sysv/linux/Makefile
13768 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
13769 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
13770 and #include <socket/sa_len.c>.
13771 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
13772 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
13774 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
13775 * bits/socket.h: ... here.
13777 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
13778 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
13779 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
13781 2013-08-27 Andreas Schwab <schwab@suse.de>
13784 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
13785 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
13786 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
13787 * string/test-strcasecmp.c (test_main): Run tests in several
13789 * string/test-strncasecmp.c (test_main): Likewise.
13791 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
13792 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
13793 to __strcasecmp_nonascii and __strncasecmp_nonascii.
13794 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
13795 (__strncasecmp_ssse3) [PIC]: Likewise.
13797 2013-08-26 Roland McGrath <roland@hack.frob.com>
13799 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
13801 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
13802 instead of explicitly declaring xdecrypt.
13803 * nis/nss_nis/nis-publickey.c: Likewise.
13805 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13808 * nscd/aicache.c: Include res_hconf.h.
13809 (addhstaiX): Initialize res_hconf.
13811 2013-08-26 Andreas Schwab <schwab@suse.de>
13813 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
13814 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
13816 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13818 * nscd/aicache.c (addhstaiX): Fix indentation.
13820 2013-08-25 Mike Frysinger <vapier@gentoo.org>
13822 * configure.ac: Quote $build_pt_chown test.
13823 * configure: Regenerated.
13825 2013-08-23 Joseph Myers <joseph@codesourcery.com>
13828 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
13829 * math/s_cexpf.c (__cexpf): Likewise.
13830 * math/s_cexpl.c (__cexpl): Likewise.
13831 * math/libm-test.inc (cexp_test_data): Correct expected return
13832 value for NaN + i0. Add another test.
13834 2013-08-22 David S. Miller <davem@davemloft.net>
13836 * po/ca.po: Update Catalan translation from translation project.
13837 * po/uk.po: Add Ukrainian translations from translation project.
13839 2013-08-21 Joseph Myers <joseph@codesourcery.com>
13842 * math/s_fdim.c (__fdim): Check for infinite arguments if result
13843 is infinite, not alongside NaN test.
13844 * math/s_fdimf.c (__fdimf): Likewise.
13845 * math/s_fdiml.c (__fdiml): Likewise.
13846 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
13847 errno is unchanged.
13849 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
13851 * argp/argp-help.c: Fix typos.
13852 * crypt/speeds.c: Likewise.
13853 * csu/check_fds.c: Likewise.
13854 * elf/dl-load.c: Likewise.
13855 * elf/dl-open.c: Likewise.
13856 * elf/reldep3.c: Likewise.
13857 * elf/reldep.c: Likewise.
13858 * elf/sprof.c: Likewise.
13859 * iconv/iconv_charmap.c: Likewise.
13860 * iconv/skeleton.c: Likewise.
13861 * iconv/strtab.c: Likewise.
13862 * io/lockf64.c: Likewise.
13863 * libio/libioP.h: Likewise.
13864 * resolv/gai_notify.c: Likewise.
13865 * resolv/ns_name.c: Likewise.
13866 * resolv/ns_samedomain.c: Likewise.
13867 * resolv/res_send.c: Likewise.
13868 * stdlib/random.c: Likewise.
13869 * sunrpc/rpc/xdr.h: Likewise.
13870 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
13871 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13872 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13873 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13874 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13875 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13876 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13877 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13878 * sysdeps/mach/hurd/check_fds.c: Likewise.
13879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13880 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13881 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13882 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13883 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13884 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13885 * sysdeps/pthread/aio_notify.c: Likewise.
13886 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
13887 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
13888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
13889 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13890 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
13892 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13894 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
13895 version if bit_Slow_SSE4_2 is set.
13896 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13897 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13899 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13902 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
13903 trampoline stack frame information.
13904 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
13906 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
13907 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
13908 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
13909 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13910 (_libc_vdso_platform_setup): Initialize the signal trampolines.
13911 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
13913 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
13914 interrupting a syscall and set with option SA_SIGINFO.
13916 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13919 * math/s_cproj.c (__cproj): Only return an infinity if one part of
13920 argument is infinite.
13921 * math/s_cprojf.c (__cprojf): Likewise.
13922 * math/s_cprojl.c (__cprojl): Likewise.
13923 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
13924 * math/libm-test.inc (cproj_test_data): Add more tests.
13926 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
13928 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
13929 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
13930 size. Use __ffs to determine corresponding shift.
13932 2013-08-20 Joseph Myers <joseph@codesourcery.com>
13933 Roland McGrath <roland@hack.frob.com>
13935 * Makefile (INSTALL): Remove trailing blank lines from output of
13938 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13940 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
13941 Align 32 bit compat elf_greg to 8 bytes.
13943 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
13945 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
13947 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
13949 * string/strcoll_l.c (coll_seq): New structure.
13950 (get_next_seq_cached): New function.
13951 (get_next_seq): New function.
13952 (do_compare): New function.
13953 (STRCOLL): Use GNU style definition. Simplify implementation
13954 by using get_next_seq, get_next_seq_cached and do_compare.
13956 2013-08-16 Florian Weimer <fweimer@redhat.com>
13960 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
13962 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
13964 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
13965 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
13966 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
13968 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
13969 GETDENTS_64BIT_ALIGNED.
13970 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13971 * manual/filesys.texi (Reading/Closing Directory): Document
13972 ENAMETOOLONG return value of readdir_r. Recommend readdir more
13974 * manual/conf.texi (Limits for Files): Add portability note to
13975 NAME_MAX, PATH_MAX.
13976 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
13978 2013-08-13 Andreas Schwab <schwab@suse.de>
13981 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
13983 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
13984 LDBL_MAX_EXP >= 16384]: Add tests for it.
13986 2013-08-12 David S. Miller <davem@davemloft.net>
13988 * version.h (RELEASE): Set to "development".
13989 (VERSION): Set to "2.18.90".
13990 * NEWS: Add 2.19 section.
13992 2013-08-03 David S. Miller <davem@davemloft.net>
13994 * po/ko.po: Update Korean translation from translation project.
13996 2013-08-01 David S. Miller <davem@davemloft.net>
13998 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
13999 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14002 2013-07-30 David S. Miller <davem@davemloft.net>
14004 * po/fr.po: Update French translation from translation project.
14006 2013-07-28 David S. Miller <davem@davemloft.net>
14008 * po/cs.po: Update Czech translation from translation project.
14010 * po/sv.po: Update Swedish translation from translation project.
14012 2013-07-27 David S. Miller <davem@davemloft.net>
14014 * po/eo.po: Update Esperanto translation from translation project.
14016 * po/vi.po: Update Vietnamese translation from translation project.
14018 * po/de.po: Update German translation from translation project.
14020 2013-07-26 David S. Miller <davem@davemloft.net>
14022 * po/bg.po: Update Bulgarian translation from translation project.
14024 * po/nl.po: Update Dutch translation from translation project.
14025 * po/pl.po: Update Polish translation from translation project.
14026 * po/ru.po: Update Russian translation from translation project.
14028 2013-07-24 David S. Miller <davem@davemloft.net>
14030 * po/libc.pot: Update.
14032 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14034 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14035 variable page size.
14036 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14037 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14038 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14040 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14042 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14044 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14045 Andreas Schwab <schwab@suse.de>
14046 Roland McGrath <roland@hack.frob.com>
14047 Joseph Myers <joseph@codesourcery.com>
14048 Carlos O'Donell <carlos@redhat.com>
14051 * config.h.in: Define HAVE_PT_CHOWN.
14052 * config.make.in (build-pt-chown): New variable.
14053 * configure.in (--enable-pt_chown): New configure option.
14054 * configure: Regenerate.
14055 * login/Makefile: Include Makeconfig. Build pt_chown only if
14056 build-pt-chown is enabled.
14057 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14058 pt_chown to fix pty ownership.
14059 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14061 * manual/install.texi (Configuring and compiling): Mention
14062 --enable-pt_chown. Add @findex for grantpt.
14063 * INSTALL: Regenerate.
14065 2013-07-20 David S. Miller <davem@davemloft.net>
14067 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14068 difference between 32-bit and 64-bit.
14070 2013-07-15 Carlos O'Donell <carlos@redhat.com>
14073 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14074 Avoid system header dependency with -ffreestanding.
14075 ($(objpfx)bits/syscall%d): Likewise.
14077 2013-07-13 David S. Miller <davem@davemloft.net>
14079 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14080 underflows from atanl/atan2l due to bug 15319.
14081 (casinh_test_data): Likewise.
14083 2013-07-07 David S. Miller <davem@davemloft.net>
14085 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14087 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
14089 * sysdeps/i386/fpu/libm-test-ulps: Update.
14090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14092 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14094 * configure.in (--enable-lock-elision): Fix message text.
14095 * INSTALL: Regenerate.
14096 * configure: Regenerate.
14098 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14102 2013-07-03 Andreas Jaeger <aj@suse.de>
14104 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14106 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14107 (ptrace_peeksiginfo_args): Add.
14108 (__ptrace_peeksiginfo_flags): Add.
14109 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14113 2013-07-03 Allan McRae <allan@archlinux.org>
14115 * sysdeps/i386/fpu/libm-test-ulps: Update.
14117 2013-07-02 David S. Miller <davem@davemloft.net>
14119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14121 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
14123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14125 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14127 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14130 2013-07-02 Andi Kleen <ak@linux.intel.com>
14132 * config.h.in (ENABLE_LOCK_ELISION): Add.
14133 * configure.in (--enable-lock-elision): Add option.
14134 * manual/install.texi: Document --enable lock elision.
14135 * configure: Regenerate
14136 * INSTALL: Regenerate.
14138 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
14140 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14141 SSE4.2 strcasecmp for libc.a.
14142 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14144 2013-07-02 Joseph Myers <joseph@codesourcery.com>
14147 * soft-fp/op-common.h (_FP_FMA): New macro.
14148 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14149 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
14150 (_FP_MUL_MEAT_1_imm): ... here.
14151 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
14152 (_FP_MUL_MEAT_1_wide): ... here.
14153 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
14154 (_FP_MUL_MEAT_1_hard): ... here.
14155 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14156 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
14157 (_FP_MUL_MEAT_2_wide): ... here.
14158 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
14159 (_FP_MUL_MEAT_2_wide_3mul): ... here.
14160 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
14161 (_FP_MUL_MEAT_2_gmp): ... here.
14162 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14163 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
14164 (_FP_MUL_MEAT_4_wide): ... here.
14165 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
14166 (_FP_MUL_MEAT_4_gmp): ... here.
14167 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14168 (_FP_WFRACBITS_DW_S): Likewise.
14169 (_FP_WFRACXBITS_DW_S): Likewise.
14170 (_FP_HIGHBIT_DW_S): Likewise.
14171 (FP_FMA_S): Likewise.
14172 (_FP_FRAC_HIGH_DW_S): Likewise.
14173 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14174 (_FP_WFRACBITS_DW_D): Likewise.
14175 (_FP_WFRACXBITS_DW_D): Likewise.
14176 (_FP_HIGHBIT_DW_D): Likewise.
14177 (FP_FMA_D): Likewise.
14178 (_FP_FRAC_HIGH_DW_D): Likewise.
14179 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14180 (_FP_WFRACBITS_DW_E): Likewise.
14181 (_FP_WFRACXBITS_DW_E): Likewise.
14182 (_FP_HIGHBIT_DW_E): Likewise.
14183 (FP_FMA_E): Likewise.
14184 (_FP_FRAC_HIGH_DW_E): Likewise.
14185 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14186 (_FP_WFRACBITS_DW_Q): Likewise.
14187 (_FP_WFRACXBITS_DW_Q): Likewise.
14188 (_FP_HIGHBIT_DW_Q): Likewise.
14189 (FP_FMA_Q): Likewise.
14190 (_FP_FRAC_HIGH_DW_Q): Likewise.
14191 * soft-fp/fmasf4.c: New file.
14192 * soft-fp/fmadf4.c: Likewise.
14193 * soft-fp/fmatf4.c: Likewise.
14195 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14198 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14202 (index_Slow_SSE4_2): Likewise.
14203 (index_Prefer_PMINUB_for_stringop): Likewise.
14204 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14205 bit_Slow_SSE4_2 is set.
14206 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14209 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14211 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14212 rtld_global._dl_hwcap2.
14213 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14215 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14216 POWER8 feature descriptions defined in _dl_hwcap2.
14217 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14218 string handling for POWER8 feature bits.
14219 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14220 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14221 _dl_powerpc_cap_flags.
14222 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14223 * sysdeps/powerpc/rtld-global-offsets.sym
14224 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14225 _dl_hwcap2 in the rtld_global_ro structure.
14227 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14229 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14230 hardware capabilities in support of AT_HWCAP2.
14231 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14232 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14234 (_dl_show_auxv): Add support for calling _dl_procinfo to display
14235 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
14236 explicitly the unknown a_type display mechanism is used.
14237 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14238 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14240 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14241 to macro prototype for AT_HWCAP2 support.
14242 * sysdeps/i386/dl-procinfo.h: Likewise.
14243 * sysdeps/s390/dl-procinfo.h: Likewise.
14244 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14245 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
14246 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
14247 return -1 for unknown a_type display fallback.
14248 * sysdeps/sparc/dl-procinfo.h: Likewise.
14249 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14250 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14252 2013-06-28 Joseph Myers <joseph@codesourcery.com>
14254 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14255 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14257 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
14260 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14261 mprotect making __stack_prot writable.
14263 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
14264 Joseph Myers <joseph@codesourcery.com>
14266 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14267 as being properly aligned.
14269 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
14271 * dlfcn/modstatic5.c: New file.
14272 * dlfcn/tststatic5.c: New file.
14273 * dlfcn/Makefile (tests): Add tststatic5.
14274 (tests-static): Likewise.
14275 (modules-names): Add modstatic5.
14276 (tststatic5-ENV): New variable.
14277 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14280 * elf/dl-support.c (_dl_main_map): New variable.
14281 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14282 (_dl_nns, _dl_load_adds): Set to 1.
14283 (_dl_initial_searchlist): Refer to _dl_main_map.
14284 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14285 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14286 call to _dl_get_origin.
14287 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14289 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14290 * dlfcn/modstatic3.c: New file.
14291 * dlfcn/tststatic3.c: New file.
14292 * dlfcn/tststatic4.c: New file.
14293 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14294 (tests-static): Likewise.
14295 (modules-names): Add modstatic3.
14296 (tststatic3-ENV, tststatic4-ENV): New variables.
14297 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14298 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14300 2013-06-26 Joseph Myers <joseph@codesourcery.com>
14302 * configure.in (CC): Require GCC version 4.4 or later.
14303 * configure: Regenerated.
14304 * manual/install.texi (Tools for Compilation): Update GCC version
14306 * INSTALL: Regenerated.
14308 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14311 * string/test-memcmp.c (check2): New.
14312 (main): Call check2.
14314 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14316 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
14319 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14321 (dl_open_worker) [!SHARED]: ... here.
14323 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14325 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14327 2013-06-25 Richard Henderson <rth@redhat.com>
14329 * locale/programs/locarchive.c: Include <libc-internal.h>
14331 2013-06-25 Joseph Myers <joseph@codesourcery.com>
14333 * manual/texinfo.tex: Update to version 2013-06-21.17, with
14334 trailing whitespace removed.
14336 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14339 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
14340 * locale/programs/locarchive.c: Include libc-mmap.h.
14341 (prepare_address_space): Take two new outputs (the mmap base and len).
14342 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
14344 (create_archive): Declare new mmap base and len values for
14345 prepare_address_space, and store the result in ah.
14346 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
14347 (enlarge_archive): If ah->mmap_base is not NULL, use that and
14348 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14349 Declare new mmap base and len values for
14350 prepare_address_space, and store the result in new_ah.
14351 (open_archive): Declare new mmap base and len values for
14352 prepare_address_space, and store the result in ah.
14353 (close_archive): If ah->mmap_base is not NULL, use that and
14354 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
14355 * sysdeps/generic/libc-mmap.h: New file.
14357 2013-06-24 Mike Frysinger <vapier@gentoo.org>
14359 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
14360 (ALIGN_UP): Likewise.
14361 (PTR_ALIGN_DOWN): Likewise.
14362 (PTR_ALIGN_UP): Likewise.
14364 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14366 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
14367 entry mapped to PPC_PLATFORM_POWER8.
14368 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
14370 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
14371 (_dl_string_platform): Add case for exporting platform position for
14373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
14374 search path to sysdeps/powerpc/powerpc32/power8 directory.
14375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
14376 search path to sysdeps/powerpc/powerpc64/power8 directory.
14377 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
14378 power7 directories.
14379 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
14380 power7 directories.
14382 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14384 * INSTALL: Regenerate.
14386 * nscd/connections.c (nscd_init): Fix comment.
14388 2013-06-22 Joseph Myers <joseph@codesourcery.com>
14390 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
14393 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
14394 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
14396 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14398 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
14400 (DL_DST_REQ_STATIC): Remove macro.
14402 2013-06-21 Joseph Myers <joseph@codesourcery.com>
14405 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
14406 with a shift of 0 bits.
14408 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
14410 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
14413 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14416 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
14418 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14420 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
14421 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
14422 accepts -fno-tree-loop-distribute-patterns.
14423 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
14424 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
14426 * string/memset.c (memset): Likewise.
14427 * string/test-memmove.c (simple_memmove): Disable loop transformation
14429 * string/test-memset.c (simple_memset): Likewise.
14430 * benchtests/bench-memmove.c (simple_memmove): Likewise.
14431 * benchtests/bench-memset.c (simple_memset): Likewise.
14432 * configure: Regenerated.
14434 2013-06-20 Joseph Myers <joseph@codesourcery.com>
14436 * math/test-misc.c (main): Ignore fesetround failure when failures
14437 of subsequent rounding tests would be ignored.
14440 * math/fedisblxcpt.c (fedisableexcept): Return 0.
14441 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
14442 * math/fegetenv.c (__fegetenv): Return 0.
14443 * math/fegetexcept.c (fegetexcept): Return 0.
14444 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
14446 * math/feholdexcpt.c (feholdexcept): Return 0.
14447 * math/fesetenv.c (__fesetenv): Return 0.
14448 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
14449 argument FE_TONEAREST.
14450 * math/feupdateenv.c (__feupdateenv): Return 0.
14451 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
14453 2013-06-18 Roland McGrath <roland@hack.frob.com>
14455 * elf/rtld-Rules (rtld-compile-command.S): New variable.
14456 (rtld-compile-command.s, rtld-compile-command.c): New variables.
14457 ($(objpfx)rtld-%.os rules): Use them.
14459 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14461 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
14464 2013-06-17 Roland McGrath <roland@hack.frob.com>
14466 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
14467 length of target pattern, then descending length of dependency pattern.
14468 * configure.in (AWK): Require gawk 3.1.2 or newer.
14469 * manual/install.texi (Tools for Compilation): Say that we do.
14470 * configure: Regenerated.
14472 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
14473 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
14474 * scripts/sysd-rules.awk: ... this new script.
14475 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
14476 than a glob-style pattern.
14478 2013-06-17 Joseph Myers <joseph@codesourcery.com>
14480 * math/test-misc.c (main): Do not treat incorrectly rounded
14481 conversions as failure unless ROUNDING_TESTS passes.
14483 2013-06-15 Joseph Myers <joseph@codesourcery.com>
14486 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
14487 restore exception state around main square root computation, then
14488 check for inexactness explicitly.
14490 * math/libm-test.inc (fma_test_data): Add another test.
14492 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14494 * manual/threads.texi (Non-POSIX Extensions): New document
14495 node. Document pthread_getattr_default_np and
14496 pthread_setattr_default_np.
14498 * Versions.def (libpthread): Add GLIBC_2.18.
14499 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
14500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14508 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
14510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
14519 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14522 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
14524 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14525 H.J. Lu <hjl.tools@gmail.com>
14528 * sysdeps/x86_64/rtld-memset.c: Remove file.
14529 * sysdeps/x86_64/rtld-memset.S: New file.
14531 2013-06-14 Joseph Myers <joseph@codesourcery.com>
14533 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
14534 (test_in_one_mode): Take arguments for whether the rounding mode
14535 is supported for each floating-point type.
14536 (do_test): Pass new arguments to test_in_one_mode using
14539 2013-06-13 Roland McGrath <roland@hack.frob.com>
14541 * posix/tst-waitid.c (do_test): Distinguish different instances of
14542 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
14543 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
14544 before entering the kernel for waitpid.
14546 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14548 * NEWS: Fix note on clock function precision. Text by Roland
14551 2013-06-13 Roland McGrath <roland@hack.frob.com>
14553 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
14554 it into place only when and if the sanity check passes.
14556 2013-06-13 Joseph Myers <joseph@codesourcery.com>
14558 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
14559 output for whether conversion result is exact. Take argument
14560 indicating whether type is IBM long double.
14561 (round_for_all): Change need_exact field to ibm_ld.
14562 * stdlib/tst-strtod-round.c (struct exactness): New type.
14563 (struct test): Change bool ld_ok field to struct exactness exact.
14564 (TEST): Update all definitions for change to field.
14565 (tests): Regenerate array contents.
14566 (test_in_one_mode): Take pointer to new field instead of old ld_ok
14567 field value. Check for IBM long double here.
14568 (do_test): Update calls to test_in_one_mode.
14570 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14573 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
14574 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
14576 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14579 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
14580 generated by the compiler on loop optimizations.
14581 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
14582 general definitions.
14584 2013-06-12 Joseph Myers <joseph@codesourcery.com>
14586 * math/bug-nextafter.c: Include <math-tests.h>.
14587 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14589 * math/bug-nexttoward.c: Include <math-tests.h>.
14590 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14592 * math/test-misc.c: Include <math-tests.h>.
14593 (main): Only test for exceptions if EXCEPTION_TESTS is true for
14596 2013-06-12 Andreas Jaeger <aj@suse.de>
14598 * po/ia.po: Update Interlingua translation from translation
14601 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14603 * include/fenv.h: Include stdbool.h.
14604 (struct rm_ctx): New structure.
14605 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
14607 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
14608 (SET_RESTORE_ROUNDF): Likewise.
14609 (SET_RESTORE_ROUNDL): Likewise.
14610 (SET_RESTORE_ROUND_NOEX): Likewise.
14611 (SET_RESTORE_ROUND_NOEXF): Likewise.
14612 (SET_RESTORE_ROUND_NOEXL): Likewise.
14613 (SET_RESTORE_ROUND_53BIT): Likewise.
14614 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
14615 (libc_feresetround_noexf_ctx): Likewise.
14616 (libc_feresetround_noexl_ctx): Likewise.
14617 (libc_feholdsetround_53bit_ctx): Likewise.
14618 (libc_feresetround_53bit_ctx): Likewise.
14619 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
14620 (libc_feholdexcept_setround_sse_ctx): New function.
14621 (libc_fesetenv_sse_ctx): Likewise.
14622 (libc_feupdateenv_sse_ctx): Likewise.
14623 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
14624 (libc_feholdexcept_setround_387_ctx): Likewise.
14625 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
14626 (libc_feholdsetround_387_prec_ctx): Likewise.
14627 (libc_feholdsetround_387_ctx): Likewise.
14628 (libc_feholdsetround_387_53bit_ctx): Likewise.
14629 (libc_feholdsetround_sse_ctx): Likewise.
14630 (libc_feresetround_sse_ctx): Likewise.
14631 (libc_feresetround_387_ctx): Likewise.
14632 (libc_feupdateenv_387_ctx): Likewise.
14633 (libc_feholdexcept_setroundf_ctx): Define macro.
14634 (libc_fesetenvf_ctx): Likewise.
14635 (libc_feupdateenvf_ctx): Likewise.
14636 (libc_feholdsetroundf_ctx): Likewise.
14637 (libc_feresetroundf_ctx): Likewise.
14638 (libc_feholdexcept_setround_ctx): Likewise.
14639 (libc_fesetenv_ctx): Likewise.
14640 (libc_feupdateenv_ctx): Likewise.
14641 (libc_feholdsetround_ctx): Likewise.
14642 (libc_feresetround_ctx): Likewise.
14643 (libc_feholdexcept_setroundl_ctx): Likewise.
14644 (libc_feupdateenvl_ctx): Likewise.
14645 (libc_feholdsetroundl_ctx): Likewise.
14646 (libc_feresetroundl_ctx): Likewise.
14647 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
14648 (libc_feresetround_53bit_ctx): Likewise.
14650 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14652 * locale/iso-639.def: Convert to UTF-8.
14654 2013-06-11 Joseph Myers <joseph@codesourcery.com>
14656 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
14657 (EXCEPTION_TESTS_double): Likewise.
14658 (EXCEPTION_TESTS_long_double): Likewise.
14659 (EXCEPTION_TESTS): Likewise.
14660 * math/libm-test.inc (test_exceptions): Only test exceptions if
14661 EXCEPTION_TESTS (FLOAT).
14663 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14665 * benchtests/Makefile (string-bench): Add strcpy_chk and
14667 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
14668 * benchtests/bench-stpcpy_chk.c: New file.
14669 * benchtests/bench-strcpy_chk-ifunc.c: New file.
14670 * benchtests/bench-strcpy_chk.c: New file.
14671 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
14673 (do_test): Likewise.
14675 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14677 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
14678 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
14679 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
14680 with tabs where appropriate.
14681 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
14683 [PPC_PLATFORM_PPC440]: Likewise.
14684 [PPC_PLATFORM_PPC464]: Likewise.
14685 [PPC_PLATFORM_PPC476]: Likewise.
14686 (_dl_string_platform): Add support for detecting ppc405, ppc440,
14687 ppc464, and ppc476 platform strings merging from ports/
14690 2013-06-11 Andreas Schwab <schwab@suse.de>
14693 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
14694 (from_ucs4_idx): Regenerate.
14695 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
14696 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
14697 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
14698 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
14699 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
14700 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
14701 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
14702 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
14703 from FROM_LOOP and TO_LOOP specific macros.
14704 (BODY): Handle combining characters.
14705 * iconvdata/BIG5HKSCS.irreversible: Update.
14706 * iconvdata/BIG5HKSCS.precomposed: New file.
14707 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
14709 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
14711 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14713 * include/sys/time.h: Fix indentation and add copyright header.
14715 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
14716 (do_test): Likewise.
14717 * string/test-memchr.c (do_one_test): Likewise.
14718 (do_test): Likewise.
14719 * string/test-memcmp.c (do_one_test): Likewise.
14720 (do_test): Likewise.
14721 * string/test-memcpy.c (do_one_test): Likewise.
14722 (do_test): Likewise.
14723 * string/test-memmem.c (do_one_test): Likewise.
14724 (do_test): Likewise.
14725 (do_random_tests): Likewise.
14726 * string/test-memmove.c (do_one_test): Likewise.
14727 (do_test): Likewise.
14728 * string/test-memset.c (do_one_test): Likewise.
14729 (do_test): Likewise.
14730 * string/test-rawmemchr.c (do_one_test): Likewise.
14731 (do_test): Likewise.
14732 * string/test-strcasecmp.c (do_one_test): Likewise.
14733 (do_test): Likewise.
14734 * string/test-strcasestr.c (do_one_test): Likewise.
14735 (do_test): Likewise.
14736 * string/test-strcat.c (do_one_test): Likewise.
14737 (do_test): Likewise.
14738 * string/test-strchr.c (do_one_test): Likewise.
14739 (do_test): Likewise.
14740 * string/test-strcmp.c (do_one_test): Likewise.
14741 (do_test): Likewise.
14742 * string/test-strcpy.c (do_one_test): Likewise.
14743 (do_test): Likewise.
14744 * string/test-string.h: Likewise.
14745 (test_init): Likewise.
14746 * string/test-strlen.c (do_one_test): Likewise.
14747 (do_test): Likewise.
14748 * string/test-strncasecmp.c (do_one_test): Likewise.
14749 (do_test): Likewise.
14750 * string/test-strncat.c (do_one_test): Likewise.
14751 (do_test): Likewise.
14752 * string/test-strncmp.c (do_one_test): Likewise.
14753 (do_test_limit): Likewise.
14754 (do_test): Likewise.
14755 * string/test-strncpy.c (do_one_test): Likewise.
14756 (do_test): Likewise.
14757 * string/test-strnlen.c (do_one_test): Likewise.
14758 (do_test): Likewise.
14759 * string/test-strpbrk.c (do_one_test): Likewise.
14760 (do_test): Likewise.
14761 * string/test-strrchr.c (do_one_test): Likewise.
14762 (do_test): Likewise.
14763 * string/test-strspn.c (do_one_test): Likewise.
14764 (do_test): Likewise.
14765 * string/test-strstr.c (do_one_test): Likewise.
14766 (do_test): Likewise.
14768 * benchtests/Makefile (string-bench): Add string benchmarks.
14769 * benchtests/bench-bcopy-ifunc.c: New file.
14770 * benchtests/bench-bcopy.c: New file.
14771 * benchtests/bench-bzero-ifunc.c: New file.
14772 * benchtests/bench-bzero.c: New file.
14773 * benchtests/bench-memccpy-ifunc.c: New file.
14774 * benchtests/bench-memccpy.c: New file.
14775 * benchtests/bench-memchr-ifunc.c: New file.
14776 * benchtests/bench-memchr.c: New file.
14777 * benchtests/bench-memcmp-ifunc.c: New file.
14778 * benchtests/bench-memcmp.c: New file.
14779 * benchtests/bench-memmem-ifunc.c: New file.
14780 * benchtests/bench-memmem.c: New file.
14781 * benchtests/bench-memmove-ifunc.c: New file.
14782 * benchtests/bench-memmove.c: New file.
14783 * benchtests/bench-mempcpy-ifunc.c: New file.
14784 * benchtests/bench-mempcpy.c: New file.
14785 * benchtests/bench-memset-ifunc.c: New file.
14786 * benchtests/bench-memset.c: New file.
14787 * benchtests/bench-rawmemchr-ifunc.c: New file.
14788 * benchtests/bench-rawmemchr.c: New file.
14789 * benchtests/bench-stpcpy-ifunc.c: New file.
14790 * benchtests/bench-stpcpy.c: New file.
14791 * benchtests/bench-stpncpy-ifunc.c: New file.
14792 * benchtests/bench-stpncpy.c: New file.
14793 * benchtests/bench-strcasecmp-ifunc.c: New file.
14794 * benchtests/bench-strcasecmp.c: New file.
14795 * benchtests/bench-strcasestr-ifunc.c: New file.
14796 * benchtests/bench-strcasestr.c: New file.
14797 * benchtests/bench-strcat-ifunc.c: New file.
14798 * benchtests/bench-strcat.c: New file.
14799 * benchtests/bench-strchr-ifunc.c: New file.
14800 * benchtests/bench-strchr.c: New file.
14801 * benchtests/bench-strchrnul-ifunc.c: New file.
14802 * benchtests/bench-strchrnul.c: New file.
14803 * benchtests/bench-strcmp-ifunc.c: New file.
14804 * benchtests/bench-strcmp.c: New file.
14805 * benchtests/bench-strcpy-ifunc.c: New file.
14806 * benchtests/bench-strcpy.c: New file.
14807 * benchtests/bench-strcspn-ifunc.c: New file.
14808 * benchtests/bench-strcspn.c: New file.
14809 * benchtests/bench-strlen-ifunc.c: New file.
14810 * benchtests/bench-strlen.c: New file.
14811 * benchtests/bench-strncasecmp-ifunc.c: New file.
14812 * benchtests/bench-strncasecmp.c: New file.
14813 * benchtests/bench-strncat-ifunc.c: New file.
14814 * benchtests/bench-strncat.c: New file.
14815 * benchtests/bench-strncmp-ifunc.c: New file.
14816 * benchtests/bench-strncmp.c: New file.
14817 * benchtests/bench-strncpy-ifunc.c: New file.
14818 * benchtests/bench-strncpy.c: New file.
14819 * benchtests/bench-strnlen-ifunc.c: New file.
14820 * benchtests/bench-strnlen.c: New file.
14821 * benchtests/bench-strpbrk-ifunc.c: New file.
14822 * benchtests/bench-strpbrk.c: New file.
14823 * benchtests/bench-strrchr-ifunc.c: New file.
14824 * benchtests/bench-strrchr.c: New file.
14825 * benchtests/bench-strspn-ifunc.c: New file.
14826 * benchtests/bench-strspn.c: New file.
14827 * benchtests/bench-strstr-ifunc.c: New file.
14828 * benchtests/bench-strstr.c: New file.
14830 * benchtests/Makefile: Disable parallel execution of targets.
14831 (string-bench): Add memcpy.
14832 (benchset): New variable to store a list of benchmark sets.
14833 (bench-func): Renamed from bench.
14834 (bench-set): New target.
14835 (bench): Depend on bench-func and bench-set.
14836 * benchtests/README: Add section on benchmark sets.
14837 * benchtests/bench-memcpy-ifunc.c: New file.
14838 * benchtests/bench-memcpy.c: New file.
14839 * benchtests/bench-string.h: New file.
14841 2013-06-11 Andreas Schwab <schwab@suse.de>
14844 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
14845 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
14846 values in the triple.
14847 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
14848 terminator in the group key.
14850 2013-06-11 Andreas Jaeger <aj@suse.de>
14852 * po/zh_TW.po: Update Chinese (traditional) translation from
14853 translation project.
14855 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14857 * include/time.h (__clock_gettime): Add libc_hidden_proto.
14858 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
14859 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
14860 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14861 (clock_getcpuclockid): Likewise.
14862 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
14863 Add weak_alias and libc_hidden_def.
14864 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
14865 * rt/clock_gettime.c (clock_gettime): Rename to
14866 __clock_gettime. Add weak_alias and libc_hidden_def.
14867 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
14868 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
14869 __clock_nanosleep. Add weak_alias and libc_hidden_def.
14870 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
14871 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
14873 * rt/clock_settime.c (clock_settime): Rename to
14874 __clock_settime. Add weak_alias and libc_hidden_def.
14875 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
14877 2013-06-10 Joseph Myers <joseph@codesourcery.com>
14879 * mach/err_boot.sub: Remove trailing whitespace.
14880 * mach/err_ipc.sub: Likewise.
14881 * mach/err_mach.sub: Likewise.
14883 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
14884 (ROUNDING_TESTS_double): Likewise.
14885 (ROUNDING_TESTS_long_double): Likewise.
14886 (ROUNDING_TESTS): Likewise.
14887 * math/libm-test.inc: Include <math-tests.h>.
14888 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
14889 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14890 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14891 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14893 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14895 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
14898 2013-06-08 Joseph Myers <joseph@codesourcery.com>
14900 * sysdeps/gnu/errlist.awk: Do not generate space at end of
14901 otherwise empty TRANS lines.
14902 * sysdeps/gnu/errlist.c: Regenerated.
14904 * catgets/gencat.c (error_print): Use (void) in function
14906 * crypt/crypt_util.c (__init_des): Likewise.
14907 * crypt/speeds.c (Stop): Likewise.
14909 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
14910 * inet/ruserpass.c (token): Likewise.
14911 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
14912 * intl/localealias.c (extend_alias_table): Likewise.
14913 * intl/plural-exp.c (init_germanic_plural): Likewise.
14914 * libio/fcloseall.c (__fcloseall): Likewise.
14915 * libio/genops.c (_IO_flush_all): Likewise.
14916 (_IO_flush_all_linebuffered): Likewise.
14917 (_IO_cleanup): Likewise.
14918 (_IO_iter_begin): Likewise.
14919 (_IO_iter_end): Likewise.
14920 (_IO_list_lock): Likewise.
14921 (_IO_list_unlock): Likewise.
14922 (_IO_list_resetlock): Likewise.
14923 * libio/getchar.c (getchar): Likewise.
14924 * libio/getchar_u.c (getchar_unlocked): Likewise.
14925 * libio/getwchar.c (getwchar): Likewise.
14926 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
14927 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
14928 * login/getpt.c (__getpt): Likewise.
14929 * login/tst-utmp.c (main): Likewise.
14930 * malloc/hooks.c (__malloc_check_init): Likewise.
14931 * malloc/malloc.c (__malloc_stats): Likewise.
14932 * malloc/mtrace.c (tr_break): Likewise.
14933 (mtrace): Likewise.
14934 (muntrace): Likewise.
14935 * misc/fstab.c (endfsent): Likewise.
14936 * misc/getclktck.c (__getclktck): Likewise.
14937 * misc/getdtsz.c (__getdtablesize): Likewise.
14938 * misc/gethostid.c (gethostid): Likewise.
14939 * misc/getpagesize.c (__getpagesize): Likewise.
14940 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
14941 (__get_nprocs): Likewise.
14942 (__get_phys_pages): Likewise.
14943 (__get_avphys_pages): Likewise.
14944 * misc/getttyent.c (getttyent): Likewise.
14945 (setttyent): Likewise.
14946 (endttyent): Likewise.
14947 * misc/getusershell.c (getusershell): Likewise.
14948 (endusershell): Likewise.
14949 (setusershell): Likewise.
14950 (initshells): Likewise.
14951 * misc/hsearch.c (__hdestroy): Likewise.
14952 * misc/sync.c (sync): Likewise.
14953 * misc/syslog.c (closelog_internal): Likewise.
14954 (closelog): Likewise.
14955 * misc/ttyslot.c (ttyslot): Likewise.
14956 * misc/vhangup.c (vhangup): Likewise.
14957 * posix/fork.c (__fork): Likewise.
14958 * posix/getegid.c (__getegid): Likewise.
14959 * posix/geteuid.c (__geteuid): Likewise.
14960 * posix/getgid.c (__getgid): Likewise.
14961 * posix/getpid.c (__getpid): Likewise.
14962 * posix/getppid.c (__getppid): Likewise.
14963 * posix/getuid.c (__getuid): Likewise.
14964 * posix/pause.c (pause): Likewise.
14965 * posix/setpgrp.c (setpgrp): Likewise.
14966 * posix/setsid.c (__setsid): Likewise.
14967 * posix/test-vfork.c (noop): Likewise.
14968 * resolv/gethnamaddr.c (_endhtent): Likewise.
14969 (_gethtent): Likewise.
14970 (ht_endhostent): Likewise.
14971 (gethostent): Likewise.
14972 (dns_service): Likewise.
14973 * stdlib/drand48.c (drand48): Likewise.
14974 * stdlib/lrand48.c (lrand48): Likewise.
14975 * stdlib/mrand48.c (mrand48): Likewise.
14976 * stdlib/rand.c (rand): Likewise.
14977 * stdlib/random.c (__random): Likewise.
14978 * stdlib/setenv.c (clearenv): Likewise.
14979 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
14980 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
14981 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
14982 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
14983 (__get_nprocs): Likewise.
14984 (__get_phys_pages): Likewise.
14985 (__get_avphys_pages): Likewise.
14986 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
14987 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
14988 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
14989 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
14990 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
14991 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
14992 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
14993 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
14994 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
14995 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
14996 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
14997 * sysdeps/mach/hurd/sync.c (sync): Likewise.
14998 * sysdeps/posix/clock.c (clock): Likewise.
14999 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15000 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15001 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15002 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15003 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15004 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15005 (__get_nprocs_conf): Likewise.
15006 (__get_phys_pages): Likewise.
15007 (__get_avphys_pages): Likewise.
15008 * time/clock.c (clock): Likewise.
15009 * time/tzset.c (__tzname_max): Likewise.
15011 2013-06-07 Joseph Myers <joseph@codesourcery.com>
15013 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15014 (__bswap_32): Do not use "register".
15015 * crypt/crypt.c (_ufc_doit_r): Likewise.
15016 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15017 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15018 * gmon/gmon.c (__monstartup): Likewise.
15019 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15020 * hurd/hurdmalloc.c (more_memory): Likewise.
15021 (malloc): Likewise.
15023 (realloc): Likewise.
15024 (malloc_fork_prepare): Likewise.
15025 (malloc_fork_parent): Likewise.
15026 (malloc_fork_child): Likewise.
15027 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15028 (_svcauth_des): Likewise.
15029 * inet/inet_lnaof.c (inet_lnaof): Likewise.
15030 * inet/inet_net.c (inet_network): Likewise.
15031 * inet/inet_netof.c (inet_netof): Likewise.
15032 * inet/rcmd.c (__validuser2_sa): Likewise.
15033 * io/fts.c (fts_open): Likewise.
15034 (fts_load): Likewise.
15035 (fts_close): Likewise.
15036 (fts_read): Likewise.
15037 (fts_children): Likewise.
15038 (fts_build): Likewise.
15039 (fts_stat): Likewise.
15040 (fts_sort): Likewise.
15041 (fts_alloc): Likewise.
15042 (fts_lfree): Likewise.
15043 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15044 (_IO_file_xsgetn): Likewise.
15045 (_IO_file_xsgetn_mmap): Likewise.
15046 * libio/iofopncook.c (_IO_cookie_read): Likewise.
15047 (_IO_cookie_write): Likewise.
15048 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15049 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15050 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15051 * malloc/obstack.c (_obstack_begin): Likewise.
15052 (_obstack_begin_1): Likewise.
15053 (_obstack_newchunk): Likewise.
15054 (_obstack_allocated_p): Likewise.
15055 (obstack_free): Likewise.
15056 (_obstack_memory_used): Likewise.
15057 * misc/getttyent.c (getttynam): Likewise.
15058 (getttyent): Likewise.
15061 * misc/getusershell.c (initshells): Likewise.
15062 * misc/syslog.c (__vsyslog_chk): Likewise.
15063 * misc/ttyslot.c (ttyslot): Likewise.
15064 * nis/nis_hash.c (__nis_hash): Likewise.
15065 * posix/fnmatch_loop.c (FCT): Likewise.
15066 * posix/getconf.c (print_all): Likewise.
15068 * posix/getopt.c (exchange): Likewise.
15069 * posix/glob.c (globfree): Likewise.
15070 (prefix_array): Likewise.
15071 (__glob_pattern_type): Likewise.
15072 * resolv/arpa/nameser.h (NS_GET16): Likewise.
15073 (NS_GET32): Likewise.
15074 (NS_PUT16): Likewise.
15075 (NS_PUT32): Likewise.
15076 * resolv/gethnamaddr.c (getanswer): Likewise.
15077 (gethostbyname2): Likewise.
15078 (gethostbyaddr): Likewise.
15079 (_gethtent): Likewise.
15080 (_gethtbyname2): Likewise.
15081 (_gethtbyaddr): Likewise.
15082 * resolv/ns_print.c (dst_s_get_int16): Likewise.
15083 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15084 * resolv/res_init.c (__res_vinit): Likewise.
15085 (net_mask): Likewise.
15086 * resolv/res_mkquery.c (outchar): Likewise.
15088 * stdio-common/printf_fp.c (outchar): Likewise.
15090 * stdio-common/printf_fphex.c (outchar): Likewise.
15092 * stdio-common/printf_size.c (outchar): Likewise.
15094 * stdio-common/test_rdwr.c (main): Likewise.
15095 * stdio-common/tfformat.c (matches): Likewise.
15096 * stdio-common/vfprintf.c (outchar): Likewise.
15097 (printf_unknown): Likewise.
15098 (buffered_vfprintf): Likewise.
15099 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15100 * stdio-common/xbug.c (AppendToBuffer): Likewise.
15101 (ReadFile): Likewise.
15102 * stdlib/qsort.c (SWAP): Likewise.
15103 (_quicksort): Likewise.
15104 * stdlib/setenv.c (__add_to_environ): Likewise.
15105 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15106 * stdlib/strtol_l.c (__strtol_l): Likewise.
15107 * stdlib/tst-strtod.c (main): Likewise.
15108 * stdlib/tst-strtol.c (main): Likewise.
15109 * stdlib/tst-strtoll.c (main): Likewise.
15110 * string/bits/string2.h (__strcmp_cc): Likewise.
15111 (__strcmp_cg): Likewise.
15112 (__strcspn_c1): Likewise.
15113 (__strcspn_c2): Likewise.
15114 (__strcspn_c3): Likewise.
15115 (__strspn_c1): Likewise.
15116 (__strspn_c2): Likewise.
15117 (__strspn_c3): Likewise.
15118 (__strsep_1c): Likewise.
15119 (__strsep_2c): Likewise.
15120 (__strsep_3c): Likewise.
15121 * string/memccpy.c (__memccpy): Likewise.
15122 * string/stpcpy.c (__stpcpy): Likewise.
15123 * string/strcmp.c (strcmp): Likewise.
15124 * string/strrchr.c (strrchr): Likewise.
15125 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15127 * sysdeps/mach/hurd/getcwd.c
15128 (_hurd_canonicalize_directory_name_internal): Likewise.
15129 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15130 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15131 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15132 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15133 Likewise, in both definitions.
15134 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15136 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15137 64] (__bswap_64): Likewise.
15138 * time/test_time.c (main): Likewise.
15139 * time/tzfile.c (__tzfile_read): Likewise.
15140 (__tzfile_compute): Likewise.
15141 * time/tzset.c (__tzset_parse_tz): Likewise.
15142 (tzset_internal): Likewise.
15143 (compute_change): Likewise.
15144 * wcsmbs/wcscat.c (__wcscat): Likewise.
15145 * wcsmbs/wcschr.c (wcschr): Likewise.
15146 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15147 * wcsmbs/wcscspn.c (wcscspn): Likewise.
15148 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15149 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15150 * wcsmbs/wcsspn.c (wcsspn): Likewise.
15151 * wcsmbs/wcsstr.c (wcsstr): Likewise.
15152 * wcsmbs/wmemchr.c (wmemchr): Likewise.
15153 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15154 * wcsmbs/wmemset.c (wmemset): Likewise.
15156 2013-06-06 Joseph Myers <joseph@codesourcery.com>
15158 * scripts/config.guess: Update to version 2013-05-16.
15159 * scripts/config.sub: Update to version 2013-04-24.
15160 * scripts/install-sh: Update to version 2011-11-20.07.
15161 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15162 * scripts/move-if-change: Update to version 2012-01-06 07:23.
15164 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
15166 * debug/fgetws_u_chk.c: Fix leading whitespaces.
15167 * elf/sln.c: Likewise.
15168 * hurd/hurd/ioctl.h: Likewise.
15169 * hurd/hurdmalloc.c: Likewise.
15170 * hurd/xattr.c: Likewise.
15171 * include/shlib-compat.h: Likewise.
15172 * inet/ruserpass.c: Likewise.
15173 * libio/iofgets_u.c: Likewise.
15174 * libio/iofgetws_u.c: Likewise.
15175 * locale/programs/ld-identification.c: Likewise.
15176 * locale/programs/ld-time.c: Likewise.
15177 * mach/msg-destroy.c: Likewise.
15178 * nss/nss_files/files-netgrp.c: Likewise.
15179 * resolv/res_data.c: Likewise.
15180 * soft-fp/op-1.h: Likewise.
15181 * soft-fp/op-2.h: Likewise.
15182 * soft-fp/op-4.h: Likewise.
15183 * soft-fp/op-common.h: Likewise.
15184 * stdio-common/printf_fphex.c: Likewise.
15185 * stdlib/strtod_l.c: Likewise.
15186 * sunrpc/rpc/clnt.h: Likewise.
15187 * sysdeps/generic/framestate.c: Likewise.
15188 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15189 * sysdeps/i386/bsd-setjmp.S: Likewise.
15190 * sysdeps/i386/__longjmp.S: Likewise.
15191 * sysdeps/i386/setjmp.S: Likewise.
15192 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15197 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15199 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15200 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15201 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15202 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15203 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15204 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15205 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15206 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15207 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15208 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15209 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15210 * sysdeps/ieee754/support.c: Likewise.
15211 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15212 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15213 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15214 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15215 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15216 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15217 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15218 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15219 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15220 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15221 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15222 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15223 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15224 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15225 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15226 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15227 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15230 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
15232 * posix/transbug.c: Remove executable mode.
15234 2013-06-05 Joseph Myers <joseph@codesourcery.com>
15236 * crypt/speeds.c: Remove trailing whitespace.
15237 * dlfcn/default.c: Likewise.
15238 * elf/ifuncdep2.c: Likewise.
15239 * elf/ifuncmain1.c: Likewise.
15240 * elf/ifuncmain1vis.c: Likewise.
15241 * elf/testobj.h: Likewise.
15242 * elf/tst-stackguard1.c: Likewise.
15243 * gmon/sys/gmon.h: Likewise.
15244 * hurd/hurdmsg.c: Likewise.
15245 * hurd/new-fd.c: Likewise.
15246 * hurd/ports-get.c: Likewise.
15247 * iconvdata/ibm1008_420.c: Likewise.
15248 * inet/tst-getni1.c: Likewise.
15249 * inet/tst-getni2.c: Likewise.
15250 * libio/ioungetc.c: Likewise.
15251 * libio/wfiledoalloc.c: Likewise.
15252 * manual/libm-err-tab.pl: Likewise.
15253 * math/w_dremf.c: Likewise.
15254 * misc/ftruncate.c: Likewise.
15255 * posix/bug-glob2.c: Likewise.
15256 * posix/tst-pcre.c: Likewise.
15257 * posix/wait4.c: Likewise.
15258 * resolv/README: Likewise.
15259 * resolv/res_debug.h: Likewise.
15260 * resolv/tst-inet_ntop.c: Likewise.
15261 * setjmp/bug269-setjmp.c: Likewise.
15262 * soft-fp/extended.h: Likewise.
15263 * soft-fp/op-1.h: Likewise.
15264 * soft-fp/op-2.h: Likewise.
15265 * soft-fp/op-4.h: Likewise.
15266 * soft-fp/op-8.h: Likewise.
15267 * soft-fp/testit.c: Likewise.
15268 * stdio-common/bug16.c: Likewise.
15269 * stdlib/random.c: Likewise.
15270 * sunrpc/rpcsvc/rquota.x: Likewise.
15271 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15272 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15273 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15274 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15275 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15276 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15277 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15278 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15279 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15281 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15282 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15283 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15284 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15285 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15286 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15287 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15288 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15289 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15290 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15291 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15293 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15294 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15295 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15298 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15299 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15300 * sysdeps/ieee754/s_lib_version.c: Likewise.
15301 * sysdeps/mach/hurd/check_fds.c: Likewise.
15302 * sysdeps/mach/hurd/getsockname.c: Likewise.
15303 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15304 * sysdeps/mach/hurd/recvfrom.c: Likewise.
15305 * sysdeps/powerpc/bits/link.h: Likewise.
15306 * sysdeps/powerpc/dl-procinfo.c: Likewise.
15307 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15308 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15309 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15310 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15311 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15312 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15313 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15314 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15315 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15316 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15317 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15318 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15319 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15320 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15321 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15323 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15324 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15325 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15326 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15327 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15329 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15330 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
15331 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
15332 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
15333 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
15334 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
15335 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
15336 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
15337 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
15338 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15339 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15340 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
15341 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
15342 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
15343 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
15344 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
15345 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
15346 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
15347 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
15348 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
15349 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
15350 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
15351 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
15352 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
15353 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
15354 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
15355 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
15356 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15357 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15358 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
15359 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
15360 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
15361 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
15362 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
15363 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15364 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
15365 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
15366 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
15367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
15368 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
15369 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
15370 * sysdeps/powerpc/sysdep.h: Likewise.
15371 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15372 * sysdeps/s390/s390-64/sub_n.S: Likewise.
15373 * sysdeps/sh/dl-trampoline.S: Likewise.
15374 * sysdeps/sh/memset.S: Likewise.
15375 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
15376 * sysdeps/sh/strlen.S: Likewise.
15377 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
15378 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
15379 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
15380 * sysdeps/sparc/sparc32/rem.S: Likewise.
15381 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
15382 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
15383 * sysdeps/sparc/sparc32/strchr.S: Likewise.
15384 * sysdeps/sparc/sparc32/udiv.S: Likewise.
15385 * sysdeps/sparc/sparc32/urem.S: Likewise.
15386 * sysdeps/sparc/sparc64/add_n.S: Likewise.
15387 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15388 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
15389 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
15390 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
15391 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
15392 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15393 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
15394 * sysdeps/unix/bsd/times.c: Likewise.
15395 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
15396 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
15397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
15398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15400 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
15401 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
15402 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
15403 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
15404 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
15405 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
15406 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15407 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
15408 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
15409 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15410 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
15411 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15412 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
15413 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
15414 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
15415 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
15416 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
15417 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
15418 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
15419 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
15420 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
15421 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
15422 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15423 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
15424 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
15425 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
15426 * sysdeps/x86_64/strcspn.S: Likewise.
15428 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15430 * locale/C-translit.h: Revert #include <stdint.h> because this is a
15431 generated file. Regenerate properly from gen-translit.pl.
15432 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
15433 locale/C-translit.h.
15435 2013-06-05 Andreas Schwab <schwab@suse.de>
15438 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
15439 week as 6 instead of -1.
15440 * time/tst-strptime.c (day_tests): Add test case.
15442 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15444 * sysdeps/generic/math_private.h
15445 (libc_feholdexcept_setround_53bit): Replace with
15446 libc_feholdsetround_53bit.
15447 (libc_feupdateenv_53bit): Replace with
15448 libc_feresetround_53bit.
15449 (SET_RESTORE_ROUND_53BIT): Adjust.
15451 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15453 * string/test-strchrnul.c: Add copyright header.
15455 * posix/tst-getaddrinfo4.c: Increase test timeout.
15457 2013-06-03 Carlos O'Donell <carlos@redhat.com>
15460 * math/libm-test.inc (MAX_EXP): Remove
15462 (ulp): Use MIN_EXP - MANT_DIG.
15463 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
15465 2013-05-31 Carlos O'Donell <carlos@redhat.com>
15467 * po/be.po: Revert last change.
15468 * po/zh_CN.po: Likewise.
15469 * po/header.pot: Likewise.
15471 2013-05-31 Joseph Myers <joseph@codesourcery.com>
15473 * Makefile ($(common-objpfx)linkobj/libc.so): Define
15474 link-libc-deps to empty as target-specific variable.
15475 * Makerules (link-libc-args): New variable.
15476 (libc-for-link): Likewise.
15477 (link-libc-deps): Likewise.
15478 (lib%.so): Depend on $(link-libc-deps). Link with
15480 (build-module): Link with $(link-libc-args).
15481 (build-module-asneeded): Likewise.
15482 (build-module-helper-objlist): Filter out $(link-libc-deps) from
15484 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
15485 target-specific variable.
15486 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
15487 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
15488 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
15490 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
15492 ($(objpfx)libpcprofile.so): Likewise.
15493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
15495 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
15496 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
15497 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
15499 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
15500 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
15501 * login/Makefile ($(objpfx)libutil.so): Likewise.
15502 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
15503 * math/Makefile ($(objpfx)libm.so): Likewise.
15504 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
15505 $(objpfx)libnsl.so): Define libc-for-link as target-specific
15506 variable instead of depending directly on libc.
15507 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
15508 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
15510 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
15512 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
15513 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
15514 ($(objpfx)libanl.so): Likewise.
15515 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
15517 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
15519 * sysdeps/i386/fpu/Makefile: Remove file.
15520 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
15521 ($(objpfx)libm.so): Remove dependency on ld.so.
15523 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
15526 * nis/yp_xdr.c (XDRMAXNAME): Define.
15527 (XDRMAXRECORD): Define.
15528 (xdr_domainname): Use XDRMAXNAME.
15529 (xdr_mapname): Likewise.
15530 (xdr_peername): Likewise.
15531 (xdr_keydat): Use XDRMAXRECORD.
15532 (xdr_valdat): Likewise.
15534 2013-05-30 Jeff Law <law@redhat.com>
15537 * manual/errno.texi (ESTALE): Update to account for more than
15538 just NFS file systems.
15539 * sysdeps/gnu/errlist.c: Regenerated.
15541 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15544 * elf/Makefile (tests): Add tst-null-argv.
15545 (modules-names): Add tst-null-argv-lib.
15546 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
15547 (tst-null-argv-ENV): Set environment for tst-null-argv.
15548 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
15549 (RTLD_PROGNAME): New macro.
15550 * elf/tst-null-argv.c: New test case.
15551 * elf/tst-null-argv-lib.c: Library for test case.
15552 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
15553 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
15554 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
15555 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
15556 * elf/dl-init.c (call_init): Likewise.
15557 (_dl_init): Likewise.
15558 * elf/dl-load.c (print_search_path): Likewise.
15559 (_dl_map_object): Likewise.
15560 * elf/dl-lookup.c (do_lookup_x): Likewise.
15561 (add_dependency): Likewise.
15562 (_dl_lookup_symbol_x): Likewise.
15563 (_dl_debug_bindings): Likewise.
15564 * elf/dl-open.c (_dl_show_scope): Likewise.
15565 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15566 * elf/dl-version.c (match_symbol): Likewise.
15567 (_dl_check_map_versions): Likewise.
15568 * elf/rtld.c (dl_main): Likewise.
15569 (print_unresolved): Use RTLD_PROGNAME.
15570 (print_missing_version): Likewise.
15571 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15572 (elf_machine_rela): Likewise.
15573 * sysdeps/powerpc/powerpc32/dl-machine.c
15574 (__process_machine_rela): Likewise.
15575 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15577 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15579 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15581 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15588 2013-05-28 Carlos O'Donell <carlos@redhat.com>
15590 * po/be.po: Add descriptive title.
15591 * po/zh_CN.po: Likewise.
15592 * po/header.pot: Likewise.
15594 2013-05-28 Mike Frysinger <vapier@gentoo.org>
15596 * locale/programs/locarchive.c (create_archive): Inlucde fname in
15598 (enlarge_archive): Likewise.
15600 2013-05-28 Ben North <ben@redfrontdoor.org>
15602 * manual/arith.texi (frexp): It is the magnitude of the return
15603 value which lies in [0.5, 1), not the return value itself.
15605 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15609 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
15611 * stdio-common/bug26.c (main): Correct fscanf template.
15613 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
15614 declare _dl_skip_args.
15616 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
15619 * manual/platform.texi: Add missing @end deftypefun.
15621 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
15625 bit of mantissa of 2^16382.
15626 * math/libm-test.inc (hypot_test_data): Add more tests.
15628 * math/libm-test.inc: Add drem and pow10 to list of tested
15630 (pow10_test): New function.
15631 (drem_test): Likewise.
15632 (drem_test_tonearest): Likewise.
15633 (drem_test_towardzero): Likewise.
15634 (drem_test_downward): Likewise.
15635 (drem_test_upward): Likewise.
15636 (main): Call the new functions.
15638 * math/libm-test.inc (finite_test_data): Remove.
15639 (finite_test): Run tests from isfinite_test_data.
15640 (gamma_test_data): Remove.
15641 (gamma_test): Run tests from lgamma_test_data.
15642 * sysdeps/i386/fpu/libm-test-ulps: Update.
15643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15645 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15647 * manual/platform.texi: Add PowerPC PPR function set documentation.
15648 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
15651 2013-05-24 Carlos O'Donell <carlos@redhat.com>
15653 * math/libm-test.inc (MAX_EXP): Define.
15655 (ulp): New function.
15656 (check_float_internal): Use ULPDIFF.
15657 (cpow_test): Disable failing test.
15658 (check_ulp): Test ulp() implemetnation.
15659 (main): Call check_ulp before starting tests.
15661 2013-05-24 Joseph Myers <joseph@codesourcery.com>
15663 * math/gen-libm-test.pl (generate_testfile): Do not handle
15664 START_DATA and END_DATA.
15665 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
15667 (acos_tonearest_test_data): Likewise.
15668 (acos_towardzero_test_data): Likewise.
15669 (acos_downward_test_data): Likewise.
15670 (acos_upward_test_data): Likewise.
15671 (acosh_test_data): Likewise.
15672 (asin_test_data): Likewise.
15673 (asin_tonearest_test_data): Likewise.
15674 (asin_towardzero_test_data): Likewise.
15675 (asin_downward_test_data): Likewise.
15676 (asin_upward_test_data): Likewise.
15677 (asinh_test_data): Likewise.
15678 (atan_test_data): Likewise.
15679 (atanh_test_data): Likewise.
15680 (atan2_test_data): Likewise.
15681 (cabs_test_data): Likewise.
15682 (cacos_test_data): Likewise.
15683 (cacosh_test_data): Likewise.
15684 (carg_test_data): Likewise.
15685 (casin_test_data): Likewise.
15686 (casinh_test_data): Likewise.
15687 (catan_test_data): Likewise.
15688 (catanh_test_data): Likewise.
15689 (cbrt_test_data): Likewise.
15690 (ccos_test_data): Likewise.
15691 (ccosh_test_data): Likewise.
15692 (ceil_test_data): Likewise.
15693 (cexp_test_data): Likewise.
15694 (cimag_test_data): Likewise.
15695 (clog_test_data): Likewise.
15696 (clog10_test_data): Likewise.
15697 (conj_test_data): Likewise.
15698 (copysign_test_data): Likewise.
15699 (cos_test_data): Likewise.
15700 (cos_tonearest_test_data): Likewise.
15701 (cos_towardzero_test_data): Likewise.
15702 (cos_downward_test_data): Likewise.
15703 (cos_upward_test_data): Likewise.
15704 (cosh_test_data): Likewise.
15705 (cosh_tonearest_test_data): Likewise.
15706 (cosh_towardzero_test_data): Likewise.
15707 (cosh_downward_test_data): Likewise.
15708 (cosh_upward_test_data): Likewise.
15709 (cpow_test_data): Likewise.
15710 (cproj_test_data): Likewise.
15711 (creal_test_data): Likewise.
15712 (csin_test_data): Likewise.
15713 (csinh_test_data): Likewise.
15714 (csqrt_test_data): Likewise.
15715 (ctan_test_data): Likewise.
15716 (ctan_tonearest_test_data): Likewise.
15717 (ctan_towardzero_test_data): Likewise.
15718 (ctan_downward_test_data): Likewise.
15719 (ctan_upward_test_data): Likewise.
15720 (ctanh_test_data): Likewise.
15721 (ctanh_tonearest_test_data): Likewise.
15722 (ctanh_towardzero_test_data): Likewise.
15723 (ctanh_downward_test_data): Likewise.
15724 (ctanh_upward_test_data): Likewise.
15725 (erf_test_data): Likewise.
15726 (erfc_test_data): Likewise.
15727 (exp_test_data): Likewise.
15728 (exp_tonearest_test_data): Likewise.
15729 (exp_towardzero_test_data): Likewise.
15730 (exp_downward_test_data): Likewise.
15731 (exp_upward_test_data): Likewise.
15732 (exp10_test_data): Likewise.
15733 (exp2_test_data): Likewise.
15734 (expm1_test_data): Likewise.
15735 (fabs_test_data): Likewise.
15736 (fdim_test_data): Likewise.
15737 (finite_test_data): Likewise.
15738 (floor_test_data): Likewise.
15739 (fma_test_data): Likewise.
15740 (fma_towardzero_test_data): Likewise.
15741 (fma_downward_test_data): Likewise.
15742 (fma_upward_test_data): Likewise.
15743 (fmax_test_data): Likewise.
15744 (fmin_test_data): Likewise.
15745 (fmod_test_data): Likewise.
15746 (fpclassify_test_data): Likewise.
15747 (frexp_test_data): Likewise.
15748 (gamma_test_data): Likewise.
15749 (hypot_test_data): Likewise.
15750 (ilogb_test_data): Likewise.
15751 (isfinite_test_data): Likewise.
15752 (isgreater_test_data): Likewise.
15753 (isgreaterequal_test_data): Likewise.
15754 (isinf_test_data): Likewise.
15755 (isless_test_data): Likewise.
15756 (islessequal_test_data): Likewise.
15757 (islessgreater_test_data): Likewise.
15758 (isnan_test_data): Likewise.
15759 (isnormal_test_data): Likewise.
15760 (issignaling_test_data): Likewise.
15761 (isunordered_test_data): Likewise.
15762 (j0_test_data): Likewise.
15763 (j1_test_data): Likewise.
15764 (jn_test_data): Likewise.
15765 (ldexp_test_data): Likewise.
15766 (lgamma_test_data): Likewise.
15767 (lrint_test_data): Likewise.
15768 (lrint_tonearest_test_data): Likewise.
15769 (lrint_towardzero_test_data): Likewise.
15770 (lrint_downward_test_data): Likewise.
15771 (lrint_upward_test_data): Likewise.
15772 (llrint_test_data): Likewise.
15773 (llrint_tonearest_test_data): Likewise.
15774 (llrint_towardzero_test_data): Likewise.
15775 (llrint_downward_test_data): Likewise.
15776 (llrint_upward_test_data): Likewise.
15777 (log_test_data): Likewise.
15778 (log10_test_data): Likewise.
15779 (log1p_test_data): Likewise.
15780 (log2_test_data): Likewise.
15781 (logb_test_data): Likewise.
15782 (logb_downward_test_data): Likewise.
15783 (lround_test_data): Likewise.
15784 (llround_test_data): Likewise.
15785 (modf_test_data): Likewise.
15786 (nearbyint_test_data): Likewise.
15787 (nextafter_test_data): Likewise.
15788 (nexttoward_test_data): Likewise.
15789 (pow_test_data): Likewise.
15790 (pow_tonearest_test_data): Likewise.
15791 (pow_towardzero_test_data): Likewise.
15792 (pow_downward_test_data): Likewise.
15793 (pow_upward_test_data): Likewise.
15794 (remainder_test_data): Likewise.
15795 (remainder_tonearest_test_data): Likewise.
15796 (remainder_towardzero_test_data): Likewise.
15797 (remainder_downward_test_data): Likewise.
15798 (remainder_upward_test_data): Likewise.
15799 (remquo_test_data): Likewise.
15800 (rint_test_data): Likewise.
15801 (rint_tonearest_test_data): Likewise.
15802 (rint_towardzero_test_data): Likewise.
15803 (rint_downward_test_data): Likewise.
15804 (rint_upward_test_data): Likewise.
15805 (round_test_data): Likewise.
15806 (scalb_test_data): Likewise.
15807 (scalbn_test_data): Likewise.
15808 (scalbln_test_data): Likewise.
15809 (signbit_test_data): Likewise.
15810 (sin_test_data): Likewise.
15811 (sin_tonearest_test_data): Likewise.
15812 (sin_towardzero_test_data): Likewise.
15813 (sin_downward_test_data): Likewise.
15814 (sin_upward_test_data): Likewise.
15815 (sincos_test_data): Likewise.
15816 (sinh_test_data): Likewise.
15817 (sinh_tonearest_test_data): Likewise.
15818 (sinh_towardzero_test_data): Likewise.
15819 (sinh_downward_test_data): Likewise.
15820 (sinh_upward_test_data): Likewise.
15821 (sqrt_test_data): Likewise.
15822 (tan_test_data): Likewise.
15823 (tan_tonearest_test_data): Likewise.
15824 (tan_towardzero_test_data): Likewise.
15825 (tan_downward_test_data): Likewise.
15826 (tan_upward_test_data): Likewise.
15827 (tanh_test_data): Likewise.
15828 (tgamma_test_data): Likewise.
15829 (trunc_test_data): Likewise.
15830 (y0_test_data): Likewise.
15831 (y1_test_data): Likewise.
15832 (yn_test_data): Likewise.
15833 (significand_test_data): Likewise.
15835 * math/gen-libm-test.pl (@functions): Remove variable.
15836 (generate_testfile): Don't handle START and END lines.
15837 * math/libm-test.inc (START): New macro.
15839 (END_COMPLEX): Likewise.
15840 (acos_test): Use END macro without arguments.
15841 (acos_test_tonearest): Likewise.
15842 (acos_test_towardzero): Likewise.
15843 (acos_test_downward): Likewise.
15844 (acos_test_upward): Likewise.
15845 (acosh_test): Likewise.
15846 (asin_test): Likewise.
15847 (asin_test_tonearest): Likewise.
15848 (asin_test_towardzero): Likewise.
15849 (asin_test_downward): Likewise.
15850 (asin_test_upward): Likewise.
15851 (asinh_test): Likewise.
15852 (atan_test): Likewise.
15853 (atanh_test): Likewise.
15854 (atan2_test): Likewise.
15855 (cabs_test): Likewise.
15856 (cacos_test): Use END_COMPLEX macro without arguments.
15857 (cacosh_test): Likewise.
15858 (carg_test): Use END macro without arguments.
15859 (casin_test): Use END_COMPLEX macro without arguments.
15860 (casinh_test): Likewise.
15861 (catan_test): Likewise.
15862 (catanh_test): Likewise.
15863 (cbrt_test): Use END macro without arguments.
15864 (ccos_test): Use END_COMPLEX macro without arguments.
15865 (ccosh_test): Likewise.
15866 (ceil_test): Use END macro without arguments.
15867 (cexp_test): Use END_COMPLEX macro without arguments.
15868 (cimag_test): Use END macro without arguments.
15869 (clog_test): Use END_COMPLEX macro without arguments.
15870 (clog10_test): Likewise.
15871 (conj_test): Likewise.
15872 (copysign_test): Use END macro without arguments.
15873 (cos_test): Likewise.
15874 (cos_test_tonearest): Likewise.
15875 (cos_test_towardzero): Likewise.
15876 (cos_test_downward): Likewise.
15877 (cos_test_upward): Likewise.
15878 (cosh_test): Likewise.
15879 (cosh_test_tonearest): Likewise.
15880 (cosh_test_towardzero): Likewise.
15881 (cosh_test_downward): Likewise.
15882 (cosh_test_upward): Likewise.
15883 (cpow_test): Use END_COMPLEX macro without arguments.
15884 (cproj_test): Likewise.
15885 (creal_test): Use END macro without arguments.
15886 (csin_test): Use END_COMPLEX macro without arguments.
15887 (csinh_test): Likewise.
15888 (csqrt_test): Likewise.
15889 (ctan_test): Likewise.
15890 (ctan_test_tonearest): Likewise.
15891 (ctan_test_towardzero): Likewise.
15892 (ctan_test_downward): Likewise.
15893 (ctan_test_upward): Likewise.
15894 (ctanh_test): Likewise.
15895 (ctanh_test_tonearest): Likewise.
15896 (ctanh_test_towardzero): Likewise.
15897 (ctanh_test_downward): Likewise.
15898 (ctanh_test_upward): Likewise.
15899 (erf_test): Use END macro without arguments.
15900 (erfc_test): Likewise.
15901 (exp_test): Likewise.
15902 (exp_test_tonearest): Likewise.
15903 (exp_test_towardzero): Likewise.
15904 (exp_test_downward): Likewise.
15905 (exp_test_upward): Likewise.
15906 (exp10_test): Likewise.
15907 (exp2_test): Likewise.
15908 (expm1_test): Likewise.
15909 (fabs_test): Likewise.
15910 (fdim_test): Likewise.
15911 (finite_test): Likewise.
15912 (floor_test): Likewise.
15913 (fma_test): Likewise.
15914 (fma_test_towardzero): Likewise.
15915 (fma_test_downward): Likewise.
15916 (fma_test_upward): Likewise.
15917 (fmax_test): Likewise.
15918 (fmin_test): Likewise.
15919 (fmod_test): Likewise.
15920 (fpclassify_test): Likewise.
15921 (frexp_test): Likewise.
15922 (gamma_test): Likewise.
15923 (hypot_test): Likewise.
15924 (ilogb_test): Likewise.
15925 (isfinite_test): Likewise.
15926 (isgreater_test): Likewise.
15927 (isgreaterequal_test): Likewise.
15928 (isinf_test): Likewise.
15929 (isless_test): Likewise.
15930 (islessequal_test): Likewise.
15931 (islessgreater_test): Likewise.
15932 (isnan_test): Likewise.
15933 (isnormal_test): Likewise.
15934 (issignaling_test): Likewise.
15935 (isunordered_test): Likewise.
15936 (j0_test): Likewise.
15937 (j1_test): Likewise.
15938 (jn_test): Likewise.
15939 (ldexp_test): Likewise.
15940 (lgamma_test): Likewise.
15941 (lrint_test): Likewise.
15942 (lrint_test_tonearest): Likewise.
15943 (lrint_test_towardzero): Likewise.
15944 (lrint_test_downward): Likewise.
15945 (lrint_test_upward): Likewise.
15946 (llrint_test): Likewise.
15947 (llrint_test_tonearest): Likewise.
15948 (llrint_test_towardzero): Likewise.
15949 (llrint_test_downward): Likewise.
15950 (llrint_test_upward): Likewise.
15951 (log_test): Likewise.
15952 (log10_test): Likewise.
15953 (log1p_test): Likewise.
15954 (log2_test): Likewise.
15955 (logb_test): Likewise.
15956 (logb_test_downward): Likewise.
15957 (lround_test): Likewise.
15958 (llround_test): Likewise.
15959 (modf_test): Likewise.
15960 (nearbyint_test): Likewise.
15961 (nextafter_test): Likewise.
15962 (nexttoward_test): Likewise.
15963 (pow_test): Likewise.
15964 (pow_test_tonearest): Likewise.
15965 (pow_test_towardzero): Likewise.
15966 (pow_test_downward): Likewise.
15967 (pow_test_upward): Likewise.
15968 (remainder_test): Likewise.
15969 (remainder_test_tonearest): Likewise.
15970 (remainder_test_towardzero): Likewise.
15971 (remainder_test_downward): Likewise.
15972 (remainder_test_upward): Likewise.
15973 (remquo_test): Likewise.
15974 (rint_test): Likewise.
15975 (rint_test_tonearest): Likewise.
15976 (rint_test_towardzero): Likewise.
15977 (rint_test_downward): Likewise.
15978 (rint_test_upward): Likewise.
15979 (round_test): Likewise.
15980 (scalb_test): Likewise.
15981 (scalbn_test): Likewise.
15982 (scalbln_test): Likewise.
15983 (signbit_test): Likewise.
15984 (sin_test): Likewise.
15985 (sin_test_tonearest): Likewise.
15986 (sin_test_towardzero): Likewise.
15987 (sin_test_downward): Likewise.
15988 (sin_test_upward): Likewise.
15989 (sincos_test): Likewise.
15990 (sinh_test): Likewise.
15991 (sinh_test_tonearest): Likewise.
15992 (sinh_test_towardzero): Likewise.
15993 (sinh_test_downward): Likewise.
15994 (sinh_test_upward): Likewise.
15995 (sqrt_test): Likewise.
15996 (tan_test): Likewise.
15997 (tan_test_tonearest): Likewise.
15998 (tan_test_towardzero): Likewise.
15999 (tan_test_downward): Likewise.
16000 (tan_test_upward): Likewise.
16001 (tanh_test): Likewise.
16002 (tgamma_test): Likewise.
16003 (trunc_test): Likewise.
16004 (y0_test): Likewise.
16005 (y1_test): Likewise.
16006 (yn_test): Likewise.
16007 (significand_test): Likewise.
16009 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
16012 * libio/genops.c (_IO_no_init): Initialize wide struct info.
16014 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
16017 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16018 __ppc_mdoio and __ppc_mdoom.
16019 * manual/platform.texi: Document new functions __ppc_yield,
16020 __ppc_mdoio and __ppc_mdoom.
16022 2013-05-22 Carlos O'Donell <carlos@redhat.com>
16024 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16025 (main): Mention "tls" pseudo-hwcap is legacy.
16026 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16028 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16030 * math/gen-libm-test.pl (parse_args): Output only string of
16031 arguments as text for test name, not full call or descriptions of
16032 tests for extra outputs.
16033 (generate_testfile): Do not pass function name to parse_args.
16034 Generate this_func variable from START.
16035 * math/libm-test.inc (struct test_f_f_data): Rename test_name
16037 (struct test_ff_f_data): Likewise.
16038 (test_ff_f_data_nexttoward): Likewise.
16039 (struct test_fi_f_data): Likewise.
16040 (struct test_fl_f_data): Likewise.
16041 (struct test_if_f_data): Likewise.
16042 (struct test_fff_f_data): Likewise.
16043 (struct test_c_f_data): Likewise.
16044 (struct test_f_f1_data): Likewise. Remove field extra_name.
16045 (struct test_fF_f1_data): Likewise.
16046 (struct test_ffI_f1_data): Likewise.
16047 (struct test_c_c_data): Rename test_name field to arg_str.
16048 (struct test_cc_c_data): Likewise.
16049 (struct test_f_i_data): Likewise.
16050 (struct test_ff_i_data): Likewise.
16051 (struct test_f_l_data): Likewise.
16052 (struct test_f_L_data): Likewise.
16053 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
16055 (COMMON_TEST_SETUP): New macro.
16056 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16057 (COMMON_TEST_CLEANUP): Likewise.
16058 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16059 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
16061 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16062 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
16064 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16065 (RUN_TEST_fff_f): Take argument string. Call new setup and
16067 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16068 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
16070 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16071 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
16073 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16074 (RUN_TEST_fF_f1): Take argument string. Call new setup and
16076 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16077 (RUN_TEST_fI_f1): Take argument string. Call new setup and
16079 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16080 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
16082 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16083 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
16085 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16086 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
16088 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16089 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
16091 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16092 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
16094 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16095 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
16097 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16098 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
16100 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16101 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
16103 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16104 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
16106 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16107 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
16109 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16110 (RUN_TEST_fFF_11): Take argument string. Call new setup and
16112 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16114 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16116 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16117 to _sifields.sigfault.
16118 (si_addr_lsb): Define new macro.
16119 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16121 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16123 2013-05-03 Carlos O'Donell <carlos at redhat.com>
16126 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16128 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16130 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16131 loading the domain.
16133 2013-05-22 Joseph Myers <joseph@codesourcery.com>
16135 * math/gen-libm-test.pl (parse_args): Do not include expected
16136 result in test name.
16137 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16138 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16139 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16140 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16141 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16144 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16146 * benchtests/Makefile: Sort function entries.
16148 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16149 tanh, asinh, acosh, atanh.
16150 * benchtests/acos-inputs: New file.
16151 * benchtests/acosh-inputs: New file.
16152 * benchtests/asin-inputs: New file.
16153 * benchtests/asinh-inputs: New file.
16154 * benchtests/atanh-inputs: New file.
16155 * benchtests/cosh-inputs: New file.
16156 * benchtests/log-inputs: New file.
16157 * benchtests/sinh-inputs: New file.
16158 * benchtests/tanh-inputs: New file.
16160 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
16163 * posix/tst-getaddrinfo4.c: New test.
16164 * posix/Makefile (tests): Add it.
16166 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16169 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16170 when no services were used.
16171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16172 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16174 2013-05-21 Andreas Schwab <schwab@suse.de>
16177 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16178 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16180 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16181 redundant variable declarations and reallocation of buffer when
16182 parsing as IPv6 address. Always set NSS status when called from
16183 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
16184 buffer too small. Correct computation of needed size.
16185 * nss/Makefile (tests): Add test-digits-dots.
16186 * nss/test-digits-dots.c: New test.
16188 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16190 * benchtests/Makefile: Remove instructions for adding
16192 * benchtests/README: New file to explain how to execute and
16193 enhance the benchmark tests.
16195 2013-05-21 Andreas Schwab <schwab@suse.de>
16198 * setjmp/Makefile (tests): Add tst-sigsetjmp.
16199 * setjmp/tst-sigsetjmp.c: New test.
16201 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16203 * sysdeps/x86_64/memset.S (memset): New implementation.
16204 (__bzero): Likewise.
16205 (__memset_tail): New function.
16207 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
16209 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16210 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16211 __memcpy_sse2_unaligned ifunc selection.
16212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16213 Add memcpy-sse2-unaligned.S.
16214 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16215 Add: __memcpy_sse2_unaligned.
16217 2013-05-19 Joseph Myers <joseph@codesourcery.com>
16220 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16221 math_force_eval before restoring floating-point envrionment.
16222 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16223 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16225 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16227 (__nearbyintl): Use math_force_eval before restoring
16228 floating-point environment.
16229 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16231 * math/gen-libm-test.pl (special_functions): Remove.
16232 (parse_args): Don't handle TEST_extra. Handle functions with no
16234 * math/libm-test.inc (struct test_sincos_data): Replace with
16235 struct test_fFF_11_data.
16236 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16237 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16238 (sincos_test_data): Change element type to struct
16239 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
16240 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16241 RUN_TEST_LOOP_sincos.
16242 * math/README.libm-test: Don't mention special handling of
16243 individual functions.
16244 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16246 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16247 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16248 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16251 * math/gen-libm-test.pl (get_variable): Remove function.
16252 (parse_args): Don't show pointer parameters to call in test
16253 names. Use "extra output N" in test names for extra outputs
16254 rather than naming variables.
16256 2013-05-18 Joseph Myers <joseph@codesourcery.com>
16259 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16260 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16261 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16263 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16265 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16268 * math/gen-libm-test.pl (@tests): Remove variable.
16269 ($count): Likewise.
16270 (new_test): Remove function.
16271 (show_exceptions): New function.
16272 (special_functions): Use show_exceptions instead of new_test.
16273 (parse_args): Likewise.
16274 (generate_testfile): Pass only function name in generated call to
16275 print_max_error or print_complex_max_error.
16276 (get_ulps): Do not handle complex tests specially.
16277 (output_test): Rename to ...
16278 (get_all_ulps_for_test): ... this. Return a string rather than
16279 printing to a file. Require ulps to be present.
16280 (output_ulps): Generate arrays rather than #defines.
16281 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16282 (struct ulp_data): New type.
16283 (BUILD_COMPLEX_ULP): Remove macro.
16284 (compare_ulp_data): New function.
16285 (find_ulps): Likewise.
16286 (find_test_ulps): Likewise.
16287 (find_function_ulps): Likewise.
16288 (find_complex_function_ulps): Likewise.
16289 (print_max_error): Determine allowed ulps using
16290 find_function_ulps.
16291 (print_complex_max_error): Determine allowed ulps using
16292 find_complex_function_ulps.
16293 (check_float_internal): Determine max ulps using find_test_ulps.
16294 (check_float): Do not take max_ulp parameter. Update call to
16295 check_float_internal.
16296 (check_complex): Likewise.
16297 (check_int): Do not take max_ulp parameter.
16298 (check_long): Likewise.
16299 (check_bool): Likewise.
16300 (check_longlong): Likewise.
16301 (struct test_f_f_data): Remove max_ulp field.
16302 (struct test_ff_f_data): Likewise.
16303 (struct test_ff_f_data_nexttoward): Likewise.
16304 (struct test_fi_f_data): Likewise.
16305 (struct test_fl_f_data): Likewise.
16306 (struct test_if_f_data): Likewise.
16307 (struct test_fff_f_data): Likewise.
16308 (struct test_c_f_data): Likewise.
16309 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16310 (struct test_fF_f1_data): Likewise.
16311 (struct test_ffI_f1_data): Likewise.
16312 (struct test_c_c_data): Remove max_ulp field.
16313 (struct test_cc_c_data): Likewise.
16314 (struct test_f_i_data): Likewise.
16315 (struct test_ff_i_data): Likewise.
16316 (struct test_f_l_data): Likewise.
16317 (struct test_f_L_data): Likewise.
16318 (struct test_sincos_data): Likewise.
16319 (RUN_TEST_f_f): Do not handle ulps.
16320 (RUN_TEST_LOOP_f_f): Likewise.
16321 (RUN_TEST_2_f): Likewise.
16322 (RUN_TEST_LOOP_2_f): Likewise.
16323 (RUN_TEST_fff_f): Likewise.
16324 (RUN_TEST_LOOP_fff_f): Likewise.
16325 (RUN_TEST_c_f): Likewise.
16326 (RUN_TEST_LOOP_c_f): Likewise.
16327 (RUN_TEST_f_f1): Likewise.
16328 (RUN_TEST_LOOP_f_f1): Likewise.
16329 (RUN_TEST_fF_f1): Likewise.
16330 (RUN_TEST_LOOP_fF_f1): Likewise.
16331 (RUN_TEST_fI_f1): Likewise.
16332 (RUN_TEST_LOOP_fI_f1): Likewise.
16333 (RUN_TEST_ffI_f1): Likewise.
16334 (RUN_TEST_LOOP_ffI_f1): Likewise.
16335 (RUN_TEST_c_c): Likewise.
16336 (RUN_TEST_LOOP_c_c): Likewise.
16337 (RUN_TEST_cc_c): Likewise.
16338 (RUN_TEST_LOOP_cc_c): Likewise.
16339 (RUN_TEST_f_i): Likewise.
16340 (RUN_TEST_LOOP_f_i): Likewise.
16341 (RUN_TEST_f_i_tg): Likewise.
16342 (RUN_TEST_LOOP_f_i_tg): Likewise.
16343 (RUN_TEST_ff_i_tg): Likewise.
16344 (RUN_TEST_LOOP_ff_i_tg): Likewise.
16345 (RUN_TEST_f_b): Likewise.
16346 (RUN_TEST_LOOP_f_b): Likewise.
16347 (RUN_TEST_f_b_tg): Likewise.
16348 (RUN_TEST_LOOP_f_b_tg): Likewise.
16349 (RUN_TEST_f_l): Likewise.
16350 (RUN_TEST_LOOP_f_l): Likewise.
16351 (RUN_TEST_f_L): Likewise.
16352 (RUN_TEST_LOOP_f_L): Likewise.
16353 (RUN_TEST_sincos): Likewise.
16354 (RUN_TEST_LOOP_sincos): Likewise.
16356 2013-05-17 Joseph Myers <joseph@codesourcery.com>
16360 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
16361 main case of finite arguments, set rounding mode to FE_TONEAREST
16362 and discard exceptions.
16363 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
16365 (remainder_tonearest_test_data): New variable.
16366 (remainder_test_tonearest): New function.
16367 (remainder_towardzero_test_data): New variable.
16368 (remainder_test_towardzero): New function.
16369 (remainder_downward_test_data): New variable.
16370 (remainder_test_downward): New function.
16371 (remainder_upward_test_data): New variable.
16372 (remainder_test_upward): New function.
16373 (main): Call the new test functions.
16375 * math/libm-test.inc (struct test_f_f1_data): Remove field
16377 (struct test_fF_f1_data): Likewise.
16378 (struct test_ffI_f1_data): Likewise.
16379 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
16380 based on value of EXTRA_EXPECTED.
16381 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16382 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
16383 EXTRA_VAR based on value of EXTRA_EXPECTED.
16384 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16385 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
16386 EXTRA_VAR based on value of EXTRA_EXPECTED.
16387 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16388 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
16389 EXTRA_VAR based on value of EXTRA_EXPECTED.
16390 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16391 * math/gen-libm-test.pl (parse_args): Don't output initializers
16392 for extra output values.
16394 * math/libm-test.inc (check_int): Expect result to be exactly
16395 equal to expected value and do not handle ulps.
16396 (check_long): Likewise.
16397 (check_longlong): Likewise.
16399 * math/libm-test.inc (ceil_test_data): Test for "inexact"
16401 (cimag_test_data): Likewise.
16402 (conj_test_data): Likewise.
16403 (copysign_test_data): Likewise.
16404 (cproj_test_data): Likewise.
16405 (creal_test_data): Likewise.
16406 (fabs_test_data): Likewise.
16407 (fdim_test_data): Likewise.
16408 (finite_test_data): Likewise.
16409 (floor_test_data): Likewise.
16410 (fmax_test_data): Likewise.
16411 (fmin_test_data): Likewise.
16412 (fmod_test_data): Likewise.
16413 (fpclassify_test_data): Likewise.
16414 (frexp_test_data): Likewise.
16415 (ilogb_test_data): Likewise.
16416 (isfinite_test_data): Likewise.
16417 (isgreater_test_data): Likewise.
16418 (isgreaterequal_test_data): Likewise.
16419 (isinf_test_data): Likewise.
16420 (isless_test_data): Likewise.
16421 (islessequal_test_data): Likewise.
16422 (islessgreater_test_data): Likewise.
16423 (isnan_test_data): Likewise.
16424 (isnormal_test_data): Likewise.
16425 (issignaling_test_data): Likewise.
16426 (isunordered_test_data): Likewise.
16427 (ldexp_test_data): Likewise.
16428 (lrint_test_data): Likewise.
16429 (lrint_test_data) [TEST_FLOAT]: Disable one test.
16430 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
16431 (lrint_tonearest_test_data): Test for "inexact" exceptions.
16432 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16433 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
16434 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16436 (lrint_towardzero_test_data): Test for "inexact" exceptions.
16437 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16438 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
16439 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
16441 (lrint_downward_test_data): Test for "inexact" exceptions.
16442 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16443 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
16444 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
16446 (lrint_upward_test_data): Test for "inexact" exceptions.
16447 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
16449 (llrint_test_data): Test for "inexact" exceptions.
16450 (llrint_test_data) [TEST_FLOAT]: Disable one test.
16451 (llrint_tonearest_test_data): Test for "inexact" exceptions.
16452 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
16453 (llrint_towardzero_test_data): Test for "inexact" exceptions.
16454 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
16455 (llrint_downward_test_data): Test for "inexact" exceptions.
16456 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
16457 (llrint_upward_test_data): Test for "inexact" exceptions.
16458 (logb_test_data): Likewise.
16459 (logb_downward_test_data): Likewise.
16460 (nextafter_test_data): Likewise.
16461 (nexttoward_test_data): Likewise.
16462 (remainder_test_data): Likewise.
16463 (remquo_test_data): Likewise.
16464 (scalbn_test_data): Likewise.
16465 (scalbln_test_data): Likewise.
16466 (signbit_test_data): Likewise.
16467 (sqrt_test_data): Likewise.
16468 (significand_test_data): Likewise.
16470 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16473 * benchtests/bench-modf.c (struct args): Mark arg0 as
16475 * scripts/bench.pl: Mark members of struct args as volatile.
16477 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16480 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
16481 negative infinity on POWER6 or lower.
16482 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
16484 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
16487 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
16488 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
16489 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
16490 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
16491 (_FP_SETQNAN): New macro.
16492 (_FP_SETQNAN_SEMIRAW): Likewise.
16493 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
16494 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
16495 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
16496 (FP_EXTEND): Use _FP_FRAC_SNANP.
16497 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
16498 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
16500 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16502 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
16505 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16507 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
16508 with DIVIDE_BY_ZERO_EXCEPTION.
16509 (gamma_test_data): Likewise.
16510 (lgamma_test_data): Likewise.
16511 (log_test_data): Likewise.
16512 (log10_test_data): Likewise.
16513 (log2_test_data): Likewise.
16514 (tgamma_test_data): Likewise.
16516 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
16517 (acos_test_tonearest): Likewise.
16518 (acos_test_towardzero): Likewise.
16519 (acos_test_downward): Likewise.
16520 (acos_test_upward): Likewise.
16521 (acosh_test): Likewise.
16522 (asin_test): Likewise.
16523 (asin_test_tonearest): Likewise.
16524 (asin_test_towardzero): Likewise.
16525 (asin_test_downward): Likewise.
16526 (asin_test_upward): Likewise.
16527 (asinh_test): Likewise.
16528 (atan_test): Likewise.
16529 (atanh_test): Likewise.
16530 (atan2_test): Likewise.
16531 (cabs_test): Likewise.
16532 (cacos_test): Likewise.
16533 (cacosh_test): Likewise.
16534 (casin_test): Likewise.
16535 (casinh_test): Likewise.
16536 (catan_test): Likewise.
16537 (catanh_test): Likewise.
16538 (cbrt_test): Likewise.
16539 (ccos_test): Likewise.
16540 (ccosh_test): Likewise.
16541 (cexp_test): Likewise.
16542 (clog_test): Likewise.
16543 (clog10_test): Likewise.
16544 (cos_test): Likewise.
16545 (cos_test_tonearest): Likewise.
16546 (cos_test_towardzero): Likewise.
16547 (cos_test_downward): Likewise.
16548 (cos_test_upward): Likewise.
16549 (cosh_test): Likewise.
16550 (cosh_test_tonearest): Likewise.
16551 (cosh_test_towardzero): Likewise.
16552 (cosh_test_downward): Likewise.
16553 (cosh_test_upward): Likewise.
16554 (cpow_test): Likewise.
16555 (csin_test): Likewise.
16556 (csinh_test): Likewise.
16557 (csqrt_test): Likewise.
16558 (ctan_test): Likewise.
16559 (ctan_test_tonearest): Likewise.
16560 (ctan_test_towardzero): Likewise.
16561 (ctan_test_downward): Likewise.
16562 (ctan_test_upward): Likewise.
16563 (ctanh_test): Likewise.
16564 (ctanh_test_tonearest): Likewise.
16565 (ctanh_test_towardzero): Likewise.
16566 (ctanh_test_downward): Likewise.
16567 (ctanh_test_upward): Likewise.
16568 (erf_test): Likewise.
16569 (erfc_test): Likewise.
16570 (exp_test): Likewise.
16571 (exp_test_tonearest): Likewise.
16572 (exp_test_towardzero): Likewise.
16573 (exp_test_downward): Likewise.
16574 (exp_test_upward): Likewise.
16575 (exp10_test): Likewise.
16576 (exp2_test): Likewise.
16577 (expm1_test): Likewise.
16578 (fmod_test): Likewise.
16579 (gamma_test): Likewise.
16580 (hypot_test): Likewise.
16581 (j0_test): Likewise.
16582 (j1_test): Likewise.
16583 (jn_test): Likewise.
16584 (lgamma_test): Likewise.
16585 (log_test): Likewise.
16586 (log10_test): Likewise.
16587 (log1p_test): Likewise.
16588 (log2_test): Likewise.
16589 (logb_test_downward): Likewise.
16590 (pow_test): Likewise.
16591 (pow_test_tonearest): Likewise.
16592 (pow_test_towardzero): Likewise.
16593 (pow_test_downward): Likewise.
16594 (pow_test_upward): Likewise.
16595 (remainder_test): Likewise.
16596 (remquo_test): Likewise.
16597 (sin_test): Likewise.
16598 (sin_test_tonearest): Likewise.
16599 (sin_test_towardzero): Likewise.
16600 (sin_test_downward): Likewise.
16601 (sin_test_upward): Likewise.
16602 (sincos_test): Likewise.
16603 (sinh_test): Likewise.
16604 (sinh_test_tonearest): Likewise.
16605 (sinh_test_towardzero): Likewise.
16606 (sinh_test_downward): Likewise.
16607 (sinh_test_upward): Likewise.
16608 (sqrt_test): Likewise.
16609 (tan_test): Likewise.
16610 (tan_test_tonearest): Likewise.
16611 (tan_test_towardzero): Likewise.
16612 (tan_test_downward): Likewise.
16613 (tan_test_upward): Likewise.
16614 (tanh_test): Likewise.
16615 (tgamma_test): Likewise.
16616 (y0_test): Likewise.
16617 (y1_test): Likewise.
16618 (yn_test): Likewise.
16620 * math/gen-libm-test.pl (adjust_arg): Remove function.
16621 (special_function): Remove argument $in_func. Only handle
16622 generating output for tables of tests, not inside functions.
16623 (parse_args): Likewise.
16624 (generate_testfile): Remove variable $in_func. Update call to
16626 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
16627 (MINUS_ZERO_INIT): Rename macro to minus_zero.
16628 (PLUS_INFTY_INIT): Rename macro to plus_infty.
16629 (MINUS_INFTY_INIT): Rename macro to minus_infty.
16630 (QNAN_VALUE_INIT): Rename macro to qnan_value.
16631 (MAX_VALUE_INIT): Rename macro to max_value.
16632 (MIN_VALUE_INIT): Rename macro to min_value.
16633 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
16634 (plus_zero): Remove variable.
16635 (minus_zero): Likewise.
16636 (plus_infty): Likewise.
16637 (minus_infty): Likewise.
16638 (qnan_value): Likewise.
16639 (max_value): Likewise.
16640 (min_value): Likewise.
16641 (min_subnorm_value): Likewise.
16643 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16645 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
16646 uint64_t or uint32_t usage.
16647 * crypt/sha256-block.c: Likewise.
16648 * crypt/sha256-crypt.c: Likewise.
16649 * crypt/sha256.c: Likewise.
16650 * crypt/sha512-block.c: Likewise.
16651 * crypt/sha512-crypt.c: Likewise.
16652 * crypt/sha512.c: Likewise.
16653 * debug/backtrace-tst.c: Likewise.
16654 * debug/pcprofiledump.c: Likewise.
16655 * elf/cache.c: Likewise.
16656 * elf/dl-cache.c: Likewise.
16657 * elf/dl-misc.c: Likewise.
16658 * elf/dl-profile.c: Likewise.
16659 * elf/dl-support.c: Likewise.
16660 * elf/ldconfig.c: Likewise.
16661 * elf/sprof.c: Likewise.
16662 * iconv/dummy-repertoire.c: Likewise.
16663 * iconv/iconv_charmap.c: Likewise.
16664 * iconv/skeleton.c: Likewise.
16665 * iconvdata/8bit-generic.c: Likewise.
16666 * iconvdata/cp737.h: Likewise.
16667 * iconvdata/cp775.h: Likewise.
16668 * iconvdata/ibm1008.h: Likewise.
16669 * iconvdata/ibm1025.h: Likewise.
16670 * iconvdata/ibm1046.h: Likewise.
16671 * iconvdata/ibm1097.h: Likewise.
16672 * iconvdata/ibm1112.h: Likewise.
16673 * iconvdata/ibm1122.h: Likewise.
16674 * iconvdata/ibm1123.h: Likewise.
16675 * iconvdata/ibm1124.h: Likewise.
16676 * iconvdata/ibm1129.h: Likewise.
16677 * iconvdata/ibm1130.h: Likewise.
16678 * iconvdata/ibm1132.h: Likewise.
16679 * iconvdata/ibm1133.h: Likewise.
16680 * iconvdata/ibm1137.h: Likewise.
16681 * iconvdata/ibm1140.h: Likewise.
16682 * iconvdata/ibm1141.h: Likewise.
16683 * iconvdata/ibm1142.h: Likewise.
16684 * iconvdata/ibm1143.h: Likewise.
16685 * iconvdata/ibm1144.h: Likewise.
16686 * iconvdata/ibm1145.h: Likewise.
16687 * iconvdata/ibm1146.h: Likewise.
16688 * iconvdata/ibm1147.h: Likewise.
16689 * iconvdata/ibm1148.h: Likewise.
16690 * iconvdata/ibm1149.h: Likewise.
16691 * iconvdata/ibm1153.h: Likewise.
16692 * iconvdata/ibm1154.h: Likewise.
16693 * iconvdata/ibm1155.h: Likewise.
16694 * iconvdata/ibm1156.h: Likewise.
16695 * iconvdata/ibm1157.h: Likewise.
16696 * iconvdata/ibm1158.h: Likewise.
16697 * iconvdata/ibm1160.h: Likewise.
16698 * iconvdata/ibm1161.h: Likewise.
16699 * iconvdata/ibm1162.h: Likewise.
16700 * iconvdata/ibm1163.h: Likewise.
16701 * iconvdata/ibm1164.h: Likewise.
16702 * iconvdata/ibm1166.h: Likewise.
16703 * iconvdata/ibm1167.h: Likewise.
16704 * iconvdata/ibm12712.h: Likewise.
16705 * iconvdata/ibm1390.h: Likewise.
16706 * iconvdata/ibm1399.h: Likewise.
16707 * iconvdata/ibm16804.h: Likewise.
16708 * iconvdata/ibm4517.h: Likewise.
16709 * iconvdata/ibm4899.h: Likewise.
16710 * iconvdata/ibm4909.h: Likewise.
16711 * iconvdata/ibm4971.h: Likewise.
16712 * iconvdata/ibm5347.h: Likewise.
16713 * iconvdata/ibm803.h: Likewise.
16714 * iconvdata/ibm856.h: Likewise.
16715 * iconvdata/ibm901.h: Likewise.
16716 * iconvdata/ibm902.h: Likewise.
16717 * iconvdata/ibm9030.h: Likewise.
16718 * iconvdata/ibm9066.h: Likewise.
16719 * iconvdata/ibm921.h: Likewise.
16720 * iconvdata/ibm922.h: Likewise.
16721 * iconvdata/ibm9448.h: Likewise.
16722 * iconvdata/isiri-3342.h: Likewise.
16723 * iconvdata/jis0201.h: Likewise.
16724 * include/link.h: Likewise.
16725 * include/netdb.h: Likewise.
16726 * inet/check_native.c: Likewise.
16727 * inet/check_pf.c: Likewise.
16728 * inet/getipv4sourcefilter.c: Likewise.
16729 * inet/getnameinfo.c: Likewise.
16730 * inet/getsourcefilter.c: Likewise.
16731 * inet/htonl.c: Likewise.
16732 * inet/setipv4sourcefilter.c: Likewise.
16733 * inet/setsourcefilter.c: Likewise.
16734 * inet/test-inet6_opt.c: Likewise.
16735 * inet/tst-network.c: Likewise.
16736 * locale/C-collate.c: Likewise.
16737 * locale/C-ctype.c: Likewise.
16738 * locale/C-time.c: Likewise.
16739 * locale/C-translit.h: Likewise.
16740 * locale/loadarchive.c: Likewise.
16741 * locale/programs/3level.h: Likewise.
16742 * locale/programs/charmap.c: Likewise.
16743 * locale/programs/charmap.h: Likewise.
16744 * locale/programs/ld-address.c: Likewise.
16745 * locale/programs/ld-collate.c: Likewise.
16746 * locale/programs/ld-ctype.c: Likewise.
16747 * locale/programs/ld-identification.c: Likewise.
16748 * locale/programs/ld-measurement.c: Likewise.
16749 * locale/programs/ld-messages.c: Likewise.
16750 * locale/programs/ld-monetary.c: Likewise.
16751 * locale/programs/ld-name.c: Likewise.
16752 * locale/programs/ld-numeric.c: Likewise.
16753 * locale/programs/ld-paper.c: Likewise.
16754 * locale/programs/ld-telephone.c: Likewise.
16755 * locale/programs/ld-time.c: Likewise.
16756 * locale/programs/linereader.c: Likewise.
16757 * locale/programs/locale.c: Likewise.
16758 * locale/programs/locarchive.c: Likewise.
16759 * locale/programs/locfile.h: Likewise.
16760 * locale/programs/repertoire.c: Likewise.
16761 * locale/programs/simple-hash.c: Likewise.
16762 * locale/programs/simple-hash.h: Likewise.
16763 * malloc/memusage.c: Likewise.
16764 * malloc/memusagestat.c: Likewise.
16765 * nis/nis_defaults.c: Likewise.
16766 * nis/nis_hash.c: Likewise.
16767 * nis/nis_print.c: Likewise.
16768 * nis/nis_xdr.c: Likewise.
16769 * nscd/connections.c: Likewise.
16770 * nscd/hstcache.c: Likewise.
16771 * nscd/nscd_gethst_r.c: Likewise.
16772 * nscd/nscd_getserv_r.c: Likewise.
16773 * nscd/nscd_helper.c: Likewise.
16774 * nscd/servicescache.c: Likewise.
16775 * nss/makedb.c: Likewise.
16776 * nss/nss_db/db-XXX.c: Likewise.
16777 * nss/nss_db/db-initgroups.c: Likewise.
16778 * nss/nss_db/db-netgrp.c: Likewise.
16779 * nss/nss_files/files-network.c: Likewise.
16780 * nss/nss_files/files-parse.c: Likewise.
16781 * posix/bug-regex5.c: Likewise.
16782 * posix/fnmatch_loop.c: Likewise.
16783 * posix/regcomp.c: Likewise.
16784 * posix/regexec.c: Likewise.
16785 * posix/tst-rfc3484-2.c: Likewise.
16786 * posix/tst-rfc3484-3.c: Likewise.
16787 * posix/tst-rfc3484.c: Likewise.
16788 * resolv/nss_dns/dns-canon.c: Likewise.
16789 * resolv/nss_dns/dns-network.c: Likewise.
16790 * resolv/res_init.c: Likewise.
16791 * resolv/res_mkquery.c: Likewise.
16792 * resolv/tst-aton.c: Likewise.
16793 * stdlib/cxa_atexit.c: Likewise.
16794 * stdlib/cxa_finalize.c: Likewise.
16795 * stdlib/gen-fpioconst.c: Likewise.
16796 * stdlib/strtol_l.c: Likewise.
16797 * string/tst-endian.c: Likewise.
16798 * sunrpc/auth_des.c: Likewise.
16799 * sunrpc/clnt_udp.c: Likewise.
16800 * sunrpc/rtime.c: Likewise.
16801 * sunrpc/svcauth_des.c: Likewise.
16802 * sunrpc/xdr.c: Likewise.
16803 * sunrpc/xdr_intXX_t.c: Likewise.
16804 * sunrpc/xdr_rec.c: Likewise.
16805 * sysdeps/generic/ldconfig.h: Likewise.
16806 * sysdeps/generic/ldsodefs.h: Likewise.
16807 * sysdeps/generic/memusage.h: Likewise.
16808 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
16809 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
16810 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
16811 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
16812 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
16813 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16814 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
16815 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
16816 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16818 * sysdeps/posix/getaddrinfo.c: Likewise.
16819 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
16820 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16821 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
16822 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
16823 * sysdeps/powerpc/test-gettimebase.c: Likewise.
16824 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16825 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
16826 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
16827 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
16828 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
16829 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16830 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16831 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
16832 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
16833 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
16834 * sysdeps/x86_64/dl-tls.h: Likewise.
16835 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
16836 * time/alt_digit.c: Likewise.
16837 * time/era.c: Likewise.
16838 * wcsmbs/tst-c16c32-1.c: Likewise.
16840 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16842 * math/libm-test.inc (struct test_sincos_data): New type.
16843 (RUN_TEST_LOOP_sincos): New macro.
16844 (sincos_test_data): New variable.
16845 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
16847 2013-05-16 Richard Henderson <rth@redhat.com>
16849 * math/atest-exp2.c (LIMB64): New macro.
16850 (CONSTSZ): New macro.
16851 (mp_exp1, mp_exp_m1, mp_log2): New variables.
16853 (print_mpn_fp): ... to function scope.
16854 (read_mpn_hex): Remove.
16855 (get_log2): Remove.
16856 (exp2_mpn): Use mp_log2.
16857 (main): Use mp_exp1.
16859 2013-05-16 Joseph Myers <joseph@codesourcery.com>
16861 * math/libm-test.inc: Remove comment about not testing "inexact"
16863 (INEXACT_EXCEPTION): New macro.
16864 (NO_INEXACT_EXCEPTION): Likewise.
16865 (INVALID_EXCEPTION_OK): Update value.
16866 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16867 (OVERFLOW_EXCEPTION_OK): Likewise.
16868 (UNDERFLOW_EXCEPTION_OK): Likewise.
16869 (IGNORE_ZERO_INF_SIGN): Likewise.
16870 (ERRNO_UNCHANGED): Likewise.
16871 (ERRNO_EDOM): Likewise.
16872 (ERRNO_ERANGE): Likewise.
16873 (test_exceptions): Handle testing "inexact" exceptions.
16874 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
16875 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
16876 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
16877 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
16879 (rint_towardzero_test_data): Likewise.
16880 (rint_downward_test_data): Likewise.
16881 (rint_upward_test_data): Likewise.
16883 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
16884 with OVERFLOW_EXCEPTION.
16885 (exp10_test_data): Likewise.
16886 (exp2_test_data): Likewise.
16887 (expm1_test_data): Likewise.
16888 (lgamma_test_data): Likewise.
16889 (pow_test_data): Likewise.
16890 (tgamma_test_data): Likewise.
16891 (yn_test_data): Remove duplicate test of overflow.
16893 * math/libm-test.inc (struct test_cc_c_data): New type.
16894 (RUN_TEST_LOOP_cc_c): New macro.
16895 (cpow_test_data): New variable.
16896 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
16898 * math/libm-test.inc (struct test_f_L_data): New type.
16899 (RUN_TEST_LOOP_f_L): New macro.
16900 (llrint_test_data): New variable.
16901 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
16902 (llrint_tonearest_test_data): New variable.
16903 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
16904 (llrint_towardzero_test_data): New variable.
16905 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
16906 (llrint_downward_test_data): New variable.
16907 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
16908 (llrint_upward_test_data): New variable.
16909 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
16910 (llround_test_data): New variable.
16911 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
16913 2013-05-13 Peter Collingbourne <pcc@google.com>
16915 * math/atest-exp2.c (get_log2): Remove const attribute.
16917 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16919 * math/libm-test.inc (struct test_f_l_data): New type.
16920 (RUN_TEST_LOOP_f_l): New macro.
16921 (lrint_test_data): New variable.
16922 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
16923 (lrint_tonearest_test_data): New variable.
16924 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
16925 (lrint_towardzero_test_data): New variable.
16926 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
16927 (lrint_downward_test_data): New variable.
16928 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
16929 (lrint_upward_test_data): New variable.
16930 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
16931 (lround_test_data): New variable.
16932 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
16934 2013-05-15 Peter Collingbourne <pcc@google.com>
16936 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
16937 (EXTRACT_WORDS64) Use where appropriate.
16938 (INSERT_WORDS64) Likewise.
16940 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
16941 constraints with x constraints.
16942 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
16944 * malloc/obstack.c (_obstack_compat): Add initializer.
16946 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
16948 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
16949 si_trapno and add si_addr_lsb to _sifields.sigfault.
16950 (si_trapno): Remove macro.
16951 (si_addr_lsb): Define new macro.
16952 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16954 2013-05-15 Joseph Myers <joseph@codesourcery.com>
16956 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
16957 instead of TEST_f_l.
16958 (llrint_test_tonearest): Likewise.
16959 (llrint_test_towardzero): Likewise.
16960 (llrint_test_downward): Likewise.
16961 (llrint_test_upward): Likewise.
16962 (llround_test): Likewise.
16964 * math/libm-test.inc (struct test_f_i_data): Add comment.
16965 (RUN_TEST_LOOP_f_b): New macro.
16966 (RUN_TEST_LOOP_f_b_tg): Likewise.
16967 (finite_test_data): New variable.
16968 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
16969 (isfinite_test_data): New variable.
16970 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16971 (isinf_test_data): New variable.
16972 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16973 (isnan_test_data): New variable.
16974 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16975 (isnormal_test_data): New variable.
16976 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16977 (issignaling_test_data): New variable.
16978 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16979 (signbit_test_data): New variable.
16980 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
16982 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
16983 with INVALID_EXCEPTION.
16984 (acosh_test_data): Likewise.
16985 (asin_test_data): Likewise.
16986 (atanh_test_data): Likewise.
16987 (fmod_test_data): Likewise.
16988 (log_test_data): Likewise.
16989 (log10_test_data): Likewise.
16990 (log2_test_data): Likewise.
16991 (pow_test_data): Likewise.
16992 (sqrt_test_data): Likewise.
16993 (y0_test_data): Likewise.
16994 (y1_test_data): Likewise.
16995 (yn_test_data): Likewise.
16997 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17000 * math/libm-test.inc (struct test_ff_i_data): New type.
17001 (RUN_TEST_LOOP_ff_i_tg): New macro.
17002 (isgreater_test_data): New variable.
17003 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17004 (isgreaterequal_test_data): New variable.
17005 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17006 (isless_test_data): New variable.
17007 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17008 (islessequal_test_data): New variable.
17009 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17010 (islessgreater_test_data): New variable.
17011 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17012 (isunordered_test_data): New variable.
17013 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17015 2013-05-14 David S. Miller <davem@davemloft.net>
17017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17019 2013-05-14 Joseph Myers <joseph@codesourcery.com>
17021 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17023 * math/libm-test.inc (struct test_fF_f1_data): Change type of
17025 (struct test_f_i_data): Change type of max_ulp to int.
17027 * math/libm-test.inc (test_ffI_f1_data): New type.
17028 (RUN_TEST_LOOP_ffI_f1): New macro.
17029 (remquo_test_data): New variable.
17030 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17032 * setjmp/tst-setjmp-fp.c: New file.
17033 * setjmp/Makefile (tests): Add tst-setjmp-fp.
17034 (link-libm): New variable.
17035 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17037 * math/libm-test.inc (struct test_f_i_data): New type.
17038 (RUN_TEST_LOOP_f_i): New macro.
17039 (RUN_TEST_LOOP_f_i_tg): Likewise.
17040 (fpclassify_test_data): New variable.
17041 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17042 (ilogb_test_data): New variable.
17043 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17045 * math/libm-test.inc (scalbln_test): Correct function name in END
17048 * math/libm-test.inc (struct test_f_f1_data): Add comment.
17049 (RUN_TEST_LOOP_fI_f1): New macro.
17050 (frexp_test_data): New variable.
17051 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17053 * math/libm-test.inc (struct test_fF_f1_data): New type.
17054 (RUN_TEST_LOOP_fF_f1): New macro.
17055 (modf_test_data): New variable.
17056 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17058 * math/libm-test.inc (struct test_f_f1_data): New type.
17059 (RUN_TEST_LOOP_f_f1): New macro.
17060 (gamma_test_data): New variable.
17061 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17062 (lgamma_test_data): New variable.
17063 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17065 2013-05-13 Carlos O'Donell <carlos@redhat.com>
17067 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17068 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17069 (main): Comment "tls" pseudo-hwcap.
17071 2013-05-13 Joseph Myers <joseph@codesourcery.com>
17073 * math/libm-test.inc (struct test_fl_f_data): New type.
17074 (RUN_TEST_LOOP_fl_f): New variable.
17075 (scalbln_test_data): New variable.
17076 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17078 * math/libm-test.inc (struct test_fi_f_data): New type.
17079 (RUN_TEST_LOOP_fi_f): New macro.
17080 (ldexp_test_data): New variable.
17081 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17082 (scalbn_test_data): New variable.
17083 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17085 * math/libm-test.inc (struct test_c_f_data): New type.
17086 (RUN_TEST_LOOP_c_f): New macro.
17087 (cabs_test_data): New variable.
17088 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17089 (carg_test_data): New variable.
17090 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17091 (cimag_test_data): New variable.
17092 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17093 (creal_test_data): New variable.
17094 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17096 * math/libm-test.inc (struct test_if_f_data): New type.
17097 (RUN_TEST_LOOP_if_f): New macro.
17098 (jn_test_data): New variable.
17099 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17100 (yn_test_data): New variable.
17101 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17103 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17105 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17107 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17108 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17110 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17112 * benchtests/Makefile (CPPFLAGS-nonlib): Add
17113 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17114 (bench-deps): Add bench-timing.h.
17115 * benchtests-bench-skeleton.c: Include bench-timing.h.
17116 (main): Use TIMING_* macros instead of clock_gettime.
17117 * benchtests/bench-timing.h: New file.
17120 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17121 Renamed from _LIB_VERSION.
17122 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17124 2013-05-12 Joseph Myers <joseph@codesourcery.com>
17126 * math/libm-test.inc (struct test_fff_f_data): New type.
17127 (RUN_TEST_LOOP_fff_f): New macro.
17128 (fma_test_data): New variable.
17129 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17130 (fma_towardzero_test_data): New variable.
17131 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17132 (fma_downward_test_data): New variable.
17133 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17134 (fma_upward_test_data): New variable.
17135 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17137 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17138 (struct test_c_c_data): New type.
17139 (RUN_TEST_LOOP_c_c): New macro.
17140 (cacos_test_data): New variable.
17141 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17142 (cacosh_test_data): New variable.
17143 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17144 (casin_test_data): New variable.
17145 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17146 (casinh_test_data): New variable.
17147 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17148 (catan_test_data): New variable.
17149 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17150 (catanh_test_data): New variable.
17151 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17152 (ccos_test_data): New variable.
17153 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17154 (ccosh_test_data): New variable.
17155 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17156 (cexp_test_data): New variable.
17157 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17158 (clog_test_data): New variable.
17159 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17160 (clog10_test_data): New variable.
17161 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17162 (conj_test_data): New variable.
17163 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17164 (cproj_test_data): New variable.
17165 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17166 (csin_test_data): New variable.
17167 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17168 (csinh_test_data): New variable.
17169 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17170 (csqrt_test_data): New variable.
17171 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17172 (ctan_test_data): New variable.
17173 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17174 (ctan_tonearest_test_data): New variable.
17175 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17176 (ctan_towardzero_test_data): New variable.
17177 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17178 (ctan_downward_test_data): New variable.
17179 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17180 (ctan_upward_test_data): New variable.
17181 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17182 (ctanh_test_data): New variable.
17183 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17184 (ctanh_tonearest_test_data): New variable.
17185 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17186 (ctanh_towardzero_test_data): New variable.
17187 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17188 (ctanh_downward_test_data): New variable.
17189 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17190 (ctanh_upward_test_data): New variable.
17191 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17192 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17195 * math/libm-test.inc (struct test_ff_f_data): New type.
17196 (struct test_ff_f_data_nexttoward): Likewise.
17197 (RUN_TEST_LOOP_2_f): New macro.
17198 (RUN_TEST_LOOP_ff_f): Likewise.
17199 (atan2_test_data): New variable.
17200 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17201 (copysign_test_data): New variable.
17202 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17203 (fdim_test_data): New variable.
17204 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17205 (fmax_test_data): New variable.
17206 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17207 (fmin_test_data): New variable.
17208 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17209 (fmod_test_data): New variable.
17210 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17211 (hypot_test_data): New variable.
17212 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17213 (nextafter_test_data): New variable.
17214 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17215 (nexttoward_test_data): New variable.
17216 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17217 (pow_test_data): New variable.
17218 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17219 (pow_tonearest_test_data): New variable.
17220 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17221 (pow_towardzero_test_data): New variable.
17222 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17223 (pow_downward_test_data): New variable.
17224 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17225 (pow_upward_test_data): New variable.
17226 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17227 (remainder_test_data): New variable.
17228 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17229 (scalb_test_data): New variable.
17230 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17231 * sysdeps/i386/fpu/libm-test-ulps: Update.
17233 2013-05-11 Joseph Myers <joseph@codesourcery.com>
17235 * math/libm-test.inc (fma_test): Use max_value instead of local
17237 (nextafter_test): Likewise.
17239 * math/libm-test.inc (acos_towardzero_test_data): New variable.
17240 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17241 (acos_downward_test_data): New variable.
17242 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17243 (acos_upward_test_data): New variable.
17244 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17245 (acosh_test_data): New variable.
17246 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17247 (asin_test_data): New variable.
17248 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17249 (asin_tonearest_test_data): New variable.
17250 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17251 (asin_towardzero_test_data): New variable.
17252 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17253 (asin_downward_test_data): New variable.
17254 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17255 (asin_upward_test_data): New variable.
17256 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17257 (asinh_test_data): New variable.
17258 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17259 (atan_test_data): New variable.
17260 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17261 (atanh_test_data): New variable.
17262 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17263 (cbrt_test_data): New variable.
17264 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17265 (ceil_test_data): New variable.
17266 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17267 (cos_test_data): New variable.
17268 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17269 (cos_tonearest_test_data): New variable.
17270 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17271 (cos_towardzero_test_data): New variable.
17272 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17273 (cos_downward_test_data): New variable.
17274 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17275 (cos_upward_test_data): New variable.
17276 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17277 (cosh_test_data): New variable.
17278 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17279 (cosh_tonearest_test_data): New variable.
17280 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17281 (cosh_towardzero_test_data): New variable.
17282 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17283 (cosh_downward_test_data): New variable.
17284 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17285 (cosh_upward_test_data): New variable.
17286 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17287 (erf_test_data): New variable.
17288 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17289 (erfc_test_data): New variable.
17290 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17291 (exp_test_data): New variable.
17292 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17293 (exp_tonearest_test_data): New variable.
17294 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17295 (exp_towardzero_test_data): New variable.
17296 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17297 (exp_downward_test_data): New variable.
17298 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17299 (exp_upward_test_data): New variable.
17300 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17301 (exp10_test_data): New variable.
17302 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17303 (exp2_test_data): New variable.
17304 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17305 (expm1_test_data): New variable.
17306 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17307 (fabs_test_data): New variable.
17308 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17309 (floor_test_data): New variable.
17310 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17311 (j0_test_data): New variable.
17312 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17313 (j1_test_data): New variable.
17314 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17315 (log_test_data): New variable.
17316 (log_test): Run tests with RUN_TEST_LOOP_f_f.
17317 (log10_test_data): New variable.
17318 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17319 (log1p_test_data): New variable.
17320 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17321 (log2_test_data): New variable.
17322 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17323 (logb_test_data): New variable.
17324 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17325 (logb_downward_test_data): New variable.
17326 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17327 (nearbyint_test_data): New variable.
17328 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17329 (rint_test_data): New variable.
17330 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
17331 (rint_tonearest_test_data): New variable.
17332 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17333 (rint_towardzero_test_data): New variable.
17334 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17335 (rint_downward_test_data): New variable.
17336 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17337 (rint_upward_test_data): New variable.
17338 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17339 (round_test_data): New variable.
17340 (round_test): Run tests with RUN_TEST_LOOP_f_f.
17341 (sin_test_data): New variable.
17342 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
17343 (sin_tonearest_test_data): New variable.
17344 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17345 (sin_towardzero_test_data): New variable.
17346 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17347 (sin_downward_test_data): New variable.
17348 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17349 (sin_upward_test_data): New variable.
17350 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17351 (sinh_test_data): New variable.
17352 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
17353 (sinh_tonearest_test_data): New variable.
17354 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17355 (sinh_towardzero_test_data): New variable.
17356 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17357 (sinh_downward_test_data): New variable.
17358 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17359 (sinh_upward_test_data): New variable.
17360 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17361 (sqrt_test_data): New variable.
17362 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
17363 (tan_test_data): New variable.
17364 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
17365 (tan_tonearest_test_data): New variable.
17366 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17367 (tan_towardzero_test_data): New variable.
17368 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17369 (tan_downward_test_data): New variable.
17370 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17371 (tan_upward_test_data): New variable.
17372 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17373 (tanh_test_data): New variable.
17374 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
17375 (tgamma_test_data): New variable.
17376 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
17377 (trunc_test_data): New variable.
17378 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
17379 (y0_test_data): New variable.
17380 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
17381 (y1_test_data): New variable.
17382 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
17383 (significand_test_data): New variable.
17384 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
17386 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
17389 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
17391 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
17393 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
17395 2013-05-10 Andreas Jaeger <aj@suse.de>
17398 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
17399 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
17401 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17403 * math/gen-libm-test.pl (adjust_arg): New function.
17404 (special_functions): Handle generating output in both functions
17406 (parse_args): Likewise.
17407 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
17408 $in_func argument to parse_args.
17409 * math/libm-test.inc (struct test_f_f_data): New type.
17410 (IF_ROUND_INIT_): New macro.
17411 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
17412 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
17413 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
17414 (IF_ROUND_INIT_FE_UPWARD): Likewise.
17415 (ROUND_RESTORE_): Likewise.
17416 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
17417 (ROUND_RESTORE_FE_TONEAREST): Likewise.
17418 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
17419 (ROUND_RESTORE_FE_UPWARD): Likewise.
17420 (RUN_TEST_LOOP_f_f): New macro.
17421 (acos_test_data): New variable.
17422 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
17423 (acos_tonearest_test_data): New variable.
17424 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17426 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17428 * benchtests/bench-skeleton.c (startup): Fix coding style.
17430 2013-05-10 Joseph Myers <joseph@codesourcery.com>
17433 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
17434 negative infinity argument.
17435 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
17436 negative infinity argument.
17437 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
17438 negative infinity argument.
17439 * math/libm-test.inc (tgamma_test): Expect errno to be set for
17442 2013-05-10 Florian Weimer <fweimer@redhat.com>
17444 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
17445 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
17446 * iconv/iconv_prog.c (main): Likewise.
17447 * locale/programs/charmap-dir.c (charmap_readdir)
17448 (fopen_uncompressed): Likewise.
17449 * locale/programs/locfile.c (siblings_uncached)
17450 (write_locale_data): Use lstat64 instead of lstat.
17451 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
17454 2013-05-10 Andreas Jaeger <aj@suse.de>
17457 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
17459 Include <locale.h>.
17461 2013-05-09 Carlos O'Donell <carlos@redhat.com>
17463 * elf/dl-close.c (_dl_close_worker): Add comments.
17465 2013-05-09 Joseph Myers <joseph@codesourcery.com>
17468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
17470 (__ieee754_rem_pio2l): Update comments.
17473 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
17475 (__ieee754_rem_pio2l): Update comments.
17477 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
17478 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
17480 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
17483 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
17484 (M_PI_34_LOG10El): Likewise.
17485 (M_PI2_LOG10El): Likewise.
17486 (M_PI4_LOG10El): Likewise.
17487 (M_PI_LOG10El): Likewise.
17489 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17493 2013-05-08 Joseph Myers <joseph@codesourcery.com>
17495 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
17496 (MINUS_ZERO_INIT): Likewise.
17497 (PLUS_INFTY_INIT): Likewise.
17498 (MINUS_INFTY_INIT): Likewise.
17499 (QNAN_VALUE_INIT): Likewise.
17500 (MAX_VALUE_INIT): Likewise.
17501 (MIN_VALUE_INIT): Likewise.
17502 (MIN_SUBNORM_VALUE_INIT): Likewise.
17503 (plus_zero): Initialize with PLUS_ZERO_INIT.
17504 (minus_zero): Initialize with MINUS_ZERO_INIT.
17505 (plus_infty): Initialize with PLUS_INFTY_INIT.
17506 (minus_infty): Initialize with MINUS_INFTY_INIT.
17507 (qnan_value): Initialize with QNAN_VALUE_INIT.
17508 (max_value): Initialize with MAX_VALUE_INIT.
17509 (min_value): Initialize with MIN_VALUE_INIT.
17510 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
17512 * math/libm-test.inc (RUN_TEST_if_f): New macro.
17513 (jn_test): Use TEST_if_f instead of TEST_ff_f.
17514 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
17515 (yn_test): Use TEST_if_f instead of TEST_ff_f.
17517 * math/libm-test.inc (RUN_TEST_f_f): New macro.
17518 (RUN_TEST_2_f): Likewise.
17519 (RUN_TEST_ff_f): Likewise.
17520 (RUN_TEST_fi_f): Likewise.
17521 (RUN_TEST_fl_f): Likewise.
17522 (RUN_TEST_fff_f): Likewise.
17523 (RUN_TEST_c_f): Likewise.
17524 (RUN_TEST_f_f1): Likewise.
17525 (RUN_TEST_fF_f1): Likewise.
17526 (RUN_TEST_fI_f1): Likewise.
17527 (RUN_TEST_ffI_f1): Likewise.
17528 (RUN_TEST_c_c): Likewise.
17529 (RUN_TEST_cc_c): Likewise.
17530 (RUN_TEST_f_i): Likewise.
17531 (RUN_TEST_f_i_tg): Likewise.
17532 (RUN_TEST_ff_i_tg): Likewise.
17533 (RUN_TEST_f_b): Likewise.
17534 (RUN_TEST_f_b_tg): Likewise.
17535 (RUN_TEST_f_l): Likewise.
17536 (RUN_TEST_f_L): Likewise.
17537 (RUN_TEST_sincos): Likewise.
17538 * math/gen-libm-test.pl (new_test): Take new argument to indicate
17539 whether to show exceptions. Do not include ");\n" in return
17541 (special_functions): Output call to RUN_TEST_sincos instead of
17542 check_float calls. Update calls to new_test.
17543 (parse_args): Output call to single RUN_TEST_* macro instead of
17544 check_* calls and other assignments. Update calls to new_test.
17550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
17551 input to result for tgamma overflow.
17552 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
17553 (gamma_coeff): New variable.
17554 (NCOEFF): New macro.
17555 (gamma_positive): New function.
17556 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
17557 underflow here. Use gamma_positive instead of exp (lgamma) for
17559 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
17560 (gamma_coeff): New variable.
17561 (NCOEFF): New macro.
17562 (gammaf_positive): New function.
17563 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
17564 underflow here. Use gamma_positive instead of exp (lgamma) for
17566 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
17567 (gamma_coeff): New variable.
17568 (NCOEFF): New macro.
17569 (gammal_positive): New function.
17570 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
17571 underflow here. Use gamma_positive instead of exp (lgamma) for
17573 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
17574 (gamma_coeff): New variable.
17575 (NCOEFF): New macro.
17576 (gammal_positive): New function.
17577 (__ieee754_gammal_r): Handle positive infinity, overflow and
17578 underflow here. Handle NaN the same as positive infinity. Remove
17579 check x < 0xffffffff for negative integers. Use gamma_positive
17580 instead of exp (lgamma) for other arguments.
17581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
17582 (gamma_coeff): New variable.
17583 (NCOEFF): New macro.
17584 (gammal_positive): New function.
17585 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
17586 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
17587 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17588 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
17589 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17590 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
17591 * sysdeps/generic/math_private.h (__gamma_productf): New
17593 (__gamma_product): Likewise.
17594 (__gamma_productl): Likewise.
17595 * math/Makefile (libm-calls): Add gamma_product.
17596 * math/libm-test.inc (tgamma_test): Add more tests.
17597 * sysdeps/i386/fpu/libm-test-ulps: Update.
17598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17600 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
17602 * benchtests/bench-skeleton.c (main): Preheat CPU.
17604 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
17606 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
17608 2013-05-07 Roland McGrath <roland@hack.frob.com>
17610 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
17611 and _dl_skip_args_internal.
17613 2013-05-07 Carlos O'Donell <carlos@redhat.com>
17615 * manual/message.texi (Message Translation): Talk about users.
17616 Message to key mapping impacts design.
17618 2013-05-06 Roland McGrath <roland@hack.frob.com>
17620 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
17622 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
17624 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
17625 * sysdeps/wordsize-64/glob64.c: ... here.
17627 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
17628 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
17631 * debug/getlogin_r_chk.c: Moved to ...
17632 * login/getlogin_r_chk.c: ... here.
17633 * debug/Makefile (routines): Move getlogin_r_chk to ...
17634 * login/Makefile (routines): ... here.
17635 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
17636 * login/Versions (libc: GLIBC_2.4): ... here.
17638 * io/poll.c (__poll): Renamed from poll.
17639 Add libc_hidden_def.
17640 (poll): Define as weak alias.
17642 * debug/ptsname_r_chk.c: Moved to ...
17643 * login/ptsname_r_chk.c: ... here.
17644 * debug/Makefile (routines): Move ptsname_r_chk to ...
17645 * login/Makefile (routines): ... here.
17646 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
17647 * login/Versions (libc: GLIBC_2.4): ... here.
17649 * posix/getlogin.c: Moved to ...
17650 * login/getlogin.c: ... here.
17651 * posix/getlogin_r.c: Moved to ...
17652 * login/getlogin_r.c: ... here.
17653 * posix/getlogin_r.c: Moved to ...
17654 * login/getlogin_r.c: ... here.
17655 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
17656 * login/Makefile (routines): ... here.
17657 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
17658 * login/Versions (libc: GLIBC_2.0): ... here.
17660 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
17661 (setrlimit): Define as weak alias.
17663 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
17664 Call __ names for open, ftruncate, and close.
17665 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
17666 (truncate): Define as weak alias.
17668 2013-05-06 Joseph Myers <joseph@codesourcery.com>
17670 * math/gen-libm-test.pl (parse_args): Initialize x before each
17671 test of frexp, modf and remquo.
17673 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
17674 test signgam value.
17676 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17680 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
17682 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17684 2013-05-06 Roland McGrath <roland@hack.frob.com>
17686 * elf/dl-writev.h: New file.
17687 * elf/dl-misc.c: Include it.
17688 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
17689 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
17691 2013-05-04 Joseph Myers <joseph@codesourcery.com>
17693 * math/libm-test.inc (noXFails): Remove variable.
17694 (noXPasses): Likewise.
17695 (BUILD_COMPLEX_INT): Remove macro.
17696 (print_screen): Remove xfail argument.
17697 (print_screen_max_error): Likewise.
17698 (update_stats): Likewise.
17699 (print_max_error): Likewise. Update calls to other affected
17701 (print_complex_max_error): Likewise.
17702 (test_single_exception): Update calls to print_screen.
17703 (test_single_errno): Likewise.
17704 (check_float_internal): Remove xfail argument. Update calls to
17705 other affected functions.
17706 (check_float): Likewise.
17707 (check_complex): Likewise.
17708 (check_int): Likewise.
17709 (check_long): Likewise.
17710 (check_bool): Likewise.
17711 (check_longlong): Likewise.
17712 (main): Don't print noXFails and noXPasses.
17713 * math/gen-libm-test.pl (top level): Don't mention expected
17714 failure handling in comment.
17715 (new_test): Don't handle expected failures.
17716 (parse_args): Don't mention expected failure handling in comment.
17717 (generate_testfile): Don't handle expected failures.
17718 (parse_ulps): Likewise.
17719 (print_ulps_file): Likewise.
17720 (get_failure): Remove function.
17721 (output_test): Don't handle expected failures.
17722 * make/README.libm-test: Don't mention expected failure handling.
17724 * math/libm-test.inc (plus_zero): Make const. Add initializer.
17725 (minus_zero): Likewise.
17726 (plus_infty): Likewise.
17727 (minus_infty): Likewise.
17728 (qnan_value): Likewise.
17729 (max_value): Likewise.
17730 (min_value): Likewise.
17731 (min_subnorm_value): Likewise.
17732 (initialize): Do not initialize those variables dynamically.
17734 2013-05-03 Roland McGrath <roland@hack.frob.com>
17736 * io/open.c (__open_2): Moved to ...
17737 * io/open_2.c: ... this new file.
17738 * io/open64.c (__open64_2): Moved to ...
17739 * io/open64_2.c: ... this new file.
17740 * io/openat.c (__openat_2): Moved to ...
17741 * io/openat_2.c: ... this new file.
17742 * io/openat64.c (__openat64_2): Moved to ...
17743 * io/openat64_2.c: ... this new file.
17744 * io/Makefile (routines): Add them.
17745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
17746 * sysdeps/unix/sysv/linux/open_2.c: File removed.
17747 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
17748 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
17749 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
17750 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
17751 (__openat64): Add hidden_ver.
17752 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
17753 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
17755 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
17756 Separately conditionalize setting of GLRO(dl_sysinfo) so
17757 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
17758 as well, but the actual setting is only under [NEED_DL_SYSINFO].
17760 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17762 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
17763 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
17765 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
17766 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17767 (_libc_vdso_platform_setup): Add __vdso_time initialization.
17768 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
17769 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
17771 2013-05-03 Joseph Myers <joseph@codesourcery.com>
17773 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
17774 test signgam value.
17776 * math/libm-test.inc (hypot_test): Do not use
17777 IGNORE_ZERO_INF_SIGN.
17779 2013-05-03 Andreas Jaeger <aj@suse.de>
17781 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
17783 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
17784 (PF_MAX): Adjust for VSOCK change.
17786 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17788 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17790 2013-05-02 Carlos O'Donell <carlos@redhat.com>
17793 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
17794 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
17795 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
17797 2013-05-02 David S. Miller <davem@davemloft.net>
17799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17801 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
17803 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
17805 2013-05-01 Roland McGrath <roland@hack.frob.com>
17807 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
17809 2013-05-01 Richard Smith <richard@metafoo.co.uk>
17812 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
17813 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17814 Use __attribute__ ((__gnu_inline__)).
17815 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
17816 Don't use __attribute__ ((__gnu_inline__)).
17818 2013-05-01 Joseph Myers <joseph@codesourcery.com>
17821 * math/s_catan.c (__catan): Handle small real or imaginary part of
17822 input specially to avoid spurious underflow.
17823 * math/s_catanf.c (__catanf): Likewise.
17824 * math/s_catanh.c (__catanh): Likewise.
17825 * math/s_catanhf.c (__catanhf): Likewise.
17826 * math/s_catanhl.c (__catanhl): Likewise.
17827 * math/s_catanl.c (__catanl): Likewise.
17828 * math/libm-test.inc (catan_test): Add more tests.
17829 (catanh_test): Likewise.
17830 * sysdeps/i386/fpu/libm-test-ulps: Update.
17831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17833 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17837 2013-04-30 Joseph Myers <joseph@codesourcery.com>
17840 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
17841 accurately for denominator in atan2.
17842 * math/s_catanf.c (__catanf): Likewise.
17843 * math/s_catanh.c (__catanh): Likewise.
17844 * math/s_catanhf.c (__catanhf): Likewise.
17845 * math/s_catanhl.c (__catanhl): Likewise.
17846 * math/s_catanl.c (__catanl): Likewise.
17847 * math/libm-test.inc (catan_test): Add more tests.
17848 (catanh_test): Likewise.
17849 * sysdeps/i386/fpu/libm-test-ulps: Update.
17850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17852 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17854 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
17856 * benchtests/Makefile (bench): Remove slow benchmarks.
17857 * benchtests/atan-inputs: Add slow benchmark inputs.
17858 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
17859 (BENCH_FUNC): Accept variant offset.
17861 * benchtests/bench-skeleton.c (main): Run benchmark for each
17863 * benchtests/cos-inputs: Add slow benchmark inputs.
17864 * benchtests/exp-inputs: Likewise.
17865 * benchtests/pow-inputs: Likewise.
17866 * benchtests/sin-inputs: Likewise.
17867 * benchtests/slowatan-inputs: Remove.
17868 * benchtests/slowatan.c: Remove.
17869 * benchtests/slowcos-inputs: Remove.
17870 * benchtests/slowcos.c: Remove.
17871 * benchtests/slowexp-inputs: Remove.
17872 * benchtests/slowexp.c: Remove.
17873 * benchtests/slowpow-inputs: Remove.
17874 * benchtests/slowpow.c: Remove.
17875 * benchtests/slowsin-inputs: Remove.
17876 * benchtests/slowsin.c: Remove.
17877 * benchtests/slowtan-inputs: Remove.
17878 * benchtests/slowtan.c: Remove.
17879 * benchtests/tan-inputs: Add slow benchmark inputs.
17880 * scripts/bench.pl: Parse comments and directives.
17882 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
17884 ($(objpfx)bench-%.c): Remove *-ITER.
17885 * benchtests/bench-modf.c: Remove definition of ITER.
17886 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
17887 (main): Loop for DURATION seconds instead of fixed number of
17889 * scripts/bench.pl: Don't expect iterations in parameters.
17891 2013-04-29 Roland McGrath <roland@hack.frob.com>
17893 * io/fchdir.c (__fchdir): Renamed from fchdir.
17894 (fchdir): Define as weak alias.
17896 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17898 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
17899 (ERRNO_EDOM): Likewise.
17900 (ERRNO_ERANGE): Likewise.
17901 (noErrnoTests): New variable.
17902 (init_max_error): Set errno to 0.
17903 (test_single_errno): New function.
17904 (test_errno): Likewise.
17905 (check_float_internal): Call test_errno. Set errno to 0.
17906 (check_complex): Refer to errno tests in comment.
17907 (check_int): Call test_errno. Set errno to 0.
17908 (check_long): Likewise.
17909 (check_bool): Likewise.
17910 (check_longlong): Likewise.
17911 (cos_test): Use ERRNO_* flags for errno tests instead of
17913 (expm1_test): Likewise.
17914 (fmod_test): Likewise.
17915 (ilogb_test): Likewise.
17916 (lgamma_test): Likewise.
17917 (pow_test): Likewise.
17918 (remainder_test): Likewise.
17919 (sin_test): Likewise.
17920 (tan_test): Likewise.
17921 (yn_test): Likewise.
17922 (initialize): Set errno to 0.
17923 (main): Print number of errno tests.
17924 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
17926 2013-04-29 Andreas Jaeger <aj@suse.de>
17929 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
17933 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
17934 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
17938 * stdlib/random.c (__initstate): Return NULL if
17942 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
17943 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
17946 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17950 2013-04-29 Joseph Myers <joseph@codesourcery.com>
17952 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
17953 of individual tests.
17954 (casin_test): Likewise.
17955 (casinh_test): Likewise.
17957 2013-04-27 Joseph Myers <joseph@codesourcery.com>
17960 * math/s_catan.c (__catan): Handle arguments with large real or
17961 imaginary part separately without squaring.
17962 * math/s_catanf.c (__catanf): Likewise.
17963 * math/s_catanh.c (__catanh): Likewise.
17964 * math/s_catanhf.c (__catanhf): Likewise.
17965 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17967 (__catanhl): Handle arguments with large real or imaginary part
17968 separately without squaring.
17969 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17971 (__catanl): Handle arguments with large real or imaginary part
17972 separately without squaring.
17973 * math/libm-test.inc (catan_test): Add more tests.
17974 (catanh_test): Likewise.
17975 * sysdeps/i386/fpu/libm-test-ulps: Update.
17976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17978 2013-04-27 Andreas Jaeger <aj@suse.de>
17981 * stdlib/stdlib.h: Update guards for qecvt.
17982 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
17985 2013-04-27 Allan McRae <allan@archlinux.org>
17987 * sysdeps/i386/fpu/libm-test-ulps: Update.
17989 2013-04-26 Joseph Myers <joseph@codesourcery.com>
17992 * math/s_catan.c: Include <float.h>.
17993 (__catan): Ensure underflow exception occurs for underflowed
17995 * math/s_catanf.c: Include <float.h>.
17996 (__catanf): Ensure underflow exception occurs for underflowed
17998 * math/s_catanh.c: Include <float.h>.
17999 (__catanh): Ensure underflow exception occurs for underflowed
18001 * math/s_catanhf.c: Include <float.h>.
18002 (__catanhf): Ensure underflow exception occurs for underflowed
18004 * math/s_catanhl.c: Include <float.h>.
18005 (__catanhl): Ensure underflow exception occurs for underflowed
18007 * math/s_catanl.c: Include <float.h>.
18008 (__catanl): Ensure underflow exception occurs for underflowed
18010 * math/libm-test.inc (catan_test): Add more tests.
18011 (catanh_test): Likewise.
18014 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18015 underflowed result.
18016 * math/s_ccoshf.c (__ccoshf): Likewise.
18017 * math/s_ccoshl.c (__ccoshl): Likewise.
18018 * math/s_csin.c (__csin): Likewise.
18019 * math/s_csinf.c (__csinf): Likewise.
18020 * math/s_csinh.c (__csinh): Likewise.
18021 * math/s_csinhf.c (__csinhf): Likewise.
18022 * math/s_csinhl.c (__csinhl): Likewise.
18023 * math/s_csinl.c (__csinl): Likewise.
18024 * math/libm-test.inc (ccos_test): Add more tests.
18025 (ccosh_test): Likewise.
18026 (csin_test): Likewise.
18027 (csinh_test): Likewise.
18029 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18031 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18032 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18033 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18034 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18035 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18036 powerpc/power5+/fpu folders.
18037 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18040 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18044 2013-04-25 Joseph Myers <joseph@codesourcery.com>
18046 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18047 additions to variable.
18048 [$(config-machine) = x86_64] (modules-names): Likewise.
18049 ($(objpfx)tst-audit3): Remove dependency.
18050 ($(objpfx)tst-audit3.out): Likewise.
18051 ($(objpfx)tst-audit4): Likewise.
18052 ($(objpfx)tst-audit4.out): Likewise.
18053 ($(objpfx)tst-audit5): Likewise.
18054 ($(objpfx)tst-audit5.out): Likewise.
18055 ($(objpfx)tst-audit6): Likewise.
18056 ($(objpfx)tst-audit6.out): Likewise.
18057 ($(objpfx)tst-audit7): Likewise.
18058 ($(objpfx)tst-audit7.out): Likewise.
18059 (tst-audit3-ENV): Remove variable.
18060 (tst-audit4-ENV): Likewise.
18061 (tst-audit5-ENV): Likewise.
18062 (tst-audit6-ENV): Likewise.
18063 (tst-audit7-ENV): Likewise.
18064 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18065 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18066 addition to variable.
18067 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18068 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18069 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18070 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18071 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18072 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18073 tst-audit3, tst-audit4 and tst-audit5.
18074 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18075 tst-audit6 and tst-audit7.
18076 [$(subdir) = elf] (modules-names): Add audit modules for those
18078 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18079 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18080 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18081 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18082 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18083 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18084 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18085 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18086 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18087 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18088 [$(subdir) = elf] (tst-audit3-ENV): New variable.
18089 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18090 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18091 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18092 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18093 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18095 [$(subdir) = elf && $(config-cflags-avx) = yes]
18096 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18097 [$(subdir) = elf && $(config-cflags-avx) = yes]
18098 (CFLAGS-tst-auditmod4a.c): Likewise.
18099 [$(subdir) = elf && $(config-cflags-avx) = yes]
18100 (CFLAGS-tst-auditmod4b.c): Likewise.
18101 [$(subdir) = elf && $(config-cflags-avx) = yes]
18102 (CFLAGS-tst-auditmod6b.c): Likewise.
18103 [$(subdir) = elf && $(config-cflags-avx) = yes]
18104 (CFLAGS-tst-auditmod6c.c): Likewise.
18105 [$(subdir) = elf && $(config-cflags-avx) = yes]
18106 (CFLAGS-tst-auditmod7b.c): Likewise.
18107 * elf/tst-audit3.c: Move to ...
18108 * sysdeps/x86_64/tst-audit3.c: ... here.
18109 * elf/tst-audit4.c: Move to ...
18110 * sysdeps/x86_64/tst-audit4.c: ... here.
18111 * elf/tst-audit5.c: Move to ...
18112 * sysdeps/x86_64/tst-audit5.c: ... here.
18113 * elf/tst-audit6.c: Move to ...
18114 * sysdeps/x86_64/tst-audit6.c: ... here.
18115 * elf/tst-audit7.c: Move to ...
18116 * sysdeps/x86_64/tst-audit7.c: ... here.
18117 * elf/tst-auditmod3a.c: Move to ...
18118 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18119 * elf/tst-auditmod3b.c: Move to ...
18120 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18121 * elf/tst-auditmod4a.c: Move to ...
18122 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18123 * elf/tst-auditmod4b.c: Move to ...
18124 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18125 * elf/tst-auditmod5a.c: Move to ...
18126 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18127 * elf/tst-auditmod5b.c: Move to ...
18128 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18129 * elf/tst-auditmod6a.c: Move to ...
18130 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18131 * elf/tst-auditmod6b.c: Move to ...
18132 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18133 * elf/tst-auditmod6c.c: Move to ...
18134 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18135 * elf/tst-auditmod7a.c: Move to ...
18136 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18137 * elf/tst-auditmod7b.c: Move to ...
18138 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18140 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
18143 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18144 define unconditionally.
18145 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18146 define unconditionally.
18147 (INT8_C, INT16_C, etc.): Likewise.
18149 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
18151 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18152 __ehdr_start with hidden visibility.
18154 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18156 2013-04-24 Carlos O'Donell <carlos@redhat.com>
18158 * math/libm-test.inc (cos_test): Use accurate hex constants.
18159 (sincost_test): Likewise.
18161 2013-04-24 Joseph Myers <joseph@codesourcery.com>
18163 * math/libm-test.inc (catan_test): Add more tests.
18164 (catanh_test): Likewise.
18166 * math/s_catanf.c (__catanf): Use suffixed floating-point
18168 * math/s_catanhf.c (__catanhf): Likewise.
18169 * math/s_catanhl.c (__catanhl): Likewise.
18170 * math/s_catanl.c (__catanl): Likewise.
18173 * math/s_catan.c (__catan): Calculate imaginary part of result
18174 with log1p not log unless computing log of number close to 0.
18175 * math/s_catanf.c (__catanf): Likewise.
18176 * math/s_catanl.c (__catanl): Likewise.
18177 * math/s_catanh.c (__catanh): Calculate real part of result with
18178 log1p not log unless computing log of number close to 0.
18179 * math/s_catanhf.c (__catanhf): Likewise.
18180 * math/s_catanhl.c (__catanhl): Likewise.
18181 * math/libm-test.inc (catan_test): Add more tests.
18182 (catanh_test): Likewise.
18183 * sysdeps/i386/fpu/libm-test-ulps: Update.
18184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18186 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18188 * benchtests/Makefile: Mention files in which fast and slow
18189 paths of math functions are implemented.
18191 2013-04-23 Roland McGrath <roland@hack.frob.com>
18193 * sysdeps/posix/timespec_get.c: New file.
18195 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18197 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18199 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18201 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18202 powerpc/power5/fpu folders.
18203 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18204 * benchtests/Makefile: Add modf testcase.
18205 * benchtests/bench-modf.c: New file: Benchmark test for mo
18207 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
18210 * time/Makefile (tests): Add tst-strptime-whitespace.
18211 * time/strptime_l.c (get_number): Use ISSPACE.
18212 (__strptime_internal): Likewise.
18213 * time/tst-strptime-whitespace.c: New test case.
18215 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
18217 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18219 (_nss_files_init): Set it here.
18221 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
18223 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18224 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18227 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
18229 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18231 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
18233 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18236 2013-04-21 David S. Miller <davem@davemloft.net>
18238 * po/ru.po: Update Russion translation from translation project.
18240 2013-04-17 Adam Conrad <adconrad@0c3.net>
18242 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18245 2013-04-17 Carlos O'Donell <carlos@redhat.com>
18247 * configure.in: Remove i386 configure warning. Remove i386 case.
18248 * configure: Regenerate.
18249 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18250 Add example to error message.
18251 * sysdeps/i386/configure: Regenerate.
18253 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18255 * benchtests/Makefile (bench): Add cos, tan, slowcos and
18257 * benchtests/cos-inputs: New file.
18258 * benchtests/slowcos-inputs: New file.
18259 * benchtests/slowcos.c: New file.
18260 * benchtests/slowtan-inputs: New file.
18261 * benchtests/slowtan.c: New file.
18262 * benchtests/tan-inputs: New file.
18264 2013-04-16 Roland McGrath <roland@hack.frob.com>
18266 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18269 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18271 * benchtests/Makefile: Include cppflags-iterator.mk to add
18272 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18274 * Makefile.in (bench-clean): New target.
18275 * benchtests/Makefile (bench-clean): Likewise.
18277 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
18279 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18281 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
18283 * stdio-common/tstdiomisc.c: Fix coding-style violation.
18285 2013-04-15 Andreas Schwab <schwab@suse.de>
18287 * nscd/grpcache.c (cache_addgr): Properly check for short write.
18288 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18289 * nscd/pwdcache.c (cache_addpw): Likewise.
18290 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
18293 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18295 * benchtests/Makefile (bench): Write all output to
18296 bench-out.tmp together.
18298 2013-04-15 Andreas Schwab <schwab@suse.de>
18300 * nscd/nscd.c (main): Don't fork again after closing files.
18302 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18304 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18306 * benchtests/Rules (bench-deps): Collect dependencies into a
18307 single variable. Add Makefile to dependencies.
18308 ($(objpfx)bench-%.c): Depend on bench-deps.
18310 2013-04-12 Roland McGrath <roland@hack.frob.com>
18311 Xavier Roche <roche+kml2@exalead.com>
18314 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18315 just that it's a file descriptor.
18316 * manual/llio.texi (Synchronizing AIO Operations): Update description
18317 for EBADF error from aio_fsync.
18319 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18321 * Rules (bench): Move target definition...
18322 * benchtests/Makefile: ... here.
18324 2013-04-11 Carlos O'Donell <carlos@redhat.com>
18326 * math/libm-test.inc (cos_test): Fix PI/2 test.
18327 (sincos_test): Likewise.
18328 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18329 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18331 2013-04-11 Andreas Schwab <schwab@suse.de>
18334 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
18335 accept exponent character only when digits were seen.
18336 * stdio-common/Makefile (tests): Add bug26.
18337 * stdio-common/bug26.c: New file.
18340 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
18343 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18345 * Makeconfig (rtld-prefix): Define built linker prefix.
18346 * Rules (run-bench): Use it.
18347 * math/Makefile (run-regen-ulps): Likewise.
18349 * Rules (bench): Remove eval.
18351 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18352 Roland McGrath <roland@hack.frob.com>
18353 Ondrej Bilka <neleai@seznam.cz>
18356 * time/getdate.c: Include ctype.h and alloca.h.
18357 (__getdate_r): Trim leading and trailing spaces of input.
18358 * time/tst-getdate.c (tests): Add tests with leading and
18361 2013-04-08 Roland McGrath <roland@hack.frob.com>
18364 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
18365 when computing value.
18367 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18369 * math/README.libm-test (How can I generate "libm-test-ulps"?):
18370 Use testrun.sh to run libm tests.
18373 * elf/dl-open.c (dl_open_worker): memset all of seen array.
18375 2013-04-06 Marko Myllynen <myllynen@redhat.com>
18378 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
18380 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18382 * Makefile.in (regen-ulps): New target.
18383 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
18384 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
18385 [ifneq (no,$(PERL)] (regen-ulps): New target.
18386 [ifeq (no,$(PERL)] (regen-ulps): New target.
18387 * math/libm-test.inc (ulps_file_name): Define.
18388 (output_dir): New variable.
18389 (options): Add "output-dir" option.
18390 (parse_opt): Handle 'o' case.
18391 (main): If output_dir is non-NULL use it as a prefix
18393 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
18395 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18397 [BZ #10060, #10062]
18398 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
18399 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
18400 fail configure if __sync_val_compare_and_swap is not inlined.
18401 * sysdeps/i386/configure: Regenerate.
18402 * configure.in: Build for i686 when configured for i386.
18403 * configure: Regenerate.
18404 * README: Remove i386 reference.
18406 2013-04-06 Carlos O'Donell <carlos@redhat.com>
18408 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
18409 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18411 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
18413 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
18414 (lmsnanval): New variables.
18415 (F): Add conversion tests.
18416 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
18417 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
18419 * stdio-common/tstdiomisc.c (F): Properly collect individual
18422 [BZ #14686, #15336]
18423 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
18424 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
18425 Instead, use input NaN values or generate a qNaN by arithmetic
18426 operation. Also fix bugs to comply with the standard.
18427 * math/libm-test.inc (remainder_test): Add more tests.
18429 [BZ #15335, #15342]
18430 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
18431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
18432 input NaN values or generate a qNaN by arithmetic operation.
18434 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
18437 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
18440 2013-04-03 Joseph Myers <joseph@codesourcery.com>
18443 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
18444 underflowed result.
18445 * math/s_cexpf.c (__cexpf): Likewise.
18446 * math/s_cexpl.c (__cexpl): Likewise.
18447 * math/libm-test.inc (cexp_test): Add more tests.
18449 2013-04-03 Andreas Schwab <schwab@suse.de>
18452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
18453 order arrays from heap if bigger than alloca cutoff.
18455 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
18457 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
18458 (SNAN_TESTS_double): Refer to GCC PR56831.
18459 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
18462 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18464 * Rules (bench): Move bench.out after the run is complete.
18466 * Rules (bench): Echo currently running benchmark.
18468 * benchtests/Makefile (bench): Add atan and slowatan.
18469 * benchtests/atan-inputs: New file.
18470 * benchtests/slowatan-inputs: New file.
18471 * benchtests/slowatan.c: New file.
18473 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
18474 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
18478 * sysdeps/unix/sysv/linux/kernel-features.h
18479 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
18480 __ASSUME_XFS_RESTRICTED_CHOWN.
18481 * sysdeps/unix/sysv/linux/pathconf.c
18482 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18483 Save and restore errno.
18485 2013-04-02 Joseph Myers <joseph@codesourcery.com>
18488 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
18489 arguments using __kernel_casinh.
18490 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
18491 arguments using __kernel_casinhf.
18492 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
18493 arguments using __kernel_casinhl.
18494 * math/libm-test.inc (cacosh_test): Add more tests.
18495 * sysdeps/i386/fpu/libm-test-ulps: Update.
18496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18498 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18500 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
18501 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
18503 * bench/Makefile (bench): Add sin and slowsin.
18504 * benchtests/sin-inputs: New file.
18505 * benchtests/slowsin-inputs: New file.
18506 * benchtests/slowsin.c: New file.
18508 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
18509 (bench): Add slowexp and slowpow.
18510 (exp-ITER): Increase iterations.
18511 (pow-ITER): Likewise.
18512 * benchtests/exp-inputs: Change input.
18513 * benchtests/pow-inputs: Likewise.
18514 * benchtests/slowexp-inputs: New file.
18515 * benchtests/slowexp.c: New file.
18516 * benchtests/slowpow-inputs: New file.
18517 * benchtests/slowpow.c: New file.
18519 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18521 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
18523 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
18524 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
18525 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18526 * benchtests/Makefile: Add rint benchtest.
18527 * benchtests/rint-inputs: Input for rint benchtest.
18529 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
18531 * Versions.def (libm): Add GLIBC_2.18.
18532 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
18533 hidden libm prototypes.
18534 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
18535 * math/Makefile (libm-calls): Add s_issignaling.
18536 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
18537 __issignalingf, __issignalingl. Adjust all libm.abilist files.
18538 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
18540 * math/math.h [__USE_GNU] (issignaling): New macro.
18541 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
18542 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
18544 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
18545 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
18546 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
18547 * manual/arith.texi (issignaling): New section.
18548 * manual/libm-err-tab.pl (@all_functions): Update comment.
18549 * math/gen-libm-test.pl (parse_args): Apply special handling for
18551 * math/libm-test.inc (print_float, issignaling_test): New
18553 (check_float_internal): Add issignaling checks.
18554 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
18555 default definition.
18556 * sysdeps/powerpc/math-tests.h: New file.
18557 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
18559 * math/test-snan.c (TEST_FUNC): Likewise.
18561 2013-03-30 David S. Miller <davem@davemloft.net>
18563 * po/de.po: Update from translation team.
18565 2013-03-30 Joseph Myers <joseph@codesourcery.com>
18568 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18569 imaginary part less than 1.0 and real part less than 0.5
18571 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18572 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18573 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
18574 (cacos_test): Add more tests.
18575 (casin_test): Likewise.
18576 (casinh_test): Likewise.
18577 * sysdeps/i386/fpu/libm-test-ulps: Update.
18578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18580 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18582 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
18583 ONE with its value.
18585 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
18586 (__pow_mp): Replace ONE and MONE with their values.
18587 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
18589 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18590 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
18591 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18592 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18594 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
18596 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18597 (__pow_mp): Replace ZERO and MZERO with their values.
18598 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18600 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18602 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18603 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
18606 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
18608 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
18610 2013-03-28 Roland McGrath <roland@hack.frob.com>
18612 * include/stdlib.h [!SHARED] (__call_tls_dtors):
18613 Declare with __attribute__ ((weak)).
18614 * stdlib/exit.c (__libc_atexit) [!SHARED]:
18615 Call __call_tls_dtors only if it's not NULL.
18617 2013-03-28 Roland McGrath <roland@hack.frob.com>
18619 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
18620 didn't do it already, then set _dl_phdr and _dl_phnum based on the
18621 magic __ehdr_start linker symbol if it's defined.
18622 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
18623 them up here if it was already done.
18625 * elf/dl-support.c (_dl_phdr): Make pointer to const.
18626 (_dl_aux_init): Use const in cast when setting it.
18627 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
18628 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
18629 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
18631 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
18633 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
18634 * csu/libc-tls.c: Nor here.
18635 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
18637 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
18638 (__libc_message): Never call vsyslog.
18640 2013-03-28 Alan Modra <amodra@gmail.com>
18642 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
18644 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
18647 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
18652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18654 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18657 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18658 Don't add gid passed as argument.
18660 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
18662 2013-03-27 Joseph Myers <joseph@codesourcery.com>
18665 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18666 imaginary part between 1.0 and 1.5 and real part less than 0.5
18668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18670 * math/libm-test.inc (cacos_test): Add more tests.
18671 (casin_test): Likewise.
18672 (casinh_test): Likewise.
18673 * sysdeps/i386/fpu/libm-test-ulps: Update.
18674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18676 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18678 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
18681 (denorm): Likewise.
18682 (__dbl_mp): Likewise.
18683 (add_magnitudes): Likewise.
18684 (sub_magnitudes): Likewise.
18692 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
18694 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
18695 (__dubcos): Likewise.
18696 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
18697 (__ieee754_acos): Likewise.
18698 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
18699 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
18700 (__exp1): Likewise.
18701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18702 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
18704 (my_log2): Likewise.
18705 (checkint): Likewise.
18706 * sysdeps/ieee754/dbl-64/e_remainder.c
18707 (__ieee754_remainder): Likewise.
18708 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
18709 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
18710 (bsloww): Likewise.
18711 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18713 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
18714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
18715 MANTISSA_STORE_T to store computations on mantissa. Use
18716 macros for rounding and division.
18717 (denorm): Likewise.
18718 (__dbl_mp): Likewise.
18719 (add_magnitudes): Likewise.
18720 (sub_magnitudes): Likewise.
18723 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
18724 powers of two in terms of TWOPOW macro.
18725 (mp_no): Make type of mantissa as MANTISSA_T.
18726 [!RADIXI]: Define RADIXI.
18727 [!TWO52]: Define TWO52.
18728 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
18730 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18732 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
18733 llroundl symbol when building for PPC32.
18735 2013-03-24 Mark H Weaver <mhw@netris.org>
18737 * manual/arith.texi (Normalization Functions): Fix prototypes for
18738 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
18740 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18743 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
18744 high value to check if expl overflow.
18745 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
18746 to check for underflow and overflow.
18747 * math/libm-test.inc: Add exp test.
18749 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
18752 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
18755 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18757 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
18760 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
18762 * math/gen-libm-test.pl (parse_args, special_functions): Properly
18763 wrap blocks consisting of several statements.
18765 * sysdeps/generic/math-tests.h: New file.
18766 * sysdeps/i386/fpu/math-tests.h: Likewise.
18767 * math/test-snan.c: Include it.
18768 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
18770 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18773 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
18774 (__ieee754_j0l): Do not improve calculations using cos of twice
18775 input for inputs above LDBL_MAX / 2.0L.
18776 (__ieee754_y0l): Likewise.
18777 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
18778 (__ieee754_j1l): Do not improve calculations using cos of twice
18779 input for inputs above LDBL_MAX / 2.0L.
18780 (__ieee754_y1l): Likewise.
18781 * math/libm-test.inc (j0_test): Add another test.
18782 (j1_test): Likewise.
18783 (y0_test): Likewise.
18784 (y1_test): Likewise.
18785 * sysdeps/i386/fpu/libm-test-ulps: Update.
18787 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18789 * Rules ($(objpfx)bench-%.c): Include code from a C source
18792 2013-03-21 Joseph Myers <joseph@codesourcery.com>
18795 * math/k_casinh.c (__kernel_casinh): Handle arguments with
18796 imaginary part 1.0 and real part less than 0.5 specially.
18797 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18798 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18799 * math/libm-test.inc (cacos_test): Add more tests.
18800 (casin_test): Likewise.
18801 (casinh_test): Likewise.
18802 * sysdeps/i386/fpu/libm-test-ulps: Update.
18803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18805 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18807 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
18808 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
18810 2013-03-20 Joseph Myers <joseph@codesourcery.com>
18812 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
18813 * config.make.in (config-cflags-sse4): Remove variable.
18814 (config-cflags-avx): Likewise.
18815 (config-cflags-sse2avx): Likewise.
18816 (config-cflags-novzeroupper): Likewise.
18817 (config-asflags-i686): Likewise.
18818 (have-mfma4): Likewise.
18819 (have-as-vis3): Likewise.
18821 * configure.in (MIG): Do not AC_SUBST.
18822 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
18823 (libc_cv_cc_sse4): Do not AC_SUBST.
18824 (libc_cv_cc_avx): Likewise.
18825 (libc_cv_cc_sse2avx): Likewise.
18826 (libc_cv_cc_novzeroupper): Likewise.
18827 (libc_cv_cc_fma4): Likewise.
18828 (libc_cv_as_i686): Likewise.
18829 (libc_cv_sparc_as_vis3): Likewise.
18830 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
18832 (config-asflags-i686): Likewise.
18833 (config-cflags-avx): Likewise.
18834 (config-cflags-sse2avx): Likewise.
18835 (have-mfma4): Likewise.
18836 (config-cflags-novzeroupper): Likewise.
18837 * sysdeps/mach/configure.in (MIG): Likewise.
18838 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
18839 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
18841 (config-cflags-avx): Likewise.
18842 (config-cflags-sse2avx): Likewise.
18843 (have-mfma4): Likewise.
18844 (config-cflags-novzeroupper): Likewise.
18845 * configure: Regenerated.
18846 * sysdeps/i386/configure: Likewise.
18847 * sysdeps/mach/configure: Likewise.
18848 * sysdeps/sparc/configure: Likewise.
18849 * sysdeps/x86_64/configure: Likewise.
18851 2013-03-20 Roland McGrath <roland@hack.frob.com>
18854 * locale/programs/localedef.c (options): Put N_ translation marker
18855 on argument names, not just descriptions.
18857 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18859 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
18861 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
18864 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
18866 2013-03-19 Roland McGrath <roland@hack.frob.com>
18868 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
18869 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
18870 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
18871 [!BEFORE_ABORT] (before_abort): New function.
18872 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
18873 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
18874 (writev_for_fatal): New function.
18875 (WRITEV_FOR_FATAL): New macro; call that.
18876 (backtrace_and_maps): New function.
18877 (BEFORE_ABORT): New macro; call that.
18878 (struct str_list): Type removed.
18879 (__libc_message, __libc_fatal): Functions removed.
18880 Include <sysdeps/posix/libc_fatal.c> instead.
18882 2013-03-19 Joseph Myers <joseph@codesourcery.com>
18884 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
18886 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
18889 2013-03-19 Andreas Schwab <schwab@suse.de>
18891 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
18892 * sysdeps/gnu/configure: Regenerate.
18894 * configure.in: Substitute libc_cv_rtlddir.
18895 * configure: Regenerate.
18896 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
18897 * Makeconfig (rtlddir, inst_rtlddir): New variables.
18898 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
18899 * elf/Makefile (install-others, CFLAGS-interp.c)
18900 (ldso_install, common-ldd-rewrite): Likewise.
18901 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
18902 $(inst_slibdir)/$(rtld-installed-name).
18903 * scripts/rellns-sh: Add -p option.
18904 * Makerules (make-shlib-link): Use rellns-sh to get relative name
18907 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18909 * manual/nptl.texi: Renamed to ...
18910 * manual/threads.texi: ... this.
18911 * manual/Makefile (chapters): Update.
18913 2013-03-18 Roland McGrath <roland@hack.frob.com>
18916 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
18917 on argument names, not just descriptions.
18918 * malloc/memusagestat.c (options): Likewise.
18919 * nss/getent.c (options): Likewise.
18921 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
18924 * iconv/iconv_prog.c (options): Put N_ translation marker
18925 on argument names, not just descriptions.
18926 * iconv/iconvconfig.c (options): Likewise.
18928 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
18930 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
18931 implementation which is faster on all x86_64 architectures.
18932 Tested on AMD, Intel Nehalem, SNB, IVB.
18933 * sysdeps/x86_64/strnlen.S: Likewise.
18935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18936 Remove all multiarch strlen and strnlen versions.
18937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18938 Remove strlen and strnlen related parts.
18940 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
18941 Inline strlen part.
18942 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
18944 * sysdeps/x86_64/multiarch/strlen.S: Remove.
18945 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
18946 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
18947 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
18948 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
18951 2013-03-17 Carlos O'Donell <carlos@redhat.com>
18953 * manual/memory.texi (Malloc Tunable Parameters):
18954 Sort parameters alphabetically. Add comments for missing entries.
18956 2013-03-17 David S. Miller <davem@davemloft.net>
18958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18960 2013-03-16 Joseph Myers <joseph@codesourcery.com>
18963 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
18964 for arguments at most half maximum finite value.
18965 * math/libm-test.inc (j0_test): Add more tests.
18966 (j1_test): Likewise.
18967 (y0_test): Likewise.
18968 (y1_test): Likewise.
18969 * sysdeps/i386/fpu/libm-test-ulps: Update.
18970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18973 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
18974 1 / x and functions P and Q for arguments above 0x1p256L.
18975 (__ieee754_y0l): Likewise.
18976 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
18977 (__ieee754_y1l): Likewise.
18978 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
18979 (j1_test): Likewise.
18980 (y0_test): Likewise.
18981 (y1_test): Likewise.
18983 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
18985 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
18988 2013-03-15 Roland McGrath <roland@hack.frob.com>
18990 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
18991 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
18992 zero since it's initialized to EXEC_PAGESIZE.
18994 * sysdeps/unix/sysv/linux/ldsodefs.h
18995 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
18996 * sysdeps/generic/ldsodefs.h: ... here.
18998 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
19000 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19002 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19004 * math/test-snan.c: Renamed from
19005 sysdeps/powerpc/fpu/test-powerpc-snan.c.
19006 * math/Makefile (tests): Add test-snan.
19007 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19010 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19011 SUFFIX. Initialize qNaN_var with __builtin_nan family of
19013 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
19014 __builtin_nan family of functions.
19015 * math/libm-test.inc (initialize): Initialize qnan_value with
19016 __builtin_nan family of functions.
19017 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19019 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19021 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
19022 storage class. Initialize qNaN_var and sNaN_var with
19023 __builtin_nan and __builtin_nans families of functions,
19026 * math/libm-test.inc (acosh_test): Also test with qNaN input.
19027 (sqrt_test): Remove duplicate test with qNaN input.
19028 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19029 (round_test, signbit_test, significand_test): Note missing +/-Inf
19030 as well as qNaN tests.
19032 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19033 qNaN_var. Fix a few strings, too.
19034 * math/libm-test.inc (nan_value): Rename to qnan_value.
19035 * math/gen-libm-test.pl (%beautify): Adjust to that.
19036 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19037 * math/test-misc.c (main): Likewise.
19038 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19039 to __qnan_bytes, and __qnan_union, respectively.
19040 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19042 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19043 and lqnanval, respectively.
19044 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19045 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19046 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19047 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19049 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19050 * math/test-misc.c (main) [__x86_64__]: Enable test for long
19053 * math/test-misc.c (main): Fix copy'n'pastos.
19054 * misc/tst-efgcvt.c (special): Likewise.
19056 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19057 Remove declarations.
19059 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19061 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19062 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19063 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19064 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19066 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19068 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19069 macro to return vdso values correctly in IFUNC implementations.
19070 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19071 Optimization by using IFUNC.
19073 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19074 Richard Henderson <rth@redhat.com>
19075 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19077 * Makefile.in (bench): New target.
19078 * NEWS: Mention the benchmark framework.
19079 * Rules (bench): Likewise.
19080 (binaries-bench): Generate binaries for functions to
19082 * benchtests/Makefile: New makefile for benchmark tests.
19083 * benchtests/bench-skeleton.c: New skeleton file for benchmark
19085 * benchtests/exp-inputs: New input file for EXP function.
19086 * benchtests/pow-inputs: New input file for POW function.
19087 * scripts/bench.pl: New script to generate source files for
19088 benchmark programs.
19090 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
19092 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19094 computations on mantissa. Use macros for rounding and
19096 (denorm): Likewise.
19097 (__dbl_mp): Likewise.
19098 (add_magnitudes): Likewise.
19099 (sub_magnitudes): Likewise.
19102 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
19103 powers of two in terms of TWOPOW macro.
19104 (mp_no): Make type of mantissa as MANTISSA_T.
19105 [!RADIXI]: Define RADIXI.
19106 [!TWO52]: Define TWO52.
19107 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19109 * manual/nptl.texi (cindex): Modify threads to pthreads.
19111 2013-03-15 Joseph Myers <joseph@codesourcery.com>
19113 * sysdeps/x86_64/preconfigure: Regenerated.
19115 2013-03-14 Joseph Myers <joseph@codesourcery.com>
19118 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19120 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19121 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19123 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19124 * math/libm-test.inc (j0_test): Do not allow one spurious
19125 underflow exception.
19126 (y1_test): Likewise.
19128 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19130 * manual/Makefile (chapters): Add nptl.
19131 * manual/debug.texi (Debugging Support): Add link to Threads
19133 * manual/nptl.texi: New file.
19135 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19137 2013-03-14 Petr Baudis <pasky@ucw.cz>
19139 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19140 for non-NULL pointer before the memory validity test. Pointed
19141 out by Holger Brunck <holger.brunck@keymile.com>.
19143 2013-03-13 Andreas Schwab <schwab@suse.de>
19145 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19148 2013-03-13 Joseph Myers <joseph@codesourcery.com>
19150 * timezone/zic.c: Update from tzcode 2013b.
19152 2013-03-12 Carlos O'Donell <carlos@redhat.com>
19154 * manual/install.texi (Configuring and compiling):
19155 Mention i686 and i586.
19156 * INSTALL: Regenerate.
19158 2013-03-12 Roland McGrath <roland@hack.frob.com>
19160 * sysdeps/init_array/elf-init.c: New file.
19162 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19163 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19165 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19166 __gmon_start__ as global, but as static with a .preinit_array pointer.
19167 * sysdeps/init_array/gmon-start.c: New file. Use that.
19168 * sysdeps/init_array/crti.S: New file, empty except for comments.
19169 * sysdeps/init_array/crtn.S: Likewise.
19171 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
19173 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19175 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19176 Remove Prefer_SSE_for_memop.
19177 * sysdeps/x86_64/multiarch/init-arch.h: Remove
19178 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19179 HAS_PREFER_SSE_FOR_MEMOP.
19180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19182 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19183 Remove bzero, memset ifunc support.
19184 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19185 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19186 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19187 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19189 2013-03-11 Andreas Schwab <schwab@suse.de>
19192 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19195 (GLIBC_2.16): Remove pthread_atfork.
19197 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
19199 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19200 (ptestcases.h): Likewise.
19202 2013-03-08 Roland McGrath <roland@hack.frob.com>
19204 * Makeconfig ($(common-objpfx)config.status): Depend on
19205 sysdeps/*/preconfigure{,.in} too.
19207 2013-03-08 Joseph Myers <joseph@codesourcery.com>
19209 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19210 (__free_hook): Use void * instead of __malloc_ptr_t.
19211 (__malloc_hook): Likewise.
19212 (__realloc_hook): Likewise.
19213 (__memalign_hook): Likewise.
19214 (__after_morecore_hook): Likewise.
19215 * malloc/arena.c (save_malloc_hook): Likewise.
19216 (save_free_hook): Likewise.
19217 * malloc/hooks.c (malloc_hook_ini): Likewise.
19218 (realloc_hook_ini): Likewise.
19219 (memalign_hook_ini): Likewise.
19220 * malloc/malloc.c (malloc_hook_ini): Likewise.
19221 (realloc_hook_ini): Likewise.
19222 (memalign_hook_ini): Likewise.
19223 (__free_hook): Likewise.
19224 (__malloc_hook): Likewise.
19225 (__realloc_hook): Likewise.
19226 (__memalign_hook): Likewise.
19227 (__libc_malloc): Likewise.
19228 (__libc_free): Likewise.
19229 (__libc_realloc): Likewise.
19230 (__libc_memalign): Likewise.
19231 (__libc_valloc): Likewise.
19232 (__libc_pvalloc): Likewise.
19233 (__libc_calloc): Likewise.
19234 (__posix_memalign): Likewise.
19235 * malloc/morecore.c (__sbrk): Likewise.
19236 (__default_morecore): Likewise.
19238 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19240 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19241 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19242 __malloc_ptrdiff_t.
19244 * malloc/malloc.h (__malloc_size_t): Remove macro.
19245 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19247 (old_memalign_hook): Likewise.
19248 (old_realloc_hook): Likewise.
19249 (struct hdr): Likewise.
19251 (mallochook): Likewise.
19252 (memalignhook): Likewise.
19253 (reallochook): Likewise.
19254 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19255 (tr_old_realloc_hook): Likewise.
19256 (tr_old_memalign_hook): Likewise.
19257 (tr_mallochook): Likewise.
19258 (tr_reallochook): Likewise.
19259 (tr_memalignhook): Likewise.
19261 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19264 default_ldbl_pack and using as default implementation.
19265 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19267 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19268 redundant definition.
19269 (ldbl_insert_mantissa): Likewise.
19270 (ldbl_canonicalize): Likewise.
19271 (ldbl_nearbyint): Likewise.
19272 (ldbl_pack): Rename to ldbl_pack_ppc.
19273 (ldbl_unpack): Rename to ldbl_unpack_ppc.
19274 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19275 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19277 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19279 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19280 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19281 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19282 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19284 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19285 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19286 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19288 2013-03-07 Andreas Jaeger <aj@suse.de>
19290 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19293 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19295 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19296 Include mpa.h and declare __MPEXP.
19297 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19298 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19299 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19300 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19302 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19303 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19305 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19306 (__slowpow): Use long double EXPL and LOGL functions to
19308 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19309 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19310 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19311 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19312 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19313 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19316 intermediate variable to calculate exponent.
19318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19322 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19323 [!NO__SQR]: Define __sqr.
19324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19325 and NO__SQR. Remove all code except __mul and __sqr. Include
19326 sysdeps/ieee754/dbl-64/mpa.c.
19327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19330 * posix/Makefile (tests): Add tst-pathconf.
19331 * posix/tst-pathconf.c: New test case.
19332 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
19334 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
19336 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
19338 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
19340 2013-03-06 Andreas Jaeger <aj@suse.de>
19342 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
19343 definition via __MAP_ANONYMOUS.
19345 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
19346 it's not part of Linux headers.
19348 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
19349 (MAP_HUGE_MASK): Define.
19351 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19353 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19354 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19356 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19357 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
19359 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19360 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
19362 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
19364 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
19365 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
19366 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
19367 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
19368 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
19369 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
19371 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
19374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
19375 Handle f2fs and efivarfs.
19377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
19380 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
19381 (EFIVARFS_MAGIC): Add.
19382 (F2FS_LINK_MAX): Add.
19384 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
19386 * stdio-common/vfprintf.c: Replace __builtin_expect with
19389 2013-03-06 Joseph Myers <joseph@codesourcery.com>
19392 * sysdeps/generic/bp-sym.h: Remove file.
19393 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
19394 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
19395 <bp-sym.h> and <bp-asm.h>.
19396 (__longjmp): Don't use BP_SYM.
19397 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
19399 (memcpy): Don't use BP_SYM.
19400 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
19401 <bp-sym.h> and <bp-asm.h>.
19402 (memcpy): Don't use BP_SYM.
19403 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
19405 (memcpy): Don't use BP_SYM.
19406 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
19408 (memset): Don't use BP_SYM.
19409 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19410 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19411 (__bzero): Don't use BP_SYM.
19412 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19413 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19414 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
19415 <bp-sym.h> and <bp-asm.h>.
19416 (memcmp): Don't use BP_SYM. Remove comment about bounded
19418 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
19419 <bp-sym.h> and <bp-asm.h>.
19420 (memcpy): Don't use BP_SYM.
19421 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
19422 <bp-sym.h> and <bp-asm.h>.
19423 (memset): Don't use BP_SYM.
19424 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19425 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19426 (__bzero): Don't use BP_SYM.
19427 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19428 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19429 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
19430 <bp-sym.h> and <bp-asm.h>.
19431 (strncmp): Don't use BP_SYM. Remove comment about bounded
19433 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
19434 <bp-sym.h> and <bp-asm.h>.
19435 (memcpy): Don't use BP_SYM.
19436 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
19437 <bp-sym.h> and <bp-asm.h>.
19438 (memset): Don't use BP_SYM.
19439 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19440 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19441 (__bzero): Don't use BP_SYM.
19442 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19443 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19444 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
19445 <bp-sym.h> and <bp-asm.h>.
19446 (__memchr): Don't use BP_SYM.
19447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
19448 <bp-sym.h> and <bp-asm.h>.
19449 (memcmp): Don't use BP_SYM. Remove comment about bounded
19451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
19452 <bp-sym.h> and <bp-asm.h>.
19453 (memcpy): Don't use BP_SYM.
19454 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
19455 <bp-sym.h> and <bp-asm.h>.
19456 (__mempcpy): Don't use BP_SYM.
19457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
19458 <bp-sym.h> and <bp-asm.h>.
19459 (__memrchr): Don't use BP_SYM.
19460 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
19461 <bp-sym.h> and <bp-asm.h>.
19462 (memset): Don't use BP_SYM.
19463 (__bzero): Likewise.
19464 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
19465 <bp-sym.h> and <bp-asm.h>.
19466 (__rawmemchr): Don't use BP_SYM.
19467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
19468 <bp-sym.h> and <bp-asm.h>.
19469 (__STRCMP): Don't use BP_SYM.
19470 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
19471 <bp-sym.h> and <bp-asm.h>.
19472 (strchr): Don't use BP_SYM.
19473 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
19474 <bp-sym.h> and <bp-asm.h>.
19475 (__strchrnul): Don't use BP_SYM.
19476 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
19477 <bp-sym.h> and <bp-asm.h>.
19478 (strlen): Don't use BP_SYM.
19479 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
19480 <bp-sym.h> and <bp-asm.h>.
19481 (strncmp): Don't use BP_SYM. Remove comment about bounded
19483 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
19484 <bp-sym.h> and <bp-asm.h>.
19485 (__strnlen): Don't use BP_SYM.
19486 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
19487 <bp-sym.h> and <bp-asm.h>.
19488 (__GI__setjmp): Don't use BP_SYM.
19489 (_setjmp): Likewise.
19490 (__sigsetjmp): Likewise.
19491 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
19492 (L(start_addresses)): Don't use BP_SYM.
19493 (_start): Likewise.
19494 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
19496 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
19497 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
19498 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19499 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19500 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
19502 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
19503 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
19504 about bounded pointers.
19505 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19506 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19507 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
19509 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19510 about bounded pointers. Remove GKM FIXME comments.
19511 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19512 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
19514 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
19515 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
19516 Remove GKM FIXME comments.
19517 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19518 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19519 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
19521 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
19522 about bounded pointers. Remove GKM FIXME comment.
19523 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
19525 (strncmp): Don't use BP_SYM. Remove comment about bounded
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
19528 <bp-sym.h> and <bp-asm.h>.
19529 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
19531 <bp-sym.h> and <bp-asm.h>.
19532 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19535 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19537 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
19540 2013-03-05 David S. Miller <davem@davemloft.net>
19542 * po/es.po: Update from translation team.
19544 2013-03-05 Andreas Jaeger <aj@suse.de>
19546 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
19547 <bits/mman-linux.h>.
19548 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19550 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
19551 <bits/mman-linux.h> to end of file.
19552 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19554 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
19555 <bits/mman-linux.h> to end of file.
19556 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
19558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
19559 <bits/mman-linux.h> to end of file.
19561 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
19562 (MCL_CURRENT, MCL_FUTURE): Define here.
19564 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19567 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
19569 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19571 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19573 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
19574 fourth parameter needed for rt_sigprocmask syscall.
19575 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
19576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19577 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19578 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19579 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19580 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
19582 2013-03-04 Joseph Myers <joseph@codesourcery.com>
19585 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
19586 comment about bounded pointers.
19587 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
19588 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
19590 2013-03-04 Andreas Jaeger <aj@suse.de>
19592 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
19593 common definitions.
19595 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
19596 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
19597 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
19598 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
19599 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
19600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
19602 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19605 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
19606 __ieee754_sqrl instead of __sqrl.
19608 2013-03-01 Joseph Myers <joseph@codesourcery.com>
19610 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
19611 * sysdeps/powerpc/fpu_control.h: ... here.
19612 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
19613 * sysdeps/powerpc/bits/fenvinline.h: ... here.
19614 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
19615 * sysdeps/powerpc/bits/mathinline.h: ... here.
19617 2013-03-01 Roland McGrath <roland@hack.frob.com>
19619 * elf/dl-hwcaps.c (_dl_important_hwcaps):
19620 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
19621 to just [NEED_DL_SYSINFO_DSO].
19622 * elf/dl-support.c: Likewise.
19623 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
19624 * elf/rtld.c (dl_main): Likewise.
19625 * elf/setup-vdso.h (setup_vdso): Likewise.
19626 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
19627 * sysdeps/unix/sysv/linux/dl-sysdep.c
19628 (_dl_discover_osversion): Likewise.
19630 2013-03-01 Carlos O'Donell <carlos@redhat.com>
19632 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
19633 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19635 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
19637 * NEWS: Mention libm performance improvements and non-x86 PI
19640 * csu/libc-start.c (__pthread_initialize_minimal): Change
19641 function arguments.
19642 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
19644 2013-02-28 Joseph Myers <joseph@codesourcery.com>
19647 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
19648 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
19649 <bp-sym.h> and <bp-asm.h>.
19650 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19651 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
19653 (memcpy): Don't use BP_SYM.
19654 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
19656 (__mpn_add_n): Don't use BP_SYM.
19657 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
19658 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
19660 (__mpn_addmul_1): Don't use BP_SYM.
19661 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19662 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
19664 (_setjmp): Don't use BP_SYM.
19665 (__novmx_setjmp): Likewise.
19666 (__GI__setjmp): Likewise.
19667 (__vmx_setjmp): Likewise.
19668 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
19670 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
19671 (__bzero): Don't use BP_SYM.
19672 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
19673 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
19674 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
19675 <bp-sym.h> and <bp-asm.h>.
19676 (memcpy): Don't use BP_SYM.
19677 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
19678 <bp-sym.h> and <bp-asm.h>.
19679 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19680 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
19681 <bp-sym.h> and <bp-asm.h>.
19682 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
19683 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
19685 (__mpn_lshift): Don't use BP_SYM.
19686 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19687 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
19689 (memset): Don't use BP_SYM.
19690 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
19691 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
19692 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
19694 (__mpn_mul_1): Don't use BP_SYM.
19695 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19696 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
19697 <bp-sym.h> and <bp-asm.h>.
19698 (memcmp): Don't use BP_SYM.
19699 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
19700 <bp-sym.h> and <bp-asm.h>.
19701 (memcpy): Don't use BP_SYM.
19702 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
19703 <bp-sym.h> and <bp-asm.h>.
19704 (memset): Don't use BP_SYM.
19705 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
19706 <bp-sym.h> and <bp-asm.h>.
19707 (strncmp): Don't use BP_SYM.
19708 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
19709 <bp-sym.h> and <bp-asm.h>.
19710 (memcpy): Don't use BP_SYM.
19711 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
19712 <bp-sym.h> and <bp-asm.h>.
19713 (memset): Don't use BP_SYM.
19714 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
19715 <bp-sym.h> and <bp-asm.h>.
19716 (__memchr): Don't use BP_SYM.
19717 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
19718 <bp-sym.h> and <bp-asm.h>.
19719 (memcmp): Don't use BP_SYM.
19720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
19721 <bp-sym.h> and <bp-asm.h>.
19722 (memcpy): Don't use BP_SYM.
19723 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
19724 <bp-sym.h> and <bp-asm.h>.
19725 (__mempcpy): Don't use BP_SYM.
19726 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
19727 <bp-sym.h> and <bp-asm.h>.
19728 (__memrchr): Don't use BP_SYM.
19729 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
19730 <bp-sym.h> and <bp-asm.h>.
19731 (memset): Don't use BP_SYM.
19732 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
19733 <bp-sym.h> and <bp-asm.h>.
19734 (__rawmemchr): Don't use BP_SYM.
19735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
19736 <bp-sym.h> and <bp-asm.h>.
19737 (__STRCMP): Don't use BP_SYM.
19738 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
19739 <bp-sym.h> and <bp-asm.h>.
19740 (strchr): Don't use BP_SYM.
19741 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
19742 <bp-sym.h> and <bp-asm.h>.
19743 (__strchrnul): Don't use BP_SYM.
19744 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
19745 <bp-sym.h> and <bp-asm.h>.
19746 (strlen): Don't use BP_SYM.
19747 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
19748 <bp-sym.h> and <bp-asm.h>.
19749 (strncmp): Don't use BP_SYM.
19750 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
19751 <bp-sym.h> and <bp-asm.h>.
19752 (__strnlen): Don't use BP_SYM.
19753 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
19755 (__mpn_rshift): Don't use BP_SYM.
19756 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19757 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
19758 <bp-sym.h> and <bp-asm.h>.
19759 (__sigsetjmp): Don't use BP_SYM.
19760 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
19761 (L(start_addresses)): Don't use BP_SYM.
19762 (_start): Likewise.
19763 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
19765 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
19766 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19767 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19768 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
19770 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
19771 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19772 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19773 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
19775 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19777 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19778 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
19780 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
19782 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19783 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
19784 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
19786 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
19788 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
19790 (strncmp): Don't use BP_SYM,
19791 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
19793 (__mpn_sub_n): Don't use BP_SYM.
19794 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19795 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
19797 (__mpn_submul_1): Don't use BP_SYM.
19798 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
19800 <bp-sym.h> and <bp-asm.h>.
19801 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
19802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
19803 <bp-sym.h> and <bp-asm.h>.
19804 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
19807 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19809 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
19810 Use ZK to minimize writes to Z.
19811 (sub_magnitudes): Simplify code a bit.
19812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
19813 Use ZK to minimize writes to Z.
19814 (sub_magnitudes): Simplify code a bit.
19816 2013-02-27 Roland McGrath <roland@hack.frob.com>
19818 * csu/gmon-start.c: Add special exception to license text.
19820 2013-02-27 Richard Henderson <rth@redhat.com>
19822 * scripts/config.guess: Update from config.git.
19823 * scripts/config.sub: Likewise.
19825 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19827 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
19829 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
19831 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
19833 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
19835 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
19837 2013-02-26 Roland McGrath <roland@hack.frob.com>
19839 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
19840 [$(build-shared = yes].
19842 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19844 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
19845 (__mul): Reduce iterations for calculating mantissa.
19847 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
19849 (__mpranred): Likewise.
19852 * malloc/memusagestat.c (main): Draw graphs for heap and stack
19853 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
19855 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
19857 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
19858 Define __attribute__.
19860 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19862 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
19864 * posix/regex_internal.h (__attribute): Remove.
19865 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
19866 (re_string_context_at): Likewise.
19867 (bitset_not): Use __attribute__ and mark function as possibly
19869 (bitset_merge): Likewise.
19870 (bitset_mask): Likewise.
19871 (re_string_char_size_at): Likewise.
19872 (re_string_wchar_at): Likewise.
19873 (re_string_elem_size_at): Likewise.
19875 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19877 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
19881 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
19885 (denorm): Likewise.
19886 (__dbl_mp): Likewise.
19887 (add_magnitudes): Likewise.
19888 (sub_magnitudes): Likewise.
19892 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
19895 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
19898 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
19901 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
19902 up changes with default code.
19903 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
19906 2013-02-24 Allan McRae <allan@archlinux.org>
19908 * manual/socket.texi (The Internet Namespace): Order menu items
19909 to match that in the file.
19911 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
19912 node listing of the info page menu.
19914 2013-02-21 Joseph Myers <joseph@codesourcery.com>
19917 * sysdeps/i386/bp-asm.h: Remove file.
19918 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19919 (PARMS): Do not use macros from bp-asm.h.
19923 (__mpn_add_n): Do not use BP_SYM
19924 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
19926 (PARMS): Do not use macros from bp-asm.h.
19929 (__mpn_addmul_1): Do not use BP_SYM
19930 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
19932 (PARMS): Do not use macros from bp-asm.h.
19933 (SIGMSK): Likewise.
19934 (_setjmp): Likewise. Do not use BP_SYM.
19935 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
19937 (PARMS): Do not use macros from bp-asm.h.
19938 (SIGMSK): Likewise.
19939 (setjmp): Likewise. Do not use BP_SYM.
19940 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
19942 (PARMS): Do not use macros from bp-asm.h.
19943 (__frexp): Do not use BP_SYM.
19945 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
19947 (PARMS): Do not use macros from bp-asm.h.
19948 (__frexpf): Do not use BP_SYM.
19949 (frexpf): Likewise.
19950 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
19952 (PARMS): Do not use macros from bp-asm.h.
19953 (__frexpl): Do not use BP_SYM.
19954 (frexpl): Likewise.
19955 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
19957 (PARMS): Do not use macros from bp-asm.h.
19958 (__remquo): Do not use BP_SYM.
19959 (remquo): Likewise.
19960 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
19962 (PARMS): Do not use macros from bp-asm.h.
19963 (__remquof): Do not use BP_SYM.
19964 (remquof): Likewise.
19965 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
19967 (PARMS): Do not use macros from bp-asm.h.
19968 (__remquol): Do not use BP_SYM.
19969 (remquol): Likewise.
19970 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
19972 (PARMS): Do not use macros from bp-asm.h.
19975 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
19976 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
19978 (PARMS): Do not use macros from bp-asm.h.
19979 (strlen): Do not use BP_SYM.
19980 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
19982 (PARMS): Do not use macros from bp-asm.h.
19986 (__mpn_add_n): Do not use BP_SYM.
19987 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
19989 (PARMS): Do not use macros from bp-asm.h.
19992 (__mpn_addmul_1): Do not use BP_SYM.
19993 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
19996 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
19998 (PARMS): Do not use macros from bp-asm.h.
20001 (__mpn_lshift): Do not use BP_SYM.
20002 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20004 (PARMS): Do not use macros from bp-asm.h.
20008 (memcpy): Likewise. Do not use BP_SYM.
20009 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20010 libc_hidden_def and weak_alias.
20011 (mempcpy): Do not use BP_SYM in weak_alias.
20012 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20014 (PARMS): Do not use macros from bp-asm.h.
20017 [!BZERO_P] (CHR): Likewise.
20018 (memset): Likewise. Do not use BP_SYM.
20019 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20021 (PARMS): Do not use macros from bp-asm.h.
20024 (__mpn_mul_1): Do not use BP_SYM.
20025 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20027 (PARMS): Do not use macros from bp-asm.h.
20030 (__mpn_rshift): Do not use BP_SYM.
20031 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20033 (PARMS): Do not use macros from bp-asm.h.
20036 (strchr): Likewise. Do not use BP_SYM.
20037 (index): Do not use BP_SYM in weak_alias.
20038 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20040 (PARMS): Do not use macros from bp-asm.h.
20043 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
20044 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20046 (PARMS): Do not use macros from bp-asm.h.
20047 (strlen): Do not use BP_SYM.
20048 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20050 (PARMS): Do not use macros from bp-asm.h.
20054 (__mpn_sub_n): Do not use BP_SYM.
20055 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20057 (PARMS): Do not use macros from bp-asm.h.
20060 (__mpn_submul_1): Do not use BP_SYM.
20061 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20063 (PARMS): Do not use macros from bp-asm.h.
20067 (__mpn_add_n): Do not use BP_SYM.
20068 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20071 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20073 (PARMS): Do not use macros from bp-asm.h.
20076 (memcmp): Do not use BP_SYM.
20077 (bcmp): Do not use BP_SYM in weak_alias.
20078 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20080 (PARMS): Do not use macros from bp-asm.h.
20084 (memcpy): Likewise. Do not use BP_SYM.
20085 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20087 (PARMS): Do not use macros from bp-asm.h.
20091 (memmove): Likewise. Do not use BP_SYM.
20092 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20094 (PARMS): Do not use macros from bp-asm.h.
20098 (__mempcpy): Likewise. Do not use BP_SYM.
20099 (mempcpy): Do not use BP_SYM in weak_alias.
20100 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20102 (PARMS): Do not use macros from bp-asm.h.
20105 [!BZERO_P] (CHR): Likewise.
20106 (memset): Likewise. Do not use BP_SYM.
20107 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20109 (PARMS): Do not use macros from bp-asm.h.
20111 (strcmp): Do not use BP_SYM.
20112 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20114 (PARMS): Do not use macros from bp-asm.h.
20117 [USE_AS_STRTOK_R] (SAVE): Likewise.
20118 (FUNCTION): Likewise. Do not use BP_SYM.
20119 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20121 (strtok_r): Likewise.
20122 (__GI___strtok_r): Likewise.
20123 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20124 (PARMS): Do not use macros from bp-asm.h.
20127 (__mpn_lshift): Do not use BP_SYM.
20128 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20129 (PARMS): Do not use macros from bp-asm.h.
20132 (__memchr): Do not use BP_SYM.
20133 (memchr): Do not use BP_SYM in weak_alias.
20134 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20135 (PARMS): Do not use macros from bp-asm.h.
20138 (memcmp): Do not use BP_SYM.
20139 (bcmp): Do not use BP_SYM in weak_alias.
20140 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20141 (PARMS): Do not use macros from bp-asm.h.
20144 (__mpn_mul_1): Do not use BP_SYM.
20145 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20147 (PARMS): Do not use macros from bp-asm.h.
20150 (__rawmemchr): Do not use BP_SYM.
20151 (rawmemchr): Do not use BP_SYM in weak_alias.
20152 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20153 (PARMS): Do not use macros from bp-asm.h.
20156 (__mpn_rshift): Do not use BP_SYM.
20157 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20158 (PARMS): Do not use macros from bp-asm.h.
20159 (SIGMSK): Likewise.
20160 (__sigsetjmp): Likewise. Do not use BP_SYM.
20161 * sysdeps/i386/start.S: Do not include "bp-sym.h".
20162 (_start): Do not use BP_SYM.
20163 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20164 (PARMS): Do not use macros from bp-asm.h.
20167 (__stpcpy): Likewise. Do not use BP_SYM.
20168 (stpcpy): Do not use BP_SYM in weak_alias.
20169 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20171 (PARMS): Do not use macros from bp-asm.h.
20175 (__stpncpy): Likewise. Do not use BP_SYM.
20176 (stpncpy): Do not use BP_SYM in weak_alias.
20177 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20178 (PARMS): Do not use macros from bp-asm.h.
20181 (strchr): Likewise. Do not use BP_SYM.
20182 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20184 (PARMS): Do not use macros from bp-asm.h.
20187 (__strchrnul): Likewise. Do not use BP_SYM.
20188 (strchrnul): Do not use BP_SYM in weak_alias.
20189 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20191 (PARMS): Do not use macros from bp-asm.h.
20193 (strcspn): Do not use BP_SYM.
20194 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20196 (PARMS): Do not use macros from bp-asm.h.
20199 (strpbrk): Likewise. Do not use BP_SYM.
20200 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20202 (PARMS): Do not use macros from bp-asm.h.
20205 (strrchr): Likewise. Do not use BP_SYM.
20206 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20207 (PARMS): Do not use macros from bp-asm.h.
20209 (strspn): Do not use BP_SYM.
20210 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20211 (PARMS): Do not use macros from bp-asm.h.
20215 (FUNCTION): Likewise. Do not use BP_SYM.
20216 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20218 (strtok_r): Likewise.
20219 (__GI___strtok_r): Likewise.
20220 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20221 (PARMS): Do not use macros from bp-asm.h.
20225 (__mpn_sub_n): Do not use BP_SYM.
20226 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20228 (PARMS): Do not use macros from bp-asm.h.
20231 (__mpn_submul_1): Do not use BP_SYM.
20232 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20234 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20236 (PARMS): Do not use macros from bp-asm.h.
20241 (__clone): Do not use BP_SYM.
20242 (clone): Do not use BP_SYM in weak_alias.
20243 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20245 (PARMS): Do not use macros from bp-asm.h.
20247 (__mmap64): Do not use BP_SYM.
20248 (mmap64): Do not use BP_SYM in weak_alias.
20249 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20250 <bp-sym.h> and <bp-asm.h>.
20251 (PARMS): Do not use macros from bp-asm.h.
20252 (__posix_fadvise64_l64): Do not use BP_SYM.
20253 * sysdeps/unix/sysv/linux/i386/semtimedop.S
20254 (PARMS): Do not use macros from bp-asm.h.
20256 (semtimedop): Do not use BP_SYM.
20257 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20260 2013-02-21 Allan McRae <allan@archlinux.org>
20262 * manual/message.texi (Charset conversion in gettext):
20263 Move @end statement to beginning of line.
20265 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20272 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20273 (denorm): Likewise.
20274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20277 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20279 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20280 tail-call to the resolved function if pltexit isn't needed.
20282 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20284 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20285 or Y being zero as being unlikely.
20286 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20289 2013-02-20 Carlos O'Donell <carlos@redhat.com>
20291 * manual/nss.texi (System Databases and Name Service Switch):
20292 Remove frobnicate @pxref.
20294 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20296 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20297 __attribute__ ((unused)) to __attribute__ ((__unused__)).
20299 2013-02-20 Petr Machata <pmachata@redhat.com>
20301 * elf/elf.h (R_ARM_TARGET1): New macro.
20302 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20303 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20304 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20305 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20306 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20307 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20308 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20309 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20310 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20311 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20312 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20313 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20314 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20315 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20316 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20317 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20318 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20319 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20320 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20321 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20322 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20323 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20324 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20325 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20326 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20327 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20328 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20329 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20330 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
20331 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
20332 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
20333 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
20334 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
20335 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
20336 (R_ARM_THM_GOT_BREL12): Likewise.
20337 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
20338 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
20339 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
20340 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
20341 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
20342 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
20343 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
20344 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
20345 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
20347 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
20349 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20350 __attribute_used__ to __attribute__ ((unused)).
20352 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20354 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
20356 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
20357 comment formatting.
20358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
20360 2013-02-19 Joseph Myers <joseph@codesourcery.com>
20363 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
20365 (ENTER): Remove both macro definitions.
20367 (CHECK_BOUNDS_LOW): Likewise.
20368 (CHECK_BOUNDS_HIGH): Likewise.
20369 (CHECK_BOUNDS_BOTH): Likewise.
20370 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
20371 (RETURN_BOUNDED_POINTER): Likewise.
20372 (RETURN_NULL_BOUNDED_POINTER): Likewise.
20373 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
20374 (POP_ERRNO_LOCATION_RETURN): Likewise.
20375 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
20376 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20377 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
20379 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20380 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
20381 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
20382 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
20383 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
20384 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
20385 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
20386 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
20387 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
20388 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
20389 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
20390 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
20391 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20392 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
20394 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20395 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
20397 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20398 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
20399 * sysdeps/i386/i586/memset.S (memset): Likewise.
20400 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
20401 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20402 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
20404 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20405 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
20406 Change uses of L(2) to L(out).
20407 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
20408 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
20409 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
20410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20411 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
20413 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20414 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
20416 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20417 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
20418 (RETURN): Do not use macro LEAVE.
20419 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
20420 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
20421 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
20422 * sysdeps/i386/i686/memset.S (memset): Likewise.
20423 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
20424 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
20425 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20426 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
20428 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20429 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
20430 L(1_2) and L(1_3) into L(1).
20431 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20432 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
20433 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20434 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
20435 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20436 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
20437 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
20438 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20439 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
20441 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
20442 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20443 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
20444 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
20445 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
20446 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20447 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
20448 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
20449 * sysdeps/i386/strcspn.S (strcspn): Likewise.
20450 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
20451 * sysdeps/i386/strrchr.S (strrchr): Likewise.
20452 * sysdeps/i386/strspn.S (strspn): Likewise.
20453 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
20455 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20456 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
20457 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
20458 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
20459 L(1_3) into L(1_1).
20460 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
20461 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20462 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
20464 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20466 2013-02-19 Jakub Jelinek <jakub@redhat.com>
20468 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
20471 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20473 * math/atest-exp.c (exp_mpn): Remove ROUND.
20474 * math/atest-exp2.c (exp_mpn): Likewise.
20475 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
20477 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
20478 * stdlib/tst-tls-atexit-lib.c: Likewise.
20479 * stdlib/tst-tls-atexit.c: Likewise.
20481 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20483 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
20484 and __attribute_alloc_size__.
20486 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20488 * include/programs/xmalloc.h: Change __attribute_alloc_size to
20489 __attribute_alloc_size__.
20490 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
20491 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
20493 2013-02-18 Mike Frysinger <vapier@gentoo.org>
20495 * include/programs/xmalloc.h: New file.
20496 * catgets/gencat.c: Include it.
20497 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
20498 * elf/pldd.c: Likewise.
20499 * iconv/iconv_charmap.c: Likewise.
20500 * iconv/iconvconfig.c: Likewise.
20501 * iconv/strtab.c: Likewise.
20502 * locale/programs/locale.c: Likewise.
20503 * locale/programs/localedef.h: Likewise.
20504 * locale/programs/simple-hash.c: Likewise.
20505 * nscd/nscd.h: Likewise.
20506 * nss/makedb.c: Likewise.
20507 * sysdeps/generic/ldconfig.h: Likewise.
20509 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20511 * Versions.def: Add GLIBC_2.18.
20512 * include/link.h (struct link_map): New member l_tls_dtor_count.
20513 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
20514 (__call_tls_dtors): Likewise.
20515 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
20516 __cxa_thread_atexit_impl.
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20523 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
20526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
20528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
20530 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
20531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20533 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
20534 (tests): Add test case tst-tls-atexit.
20535 (modules-names): Add shared library for tst-tls-atexit.
20536 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
20537 (GLIBC_PRIVATE): Add __call_tls_dtors.
20538 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
20540 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
20541 * stdlib/tst-tls-atexit.c: New test case.
20542 * stdlib/tst-tls-atexit-lib.c: New test case.
20544 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
20546 * elf/Versions (ld): Add _dl_find_dso_for_object.
20547 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
20548 * elf/dl-open.c (_dl_find_dso_for_object): New function.
20549 (dl_open_worker): Use _dl_find_dso_for_object.
20550 * elf/dl-sym.c (do_sym): Likewise.
20551 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
20553 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20555 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
20556 Syntactic changes only.
20557 (_dl_runtime_profile): Do a tail-call to the resolved function.
20559 2013-02-17 Joseph Myers <joseph@codesourcery.com>
20562 * sysdeps/x86_64/bp-asm.h: Remove file.
20563 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
20564 <bp-sym.h> and <bp-asm.h>.
20565 (__clone): Do not use BP_SYM.
20566 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
20567 <bp-sym.h> and <bp-asm.h>.
20568 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20569 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
20571 (_setjmp): Do not use BP_SYM.
20572 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
20574 (setjmp): Do not use BP_SYM.
20575 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
20577 (mempcpy): Do not use BP_SYM in weak_alias.
20578 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
20580 (strchr): Do not use BP_SYM.
20581 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
20583 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
20584 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
20585 (_start): Do not use BP_SYM.
20586 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
20588 (strcat): Do not use BP_SYM.
20589 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
20591 (STRCMP): Do not use BP_SYM.
20592 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
20594 (STRCPY): Do not use BP_SYM.
20595 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
20597 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
20599 (FUNCTION): Do not use BP_SYM.
20600 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
20602 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
20604 2013-02-17 Andreas Jaeger <aj@suse.de>
20606 * time/Versions: Sort entries.
20607 * string/Versions: Likewise.
20608 * resolv/Versions: Likewise.
20609 * posix/Versions: Likewise.
20610 * iconv/Versions: Likewise.
20611 * elf/Versions: Likewise.
20612 * wcsmbs/Versions: Likewise.
20614 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
20616 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
20617 loop termination condition.
20619 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
20620 variable to calculate EZ.
20623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
20624 the lower precision input.
20626 2013-02-15 Joseph Myers <joseph@codesourcery.com>
20629 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
20630 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
20631 (run-via-rtld-prefix): Do not handle %-bp tests.
20632 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
20633 (all-object-suffixes): Remove .ob.
20634 (bppfx): Remove variable.
20635 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
20636 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
20637 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
20638 [$(build-bounded) = yes] (libtype.ob): Likewise.
20639 * Makerules (elide-routines.ob): Remove variable.
20640 (do-tests-clean): Do not handle *-bp.out.
20641 (common-mostlyclean): Do not handle *-bp and *-bp.out.
20642 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
20643 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
20644 (tests): Do not include $(tests-bp.out).
20645 (xtests): Do not include $(xtests-bp.out).
20646 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
20647 [$(build-bounded) = yes] ($(addprefix
20648 $(objpfx),$(binaries-bounded))): Remove rule.
20649 ($(objpfx)%-bp.out): Remove rule.
20650 * config.make.in (build-bounded): Remove variable.
20651 * crypt/Makefile [$(build-bounded) = yes]
20652 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
20653 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
20654 append to variable.
20655 [$(build-bounded) = yes] (install-lib): Likewise.
20656 [$(build-bounded) = yes] (generated): Likewise.
20657 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
20659 * intl/Makefile [$(build-bounded) = yes]
20660 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
20661 * math/Makefile [$(build-bounded) = yes]
20662 ($(tests:%=$(objpfx)%-bp): Likewise.
20663 * misc/Makefile [$(build-bounded) = yes]
20664 ($(objpfx)tst-tsearch-bp): Likewise.
20665 * nptl/Makeconfig (bounded-thread-library): Remove variable.
20666 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
20668 * string/Makefile (o-objects.ob): Remove variable.
20669 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
20670 (CFLAGS-.ob): Remove variable.
20671 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
20672 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
20673 both definitions of variable.
20674 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
20675 (ASFLAGS-.ob): Remove variable.
20677 2013-02-14 Joseph Myers <joseph@codesourcery.com>
20680 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
20681 Remove __BOUNDED_POINTERS__ from condition.
20682 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
20683 * string/bits/string2.h [!__NO_STRING_INLINES &&
20684 !__BOUNDED_POINTERS__]: Likewise.
20685 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
20687 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
20688 Remove conditional code.
20689 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
20690 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
20691 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
20695 * csu/libc-start.c: Do not include <bp-sym.h>.
20696 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
20697 * elf/dl-open.c: Do not include <bp-sym.h>.
20698 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
20699 * math/fegetenv.c: Do not include <bp-sym.h>.
20700 (fegetenv): Do not use BP_SYM in versioned symbols.
20701 * nptl/sysdeps/pthread/bits/libc-lockP.h
20702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
20704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20705 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
20706 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20707 (__pthread_mutex_destroy): Likewise.
20708 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20709 (__pthread_mutex_lock): Likewise.
20710 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20711 (__pthread_mutex_trylock): Likewise.
20712 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20713 (__pthread_mutex_unlock): Likewise.
20714 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20715 (__pthread_mutexattr_init): Likewise.
20716 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20717 (__pthread_mutexattr_destroy): Likewise.
20718 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20719 (__pthread_mutexattr_settype): Likewise.
20720 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20721 (__pthread_rwlock_init): Likewise.
20722 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20723 (__pthread_rwlock_destroy): Likewise.
20724 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20725 (__pthread_rwlock_rdlock): Likewise.
20726 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20727 (__pthread_rwlock_tryrdlock): Likewise.
20728 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20729 (__pthread_rwlock_wrlock): Likewise.
20730 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20731 (__pthread_rwlock_trywrlock): Likewise.
20732 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20733 (__pthread_rwlock_unlock): Likewise.
20734 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20735 (__pthread_key_create): Likewise.
20736 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20737 (__pthread_setspecific): Likewise.
20738 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20739 (__pthread_getspecific): Likewise.
20740 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
20742 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20743 (_pthread_cleanup_push_defer): Likewise.
20744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20745 (_pthread_cleanup_pop_restore): Likewise.
20746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
20747 (pthread_setcancelstate): Likewise.
20748 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
20750 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
20751 (memchr): Do not use BP_SYM in weak_alias.
20752 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
20753 (fegetenv): Do not use BP_SYM in versioned symbols.
20754 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
20755 (fesetenv): Do not use BP_SYM in versioned symbols.
20756 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20757 (feupdateenv): Do not use BP_SYM in versioned symbols.
20758 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20759 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20760 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
20761 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
20762 (open64): Do not use BP_SYM in weak_alias.
20763 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
20764 (fegetenv): Do not use BP_SYM in versioned symbols.
20765 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
20766 (fesetenv): Do not use BP_SYM in versioned symbols.
20767 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
20768 (feupdateenv): Do not use BP_SYM in versioned symbols.
20769 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
20770 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
20771 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
20772 (feraiseexcept): Do not use BP_SYM in versioned symbols.
20773 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
20774 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
20775 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
20777 (__libc_start_main): Do not use BP_SYM.
20779 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
20781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
20782 redundant return line.
20784 (denorm): Likewise.
20785 (dbl_mp): Likewise.
20786 (sub_magnitudes): Likewise.
20792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
20794 (denorm): Likewise.
20795 (dbl_mp): Likewise.
20796 (sub_magnitudes): Likewise.
20803 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
20805 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20806 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
20809 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
20810 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
20811 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
20812 of __mul for squares.
20813 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
20815 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
20817 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
20818 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20820 2013-02-13 Joseph Myers <joseph@codesourcery.com>
20823 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
20825 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
20826 prototype or function definition. Rename ubp_* variables and
20827 parameters. Remove argv definitions conditional on
20828 [__BOUNDED_POINTERS__].
20829 * debug/backtrace.c (__backtrace): Do not use __unbounded.
20830 * elf/dl-runtime.c (_dl_fixup): Likewise.
20831 * include/set-hooks.h (RUN_HOOK): Likewise.
20832 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
20834 * string/strcpy.c (strcpy): Do not use __unbounded.
20835 * sysdeps/generic/frame.h (struct layout): Likewise.
20836 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
20837 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
20838 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
20839 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
20840 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
20841 (__backtrace): Likewise.
20842 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
20844 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
20845 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
20846 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20848 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
20849 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
20850 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20851 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20852 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
20853 Do not use __unbounded.
20854 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
20855 Rename __unboundedrlimits parameter to rlimits in prototype.
20856 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
20857 Do not use __unbounded.
20858 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
20859 not use __ptrvalue.
20860 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20861 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
20862 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20863 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
20864 __ptrvalue or __unbounded.
20865 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
20866 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
20868 (__new_msgctl): Do not use __ptrvalue.
20869 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
20871 (__libc_msgrcv): Do not use __ptrvalue.
20872 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
20873 startup_info): Do not use __unbounded.
20874 (__libc_start_main): Likewise. Rename ubp_* variables and
20875 parameters. Remove argv definitions conditional on
20876 [__BOUNDED_POINTERS__].
20877 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
20879 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
20881 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
20883 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
20885 (__new_shmctl): Do not use __ptrvalue.
20886 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20887 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20889 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20890 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
20891 (__libc_sigaction): Likewise.
20892 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
20893 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
20895 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20897 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
20899 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
20901 * string/mempcpy.c: Implement by calling memcpy.
20903 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
20907 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
20910 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
20911 values in the mantissa.
20913 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
20914 minimize writes to Z.
20915 (sub_magnitudes): Simplify code a bit.
20917 2013-02-12 Roland McGrath <roland@hack.frob.com>
20919 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
20920 from the message. The linker prefixes all warnings with that already.
20922 2013-02-12 Andreas Schwab <schwab@suse.de>
20925 * posix/regexec.c (extend_buffers): Add parameter min_len.
20926 (check_matching): Pass minimum needed length.
20927 (clean_state_log_if_needed): Likewise.
20928 (get_subexp): Likewise.
20929 * posix/Makefile (tests): Add bug-regex34.
20930 (bug-regex34-ENV): Define.
20931 * posix/bug-regex34.c: New file.
20934 * posix/regcomp.c (parse_bracket_exp): When looking up collating
20935 elements compare against the byte sequence of it, not its name.
20936 * posix/Makefile (tests): Add bug-regex35.
20937 (bug-regex35-ENV): Define.
20938 * posix/bug-regex35.c: New file.
20940 2013-02-11 Tom de Vries <tom@codesourcery.com>
20942 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
20944 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
20945 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
20946 (CHECK_EOL): Add undef.
20948 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
20950 * bits/stdlib-bsearch.h: New file.
20951 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
20952 * stdlib/stdlib.h: Likewise.
20954 2013-02-11 Roland McGrath <roland@hack.frob.com>
20956 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
20957 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
20959 * manual/search.texi (Array Search Function): Add missing const in
20961 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
20962 declaration to use rlim_t.
20963 (Basic Scheduling Functions): Remove erroneous const from
20964 sched_getparam prototype. Remove erroneous * from
20965 sched_get_priority_max and sched_get_priority_min prototypes.
20966 (Resource Usage): Fix summary @comment on vtimes to refer to
20967 sys/vtimes.h rather than vtimes.h.
20968 Add missing *s in vtimes prototype.
20969 (Limits on Resources): Fix ulimit prototype to return long int.
20970 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
20971 prototypes to use long int rather than double.
20972 (BSD Random): Fix initstate and setstate to use char *, not void *.
20973 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
20974 prototype to make second argument 'struct aiocb64 *const[]'.
20975 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
20976 (Status of AIO Operations): Remove erroneous const in aio_return and
20977 aio_return64 prototypes.
20978 (Synchronizing I/O): Fix sync prototype to return void.
20979 * manual/startup.texi (Suboptions): Remove an erroneous const in
20980 getsubopt prototype.
20981 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
20982 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
20983 use size_t rather than int.
20984 (Scanning All Users): Likewise for getpwent_r.
20985 (Setting Groups): Add missing const to setgroups prototype.
20986 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
20987 * manual/socket.texi (Host Names): Fix gethostbyaddr and
20988 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
20989 'const void *' rather than 'const char *'.
20990 (Host Address Functions): Likewise for inet_ntop.
20991 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
20992 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
20993 ssize_t for return value.
20994 (Sending Data): Likewise for send, sendto, sendmsg.
20995 (Socket Option Functions): Add a missing const in setsockopt prototype.
20996 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
20997 use wchar_t for the argument.
20998 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
20999 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21001 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21002 double/float/long double for second argument.
21003 Fix return types of significand, significandf, significandl.
21004 * manual/filesys.texi (Setting Permissions): Use mode_t for second
21005 argument in fchmod prototype.
21006 (File Owner): Use uid_t and gid_t in fchown prototype.
21007 (File Times): Add const to utimes, futimes, and lutimes prototypes.
21008 (Making Special Files): Use mode_t and dev_t in mknod prototype.
21009 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21010 use 'const struct dirent **' as argument types to CMP function pointer
21012 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21013 (File Times): Fix summary magic @comment for struct utimbuf and utime
21014 to refer to utime.h, not time.h.
21015 * manual/string.texi (Argz Functions): Add missing const in
21016 argz_extract and argz_next prototypes.
21017 (Finding Tokens in a String): Likewise for basename.
21018 (String/Array Comparison): Fix typo in wcscasecmp prototype.
21019 (Copying and Concatenation): Fix typo in wmemmove prototype.
21020 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21021 (Signal Stack): Remove erroneous const in sigstack prototype.
21022 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21024 (Simple Calendar Time): Likewise for stime.
21025 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21027 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21028 say sys/sysctl.h instead.
21029 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21030 and vsyslog prototypes.
21032 2013-02-11 Tom de Vries <tom@codesourcery.com>
21034 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21037 2013-02-11 Roland McGrath <roland@hack.frob.com>
21039 * misc/sys/mman.h: Fix typo in mremap comment.
21041 2013-02-08 Roland McGrath <roland@hack.frob.com>
21043 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21044 the '\0' terminator.
21046 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21049 * debug/segfault.c: Don't include <bp-checks.h>.
21050 * sysdeps/generic/bp-checks.h: Remove file.
21051 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21052 (__GETDENTS): Don't use CHECK_N.
21053 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21054 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21055 (__getgroups): Don't use CHECK_N.
21056 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21057 (setgroups): Don't use CHECK_N.
21058 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21059 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21060 (__libc_msgrcv): Don't use CHECK_N.
21061 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21062 (__libc_msgsnd): Don't use CHECK_N.
21063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21065 (__libc_pread): Don't use CHECK_N.
21066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21067 include <bp-checks.h>.
21068 (__libc_pread64): Don't use CHECK_N.
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21070 include <bp-checks.h>.
21071 (__libc_pwrite): Don't use CHECK_N.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21073 include <bp-checks.h>.
21074 (__libc_pwrite64): Don't use CHECK_N.
21075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21077 (__libc_pread): Don't use CHECK_N.
21078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21079 include <bp-checks.h>.
21080 (__libc_pread64): Don't use CHECK_N.
21081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21082 include <bp-checks.h>.
21083 (__libc_pwrite): Don't use CHECK_N.
21084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21085 include <bp-checks.h>.
21086 (__libc_pwrite64): Don't use CHECK_N.
21087 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21088 (do_pread): Don't use CHECK_N.
21089 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21090 (do_pread64): Don't use CHECK_N.
21091 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21092 (do_pwrite): Don't use CHECK_N.
21093 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21094 (do_pwrite64): Don't use CHECK_N.
21095 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21096 (__libc_readv): Don't use CHECK_N.
21097 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21098 (semop): Don't use CHECK_N.
21099 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21101 (semtimedop): Don't use CHECK_N.
21102 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21103 (__libc_pread): Don't use CHECK_N.
21104 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21106 (__libc_pread64): Don't use CHECK_N.
21107 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21109 (__libc_pwrite): Don't use CHECK_N.
21110 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21112 (__libc_pwrite64): Don't use CHECK_N.
21113 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21115 (__libc_msgrcv): Don't use CHECK_N.
21116 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21117 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
21118 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21119 (__libc_writev): Don't use CHECK_N.
21121 2013-02-08 Roland McGrath <roland@hack.frob.com>
21123 * string/strcpy.c: Removed unused variable.
21125 * Makeconfig (+sysdep-includes): Define with := rather than =.
21126 Use an existing include/ subdir of each sysdeps dir before it.
21128 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21130 * nscd/connection.c (register_traced_file): Comment function.
21131 [HAVE_INOTIFY] (union __inev): Define.
21132 [HAVE_INOTIFY] (inotify_check_files): New function.
21133 [HAVE_INOTIFY] (clear_db_cache): Likewise.
21134 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21136 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21138 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21140 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21141 loaded if not already and that a failure is permanent.
21143 2013-02-08 Carlos O'Donell <carlos@redhat.com>
21146 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21147 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21149 2013-02-08 Joseph Myers <joseph@codesourcery.com>
21152 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21153 (CHECK_1_NULL_OK): Likewise.
21154 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21155 (__fxstat): Do not use CHECK_1.
21156 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21158 (___fxstat64): Do not use CHECK_1.
21159 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21161 (__fxstatat): Do not use CHECK_1.
21162 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21164 (__fxstatat64): Do not use CHECK_1.
21165 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21167 (__fxstat): Do not use CHECK_1.
21168 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21170 (__fxstatat): Do not use CHECK_1.
21171 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21173 (__getresgid): Do not use CHECK_1.
21174 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21176 (__getresuid): Do not use CHECK_1.
21177 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21179 (__lxstat): Do not use CHECK_1.
21180 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21182 (__old_msgctl): Do not use CHECK_1.
21183 (__new_msgctl): Likewise.
21184 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21186 (__new_setrlimit): Do not use CHECK_1.
21187 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21189 (__old_shmctl): Do not use CHECK_1.
21190 (__new_shmctl): Likewise.
21191 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21193 (__xstat): Do not use CHECK_1.
21194 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21195 (__lxstat): Do not use CHECK_1.
21196 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21198 (___lxstat64): Do not use CHECK_1.
21199 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21200 (__old_msgctl): Do not use CHECK_1.
21201 (__new_msgctl): Likewise.
21202 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21204 (__gettimeofday): Do not use CHECK_1.
21205 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21206 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21207 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21209 (__gettimeofday): Do not use CHECK_1.
21210 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21211 (__old_shmctl): Do not use CHECK_1_NULL_OK.
21212 (__new_shmctl): Do not use CHECK_1.
21213 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21215 (do_sigtimedwait): Do not use CHECK_1.
21216 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21218 (do_sigwaitinfo): Do not use CHECK_1.
21219 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21221 (msgctl): Do not use CHECK_1.
21222 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21224 (shmctl): Do not use CHECK_1.
21225 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21226 (ustat): Do not use CHECK_1.
21227 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21229 (__fxstat): Do not use CHECK_1.
21230 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21232 (__fxstatat): Do not use CHECK_1.
21233 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21235 (__lxstat): Do not use CHECK_1.
21236 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21238 (__xstat): Do not use CHECK_1.
21239 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21240 (__xstat): Do not use CHECK_1.
21241 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21242 (___xstat64): Do not use CHECK_1.
21245 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21247 (CHECK_BOUNDS_HIGH): Likewise.
21248 * string/strcpy.c: Do not include <bp-checks.h>.
21249 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21251 2013-02-07 Roland McGrath <roland@hack.frob.com>
21253 * nscd/nscd-client.h (__nscd_drop_map_ref):
21254 Add __attribute__ ((unused)).
21255 * nis/nss-nisplus.h (niserr2nss): Likewise.
21257 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21258 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21260 * csu/libc-tls.c (init_static_tls, init_slotinfo):
21261 Remove inline keyword.
21262 * include/rounding-mode.h (round_away): Likewise.
21263 * libio/wfileops.c (adjust_wide_data): Likewise.
21264 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21265 (__m128i_strloadu_tolower): Likewise.
21266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21267 (__m128i_strloadu_tolower): Likewise.
21268 * time/mktime.c (ydhms_diff): Likewise.
21269 * locale/elem-hash.h (elem_hash): Likewise.
21270 * locale/setlocale.c (setdata): Likewise.
21271 * posix/regex_internal.h (re_string_char_size_at): Likewise.
21272 (re_string_wchar_at): Likewise.
21273 (bitset_not, bitset_merge, bitset_mask): Likewise.
21274 [!(__GNUC__ > 3)] (inline): Remove macro.
21275 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21276 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21277 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21278 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21279 * string/memcmp.c (memcmp_bytes): Likewise.
21280 * locale/programs/locarchive.c (compute_hashval): Likewise.
21281 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21282 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21283 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21284 * nss/getent.c (print_rpc, print_protocols): Likewise.
21285 (print_passwd, print_group, print_aliases): Likewise.
21286 * nis/nss-nisplus.h (niserr2nss): Likewise.
21287 * nscd/connections.c (restart_p): Likewise.
21288 Change return type to bool.
21290 2013-02-05 Roland McGrath <roland@hack.frob.com>
21292 * Makeconfig (all-Depend-files): Add existing
21293 $(sorted-subdirs:=/Depend) files.
21294 (all-subdirs): Remove nss.
21295 * sysdeps/unix/inet/Subdirs: Add it here instead.
21296 * hesiod/Depend: New file.
21298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21299 instead of calling alloca.
21301 * io/lseek.c (__lseek): Rename to __libc_lseek.
21302 Define __lseek as an alias.
21304 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21306 2013-02-04 Carlos O'Donell <carlos@redhat.com>
21308 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21309 else clause and remove check for non-standard endianness.
21311 2013-02-04 David S. Miller <davem@davemloft.net>
21313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21315 2013-02-04 Joseph Myers <joseph@codesourcery.com>
21318 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21319 (__ubp_memchr): Remove prototype.
21320 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21321 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21322 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21323 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21324 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21326 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21327 (__ubp_memchr): Likewise.
21328 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21329 (__ubp_memchr): Likewise.
21330 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
21331 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
21332 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
21333 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
21335 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21336 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
21337 (__getcwd): Do not use CHECK_STRING.
21338 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21340 (__real_chown): Do not use CHECK_STRING.
21341 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
21343 (fchownat): Do not use CHECK_STRING.
21344 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
21346 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21348 (__lchown): Do not use CHECK_STRING.
21349 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21350 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21351 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21352 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
21353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21354 include <bp-checks.h>.
21355 (truncate64): Do not use CHECK_STRING.
21356 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21358 (__real_chown): Do not use CHECK_STRING.
21359 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21361 (__lchown): Do not use CHECK_STRING.
21362 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21364 (__chown): Do not use CHECK_STRING.
21365 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
21367 (truncate64): Do not use CHECK_STRING.
21368 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
21370 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
21371 (__xmknod): Do not use CHECK_STRING.
21372 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
21374 (__xmknodat): Do not use CHECK_STRING.
21375 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21376 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
21378 2013-02-04 Andreas Schwab <schwab@suse.de>
21381 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
21382 * include/netdb.h: Likewise for h_errno.
21383 * elf/tst-stackguard1.c: Include <tls.h>.
21385 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
21387 * elf/link.h (struct link_map): Extend the l_addr comment.
21388 * include/link.h (struct link_map): Likewise.
21390 2013-02-01 Joseph Myers <joseph@codesourcery.com>
21393 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
21394 (BOUNDED_1): Remove macro.
21395 * debug/backtrace.c: Don't include <bp-checks.h>.
21396 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
21397 (__backtrace): Likewise.
21398 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
21400 (__backtrace): Don't use BOUNDED_1.
21401 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
21403 (__backtrace): Don't use BOUNDED_1.
21404 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
21405 (__backtrace): Don't use BOUNDED_1.
21406 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
21407 (shmat): Don't use BOUNDED_N.
21409 2013-01-31 Joseph Myers <joseph@codesourcery.com>
21412 * sysdeps/generic/bp-start.h: Remove file.
21413 * csu/libc-start.c: Don't include <bp-start.h>.
21414 (LIBC_START_MAIN): Set up __environ directly instead of using
21415 INIT_ARGV_and_ENVIRON.
21416 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
21420 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
21422 (CHECK_FCNTL): Likewise.
21423 (CHECK_N_PAGES): Likewise.
21426 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
21428 (CHECK_SIGSET_NULL_OK): Likewise.
21429 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
21431 (sigpending): Don't use CHECK_SIGSET.
21432 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
21434 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21435 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
21437 (do_sigsuspend): Don't use CHECK_SIGSET.
21438 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
21440 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
21441 (do_sigwait): Don't use CHECK_SIGSET.
21442 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
21444 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
21445 include <bp-checks.h>.
21446 (sigpending): Don't use CHECK_SIGSET.
21447 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
21448 include <bp-checks.h>.
21449 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21450 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
21452 (sigpending): Don't use CHECK_SIGSET.
21453 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
21455 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
21458 * sysdeps/generic/bp-semctl.h: Remove file.
21459 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
21460 <bp-checks.h> and <bp-semctl.h>.
21461 (__old_semctl): Don't use CHECK_SEMCTL.
21462 (__new_semctl): Likewise.
21463 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
21465 (__old_semctl): Don't use CHECK_SEMCTL.
21466 (__new_semctl): Likewise.
21467 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
21468 <bp-checks.h> and <bp-semctl.h>.
21469 (__old_semctl): Don't use CHECK_SEMCTL.
21470 (__new_semctl): Likewise.
21471 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
21472 <bp-checks.h> and <bp-semctl.h>.
21473 (semctl): Don't use CHECK_SEMCTL.
21476 * Makerules (elide-bp-thunks): Remove variable.
21477 (elide-routines.oS): Don't use $(elide-bp-thunks).
21478 (elide-routines.os): Likewise.
21479 (elide-routines.o): Likewise.
21480 (elide-routines.op): Likewise.
21481 (elide-routines.og): Likewise.
21482 (objects): Don't use $(bp-thunks).
21483 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
21485 (common-generated): Do not add s-proto-bp.d.
21486 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
21489 Do not generate makefile rules for bounded-pointer thunks.
21490 * sysdeps/generic/bp-thunks.h: Remove file.
21491 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
21492 * sysdeps/unix/s-proto-bp.S: Likewise.
21495 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
21496 parts of result separately when argument is not close to line from
21497 -i to i and one part of argument is small.
21498 * math/k_casinhf.c (__kernel_casinhf): Likewise.
21499 * math/k_casinhl.c (__kernel_casinhl): Likewise.
21500 * math/libm-test.inc (cacos_test): Add more tests.
21501 (casin_test): Likewise.
21502 (casinh_test): Likewise.
21503 * sysdeps/i386/fpu/libm-test-ulps: Update.
21504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21506 2013-01-31 David S. Miller <davem@davemloft.net>
21508 * po/de.po: Update from translation team.
21510 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
21512 * time/tzfile.c: Include stdint.h for SIZE_MAX.
21514 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
21516 * configure.in (_AC_PROG_CC_C89): New definition.
21517 * configure: Regenerate.
21519 * configure.in (AC_PROG_CPP): New definition.
21520 * configure: Regenerate.
21522 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21524 * debug/tst-backtrace.h: New file.
21525 * debug/tst-backtrace2.c: Include tst-backtrace.h.
21526 (ret): Remove variable.
21528 (FAIL): Remove macro.
21529 (NO_INLINE): Likewise.
21530 (fn1): Use match function instead of strstr.
21531 * debug/tst-backtrace3.c: Include tst-backtrace.h.
21532 (ret): Remove variable.
21534 (FAIL): Remove macro.
21535 (NO_INLINE): Likewise.
21536 (fn): Use match function instead of strstr.
21537 * debug/tst-backtrace4.c: Include tst-backtrace.h.
21538 (ret): Remove variable.
21540 (FAIL): Remove macro.
21541 (NO_INLINE): Likewise.
21542 (handle_signal): Use match function instead of strstr.
21543 * debug/tst-backtrace5.c: Include tst-backtrace.h.
21544 (ret): Remove variable.
21546 (FAIL): Remove macro.
21547 (NO_INLINE): Likewise.
21548 (handle_signal): Use match function instead of strstr.
21550 2013-01-23 Roland McGrath <roland@hack.frob.com>
21552 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
21554 2013-01-23 David S. Miller <davem@davemloft.net>
21556 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
21557 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
21558 argument of CAS if possible.
21559 * sysdeps/sparc/sparc64/bits/atomic.h
21560 (__arch_compare_and_exchange_val_32_acq): Likewise.
21561 (__arch_compare_and_exchange_val_64_acq): Likewise.
21563 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
21565 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
21566 * sysdeps/posix/ulimit.c: ... this.
21567 Include <limits.h>.
21568 * sysdeps/unix/bsd/ulimit.c: Remove file.
21570 2013-01-23 Adam Conrad <adconrad@0c3.net>
21572 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
21573 (LDFLAGS-tst-array5): Likewise.
21575 2013-01-23 Joseph Myers <joseph@codesourcery.com>
21578 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
21579 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
21580 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
21581 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
21583 2013-01-21 David S. Miller <davem@davemloft.net>
21585 * sysdeps/sparc/backtrace.c: New file.
21586 * sysdeps/sparc/sparc32/backtrace.h: New file.
21587 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
21588 * sysdeps/sparc/sparc64/backtrace.h: New file.
21589 * sysdeps/sparc/sparc64/backtrace.c: Delete.
21590 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
21593 2013-01-21 Andreas Schwab <schwab@suse.de>
21596 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
21599 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
21601 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
21603 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21605 2013-01-18 Joseph Myers <joseph@codesourcery.com>
21606 Mark Mitchell <mark@codesourcery.com>
21607 Tom de Vries <tom@codesourcery.com>
21608 Paul Pluzhnikov <ppluzhnikov@google.com>
21610 * debug/tst-backtrace2.c: New file.
21611 * debug/tst-backtrace3.c: Likewise.
21612 * debug/tst-backtrace4.c: Likewise.
21613 * debug/tst-backtrace5.c: Likewise.
21614 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
21615 (CFLAGS-tst-backtrace3.c): Likewise.
21616 (CFLAGS-tst-backtrace4.c): Likewise.
21617 (CFLAGS-tst-backtrace5.c): Likewise.
21618 (LDFLAGS-tst-backtrace2): Likewise.
21619 (LDFLAGS-tst-backtrace3): Likewise.
21620 (LDFLAGS-tst-backtrace4): Likewise.
21621 (LDFLAGS-tst-backtrace5): Likewise.
21622 (tests): Add new tests tst-backtrace2, tst-backtrace3,
21623 tst-backtrace4 and tst-backtrace5.
21625 2013-01-18 Anton Blanchard <anton@samba.org>
21626 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21628 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
21629 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
21630 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
21631 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
21632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21633 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
21634 "+r" and remove output regs list as redundant. Add explicit inline
21635 asm to specify register of return val to work around compiler codegen
21636 bug. Remove (int) cast on return value. Add return type parameter to
21637 use in macro so that this macro does not truncate return value for
21639 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
21640 pass to INTERNAL_VSYSCALL_NCS.
21641 (INLINE_VSYSCALL): Add 'long int' as return type to
21642 INTERNAL_VSYSCALL_NCS macro invocation.
21643 (INTERNAL_VSYSCALL): Add 'long int' as return type to
21644 INTERNAL_VSYSCALL_NCS macro invocation.
21645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21647 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21650 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
21651 Fix application of SIMD FP exception mask.
21653 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
21654 mp_no from a power of two.
21655 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
21656 __mpexp_twomm1. Use __pow_mp.
21658 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
21661 2013-01-17 David S. Miller <davem@davemloft.net>
21663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21665 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21668 * include/complex.h: Condition contents on [!_COMPLEX_H].
21669 (__kernel_casinhf): New prototype.
21670 (__kernel_casinh): Likewise.
21671 (__kernel_casinhl): Likewise.
21672 * math/Makefile (libm_calls): Add k_casinh.
21673 * math/k_casinh.c: New file.
21674 * math/k_casinhf.c: Likewise.
21675 * math/k_casinhl.c: Likewise.
21676 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
21677 finite nonzero arguments.
21678 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
21679 finite nonzero arguments.
21680 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
21681 finite nonzero arguments.
21682 * math/s_casinh.c: Do not include <float.h>.
21683 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
21684 * math/s_casinhf.c: Do not include <float.h>.
21685 (__casinhf): Move code for finite nonzero arguments to
21687 * math/s_casinhl.c: Do not include <float.h>.
21688 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
21690 (__casinhl): Move code for finite nonzero arguments to
21692 * math/libm-test.inc (cacos_test): Add more tests.
21693 * sysdeps/i386/fpu/libm-test-ulps: Update.
21694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21696 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
21698 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
21699 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
21700 [!HAVE_MREMAP]: Remove [defined linux] case.
21701 * malloc/arena.c: Do not include <malloc-sysdep.h>.
21703 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
21705 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
21707 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
21709 * elf/elf.h (R_386_SIZE32): New relocation.
21710 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
21712 (elf_machine_rela): Likewise.
21713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21714 R_X86_64_SIZE64 and R_X86_64_SIZE32.
21716 2013-01-17 Joseph Myers <joseph@codesourcery.com>
21718 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
21719 (FP_FAST_FMA): Do not define.
21720 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
21721 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
21722 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
21723 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
21724 !_SOFT_FLOAT]: Likewise.
21725 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
21726 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
21728 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
21729 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
21730 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
21731 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
21732 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
21733 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
21736 2013-01-16 Andreas Schwab <schwab@suse.de>
21739 * include/stdlib.h (__mktemp): Add declaration.
21740 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
21741 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
21743 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21745 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
21747 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21748 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
21749 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
21751 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
21752 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
21754 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
21756 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
21757 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
21758 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
21760 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
21761 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
21763 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21765 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
21767 2013-01-15 David S. Miller <davem@davemloft.net>
21769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21770 trunc{,f} to libm-sysdep_routes.
21771 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
21775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
21777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
21779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
21781 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
21782 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
21783 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
21784 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
21785 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
21786 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21789 nearbyint{,f} to libm-sysdep_routes.
21790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
21800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
21801 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
21803 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
21804 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
21806 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
21807 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
21808 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
21810 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
21811 libc_feholdexcept and libc_fesetenv.
21813 2013-01-15 Mike Frysinger <vapier@gentoo.org>
21815 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
21817 2013-01-14 David S. Miller <davem@davemloft.net>
21819 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
21820 (SPARC_ASM_VIS2_IFUNC): Likewise.
21821 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
21822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
21823 use of 'siam' instruction.
21824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
21826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
21828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
21834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
21836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
21838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
21840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
21842 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
21845 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
21846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
21848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
21857 routines to libm-sysdep_routines.
21858 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
21861 fdim/fdimf to libm-sysdep_routines.
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
21864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
21867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
21870 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
21871 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
21872 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
21873 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
21875 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21877 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
21878 to optimize copies.
21880 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
21881 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
21885 local variable MPTWO.
21886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21889 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21891 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
21894 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21896 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
21898 2013-01-13 Mike Frysinger <vapier@gentoo.org>
21900 * manual/pattern.texi (glob_t): Document gl_flags.
21901 (glob64_t): Likewise.
21903 2013-01-11 David S. Miller <davem@davemloft.net>
21905 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
21906 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
21907 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
21908 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
21909 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
21910 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
21911 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
21912 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
21913 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
21914 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
21915 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
21916 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
21917 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
21919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
21920 sparc V9 rather than using V8 code.
21921 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
21922 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
21924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21926 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
21929 2013-01-11 Roland McGrath <roland@hack.frob.com>
21931 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
21932 not in the main loop.
21933 * configure: Regenerated.
21935 2013-01-11 Joseph Myers <joseph@codesourcery.com>
21937 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
21938 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
21940 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
21941 [!__GLIBC_HAVE_LONG_LONG] case.
21942 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
21943 condition to just #else.
21944 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
21945 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
21946 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
21947 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
21949 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
21950 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21951 #elif condition to just #else.
21952 * sysdeps/unix/sysv/linux/sys/sysmacros.h
21953 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
21954 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
21955 #elif condition to just #else.
21957 2013-01-11 Steve Ellcey <sellcey@mips.com>
21959 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
21960 (EF_MIPS_ARCH_64): Fix value.
21961 (EF_MIPS_ARCH_32R2): New.
21962 (EF_MIPS_ARCH_64R2): New.
21964 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
21966 * Makeconfig (+link-pie-before-libc): New.
21967 (+link-pie-after-libc): Likewise.
21968 (+link-pie-tests): Likewise.
21969 (+link-pie): Rewritten.
21970 (link-before-libc): Remove $(config-LDFLAGS).
21971 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
21972 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
21973 (config-LDFLAGS): Renamed to ...
21974 (rtld-LDFLAGS): This.
21975 (rtld-tests-LDFLAGS): New macro.
21976 (link-libc-rpath-link): Likewise.
21977 (link-libc-tests-rpath-link): Likewise.
21978 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
21979 (link-libc): Prepand $(link-libc-rpath-link).
21980 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
21981 (test-program-prefix): New macro.
21982 (test-via-rtld-prefix): Likewise.
21983 (test-program-cmd): Likewise.
21984 (host-test-program-cmd): Likewise.
21985 * Makefile ($(common-objpfx)testrun.sh): Replace
21986 $(run-program-prefix) with $(test-program-prefix).
21987 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
21989 ($(common-objpfx)shlib.lds): Likewise.
21990 (build-module-helper): Likewise.
21991 ($(common-objpfx)format.lds): Likewise.
21992 * Rules (binaries-pie-tests): New.
21993 (binaries-pie-notests): Likewise.
21994 (binaries-pie): Rewritten.
21995 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
21996 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
21997 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
21998 (make-test-out): Replace $(host-built-program-cmd) with
21999 $(host-test-program-cmd).
22000 * config.make.in (build-hardcoded-path-in-tests): New variable.
22001 * configure.in (--enable-hardcoded-path-in-tests): New configure
22003 (hardcoded_path_in_tests): New AC_SUBST.
22004 * configure: Regenerated.
22005 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22006 $(built-program-cmd) with $(test-program-cmd).
22007 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22008 (test_program_cmd): This.
22009 * elf/Makefile ($(objpfx)order.out): Run test with
22010 $(test-program-prefix).
22011 ($(objpfx)order2.out): Likewise.
22012 ($(objpfx)tst-initorder.out): Likewise.
22013 ($(objpfx)tst-initorder2.out): Likewise.
22014 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22015 $(test-program-cmd).
22016 ($(objpfx)tst-array1-static.out): Likewise.
22017 ($(objpfx)tst-array2.out): Likewise.
22018 ($(objpfx)tst-array3.out): Likewise.
22019 ($(objpfx)tst-array4.out): Likewise.
22020 ($(objpfx)tst-array5.out): Likewise.
22021 ($(objpfx)tst-array5-static.out): Likewise.
22022 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22023 $(test-program-cmd).
22024 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22025 $(run-program-prefix) with $(test-program-prefix).
22026 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22027 (test_program_prefix): This.
22028 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22029 $(run-program-prefix) with $(test-program-prefix).
22030 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22031 (test_program_prefix): This.
22032 * iconvdata/tst-tables.sh: Likewise.
22033 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22034 $(run-program-prefix) with $(test-program-prefix).
22035 ($(objpfx)tst-translit.out): Likewise.
22036 ($(objpfx)tst-gettext2.out): Likewise.
22037 ($(objpfx)tst-gettext4.out): Likewise.
22038 ($(objpfx)tst-gettext6.out): Likewise.
22039 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22040 (test_program_prefix): This.
22041 * intl/tst-gettext2.sh: Likewise.
22042 * intl/tst-gettext4.sh Likewise.
22043 * intl/tst-gettext6.sh: Likewise.
22044 * intl/tst-translit.sh: Likewise.
22045 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22046 with $(test-program-cmd).
22047 * libio/Makefile ($(objpfx)test-freopen.out): Replace
22048 $(run-program-prefix) with $(test-program-prefix).
22049 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22050 (test_program_prefix): This.
22051 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22052 $(run-program-prefix) with $(test-program-prefix).
22053 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22054 (test_program_prefix): This.
22055 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22056 * posix/Makefile ($(objpfx)globtest.out): Replace
22057 $(run-via-rtld-prefix) and $(test-wrapper) with
22058 $(test-program-prefix) and $(test-via-rtld-prefix).
22059 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22060 $(test-program-prefix).
22061 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22062 $(host-test-program-cmd).
22063 (tst-spawn-ARGS): Likewise.
22064 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22065 $(test-program-prefix).
22066 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22067 (test_via_rtld_prefix): This.
22068 (test_wrapper): Renamed to ...
22069 (test_program_prefix): This.
22070 (run_program_prefix): Replaced by test_program_prefix.
22071 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22072 (test_program_prefix): This.
22073 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22074 with $(host-test-program-cmd).
22075 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22076 $(run-program-prefix) with $(test-program-prefix).
22077 ($(objpfx)tst-printf.out): Likewise.
22078 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22079 $(test-program-cmd).
22080 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22081 (test_program_prefix): This.
22082 * stdio-common/tst-unbputc.sh: Likewise.
22083 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22084 $(run-program-prefix) with $(test-program-prefix).
22085 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22086 (test_program_prefix): This.
22087 * string/Makefile ($(objpfx)tst-svc.out): Replace
22088 $(built-program-cmd) with $(test-program-cmd).
22090 2013-01-11 Andreas Jaeger <aj@suse.de>
22093 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22094 value. Sync with Linux 3.7.
22096 2013-01-10 David S. Miller <davem@davemloft.net>
22098 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22099 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22100 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22102 2013-01-10 Roland McGrath <roland@hack.frob.com>
22104 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22106 * configure: Regenerated.
22108 2013-01-10 David S. Miller <davem@davemloft.net>
22110 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22111 sparc V9 rather than using V8 code.
22112 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22113 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22115 2013-01-10 Roland McGrath <roland@hack.frob.com>
22117 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22118 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22119 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22120 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22121 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22122 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22123 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22124 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22125 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22126 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22127 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22128 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22129 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22130 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22131 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22132 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22133 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22134 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22135 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22136 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22137 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22138 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22139 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22140 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22141 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22142 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22143 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22145 2013-01-10 David S. Miller <davem@davemloft.net>
22147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22149 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22151 * posix/Makefile (tests-static): New variable.
22152 (tests): Add $(tests-static).
22153 (tst-exec-static-ARGS): New variable.
22154 (tst-spawn-static-ARGS): Likewise.
22155 * posix/tst-exec-static.c: New file.
22156 * posix/tst-spawn-static.c: Likewise.
22157 * posix/tst-exec.c: Support run directly.
22158 * posix/tst-spawn.c: Likewise.
22160 2013-01-10 Joseph Myers <joseph@codesourcery.com>
22162 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22164 * math/bits/mathcalls.h (llrint): Likewise.
22165 (llround): Likewise.
22166 * stdlib/stdlib.h (struct drand48_data): Likewise.
22167 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22168 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22169 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22171 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22173 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22174 (elf_greg_t): Likewise.
22175 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22176 (__jmp_buf): Likewise.
22177 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22179 (llrint): Likewise, for all definitions.
22180 (llrintl): Likewise.
22182 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22183 Remove [__GNUC__] condition.
22184 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22185 condition to just [__USE_ISOC99].
22186 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22188 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
22191 * sysdeps/unix/sysv/linux/x86/bits/environments.h
22192 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22194 (_POSIX_V6_ILP32_OFF32): Likewise.
22195 (_XBS5_ILP32_OFF32): Likewise.
22196 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22197 (__ILP32_OFFBIG_LDFLAGS): Likewise.
22199 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22201 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22204 doubles __mpexp_twomm1. Adjust usage.
22205 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22208 2013-01-10 Andreas Schwab <schwab@suse.de>
22211 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22212 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22214 2013-01-09 David S. Miller <davem@davemloft.net>
22217 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22218 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22219 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22220 (TCP_FASTOPEN): Define.
22221 (tcp_repair_opt): New structure.
22222 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22224 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22225 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22226 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22227 (tcp_cookie_transactions): New structure.
22229 2013-01-09 Anton Blanchard <anton@samba.org>
22231 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22232 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22234 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22236 2013-01-09 Joseph Myers <joseph@codesourcery.com>
22238 * include/features.h (__USE_ANSI): Remove.
22240 2013-01-09 Roland McGrath <roland@hack.frob.com>
22242 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22244 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22246 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
22248 * sysdeps/s390/fpu/libm-test-ulps: Update.
22250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22252 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22256 (denorm): Likewise.
22257 (__mp_dbl): Likewise.
22258 (__dbl_mp): Likewise.
22259 (add_magnitudes): Likewise.
22260 (sub_magnitudes): Likewise.
22266 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
22270 (denorm): Likewise.
22271 (__mp_dbl): Likewise.
22272 (__dbl_mp): Likewise.
22273 (add_magnitudes): Likewise.
22274 (sub_magnitudes): Likewise.
22280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22284 (denorm): Likewise.
22285 (__mp_dbl): Likewise.
22286 (__dbl_mp): Likewise.
22287 (add_magnitudes): Likewise.
22288 (sub_magnitudes): Likewise.
22295 2013-01-08 Joseph Myers <joseph@codesourcery.com>
22297 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22298 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22299 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22300 2 && __USE_EXTERN_INLINES]: Likewise.
22302 2013-01-08 Andreas Jaeger <aj@suse.de>
22305 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22307 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22308 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22310 2013-01-07 Anton Blanchard <anton@samba.org>
22312 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22313 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22314 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22315 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22316 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22317 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22318 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22319 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22321 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22322 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22323 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22324 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22327 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22328 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22331 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22332 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22333 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
22334 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22335 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22336 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
22337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22338 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22339 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
22341 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22342 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22343 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22344 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22345 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22346 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22348 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
22350 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
22351 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22352 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
22353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22354 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22356 2013-01-07 Joseph Myers <joseph@codesourcery.com>
22358 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
22359 (__MALLOC_PMT): Likewise.
22360 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
22361 [__GNUC__], only on [_LIBC].
22362 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22363 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
22364 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
22365 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
22366 forward declaration.
22367 (realloc_hook_ini): Likewise.
22368 (memalign_hook_ini): Likewise.
22369 (__libc_memalign): Do not use __MALLOC_PMT in variable
22371 (__libc_valloc): Likewise.
22372 (__libc_pvalloc): Likewise.
22373 (__libc_calloc): Likewise.
22374 (__posix_memalign): Likewise.
22377 * math/s_casinh.c: Include <float.h>.
22378 (__casinh): Do not do computation with squaring and square root
22379 for large arguments.
22380 * math/s_casinhf.c: Include <float.h>.
22381 (__casinhf): Do not do computation with squaring and square root
22382 for large arguments.
22383 * math/s_casinhl.c: Include <float.h>.
22384 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
22385 (__casinhl): Do not do computation with squaring and square root
22386 for large arguments.
22387 * math/libm-test.inc (casin_test): Add more tests.
22388 (casinh_test): Likewise.
22389 * sysdeps/i386/fpu/libm-test-ulps: Update.
22390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22392 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
22394 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
22395 (__x86_64_raw_data_cache_size): Likewise.
22396 (__x86_64_data_cache_size_half): Likewise.
22397 (__x86_64_raw_data_cache_size_half): Likewise.
22398 (__x86_64_shared_cache_size): Likewise.
22399 (__x86_64_raw_shared_cache_size): Likewise.
22400 (__x86_64_shared_cache_size_half): Likewise.
22401 (__x86_64_raw_shared_cache_size_half): Likewise.
22402 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
22404 (__x86_data_cache_size): This.
22405 (__x86_64_raw_data_cache_size): Renamed to ...
22406 (__x86_raw_data_cache_size): This.
22407 (__x86_64_data_cache_size_half): Renamed to ...
22408 (__x86_data_cache_size_half): This.
22409 (__x86_64_raw_data_cache_size_half): Renamed to ...
22410 (__x86_raw_data_cache_size_half): This.
22411 (__x86_64_shared_cache_size): Renamed to ...
22412 (__x86_shared_cache_size): This.
22413 (__x86_64_raw_shared_cache_size): Renamed to ...
22414 (__x86_raw_shared_cache_size): This.
22415 (__x86_64_shared_cache_size_half): Renamed to ...
22416 (__x86_shared_cache_size_half): This.
22417 (__x86_64_raw_shared_cache_size_half): Renamed to ...
22418 (__x86_raw_shared_cache_size_half): This.
22419 * sysdeps/x86_64/memcpy.S: Updated.
22420 * sysdeps/x86_64/memset.S: Likewise.
22421 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22422 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22423 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22425 2013-01-04 David S. Miller <davem@davemloft.net>
22427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22429 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
22431 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
22432 1 to avoid redefinition warning.
22433 (__USE_GNU): Don't define.
22434 (init_signaling_nan): Protoize.
22436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22438 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22440 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
22441 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
22442 (__cpymn): Likewise.
22443 (norm): Remove commented code.
22444 (denorm): Likewise.
22445 (__mp_dbl): Likewise.
22447 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
22448 (__cpymn): Likewise.
22449 (norm): Remove commented code.
22450 (denorm): Likewise.
22451 (__mp_dbl): Likewise.
22454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
22455 mp_no value for 1.0 and 2.0.
22456 (norm): Use RADIXI instead of radixi.d.
22457 (denorm): Likewise.
22458 (__mul): Use 0.0 instead of zero.d.
22459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
22460 mp_no value for 1.0 and 2.0.
22461 (norm): Use RADIXI instead of radixi.d.
22462 (denorm): Likewise.
22463 (__mul): Use 0.0 instead of zero.d.
22465 2013-01-04 Joseph Myers <joseph@codesourcery.com>
22468 * math/s_casinh.c (__casinh): Reduce finite argument to first
22469 quadrant then set signs of results at the end.
22470 * math/s_casinhf.c (__casinhf): Likewise.
22471 * math/s_casinhl.c (__casinhl): Likewise.
22472 * math/libm-test.inc (casin_test): Add more tests.
22473 (casinh_test): Likewise.
22474 * sysdeps/i386/fpu/libm-test-ulps: Update.
22475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22477 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22479 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
22481 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
22483 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
22485 (denorm): Likewise.
22486 (__mp_dbl): Likewise.
22489 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
22490 and adjust the header comment.
22492 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
22493 variable name from declaration.
22495 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
22497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22498 Initialize COMMON_CPUID_INDEX_7 element.
22499 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
22500 (CPUID_RTM): Likewise.
22501 (HAS_RTM): Likewise.
22502 (COMMON_CPUID_INDEX_7): New enum.
22504 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
22507 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
22508 size is zero, record memory as freed.
22510 2013-01-03 Andreas Jaeger <aj@suse.de>
22512 * po/ia.po: Add new Interlingua translation.
22514 2012-01-03 Allan McRae <allan@archlinux.org>
22516 * locale/programs/localedef.c: Fix description of '--posix' flag.
22518 2013-01-02 Joseph Myers <joseph@codesourcery.com>
22520 * NEWS: Update dates in second copyright notice.
22521 * README: Update copyright dates in example.
22522 * manual/libc.texinfo: Update copyright dates.
22523 * scripts/test-installation.pl: Update copyright date in --version
22526 * hurd/ctty-input.c: Fix copyright notice formatting.
22527 * hurd/ctty-output.c: Likewise.
22528 * hurd/dtable.c: Likewise.
22529 * hurd/hurd-raise.c: Likewise.
22530 * hurd/hurdprio.c: Likewise.
22531 * hurd/msgportdemux.c: Likewise.
22532 * misc/sys/file.h: Likewise.
22533 * misc/sys/ioctl.h: Likewise.
22534 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22535 * sysdeps/mach/hurd/chdir.c: Likewise.
22536 * sysdeps/mach/hurd/fchdir.c: Likewise.
22537 * sysdeps/mach/hurd/rename.c: Likewise.
22538 * sysdeps/mach/hurd/rmdir.c: Likewise.
22539 * sysdeps/mach/hurd/seekdir.c: Likewise.
22540 * sysdeps/mach/hurd/setsid.c: Likewise.
22541 * sysdeps/posix/wait3.c: Likewise.
22543 * All files with FSF copyright notices: Update copyright dates
22544 using scripts/update-copyrights.
22545 * intl/plural.c: Regenerated.
22546 * locale/programs/charmap-kw.h: Likewise.
22547 * locale/programs/locfile-kw.h: Likewise.
22549 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22551 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
22554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
22555 calculation loop and add branch prediction.
22557 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
22558 check access beyond bounds of m1np.
22560 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22562 (__inv): Remove local variable MPTWO to use the global
22564 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
22565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22567 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
22568 MP3HALFS static const.
22570 2013-01-01 David S. Miller <davem@davemloft.net>
22572 * po/ca.po: Update from translation team.
22574 2013-01-01 Joseph Myers <joseph@codesourcery.com>
22576 * scripts/update-copyrights: New file.
22577 * Makeconfig: Reformat copyright notice.
22578 * ctype/ctype.h: Likewise.
22579 * debug/swprintf_chk.c: Likewise.
22580 * elf/dl-cache.c: Likewise.
22581 * elf/dl-debug.c: Likewise.
22582 * elf/dl-object.c: Likewise.
22583 * grp/initgroups.c: Likewise.
22584 * hurd/Makefile: Likewise.
22585 * hurd/hurd/signal.h: Likewise.
22586 * hurd/hurdfault.c: Likewise.
22587 * hurd/hurdioctl.c: Likewise.
22588 * hurd/hurdlookup.c: Likewise.
22589 * hurd/intr-msg.c: Likewise.
22590 * iconv/gconv_open.c: Likewise.
22591 * libio/swprintf.c: Likewise.
22592 * locale/lc-ctype.c: Likewise.
22593 * locale/nl_langinfo.c: Likewise.
22594 * mach/Machrules: Likewise.
22595 * mach/Makefile: Likewise.
22596 * malloc/obstack.h: Likewise.
22597 * manual/Makefile: Likewise.
22598 * manual/tsort.awk: Likewise.
22599 * misc/bits/stab.def: Likewise.
22600 * nis/nis_print_group_entry.c: Likewise.
22601 * nis/nis_table.c: Likewise.
22602 * nis/nss_compat/compat-pwd.c: Likewise.
22603 * nis/nss_compat/compat-spwd.c: Likewise.
22604 * po/Makefile: Likewise.
22605 * posix/fnmatch.c: Likewise.
22606 * posix/regex.h: Likewise.
22607 * resolv/Makefile: Likewise.
22608 * resolv/nss_dns/dns-network.c: Likewise.
22609 * resolv/res_hconf.c: Likewise.
22610 * scripts/gen-sorted.awk: Likewise.
22611 * soft-fp/soft-fp.h: Likewise.
22612 * stdio-common/printf.h: Likewise.
22613 * stdlib/monetary.h: Likewise.
22614 * stdlib/random.c: Likewise.
22615 * stdlib/random_r.c: Likewise.
22616 * sysdeps/generic/Makefile: Likewise.
22617 * sysdeps/gnu/Makefile: Likewise.
22618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
22646 * sysdeps/mach/hurd/errnos.awk: Likewise.
22647 * sysdeps/mach/hurd/fork.c: Likewise.
22648 * sysdeps/mach/hurd/getcwd.c: Likewise.
22649 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
22650 * sysdeps/mach/hurd/mmap.c: Likewise.
22651 * sysdeps/mach/hurd/utimes.c: Likewise.
22652 * sysdeps/mach/hurd/xmknod.c: Likewise.
22653 * sysdeps/posix/profil.c: Likewise.
22654 * sysdeps/posix/readdir_r.c: Likewise.
22655 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22656 * sysdeps/powerpc/bits/setjmp.h: Likewise.
22657 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
22658 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22660 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22661 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22662 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
22663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22664 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22665 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22666 * sysdeps/pthread/lio_listio.c: Likewise.
22667 * sysdeps/sparc/dl-procinfo.h: Likewise.
22668 * sysdeps/unix/i386/sysdep.S: Likewise.
22669 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
22670 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
22671 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
22672 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
22673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22674 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22675 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22676 * sysdeps/unix/sysv/linux/speed.c: Likewise.
22677 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
22678 * sysdeps/wordsize-32/divdi3.c: Likewise.
22679 * time/sys/time.h: Likewise.
22680 * wcsmbs/Makefile: Likewise.
22682 2013-01-01 David S. Miller <davem@davemloft.net>
22684 * po/fr.po: Update from translation team.
22686 * catgets/gencat.c: Update copyright year.
22687 * csu/version.c: Likewise.
22688 * debug/catchsegv.sh: Likewise.
22689 * debug/pcprofiledump.c: Likewise.
22690 * debug/xtrace.sh: Likewise.
22691 * elf/ldconfig.c: Likewise.
22692 * elf/ldd.bash.in: Likewise.
22693 * elf/pldd.c: Likewise.
22694 * elf/sotruss.ksh: Likewise.
22695 * elf/sprof.c: Likewise.
22696 * iconv/iconv_prog.c: Likewise.
22697 * iconv/iconvconfig.c: Likewise.
22698 * locale/programs/locale.c: Likewise.
22699 * locale/programs/localedef.c: Likewise.
22700 * login/programs/pt_chown.c: Likewise.
22701 * malloc/memusage.sh: Likewise.
22702 * malloc/memusagestat.c: Likewise.
22703 * malloc/mtrace.pl: Likewise.
22704 * nscd/nscd.c: Likewise.
22705 * nss/getent.c: Likewise.
22706 * nss/makedb.c: Likewise.
22707 * posix/getconf.c: Likewise.
22709 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22711 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
22714 2012-12-30 Mike Frysinger <vapier@gentoo.org>
22716 * math/bits/mathcalls.h (modf): Use __nonnull.
22718 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22720 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
22721 (split): Use macro CN instead of the bare value.
22722 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
22724 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
22725 instead of the bare value.
22726 (power1): Likewise.
22728 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22730 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
22732 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22734 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
22736 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22737 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22738 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
22739 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22741 2012-12-28 Andreas Jaeger <aj@suse.de>
22743 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
22744 values are from Linux 3.7.
22746 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
22747 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
22749 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22751 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
22754 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
22756 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
22757 variables with preprocessor constants.
22758 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
22759 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
22760 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
22762 2012-12-27 Bruno Haible <bruno@clisp.org>
22765 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
22768 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22770 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
22771 and use variable directly.
22772 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
22774 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
22776 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
22777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
22779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22780 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22781 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
22782 include directive. Remove local variable MPONE.
22783 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
22784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
22785 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22787 2012-12-25 David S. Miller <davem@davemloft.net>
22789 * version.h (RELEASE): Set to "development".
22790 (VERSION): Set to "2.17.90".
22791 * NEWS: Add 2.18 section.
22793 2012-12-21 David S. Miller <davem@davemloft.net>
22795 * po/hr.po: Update from translation team.
22797 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22799 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
22801 2012-12-19 Steve Ellcey <sellcey@mips.com>
22803 * NEWS: Mention new memcpy for MIPS.
22805 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22807 * manual/contrib.texi (Contributors): Spelling correction.
22809 2012-12-15 David S. Miller <davem@davemloft.net>
22811 * po/ru.po: Update from translation team.
22813 2012-12-13 David S. Miller <davem@davemloft.net>
22815 * NEWS: Mention IFUNC testsuite enhancements.
22817 * po/pl.po: Update from translation team.
22818 * po/bg.po: Likewise.
22820 * manual/contrib.texi (Contributors): Update entries for Hongjiu
22821 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
22823 2012-12-11 David S. Miller <davem@davemloft.net>
22825 * po/sv.po: Update from translation team.
22827 * po/vi.po: Update from translation team.
22829 * po/cs.po: Update from translation team.
22831 * po/de.po: Update from translation team.
22832 * po/eo.po: Likewise.
22833 * po/nl.po: Likewise.
22835 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22838 * manual/argp.texi (Argp Helper Functions): Move node to follow
22839 Argp Parsing State.
22842 * manual/conf.texi (Limits on File System Capacity): Mention if
22843 terminating null is included in the max size.
22845 2012-12-10 Andreas Jaeger <aj@suse.de>
22847 * po/cs.po: Update from translation team.
22849 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22851 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
22852 void pointer and cast to uintptr_t.
22853 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
22855 * sysdeps/s390/s390-64/memcpy.S: Likewise.
22856 * sysdeps/s390/s390-64/memset.S: Likewise.
22858 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
22861 * menual/message.texi (Message Translation): Fix typos.
22862 (Helper programs for gettext): Likewise.
22864 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
22867 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
22870 2012-12-07 David S. Miller <davem@davemloft.net>
22872 * po/libc.pot: Update.
22874 2012-12-07 Richard Henderson <rth@redhat.com>
22877 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
22878 normal/normal case to before the switch.
22879 (_FP_DIV): Likewise.
22881 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
22882 Mike Frysinger <vapier@gentoo.org>
22884 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
22885 check for __NR_fadvise64_64.
22887 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
22889 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
22890 0, not just to plain "0" as a statement.
22891 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
22894 2012-12-06 Joseph Myers <joseph@codesourcery.com>
22896 * NEWS: Use sourceware.org in Bugzilla URL.
22898 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22901 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
22903 * stdio-common/tst-put-error.c (do_test): Add newline to the
22904 padded test to ensure flush.
22906 2012-12-05 Jeff Law <law@redhat.com>
22908 * sunrpc/etc.rpc (fedfs_admin): Add entry.
22910 2012-12-05 Joseph Myers <joseph@codesourcery.com>
22912 * README: Don't refer to ports add-on as distributed separately.
22913 Mention AArch64 in list of systems supported in the ports add-on.
22915 * LICENSES: Add more non-FSF copyright and license notices.
22917 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
22920 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
22922 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
22923 10000 as width of padded output.
22925 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22927 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
22929 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
22930 variable LX with __attribute__ ((unused)).
22931 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22933 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22935 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
22936 with __attribute__ ((unused)).
22938 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
22940 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
22942 2012-12-04 Joseph Myers <joseph@codesourcery.com>
22944 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
22945 (CFLAGS-nldbl-acos.c): New variable.
22946 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
22947 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
22948 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
22949 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
22950 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
22951 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
22952 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
22953 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
22954 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
22955 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
22956 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
22957 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
22958 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
22959 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
22960 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
22961 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
22962 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
22963 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
22964 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
22965 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
22966 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
22967 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
22968 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
22969 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
22970 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
22971 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
22972 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
22973 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
22974 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
22975 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
22976 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
22977 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
22978 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
22979 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
22980 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
22981 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
22982 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
22983 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
22984 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
22985 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
22986 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
22987 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
22988 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
22989 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
22990 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
22991 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
22992 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
22993 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
22994 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
22995 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
22996 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
22997 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
22998 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
22999 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23000 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23001 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23002 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23003 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23004 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23005 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23006 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23007 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23008 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23009 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23010 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23011 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23012 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23013 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23014 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23015 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23016 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23017 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23018 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23019 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23020 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23021 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23022 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23023 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23024 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23025 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23026 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23027 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23028 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23029 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23030 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23031 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23032 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23033 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23034 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23035 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23036 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23037 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23038 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23039 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23040 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23041 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23042 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23045 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23048 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23049 whole low double instead of just low 47 bits when splitting values
23052 2012-12-03 Allan McRae <allan@archlinux.org>
23054 * manual/stdio.texi (Predefined Printf Handlers): Remove
23055 @hsep and @vsep usage.
23057 2012-12-03 Mike Frysinger <vapier@gentoo.org>
23059 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23060 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23062 2012-12-03 Jeff Law <law@redhat.com>
23064 * time/sys/time.h (settimeofday): Do not mark TV argument
23067 2012-12-01 Mike Frysinger <vapier@gentoo.org>
23069 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23070 when currently writing and seek to current position when not.
23071 * libio/Makefile (tests): Remove bug-fclose1.
23072 * libio/bug-fclose1.c: Delete.
23074 2012-12-01 Joseph Myers <joseph@codesourcery.com>
23076 * manual/arith.texi (feenableexcept): Fix typo.
23077 (fedisableexcept): Likewise.
23079 2012-11-30 Roland McGrath <roland@hack.frob.com>
23081 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23082 second, differently-typed declaration, rather than a cast.
23084 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23086 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23087 * include/rpc/svc.h: ... here.
23089 2012-11-30 Aurelien Jarno <aurel32@debian.org>
23092 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23093 depending n and resplen2 to catch cases where answer
23096 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
23098 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23099 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23101 2012-11-29 Mike Frysinger <vapier@gentoo.org>
23103 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23105 2012-11-29 Roland McGrath <roland@hack.frob.com>
23107 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23109 2012-11-28 Jeff Law <law@redhat.com>
23112 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23113 dataset_temporary. Track alloca usage into alloca_used.
23114 If dataset is large allocate and release it via malloc/free.
23116 2012-06-04 Florian Weimer <fweimer@redhat.com>
23119 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23121 2012-11-28 David S. Miller <davem@davemloft.net>
23123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23125 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23128 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23129 of pi/2 rounded to nearest to 64 bits.
23130 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23131 nearest to 64 bits.
23132 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23135 2012-11-28 Jeff Law <law@redhat.com>
23136 Martin Osvald <mosvald@redhat.com>
23139 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23140 * sunrpc/svc.c: Include time.h.
23141 (__svc_accept_failed): New function.
23142 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23143 any reason other than EINTR, call __svc_accept_failed.
23144 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23145 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23147 2012-11-28 Andreas Schwab <schwab@suse.de>
23149 * scripts/abilist.awk: Also handle indirect functions in .opd
23152 2012-11-28 Joseph Myers <joseph@codesourcery.com>
23155 * sysdeps/x86/fpu/powl_helper.c: New file.
23156 * sysdeps/x86/fpu/Makefile: Likewise.
23157 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23159 (__ieee754_powl): Use __powl_helper for finite arguments except
23160 integer exponents below 8.
23161 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23163 (__ieee754_powl): Use __powl_helper for finite arguments except
23164 integer exponents below 8.
23165 * math/libm-test.inc (pow_test): Add more tests and enable some
23166 previously disabled tests.
23167 * sysdeps/i386/fpu/libm-test-ulps: Update.
23168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23170 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23171 Carlos O'Donell <carlos_odonell@mentor.com>
23173 * nss/makedb.c (is_prime): Assert that input is odd and greater
23174 than 4. Note that fact in a comment too.
23175 (next_prime): Add 4 to input.
23177 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23180 * libio/Makefile (tests): Add test case tst-fwrite-error.
23181 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23182 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23183 * libio/tst-fwrite-error.c: New test case.
23185 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
23187 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23188 before casting to void *.
23189 * include/libc-internal.h (__pointer_type): New macro.
23190 (__integer_if_pointer_type_sub): Likewise.
23191 (__integer_if_pointer_type): Likewise.
23192 (cast_to_integer): Likewise.
23193 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23194 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23195 before casting to atomic64_t.
23196 (atomic_exchange_acq): Likewise.
23197 (__arch_exchange_and_add_body): Likewise.
23198 (__arch_add_body): Likewise.
23199 (atomic_add_negative): Likewise.
23200 (atomic_add_zero): Likewise.
23202 2012-11-26 Joseph Myers <joseph@codesourcery.com>
23204 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23205 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23206 (add_fdes): Likewise.
23207 (linear_search_fdes): Likewise.
23208 (binary_search_unencoded_fdes): Likewise.
23210 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
23212 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23214 2012-11-24 Adam Conrad <adconrad@0c3.net>
23216 * configure.in: Autodetect C++ header directories.
23217 * configure: Regenerated.
23219 2012-11-23 Mike Frysinger <vapier@gentoo.org>
23221 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23223 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
23225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23227 2012-11-22 Joseph Myers <joseph@codesourcery.com>
23229 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23230 LDBL_MANT_DIG == 106]: Disable some tests.
23231 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23233 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23237 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23238 input for small inputs. Return +/- pi/2 for large inputs.
23239 * math/libm-test.inc (atan_test): Add more tests.
23241 * sysdeps/generic/unwind-dw2-fde-glibc.c
23242 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23243 __attribute__ ((unused)).
23246 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23247 x * y if x and y are nonzero and z is zero.
23250 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23251 nonzero exponents with absolute value below 0x1p-117 to +/-
23255 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23256 up arguments below 2**-450, not just those below 2**-500.
23257 * math/libm-test.inc (hypot_test): Add another test.
23260 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23261 Return a+b for ratio over 2**120, not 2**60.
23262 * math/libm-test.inc (hypot_test): Add another test.
23264 * math/libm-test.inc (clog_test): Use
23265 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23266 (clog10_test): Likewise.
23269 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23271 2012-11-22 Andreas Schwab <schwab@suse.de>
23273 * sysdeps/i386/fpu/libm-test-ulps: Update.
23275 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
23277 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23278 printf output with newline.
23280 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
23283 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23284 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23285 -z nodlopen, -z initfirst and -z execstack support.
23286 * configure: Regenerated.
23288 * elf/elf.h (DF_1_NODIRECT): New macro.
23289 (DF_1_IGNMULDEF): Likewise.
23290 (DF_1_NOKSYMS): Likewise.
23291 (DF_1_NOHDR): Likewise.
23292 (DF_1_EDITED): Likewise.
23293 (DF_1_NORELOC): Likewise.
23294 (DF_1_SYMINTPOSE): Likewise.
23295 (DF_1_GLOBAUDIT): Likewise.
23296 (DF_1_SINGLETON): Likewise.
23297 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23298 DT_1_SUPPORTED_MASK bits.
23299 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23301 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
23303 * sysdeps/unix/make-syscalls.sh: Document prefixes.
23305 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
23307 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23310 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23311 (sendmmsg): Move declarations...
23312 * socket/sys/socket.h: ... here.
23313 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23314 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23316 * socket/recvmmsg.c: ... this new file.
23317 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23318 (sendmmsg): Rename to __sendmmsg, create weak alias and make
23319 definition of __sendmmsg hidden.
23320 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23321 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23322 Move ENOSYS stub into and include it from...
23323 * socket/sendmmsg.c: ... this new file.
23324 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23325 (sysdep_routines): Move recvmmsg and sendmmsg...
23326 * socket/Makefile (routines): ... here.
23327 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23328 (GLIBC_PRIVATE): Add __sendmmsg.
23329 * include/sys/socket.h (__sendmmsg): Add declarations.
23330 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
23333 2012-11-20 Joseph Myers <joseph@codesourcery.com>
23335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
23336 variable I1 with __attribute__ ((unused)).
23337 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23339 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23341 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
23342 DUMMY variables with __attribute__ ((unused)).
23344 * bits/byteswap.h: Include <bits/types.h>.
23345 (__bswap_64): Use __uint64_t instead of unsigned long long int.
23347 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23349 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
23350 string_t. Do not manually set errno.
23351 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
23352 length with __strnlen. Make sure to both set errno and return it on
23355 2012-11-19 David S. Miller <davem@davemloft.net>
23357 With help from Joseph Myers.
23358 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
23359 very large arguments properly.
23360 * math/libm-test.inc (atan_test): New tests.
23361 (atan2_test): New tests.
23362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23365 2012-11-19 Joseph Myers <joseph@codesourcery.com>
23368 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
23371 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
23372 [POSIX] (EADDRNOTAVAIL): Likewise.
23373 [POSIX] (EAFNOSUPPORT): Likewise.
23374 [POSIX] (EALREADY): Likewise.
23375 [POSIX] (ECONNABORTED): Likewise.
23376 [POSIX] (ECONNREFUSED): Likewise.
23377 [POSIX] (ECONNRESET): Likewise.
23378 [POSIX] (EDESTADDRREQ): Likewise.
23379 [POSIX] (EDQUOT): Likewise.
23380 [POSIX] (EHOSTUNREACH): Likewise.
23381 [POSIX] (EIDRM): Likewise.
23382 [POSIX] (EISCONN): Likewise.
23383 [POSIX] (ELOOP): Likewise.
23384 [POSIX] (EMULTIHOP): Likewise.
23385 [POSIX] (ENETDOWN): Likewise.
23386 [POSIX] (ENETUNREACH): Likewise.
23387 [POSIX] (ENOBUFS): Likewise.
23388 [POSIX] (ENODATA): Likewise.
23389 [POSIX] (ENOLINK): Likewise.
23390 [POSIX] (ENOMSG): Likewise.
23391 [POSIX] (ENOPROTOOPT): Likewise.
23392 [POSIX] (ENOSR): Likewise.
23393 [POSIX] (ENOSTR): Likewise.
23394 [POSIX] (ENOTCONN): Likewise.
23395 [POSIX] (ENOTSOCK): Likewise.
23396 [POSIX] (EOPNOTSUPP): Likewise.
23397 [POSIX] (EOVERFLOW): Likewise.
23398 [POSIX] (EPROTO): Likewise.
23399 [POSIX] (EPROTONOSUPPORT): Likewise.
23400 [POSIX] (EPROTOTYPE): Likewise.
23401 [POSIX] (ESTALE): Likewise.
23402 [POSIX] (ETIME): Likewise.
23403 [POSIX] (ETXTBSY): Likewise.
23404 [POSIX] (EWOULDBLOCK): Likewise.
23405 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
23406 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
23407 [POSIX] (SEEK_CUR): Likewise.
23408 [POSIX] (SEEK_END): Likewise.
23409 [POSIX || UNIX98] (mode_t): Do not require.
23410 [POSIX] (off_t): Likewise.
23411 [POSIX] (pid_t): Likewise.
23412 [POSIX] (sys/stat.h): Do not allow header.
23413 [POSIX] (unistd.h): Likewise.
23414 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
23415 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
23416 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
23417 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
23419 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
23420 sigevent): Specify elements.
23421 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
23423 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
23424 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
23426 * conform/data/cpio.h-data [POSIX]: Disable whole file.
23427 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
23428 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
23429 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
23430 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
23431 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
23432 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
23433 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
23434 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
23435 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
23436 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
23437 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
23438 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
23439 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
23441 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
23443 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
23445 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
23447 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
23448 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
23449 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
23450 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
23451 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
23452 Specify lower bound on value.
23453 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
23454 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
23455 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
23456 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
23457 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
23458 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
23459 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
23460 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
23462 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
23464 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
23465 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
23466 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
23467 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
23468 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
23469 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
23470 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
23471 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
23472 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
23473 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
23474 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
23475 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
23476 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
23477 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
23478 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
23479 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
23481 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
23483 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
23484 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
23485 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
23486 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
23487 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
23488 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
23490 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
23491 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
23492 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
23493 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
23494 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
23495 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
23496 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
23498 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
23499 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
23500 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
23501 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
23502 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
23503 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
23504 specify as optional.
23505 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
23506 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
23507 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
23508 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
23509 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
23510 [XPG3] (NL_LANGMAX): Likewise.
23511 [POSIX || XPG3] (NL_MSGMAX): Likewise.
23512 [POSIX || XPG3] (NL_NMAX): Likewise.
23513 [POSIX || XPG3] (NL_SETMAX): Likewise.
23514 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
23515 [XPG3] (NZERO): Likewise.
23516 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
23517 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
23518 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
23519 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
23520 (REG_ERANGE): Expect.
23521 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
23523 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
23524 Use (void) in prototype.
23525 [POSIX] (*_t): Allow.
23526 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
23527 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
23528 (WRDE_BADVAL): Expect.
23530 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
23532 [XPG3 || XPG4] (O_RSYNC): Likewise.
23533 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
23535 [XPG3 || XPG4] (pthread_sigmask): Likewise.
23536 [XPG3 || XPG4] (sigqueue): Likewise.
23537 [XPG3 || XPG4] (sigtimedwait): Likewise.
23538 [XPG3 || XPG4] (sigwaitinfo): Likewise.
23539 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
23540 [XPG3 || XPG4] (vsnprintf): Likewise.
23541 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
23543 [XPG3 || XPG4] (blksize_t): Likewise.
23544 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
23546 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
23547 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
23548 [XPG3 || XPG4] (struct itimerspec): Likewise.
23549 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
23550 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
23551 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
23552 [XPG3 || XPG4] (clockid_t): Likewise.
23553 [XPG3 || XPG4] (timer_t): Likewise.
23554 [XPG3 || XPG4] (clock_getres): Likewise.
23555 [XPG3 || XPG4] (clock_gettime): Likewise.
23556 [XPG3 || XPG4] (clock_settime): Likewise.
23557 [XPG3 || XPG4] (nanosleep): Likewise.
23558 [XPG3 || XPG4] (timer_create): Likewise.
23559 [XPG3 || XPG4] (timer_delete): Likewise.
23560 [XPG3 || XPG4] (timer_gettime): Likewise.
23561 [XPG3 || XPG4] (timer_getoverrun): Likewise.
23562 [XPG3 || XPG4] (timer_settime): Likewise.
23563 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
23564 [XPG3 || XPG4] (getlogin_r): Likewise.
23565 [XPG3 || XPG4] (pread): Likewise.
23566 [XPG3 || XPG4] (pthread_atfork): Likewise.
23567 [XPG3 || XPG4] (pwrite): Likewise.
23570 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
23573 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
23575 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
23576 finalizing MALLSTREAM.
23578 * sysdeps/mach/hurd/syncfs.c: New file.
23580 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23583 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
23584 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
23585 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
23586 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
23587 (_nss_dns_gethostbyname4_r): Likewise.
23588 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
23589 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
23591 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
23594 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
23596 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
23598 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
23599 * elf/cache.c (print_entry): Print ",AArch64" for
23602 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
23603 * elf/cache.c (print_entry): Print ",hard-float" for
23606 2012-11-18 David S. Miller <davem@davemloft.net>
23608 With help from Joseph Myers.
23609 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
23611 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
23613 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
23614 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
23616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
23617 * math/libm-test.inc (y0_test): New tests.
23618 (y1_test): New tests.
23619 * sysdeps/i386/fpu/libm-test-ulps: Update.
23620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23623 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
23625 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
23627 * configure: Regenerated.
23629 2012-11-17 David S. Miller <davem@davemloft.net>
23632 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
23633 nonzero exponents with absolute value below 0x1p-128 to +/-
23636 2012-11-17 Joseph Myers <joseph@codesourcery.com>
23638 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
23640 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
23642 * posix/getconf-speclist.c: New file.
23643 * posix/posix-envs.def: Likewise.
23644 * posix/confstr.c (START_ENV_GROUP): New macro.
23645 (END_ENV_GROUP): Likewise.
23646 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23647 (KNOWN_PRESENT_ENV_STRING): Likewise.
23648 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23649 (UNKNOWN_ENVIRONMENT): Likewise.
23650 (confstr): Include posix-envs.def instead of handling
23651 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
23652 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
23653 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
23654 (END_ENV_GROUP): Likewise.
23655 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
23656 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
23657 (UNKNOWN_ENVIRONMENT): Likewise.
23658 (__sysconf): Include posix-envs.def instead of handling associated
23659 cases directly here.
23660 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
23661 preprocessing getconf-speclist.c rather than running getconf or
23662 generating empty file.
23664 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
23666 * scripts/check-local-headers.sh: Ignore 'mach' headers.
23668 2012-11-16 Andrej Lajovic <natrij@gmail.com>
23671 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
23673 2012-11-16 David S. Miller <davem@davemloft.net>
23675 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
23676 smaller than LDBL_EPSILON/2.0L, just return xm1.
23678 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
23680 * elf/tst-array1.c (init): Set constructor priority to 1000.
23681 (fini): Set destructor priority to 1000.
23682 * elf/tst-array2dep.c: Likewise.
23684 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23687 * libio/fileops.c (_IO_new_file_write): Correctly return error.
23688 (_IO_new_file_xsputn): Also return EOF if none of the input
23689 data was written when overflow failed.
23690 * libio/iopadn.c (_IO_padn): Likewise.
23691 * libio/iowpadn.c (_IO_wpadn): Likewise.
23692 * stdio-common/tst-put-error.c: Add copyright notice.
23693 (do_test): Add case for printing padded string.
23694 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
23695 _IO_padn returned error.
23696 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
23697 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
23700 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23702 * libio/libioP.h: Add comment note that the references to C++
23703 bits are now obsolete.
23705 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23707 * math/libm-test.inc (check_complex): Use asprintf.
23709 2012-11-14 Joseph Myers <joseph@codesourcery.com>
23711 * debug/pcprofiledump.c (print_version): Update copyright year.
23712 * malloc/memusagestat.c (print_version): Likewise.
23714 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
23717 * elf/Makefile (tests): Add tst-audit8.
23718 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
23719 ($(objpfx)tst-audit8.out): New target.
23720 (tst-audit8-ENV): New variable.
23721 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
23722 audit if l_reloc_result is NULL.
23723 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
23724 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
23725 * elf/tst-audit8.c: New file.
23727 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23729 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
23730 * misc/Makefile (CFLAGS-select.c): Define.
23731 * posix/Makefile (CFLAGS-pause.c): Define.
23733 2012-11-13 David S. Miller <davem@davemloft.net>
23735 * crypt/Makefile: Move test targets after toplevel Rules
23736 inclusion. Grab any necessary sysdep routines when linking.
23737 * crypt/md5.c (md5_process_block): Remove define, we will always
23738 name it __md5_process_block.
23739 (md5_finish_ctx): Update md5_process_block call.
23740 (md5_stream): Likewise.
23741 (md5_process_bytes): Likewise.
23742 (md5_process_block): Rename to __md5_process_block and move to ...
23743 * crypt/md5-block.c: ... here.
23744 * crypt/sha256.c (sha256_process_block): Move to ...
23745 * crypt/sha256-block.c: ... here.
23746 * crypt/sha512.c (sha512_process_block): Move to ...
23747 * crypt/sha512-block.c: ... here.
23748 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
23750 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
23751 * sysdeps/sparc/sparc64/multiarch/Makefile
23752 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
23754 (localedef-aux): Add md5 crypto assembler when in locale subdir.
23755 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
23757 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
23758 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
23759 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
23760 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
23761 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
23762 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
23763 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
23764 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
23765 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
23767 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
23768 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
23770 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
23772 2012-11-13 Joseph Myers <joseph@codesourcery.com>
23774 * timezone/tzselect.ksh: Update from tzcode git revision
23775 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
23776 * timezone/zdump.c: Likewise.
23777 * timezone/zic.c: Likewise.
23778 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
23779 in TZVERSION setting, not $(PKGVERSION).
23780 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
23781 REPORT_BUGS_TO settings.
23784 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
23787 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23789 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
23790 detection to immediately after _FP_ROUND().
23791 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
23794 2012-11-11 David S. Miller <davem@davemloft.net>
23796 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
23798 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
23799 __close rather than their public counterparts.
23801 2012-11-10 Joseph Myers <joseph@codesourcery.com>
23803 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
23805 [UNIX98] (sem_timedwait): Do not expect.
23806 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
23807 [XPG4 || UNIX98] (sockatmark): Do not expect.
23808 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
23809 (clock_getcpuclockid): Do not expect.
23810 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
23811 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
23813 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
23814 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
23815 [UNIX98] (vwscanf): Likewise.
23816 [UNIX98] (vswscanf): Likewise.
23818 2012-11-09 Joseph Myers <joseph@codesourcery.com>
23820 * timezone/version.h: Remove file.
23821 * timezone/README: Do not refer to version.h.
23822 * timezone/Makefile ($(objpfx)zic.o): New dependency on
23823 $(objpfx)version.h.
23824 ($(objpfx)zdump.o): Likewise.
23825 ($(objpfx)version.h): New target.
23827 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
23829 * timezone/README: Don't mention modification to tzselect.ksh.
23830 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
23831 work on unmodified tzselect.ksh. Substitute version numbers in
23834 * Makefile (format-me): Remove.
23835 (INSTALL): Adjust indentation. Use commands directly instead of
23836 using $(format-me).
23838 * aclocal.m4 (ACX_PKGVERSION): New macro.
23839 (ACX_BUGURL): Likewise.
23840 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
23841 (PKGVERSION): New AC_DEFINE_UNQUOTED.
23842 (REPORT_BUGS_TO): Likewise.
23843 * configure: Regenerated.
23844 * config.h.in (PKGVERSION): New macro.
23845 (REPORT_BUGS_TO): Likewise.
23846 * config.make.in (PKGVERSION): New variable.
23847 (PKGVERSION_TEXI): Likewise.
23848 (REPORT_BUGS_TO): Likewise.
23849 (REPORT_BUGS_TEXI): Likewise.
23850 * Makefile (format-me): Use -I$(common-objpfx)manual.
23851 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
23852 ($(common-objpfx)manual/%): New target.
23853 (manual/%): Remove target.
23854 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
23855 (print_version): Use PKGVERSION.
23856 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
23857 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
23858 and REPORT_BUGS_TO.
23859 ($(objpfx)xtrace): Likewise.
23860 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
23861 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
23862 (print_version): Use PKGVERSION.
23863 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
23864 (do_version): Use PKGVERSION.
23865 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
23867 (common-ldd-rewrite): Likewise.
23868 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
23869 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
23870 (print_version): Use PKGVERSION.
23871 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
23872 * elf/pldd.c (argp_program_bug_address): Remove variable.
23873 (more_help): New function.
23874 (argp): Use more_help.
23875 (print_version): Use PKGVERSION.
23876 * elf/sln.c (main): Use PKGVERSION.
23877 (usage): Use REPORT_BUGS_TO.
23878 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
23879 (top level): Use PKGVERSION.
23880 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
23881 (print_version): Use PKGVERSION.
23882 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
23883 (print_version): Use PKGVERSION.
23884 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
23885 (print_version): Use PKGVERSION.
23886 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
23887 (print_version): Use PKGVERSION.
23888 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
23889 (print_version): Use PKGVERSION.
23890 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
23891 (print_version): Use PKGVERSION.
23892 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
23894 ($(objpfx)memusage): Likewise.
23895 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
23896 (do_version): Use PKGVERSION.
23897 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
23898 (print_version): Use PKGVERSION.
23899 * malloc/mtrace.pl ($PACKAGE): Remove variable.
23900 ($PKGVERSION): New variable.
23901 ($REPORT_BUGS_TO): Likewise.
23902 (usage): Use $REPORT_BUGS_TO.
23903 (top level): Use $PKGVERSION.
23904 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
23905 ($(objpfx)pkgvers.texi): New rule.
23906 ($(objpfx)stamp-pkgvers): Likewise.
23907 * manual/install.texi: Include pkgvers.texi.
23908 (--with-pkgversion): Document new configure option.
23909 (--with-bugurl): Likewise.
23910 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
23911 than necessarily for this particular distribution. Use
23912 REPORT_BUGS_TO for where to report bugs.
23913 * INSTALL: Regenerated.
23914 * manual/libc.texinfo: Include pkgvers.texi.
23915 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
23916 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
23917 (print_version): Use PKGVERSION.
23918 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
23919 (print_version): Use PKGVERSION.
23920 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
23921 (print_version): Use PKGVERSION.
23922 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
23923 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
23925 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
23926 (print_version): Use PKGVERSION.
23927 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
23928 (print_version): Use PKGVERSION.
23929 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
23932 * timezone/checktab.awk: Update from tzcode 2012i.
23933 * timezone/ialloc.c: Likewise.
23934 * timezone/private.h: Likewise.
23935 * timezone/scheck.c: Likewise.
23936 * timezone/tzfile.h: Likewise.
23937 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
23938 (TZVERSION): Hardcode tzcode version number.
23939 * timezone/zdump.c: Update from tzcode 2012i.
23940 * timezone/zic.c: Likewise.
23941 * timezone/version.h: New file.
23942 * timezone/README: Describe version.h. Update upstream location.
23945 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
23946 (mktemp): Enable declaration.
23947 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
23948 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
23949 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
23950 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
23952 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
23954 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
23956 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
23958 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
23960 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
23964 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
23965 offset in buffer as u_int32_t not u_long. Consistently use memcpy
23966 for copies of such integer values.
23967 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23968 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23970 2012-11-09 Andreas Jaeger <aj@suse.de>
23972 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
23973 definitions and declarations that are provided by
23974 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
23976 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23978 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
23979 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
23980 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
23983 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23985 * elf/elf.h: Update comment before AArch64 relocations.
23987 2012-11-07 David S. Miller <davem@davemloft.net>
23989 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
23990 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23991 (__start_context): Declare.
23992 (__makecontext_ret): Delete.
23993 (__makecontext): Hook up __start_context instead of
23995 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
23996 (sysdep_routines): Add __start_context when in stdlib.
23998 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24000 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24001 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24002 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
24004 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
24005 (READELF): New variable. Use it instead of hardcoded "readelf".
24007 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
24009 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24010 * sysdeps/x86/Makefile: Here.
24011 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24012 * sysdeps/x86/tst-xmmymm.sh: This.
24014 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24016 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24018 [UNIX98] (pthread_barrier_t): Do not expect.
24019 [UNIX98] (pthread_barrierattr_t): Likewise.
24020 [UNIX98] (pthread_spinlock_t): Likewise.
24021 [UNIX98] (pthread_barrier_destroy): Likewise.
24022 [UNIX98] (pthread_barrier_init): Likewise.
24023 [UNIX98] (pthread_barrier_wait): Likewise.
24024 [UNIX98] (pthread_barrierattr_destroy): Likewise.
24025 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24026 [UNIX98] (pthread_barrierattr_init): Likewise.
24027 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24028 [UNIX98] (pthread_getcpuclockid): Likewise.
24029 [UNIX98] (pthread_mutex_timedlock): Likewise.
24030 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24031 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24032 [UNIX98] (pthread_sigmask): Likewise.
24033 [UNIX98] (pthread_spin_destroy): Likewise.
24034 [UNIX98] (pthread_spin_init): Likewise.
24035 [UNIX98] (pthread_spin_lock): Likewise.
24036 [UNIX98] (pthread_spin_trylock): Likewise.
24037 [UNIX98] (pthread_spin_unlock): Likewise.
24038 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24040 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24041 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24042 [XPG3 || XPG4] (pthread_cond_t): Likewise.
24043 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24044 [XPG3 || XPG4] (pthread_key_t): Likewise.
24045 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24046 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24047 [XPG3 || XPG4] (pthread_once_t): Likewise.
24048 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24049 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24050 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24051 [XPG3 || XPG4] (pthread_t): Likewise.
24053 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24055 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24057 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24058 Change function return type to int.
24060 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24061 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24062 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24063 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24064 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24065 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24066 [!POSIX] (posix_madvise): Likewise.
24067 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24069 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24070 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24071 (mode_t): Likewise.
24072 (posix_mem_offset): Likewise.
24073 (posix_typed_mem_get_info): Likewise.
24074 (posix_typed_mem_open): Likewise.
24076 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24077 Change condition to [XOPEN2K8].
24079 * conform/conformtest.pl: Preprocess allow-header data with -x c
24080 instead of from stdin.
24081 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24082 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24083 [C99-based standards] (cerfc): Likewise.
24084 [C99-based standards] (cexp2): Likewise.
24085 [C99-based standards] (cexpm1): Likewise.
24086 [C99-based standards] (clog10): Likewise.
24087 [C99-based standards] (clog1p): Likewise.
24088 [C99-based standards] (clog2): Likewise.
24089 [C99-based standards] (clgamma): Likewise.
24090 [C99-based standards] (ctgamma): Likewise.
24091 [C99-based standards] (cerff): Likewise.
24092 [C99-based standards] (cerfcf): Likewise.
24093 [C99-based standards] (cexp2f): Likewise.
24094 [C99-based standards] (cexpm1f): Likewise.
24095 [C99-based standards] (clog10f): Likewise.
24096 [C99-based standards] (clog1pf): Likewise.
24097 [C99-based standards] (clog2f): Likewise.
24098 [C99-based standards] (clgammaf): Likewise.
24099 [C99-based standards] (ctgammaf): Likewise.
24100 [C99-based standards] (cerfl): Likewise.
24101 [C99-based standards] (cerfcl): Likewise.
24102 [C99-based standards] (cexp2l): Likewise.
24103 [C99-based standards] (cexpm1l): Likewise.
24104 [C99-based standards] (clog10l): Likewise.
24105 [C99-based standards] (clog1pl): Likewise.
24106 [C99-based standards] (clog2l): Likewise.
24107 [C99-based standards] (clgammal): Likewise.
24108 [C99-based standards] (ctgammal): Likewise.
24109 * conform/data/inttypes.h-data [C99-based standards]: Include
24110 stdint.h-data. Remove all expectations for stdint.h contents.
24111 [C99-based standards] (PRI*): Do not allow.
24112 [C99-based standards] (SCN*): Likewise.
24113 [C99-based standards] (*_t): Likewise.
24114 [C99-based-standards] (PRId8): Expect macro.
24115 [C99-based-standards] (PRIi8): Likewise.
24116 [C99-based-standards] (PRIo8): Likewise.
24117 [C99-based-standards] (PRIu8): Likewise.
24118 [C99-based-standards] (PRIx8): Likewise.
24119 [C99-based-standards] (PRIX8): Likewise.
24120 [C99-based-standards] (SCNd8): Likewise.
24121 [C99-based-standards] (SCNi8): Likewise.
24122 [C99-based-standards] (SCNo8): Likewise.
24123 [C99-based-standards] (SCNu8): Likewise.
24124 [C99-based-standards] (SCNx8): Likewise.
24125 [C99-based-standards] (PRIdLEAST8): Likewise.
24126 [C99-based-standards] (PRIiLEAST8): Likewise.
24127 [C99-based-standards] (PRIoLEAST8): Likewise.
24128 [C99-based-standards] (PRIuLEAST8): Likewise.
24129 [C99-based-standards] (PRIxLEAST8): Likewise.
24130 [C99-based-standards] (PRIXLEAST8): Likewise.
24131 [C99-based-standards] (SCNdLEAST8): Likewise.
24132 [C99-based-standards] (SCNiLEAST8): Likewise.
24133 [C99-based-standards] (SCNoLEAST8): Likewise.
24134 [C99-based-standards] (SCNuLEAST8): Likewise.
24135 [C99-based-standards] (SCNxLEAST8): Likewise.
24136 [C99-based-standards] (PRIdFAST8): Likewise.
24137 [C99-based-standards] (PRIiFAST8): Likewise.
24138 [C99-based-standards] (PRIoFAST8): Likewise.
24139 [C99-based-standards] (PRIuFAST8): Likewise.
24140 [C99-based-standards] (PRIxFAST8): Likewise.
24141 [C99-based-standards] (PRIXFAST8): Likewise.
24142 [C99-based-standards] (SCNdFAST8): Likewise.
24143 [C99-based-standards] (SCNiFAST8): Likewise.
24144 [C99-based-standards] (SCNoFAST8): Likewise.
24145 [C99-based-standards] (SCNuFAST8): Likewise.
24146 [C99-based-standards] (SCNxFAST8): Likewise.
24147 [C99-based-standards] (PRId16): Likewise.
24148 [C99-based-standards] (PRIi16): Likewise.
24149 [C99-based-standards] (PRIo16): Likewise.
24150 [C99-based-standards] (PRIu16): Likewise.
24151 [C99-based-standards] (PRIx16): Likewise.
24152 [C99-based-standards] (PRIX16): Likewise.
24153 [C99-based-standards] (SCNd16): Likewise.
24154 [C99-based-standards] (SCNi16): Likewise.
24155 [C99-based-standards] (SCNo16): Likewise.
24156 [C99-based-standards] (SCNu16): Likewise.
24157 [C99-based-standards] (SCNx16): Likewise.
24158 [C99-based-standards] (PRIdLEAST16): Likewise.
24159 [C99-based-standards] (PRIiLEAST16): Likewise.
24160 [C99-based-standards] (PRIoLEAST16): Likewise.
24161 [C99-based-standards] (PRIuLEAST16): Likewise.
24162 [C99-based-standards] (PRIxLEAST16): Likewise.
24163 [C99-based-standards] (PRIXLEAST16): Likewise.
24164 [C99-based-standards] (SCNdLEAST16): Likewise.
24165 [C99-based-standards] (SCNiLEAST16): Likewise.
24166 [C99-based-standards] (SCNoLEAST16): Likewise.
24167 [C99-based-standards] (SCNuLEAST16): Likewise.
24168 [C99-based-standards] (SCNxLEAST16): Likewise.
24169 [C99-based-standards] (PRIdFAST16): Likewise.
24170 [C99-based-standards] (PRIiFAST16): Likewise.
24171 [C99-based-standards] (PRIoFAST16): Likewise.
24172 [C99-based-standards] (PRIuFAST16): Likewise.
24173 [C99-based-standards] (PRIxFAST16): Likewise.
24174 [C99-based-standards] (PRIXFAST16): Likewise.
24175 [C99-based-standards] (SCNdFAST16): Likewise.
24176 [C99-based-standards] (SCNiFAST16): Likewise.
24177 [C99-based-standards] (SCNoFAST16): Likewise.
24178 [C99-based-standards] (SCNuFAST16): Likewise.
24179 [C99-based-standards] (SCNxFAST16): Likewise.
24180 [C99-based-standards] (PRId32): Likewise.
24181 [C99-based-standards] (PRIi32): Likewise.
24182 [C99-based-standards] (PRIo32): Likewise.
24183 [C99-based-standards] (PRIu32): Likewise.
24184 [C99-based-standards] (PRIx32): Likewise.
24185 [C99-based-standards] (PRIX32): Likewise.
24186 [C99-based-standards] (SCNd32): Likewise.
24187 [C99-based-standards] (SCNi32): Likewise.
24188 [C99-based-standards] (SCNo32): Likewise.
24189 [C99-based-standards] (SCNu32): Likewise.
24190 [C99-based-standards] (SCNx32): Likewise.
24191 [C99-based-standards] (PRIdLEAST32): Likewise.
24192 [C99-based-standards] (PRIiLEAST32): Likewise.
24193 [C99-based-standards] (PRIoLEAST32): Likewise.
24194 [C99-based-standards] (PRIuLEAST32): Likewise.
24195 [C99-based-standards] (PRIxLEAST32): Likewise.
24196 [C99-based-standards] (PRIXLEAST32): Likewise.
24197 [C99-based-standards] (SCNdLEAST32): Likewise.
24198 [C99-based-standards] (SCNiLEAST32): Likewise.
24199 [C99-based-standards] (SCNoLEAST32): Likewise.
24200 [C99-based-standards] (SCNuLEAST32): Likewise.
24201 [C99-based-standards] (SCNxLEAST32): Likewise.
24202 [C99-based-standards] (PRIdFAST32): Likewise.
24203 [C99-based-standards] (PRIiFAST32): Likewise.
24204 [C99-based-standards] (PRIoFAST32): Likewise.
24205 [C99-based-standards] (PRIuFAST32): Likewise.
24206 [C99-based-standards] (PRIxFAST32): Likewise.
24207 [C99-based-standards] (PRIXFAST32): Likewise.
24208 [C99-based-standards] (SCNdFAST32): Likewise.
24209 [C99-based-standards] (SCNiFAST32): Likewise.
24210 [C99-based-standards] (SCNoFAST32): Likewise.
24211 [C99-based-standards] (SCNuFAST32): Likewise.
24212 [C99-based-standards] (SCNxFAST32): Likewise.
24213 [C99-based-standards] (PRId64): Likewise.
24214 [C99-based-standards] (PRIi64): Likewise.
24215 [C99-based-standards] (PRIo64): Likewise.
24216 [C99-based-standards] (PRIu64): Likewise.
24217 [C99-based-standards] (PRIx64): Likewise.
24218 [C99-based-standards] (PRIX64): Likewise.
24219 [C99-based-standards] (SCNd64): Likewise.
24220 [C99-based-standards] (SCNi64): Likewise.
24221 [C99-based-standards] (SCNo64): Likewise.
24222 [C99-based-standards] (SCNu64): Likewise.
24223 [C99-based-standards] (SCNx64): Likewise.
24224 [C99-based-standards] (PRIdLEAST64): Likewise.
24225 [C99-based-standards] (PRIiLEAST64): Likewise.
24226 [C99-based-standards] (PRIoLEAST64): Likewise.
24227 [C99-based-standards] (PRIuLEAST64): Likewise.
24228 [C99-based-standards] (PRIxLEAST64): Likewise.
24229 [C99-based-standards] (PRIXLEAST64): Likewise.
24230 [C99-based-standards] (SCNdLEAST64): Likewise.
24231 [C99-based-standards] (SCNiLEAST64): Likewise.
24232 [C99-based-standards] (SCNoLEAST64): Likewise.
24233 [C99-based-standards] (SCNuLEAST64): Likewise.
24234 [C99-based-standards] (SCNxLEAST64): Likewise.
24235 [C99-based-standards] (PRIdFAST64): Likewise.
24236 [C99-based-standards] (PRIiFAST64): Likewise.
24237 [C99-based-standards] (PRIoFAST64): Likewise.
24238 [C99-based-standards] (PRIuFAST64): Likewise.
24239 [C99-based-standards] (PRIxFAST64): Likewise.
24240 [C99-based-standards] (PRIXFAST64): Likewise.
24241 [C99-based-standards] (SCNdFAST64): Likewise.
24242 [C99-based-standards] (SCNiFAST64): Likewise.
24243 [C99-based-standards] (SCNoFAST64): Likewise.
24244 [C99-based-standards] (SCNuFAST64): Likewise.
24245 [C99-based-standards] (SCNxFAST64): Likewise.
24246 [C99-based-standards] (PRIdMAX): Likewise.
24247 [C99-based-standards] (PRIiMAX): Likewise.
24248 [C99-based-standards] (PRIoMAX): Likewise.
24249 [C99-based-standards] (PRIuMAX): Likewise.
24250 [C99-based-standards] (PRIxMAX): Likewise.
24251 [C99-based-standards] (PRIXMAX): Likewise.
24252 [C99-based-standards] (SCNdMAX): Likewise.
24253 [C99-based-standards] (SCNiMAX): Likewise.
24254 [C99-based-standards] (SCNoMAX): Likewise.
24255 [C99-based-standards] (SCNuMAX): Likewise.
24256 [C99-based-standards] (SCNxMAX): Likewise.
24257 [C99-based-standards] (PRIdPTR): Likewise.
24258 [C99-based-standards] (PRIiPTR): Likewise.
24259 [C99-based-standards] (PRIoPTR): Likewise.
24260 [C99-based-standards] (PRIuPTR): Likewise.
24261 [C99-based-standards] (PRIxPTR): Likewise.
24262 [C99-based-standards] (PRIXPTR): Likewise.
24263 [C99-based-standards] (SCNdPTR): Likewise.
24264 [C99-based-standards] (SCNiPTR): Likewise.
24265 [C99-based-standards] (SCNoPTR): Likewise.
24266 [C99-based-standards] (SCNuPTR): Likewise.
24267 [C99-based-standards] (SCNxPTR): Likewise.
24268 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24270 * conform/data/stdint.h-data: Update comments to clarify
24272 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
24274 [C99-based standards] (INT8_MAX): Likewise.
24275 [C99-based standards] (INT16_MIN): Likewise.
24276 [C99-based standards] (INT16_MAX): Likewise.
24277 [C99-based standards] (INT32_MIN): Likewise.
24278 [C99-based standards] (INT32_MAX): Likewise.
24279 [C99-based standards] (INT64_MIN): Likewise.
24280 [C99-based standards] (INT64_MAX): Likewise.
24281 [C99-based standards] (UINT8_MAX): Likewise.
24282 [C99-based standards] (UINT16_MAX): Likewise.
24283 [C99-based standards] (UINT32_MAX): Likewise.
24284 [C99-based standards] (UINT64_MAX): Likewise.
24285 [C99-based standards] (INT_LEAST8_MIN): Likewise.
24286 [C99-based standards] (INT_LEAST8_MAX): Likewise.
24287 [C99-based standards] (INT_LEAST16_MIN): Likewise.
24288 [C99-based standards] (INT_LEAST16_MAX): Likewise.
24289 [C99-based standards] (INT_LEAST32_MIN): Likewise.
24290 [C99-based standards] (INT_LEAST32_MAX): Likewise.
24291 [C99-based standards] (INT_LEAST64_MIN): Likewise.
24292 [C99-based standards] (INT_LEAST64_MAX): Likewise.
24293 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24294 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24295 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24296 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24297 [C99-based standards] (INT_FAST8_MIN): Likewise.
24298 [C99-based standards] (INT_FAST8_MAX): Likewise.
24299 [C99-based standards] (INT_FAST16_MIN): Likewise.
24300 [C99-based standards] (INT_FAST16_MAX): Likewise.
24301 [C99-based standards] (INT_FAST32_MIN): Likewise.
24302 [C99-based standards] (INT_FAST32_MAX): Likewise.
24303 [C99-based standards] (INT_FAST64_MIN): Likewise.
24304 [C99-based standards] (INT_FAST64_MAX): Likewise.
24305 [C99-based standards] (UINT_FAST8_MAX): Likewise.
24306 [C99-based standards] (UINT_FAST16_MAX): Likewise.
24307 [C99-based standards] (UINT_FAST32_MAX): Likewise.
24308 [C99-based standards] (UINT_FAST64_MAX): Likewise.
24309 [C99-based standards] (INTPTR_MIN): Likewise.
24310 [C99-based standards] (INTPTR_MAX): Likewise.
24311 [C99-based standards] (UINTPTR_MAX): Likewise.
24312 [C99-based standards] (INTMAX_MIN): Likewise.
24313 [C99-based standards] (INTMAX_MAX): Likewise.
24314 [C99-based standards] (UINTMAX_MAX): Likewise.
24315 [C99-based standards] (PTRDIFF_MIN): Likewise.
24316 [C99-based standards] (PTRDIFF_MAX): Likewise.
24317 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24318 [C99-based standards] (SIZE_MAX): Likewise.
24319 [C99-based standards] (WCHAR_MAX): Likewise.
24320 [C99-based standards] (WINT_MAX): Likewise.
24321 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
24322 constraint on value.
24323 [C99-based standards] (WCHAR_MIN): Likewise.
24324 [C99-based standards] (WINT_MIN): Likewise.
24325 [C99-based standards] (*_t): Allow.
24326 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24327 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24328 Include math.h-data and complex.h-data. Remove all expectations
24329 of math.h and complex.h contents.
24330 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
24332 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
24333 (struct tm): Expect tag.
24334 [C99-based-standards] (wcstof): Expect function.
24335 [C99-based-standards] (wcstold): Likewise.
24336 [C99-based-standards] (wcstoll): Likewise.
24337 [C99-based-standards] (wcstoull): Likewise.
24338 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
24339 macro-int-constant. Specify type.
24340 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
24341 constraint on value.
24342 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24344 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
24346 [ISO C standards]: Do not allow headers.
24347 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
24348 wcs[abcdefghijklmnopqrstuvwxyz]*.
24349 [ISO C standards] (*_t): Do not allow.
24350 * conform/data/wctype.h-data [C99-based standards] (iswblank):
24352 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
24353 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
24355 [ISO C standards]: Do not allow headers.
24356 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
24357 is[abcdefghijklmnopqrstuvwxyz]*.
24358 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
24359 to[abcdefghijklmnopqrstuvwxyz]*.
24360 [ISO C standards] (*_t): Do not allow.
24361 * conform/data/stdalign.h-data: New file.
24362 * conform/data/stdbool.h-data: Likewise.
24363 * conform/data/stdnoreturn.h-data: Likewise.
24365 2012-11-07 Roland McGrath <roland@hack.frob.com>
24368 * manual/filesys.texi (Directory Entries): Typo fix.
24369 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
24371 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
24373 * elf/elf.h (EM_AARCH64): New macro.
24374 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
24375 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
24376 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
24377 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
24378 (R_AARCH64_TLSDESC): Likewise.
24379 (NT_ARM_TLS): Likewise.
24380 (NT_ARM_HW_BREAK): Likewise.
24381 (NT_ARM_HW_WATCH): Likewise.
24383 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24386 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
24387 (__ieee754_powl): Saturate nonzero exponents with absolute value
24388 below 0x1p-79 to +/- 0x1p-79.
24389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
24390 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
24391 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
24392 nonzero exponents with absolute value below 0x1p-32 to +/-
24394 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
24395 (__ieee754_powl): Saturate nonzero exponents with absolute value
24396 below 0x1p-79 to +/- 0x1p-79.
24397 * math/libm-test.inc (pow_test): Add more tests.
24399 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24401 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
24402 _dl_s390_cap_flags with kernel. Increase string length.
24403 (_dl_s390_platforms): Add z196 and zEC12.
24405 2012-11-07 Joseph Myers <joseph@codesourcery.com>
24407 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
24408 Change XOPEN21K to XOPEN2K.
24410 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
24412 * string/memmove.c: Use memcpy when possible.
24414 2012-11-06 Andreas Jaeger <aj@suse.de>
24416 * po/eo.po: Update from translation team.
24418 2012-11-06 Joseph Myers <joseph@codesourcery.com>
24421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
24422 exponent and small x and y exponents, scale x or y up. Increase
24423 by 2 the exponent used in scaling up.
24424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24426 * math/libm-test.inc (fma_test): Add more tests.
24427 (fma_test_towardzero): Likewise.
24428 (fma_test_downward): Likewise.
24429 (fma_test_upward): Likewise.
24431 2012-11-05 Joseph Myers <joseph@codesourcery.com>
24434 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
24438 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
24439 namespace for names of struct fields.
24440 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
24442 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24443 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
24445 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24448 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
24450 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24452 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
24456 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
24459 2012-11-04 Joseph Myers <joseph@codesourcery.com>
24462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
24463 definitely overflow as x * y not x * y + z.
24464 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24465 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24466 * math/libm-test.inc (fma_test): Add more tests.
24467 (fma_test_towardzero): Likewise.
24468 (fma_test_downward): Likewise.
24469 (fma_test_upward): Likewise.
24471 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
24475 * include/stub-tag.h: Remove file.
24476 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
24478 * manual/maint.texi (Porting): Don't reference it.
24479 * Makerules ($(objpfx)stubs): Likewise.
24480 * dirent/closedir.c: Don't include <stub-tag.h>.
24481 * dirent/dirfd.c: Likewise.
24482 * dirent/fdopendir.c: Likewise.
24483 * dirent/getdents.c: Likewise.
24484 * dirent/getdents64.c: Likewise.
24485 * dirent/opendir.c: Likewise.
24486 * dirent/readdir.c: Likewise.
24487 * dirent/readdir64.c: Likewise.
24488 * dirent/readdir64_r.c: Likewise.
24489 * dirent/readdir_r.c: Likewise.
24490 * dirent/rewinddir.c: Likewise.
24491 * dirent/seekdir.c: Likewise.
24492 * dirent/telldir.c: Likewise.
24493 * gmon/profil.c: Likewise.
24494 * grp/setgroups.c: Likewise.
24495 * inet/if_index.c: Likewise.
24496 * io/access.c: Likewise.
24497 * io/chdir.c: Likewise.
24498 * io/chmod.c: Likewise.
24499 * io/chown.c: Likewise.
24500 * io/close.c: Likewise.
24501 * io/dup.c: Likewise.
24502 * io/dup2.c: Likewise.
24503 * io/dup3.c: Likewise.
24504 * io/euidaccess.c: Likewise.
24505 * io/faccessat.c: Likewise.
24506 * io/fchdir.c: Likewise.
24507 * io/fchmod.c: Likewise.
24508 * io/fchmodat.c: Likewise.
24509 * io/fchown.c: Likewise.
24510 * io/fchownat.c: Likewise.
24511 * io/fcntl.c: Likewise.
24512 * io/flock.c: Likewise.
24513 * io/fstatfs.c: Likewise.
24514 * io/fstatfs64.c: Likewise.
24515 * io/fstatvfs.c: Likewise.
24516 * io/fstatvfs64.c: Likewise.
24517 * io/futimens.c: Likewise.
24518 * io/fxstat.c: Likewise.
24519 * io/fxstat64.c: Likewise.
24520 * io/fxstatat.c: Likewise.
24521 * io/fxstatat64.c: Likewise.
24522 * io/getcwd.c: Likewise.
24523 * io/isatty.c: Likewise.
24524 * io/lchmod.c: Likewise.
24525 * io/lchown.c: Likewise.
24526 * io/link.c: Likewise.
24527 * io/linkat.c: Likewise.
24528 * io/lseek.c: Likewise.
24529 * io/lseek64.c: Likewise.
24530 * io/lxstat64.c: Likewise.
24531 * io/mkdir.c: Likewise.
24532 * io/mkdirat.c: Likewise.
24533 * io/mkfifo.c: Likewise.
24534 * io/mkfifoat.c: Likewise.
24535 * io/open.c: Likewise.
24536 * io/open64.c: Likewise.
24537 * io/openat.c: Likewise.
24538 * io/openat64.c: Likewise.
24539 * io/pipe.c: Likewise.
24540 * io/pipe2.c: Likewise.
24541 * io/poll.c: Likewise.
24542 * io/posix_fadvise.c: Likewise.
24543 * io/posix_fadvise64.c: Likewise.
24544 * io/posix_fallocate.c: Likewise.
24545 * io/posix_fallocate64.c: Likewise.
24546 * io/read.c: Likewise.
24547 * io/readlink.c: Likewise.
24548 * io/readlinkat.c: Likewise.
24549 * io/rmdir.c: Likewise.
24550 * io/sendfile.c: Likewise.
24551 * io/sendfile64.c: Likewise.
24552 * io/statfs.c: Likewise.
24553 * io/statfs64.c: Likewise.
24554 * io/statvfs.c: Likewise.
24555 * io/statvfs64.c: Likewise.
24556 * io/symlink.c: Likewise.
24557 * io/symlinkat.c: Likewise.
24558 * io/ttyname.c: Likewise.
24559 * io/ttyname_r.c: Likewise.
24560 * io/umask.c: Likewise.
24561 * io/unlink.c: Likewise.
24562 * io/unlinkat.c: Likewise.
24563 * io/utime.c: Likewise.
24564 * io/utimensat.c: Likewise.
24565 * io/write.c: Likewise.
24566 * io/xmknod.c: Likewise.
24567 * io/xmknodat.c: Likewise.
24568 * io/xstat.c: Likewise.
24569 * io/xstat64.c: Likewise.
24570 * login/getpt.c: Likewise.
24571 * login/grantpt.c: Likewise.
24572 * login/unlockpt.c: Likewise.
24573 * math/e_acoshl.c: Likewise.
24574 * math/e_acosl.c: Likewise.
24575 * math/e_asinl.c: Likewise.
24576 * math/e_atan2l.c: Likewise.
24577 * math/e_atanhl.c: Likewise.
24578 * math/e_coshl.c: Likewise.
24579 * math/e_expl.c: Likewise.
24580 * math/e_fmodl.c: Likewise.
24581 * math/e_gammal_r.c: Likewise.
24582 * math/e_hypotl.c: Likewise.
24583 * math/e_j0l.c: Likewise.
24584 * math/e_j1l.c: Likewise.
24585 * math/e_jnl.c: Likewise.
24586 * math/e_lgammal_r.c: Likewise.
24587 * math/e_log10l.c: Likewise.
24588 * math/e_log2l.c: Likewise.
24589 * math/e_logl.c: Likewise.
24590 * math/e_powl.c: Likewise.
24591 * math/e_rem_pio2l.c: Likewise.
24592 * math/e_sinhl.c: Likewise.
24593 * math/e_sqrtl.c: Likewise.
24594 * math/fclrexcpt.c: Likewise.
24595 * math/fedisblxcpt.c: Likewise.
24596 * math/feenablxcpt.c: Likewise.
24597 * math/fegetenv.c: Likewise.
24598 * math/fegetexcept.c: Likewise.
24599 * math/fegetround.c: Likewise.
24600 * math/feholdexcpt.c: Likewise.
24601 * math/fesetenv.c: Likewise.
24602 * math/fesetround.c: Likewise.
24603 * math/feupdateenv.c: Likewise.
24604 * math/fgetexcptflg.c: Likewise.
24605 * math/fraiseexcpt.c: Likewise.
24606 * math/fsetexcptflg.c: Likewise.
24607 * math/ftestexcept.c: Likewise.
24608 * math/k_cosl.c: Likewise.
24609 * math/k_rem_pio2l.c: Likewise.
24610 * math/k_sinl.c: Likewise.
24611 * math/k_tanl.c: Likewise.
24612 * math/s_asinhl.c: Likewise.
24613 * math/s_atanl.c: Likewise.
24614 * math/s_cbrtl.c: Likewise.
24615 * math/s_erfl.c: Likewise.
24616 * math/s_expm1l.c: Likewise.
24617 * math/s_log1pl.c: Likewise.
24618 * math/s_tanhl.c: Likewise.
24619 * misc/acct.c: Likewise.
24620 * misc/brk.c: Likewise.
24621 * misc/chflags.c: Likewise.
24622 * misc/chroot.c: Likewise.
24623 * misc/fchflags.c: Likewise.
24624 * misc/fgetxattr.c: Likewise.
24625 * misc/flistxattr.c: Likewise.
24626 * misc/fremovexattr.c: Likewise.
24627 * misc/fsetxattr.c: Likewise.
24628 * misc/fsync.c: Likewise.
24629 * misc/ftruncate.c: Likewise.
24630 * misc/futimes.c: Likewise.
24631 * misc/futimesat.c: Likewise.
24632 * misc/getdomain.c: Likewise.
24633 * misc/getdtsz.c: Likewise.
24634 * misc/gethostid.c: Likewise.
24635 * misc/gethostname.c: Likewise.
24636 * misc/getloadavg.c: Likewise.
24637 * misc/getpagesize.c: Likewise.
24638 * misc/getsysstats.c: Likewise.
24639 * misc/getxattr.c: Likewise.
24640 * misc/gtty.c: Likewise.
24641 * misc/ioctl.c: Likewise.
24642 * misc/lgetxattr.c: Likewise.
24643 * misc/listxattr.c: Likewise.
24644 * misc/llistxattr.c: Likewise.
24645 * misc/lremovexattr.c: Likewise.
24646 * misc/lsetxattr.c: Likewise.
24647 * misc/lutimes.c: Likewise.
24648 * misc/madvise.c: Likewise.
24649 * misc/mincore.c: Likewise.
24650 * misc/mlock.c: Likewise.
24651 * misc/mlockall.c: Likewise.
24652 * misc/mmap.c: Likewise.
24653 * misc/mprotect.c: Likewise.
24654 * misc/msync.c: Likewise.
24655 * misc/munlock.c: Likewise.
24656 * misc/munlockall.c: Likewise.
24657 * misc/munmap.c: Likewise.
24658 * misc/preadv.c: Likewise.
24659 * misc/preadv64.c: Likewise.
24660 * misc/ptrace.c: Likewise.
24661 * misc/pwritev.c: Likewise.
24662 * misc/pwritev64.c: Likewise.
24663 * misc/readv.c: Likewise.
24664 * misc/reboot.c: Likewise.
24665 * misc/remap_file_pages.c: Likewise.
24666 * misc/removexattr.c: Likewise.
24667 * misc/revoke.c: Likewise.
24668 * misc/select.c: Likewise.
24669 * misc/setdomain.c: Likewise.
24670 * misc/setegid.c: Likewise.
24671 * misc/seteuid.c: Likewise.
24672 * misc/sethostid.c: Likewise.
24673 * misc/sethostname.c: Likewise.
24674 * misc/setregid.c: Likewise.
24675 * misc/setreuid.c: Likewise.
24676 * misc/setxattr.c: Likewise.
24677 * misc/sstk.c: Likewise.
24678 * misc/stty.c: Likewise.
24679 * misc/swapoff.c: Likewise.
24680 * misc/swapon.c: Likewise.
24681 * misc/sync.c: Likewise.
24682 * misc/syncfs.c: Likewise.
24683 * misc/syscall.c: Likewise.
24684 * misc/truncate.c: Likewise.
24685 * misc/ualarm.c: Likewise.
24686 * misc/usleep.c: Likewise.
24687 * misc/ustat.c: Likewise.
24688 * misc/utimes.c: Likewise.
24689 * misc/vhangup.c: Likewise.
24690 * misc/writev.c: Likewise.
24691 * posix/_exit.c: Likewise.
24692 * posix/alarm.c: Likewise.
24693 * posix/execve.c: Likewise.
24694 * posix/fexecve.c: Likewise.
24695 * posix/fork.c: Likewise.
24696 * posix/fpathconf.c: Likewise.
24697 * posix/getaddrinfo.c: Likewise.
24698 * posix/getegid.c: Likewise.
24699 * posix/geteuid.c: Likewise.
24700 * posix/getgid.c: Likewise.
24701 * posix/getgroups.c: Likewise.
24702 * posix/getlogin.c: Likewise.
24703 * posix/getlogin_r.c: Likewise.
24704 * posix/getpgid.c: Likewise.
24705 * posix/getpid.c: Likewise.
24706 * posix/getppid.c: Likewise.
24707 * posix/getresgid.c: Likewise.
24708 * posix/getresuid.c: Likewise.
24709 * posix/getsid.c: Likewise.
24710 * posix/getuid.c: Likewise.
24711 * posix/glob64.c: Likewise.
24712 * posix/nanosleep.c: Likewise.
24713 * posix/pathconf.c: Likewise.
24714 * posix/pause.c: Likewise.
24715 * posix/posix_madvise.c: Likewise.
24716 * posix/pread.c: Likewise.
24717 * posix/pread64.c: Likewise.
24718 * posix/pwrite.c: Likewise.
24719 * posix/pwrite64.c: Likewise.
24720 * posix/sched_getaffinity.c: Likewise.
24721 * posix/sched_getp.c: Likewise.
24722 * posix/sched_gets.c: Likewise.
24723 * posix/sched_primax.c: Likewise.
24724 * posix/sched_primin.c: Likewise.
24725 * posix/sched_rr_gi.c: Likewise.
24726 * posix/sched_setaffinity.c: Likewise.
24727 * posix/sched_setp.c: Likewise.
24728 * posix/sched_sets.c: Likewise.
24729 * posix/sched_yield.c: Likewise.
24730 * posix/setgid.c: Likewise.
24731 * posix/setlogin.c: Likewise.
24732 * posix/setpgid.c: Likewise.
24733 * posix/setresgid.c: Likewise.
24734 * posix/setresuid.c: Likewise.
24735 * posix/setsid.c: Likewise.
24736 * posix/setuid.c: Likewise.
24737 * posix/sleep.c: Likewise.
24738 * posix/spawni.c: Likewise.
24739 * posix/sysconf.c: Likewise.
24740 * posix/times.c: Likewise.
24741 * posix/wait.c: Likewise.
24742 * posix/wait3.c: Likewise.
24743 * posix/wait4.c: Likewise.
24744 * posix/waitpid.c: Likewise.
24745 * resolv/gai_sigqueue.c: Likewise.
24746 * resource/getpriority.c: Likewise.
24747 * resource/getrlimit.c: Likewise.
24748 * resource/getrusage.c: Likewise.
24749 * resource/nice.c: Likewise.
24750 * resource/setpriority.c: Likewise.
24751 * resource/setrlimit.c: Likewise.
24752 * resource/ulimit.c: Likewise.
24753 * rt/aio_cancel.c: Likewise.
24754 * rt/aio_fsync.c: Likewise.
24755 * rt/aio_read.c: Likewise.
24756 * rt/aio_sigqueue.c: Likewise.
24757 * rt/aio_suspend.c: Likewise.
24758 * rt/aio_write.c: Likewise.
24759 * rt/clock_getres.c: Likewise.
24760 * rt/clock_gettime.c: Likewise.
24761 * rt/clock_nanosleep.c: Likewise.
24762 * rt/clock_settime.c: Likewise.
24763 * rt/lio_listio.c: Likewise.
24764 * rt/mq_close.c: Likewise.
24765 * rt/mq_getattr.c: Likewise.
24766 * rt/mq_notify.c: Likewise.
24767 * rt/mq_open.c: Likewise.
24768 * rt/mq_receive.c: Likewise.
24769 * rt/mq_send.c: Likewise.
24770 * rt/mq_setattr.c: Likewise.
24771 * rt/mq_timedreceive.c: Likewise.
24772 * rt/mq_timedsend.c: Likewise.
24773 * rt/mq_unlink.c: Likewise.
24774 * rt/shm_open.c: Likewise.
24775 * rt/shm_unlink.c: Likewise.
24776 * rt/timer_create.c: Likewise.
24777 * rt/timer_delete.c: Likewise.
24778 * rt/timer_getoverr.c: Likewise.
24779 * rt/timer_gettime.c: Likewise.
24780 * rt/timer_settime.c: Likewise.
24781 * setjmp/__longjmp.c: Likewise.
24782 * setjmp/setjmp.c: Likewise.
24783 * signal/kill.c: Likewise.
24784 * signal/killpg.c: Likewise.
24785 * signal/raise.c: Likewise.
24786 * signal/sigaction.c: Likewise.
24787 * signal/sigaltstack.c: Likewise.
24788 * signal/sigblock.c: Likewise.
24789 * signal/sigignore.c: Likewise.
24790 * signal/sigintr.c: Likewise.
24791 * signal/signal.c: Likewise.
24792 * signal/sigpause.c: Likewise.
24793 * signal/sigpending.c: Likewise.
24794 * signal/sigqueue.c: Likewise.
24795 * signal/sigreturn.c: Likewise.
24796 * signal/sigset.c: Likewise.
24797 * signal/sigsetmask.c: Likewise.
24798 * signal/sigstack.c: Likewise.
24799 * signal/sigsuspend.c: Likewise.
24800 * signal/sigtimedwait.c: Likewise.
24801 * signal/sigvec.c: Likewise.
24802 * signal/sigwait.c: Likewise.
24803 * signal/sigwaitinfo.c: Likewise.
24804 * signal/sysv_signal.c: Likewise.
24805 * socket/accept.c: Likewise.
24806 * socket/accept4.c: Likewise.
24807 * socket/bind.c: Likewise.
24808 * socket/connect.c: Likewise.
24809 * socket/getpeername.c: Likewise.
24810 * socket/getsockname.c: Likewise.
24811 * socket/getsockopt.c: Likewise.
24812 * socket/isfdtype.c: Likewise.
24813 * socket/listen.c: Likewise.
24814 * socket/recv.c: Likewise.
24815 * socket/recvfrom.c: Likewise.
24816 * socket/recvmsg.c: Likewise.
24817 * socket/send.c: Likewise.
24818 * socket/sendmsg.c: Likewise.
24819 * socket/sendto.c: Likewise.
24820 * socket/setsockopt.c: Likewise.
24821 * socket/shutdown.c: Likewise.
24822 * socket/sockatmark.c: Likewise.
24823 * socket/socket.c: Likewise.
24824 * socket/socketpair.c: Likewise.
24825 * stdio-common/ctermid.c: Likewise.
24826 * stdio-common/cuserid.c: Likewise.
24827 * stdio-common/remove.c: Likewise.
24828 * stdio-common/rename.c: Likewise.
24829 * stdio-common/renameat.c: Likewise.
24830 * stdio-common/tempname.c: Likewise.
24831 * stdlib/getcontext.c: Likewise.
24832 * stdlib/makecontext.c: Likewise.
24833 * stdlib/setcontext.c: Likewise.
24834 * stdlib/swapcontext.c: Likewise.
24835 * stdlib/system.c: Likewise.
24836 * streams/fattach.c: Likewise.
24837 * streams/fdetach.c: Likewise.
24838 * streams/getmsg.c: Likewise.
24839 * streams/getpmsg.c: Likewise.
24840 * streams/putmsg.c: Likewise.
24841 * streams/putpmsg.c: Likewise.
24842 * sysdeps/unix/bsd/getpt.c: Likewise.
24843 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
24844 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
24845 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24848 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
24849 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24850 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
24851 * sysvipc/msgctl.c: Likewise.
24852 * sysvipc/msgget.c: Likewise.
24853 * sysvipc/msgrcv.c: Likewise.
24854 * sysvipc/msgsnd.c: Likewise.
24855 * sysvipc/semctl.c: Likewise.
24856 * sysvipc/semget.c: Likewise.
24857 * sysvipc/semop.c: Likewise.
24858 * sysvipc/semtimedop.c: Likewise.
24859 * sysvipc/shmat.c: Likewise.
24860 * sysvipc/shmctl.c: Likewise.
24861 * sysvipc/shmdt.c: Likewise.
24862 * sysvipc/shmget.c: Likewise.
24863 * termios/tcdrain.c: Likewise.
24864 * termios/tcflow.c: Likewise.
24865 * termios/tcflush.c: Likewise.
24866 * termios/tcgetattr.c: Likewise.
24867 * termios/tcgetpgrp.c: Likewise.
24868 * termios/tcsendbrk.c: Likewise.
24869 * termios/tcsetattr.c: Likewise.
24870 * termios/tcsetpgrp.c: Likewise.
24871 * time/adjtime.c: Likewise.
24872 * time/clock.c: Likewise.
24873 * time/getitimer.c: Likewise.
24874 * time/gettimeofday.c: Likewise.
24875 * time/setitimer.c: Likewise.
24876 * time/settimeofday.c: Likewise.
24877 * time/stime.c: Likewise.
24878 * time/time.c: Likewise.
24880 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
24882 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
24885 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
24887 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
24889 2012-11-03 Joseph Myers <joseph@codesourcery.com>
24892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
24893 FE_TONEAREST before applying Dekker multiplication and Knuth
24894 addition. Clear inexact exceptions and check for exact zero
24895 results afterwards.
24896 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24899 * math/libm-test.inc (fma_test): Add more tests.
24900 (fma_test_towardzero): Likewise.
24901 (fma_test_downward): Likewise.
24902 (fma_test_upward): Likewise.
24903 * sysdeps/generic/math_private.h (default_libc_fesetround): New
24905 (libc_fesetround): New macro.
24906 (libc_fesetroundf): Likewise.
24907 (libc_fesetroundl): Likewise.
24908 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
24910 (libc_fesetround_387): Likewise.
24911 (libc_fesetroundf): New macro.
24912 (libc_fesetround): Likewise.
24913 (libc_fesetroundl): Likewise.
24914 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
24916 (libc_fesetroundf): New macro.
24917 (libc_fesetround): Likewise.
24918 (libc_fesetroundl): Likewise.
24919 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
24920 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
24921 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
24923 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
24924 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
24926 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
24927 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
24929 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
24933 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
24934 integer constant usable in #if and use that to give value to enum
24936 (FE_DIVBYZERO): Likewise.
24937 (FE_UNDERFLOW): Likewise.
24938 (FE_OVERFLOW): Likewise.
24939 (FE_INVALID): Likewise.
24940 (FE_INVALID_SNAN): Likewise.
24941 (FE_INVALID_ISI): Likewise.
24942 (FE_INVALID_IDI): Likewise.
24943 (FE_INVALID_ZDZ): Likewise.
24944 (FE_INVALID_IMZ): Likewise.
24945 (FE_INVALID_COMPARE): Likewise.
24946 (FE_INVALID_SOFTWARE): Likewise.
24947 (FE_INVALID_SQRT): Likewise.
24948 (FE_INVALID_INTEGER_CONVERSION): Likewise.
24949 (FE_TONEAREST): Likewise.
24950 (FE_TOWARDZERO): Likewise.
24951 (FE_UPWARD): Likewise.
24952 (FE_DOWNWARD): Likewise.
24953 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
24954 (FE_DIVBYZERO): Likewise.
24955 (FE_OVERFLOW): Likewise.
24956 (FE_UNDERFLOW): Likewise.
24957 (FE_INEXACT): Likewise.
24958 (FE_TONEAREST): Likewise.
24959 (FE_DOWNWARD): Likewise.
24960 (FE_UPWARD): Likewise.
24961 (FE_TOWARDZERO): Likewise.
24962 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
24963 (FE_UNDERFLOW): Likewise.
24964 (FE_OVERFLOW): Likewise.
24965 (FE_DIVBYZERO): Likewise.
24966 (FE_INVALID): Likewise.
24967 (FE_TONEAREST): Likewise.
24968 (FE_TOWARDZERO): Likewise.
24969 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
24970 (FE_OVERFLOW): Likewise.
24971 (FE_UNDERFLOW): Likewise.
24972 (FE_DIVBYZERO): Likewise.
24973 (FE_INEXACT): Likewise.
24974 (FE_TONEAREST): Likewise.
24975 (FE_TOWARDZERO): Likewise.
24976 (FE_UPWARD): Likewise.
24977 (FE_DOWNWARD): Likewise.
24978 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
24979 (FE_DIVBYZERO): Likewise.
24980 (FE_OVERFLOW): Likewise.
24981 (FE_UNDERFLOW): Likewise.
24982 (FE_INEXACT): Likewise.
24983 (FE_TONEAREST): Likewise.
24984 (FE_DOWNWARD): Likewise.
24985 (FE_UPWARD): Likewise.
24986 (FE_TOWARDZERO): Likewise.
24988 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
24990 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
24992 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
24994 * scripts/cross-test-ssh.sh (command): Use newlines to separate
24995 commands. Quote $PWD.
24996 (blacklist_exports): Don't use remove_newlines. Replace "declare
24998 (remove_newlines): Remove.
25000 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
25002 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25003 * stdlib/stdlib.h (atof): Moved to ...
25004 * include/bits/stdlib-float.h: Here. New file.
25005 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25006 * stdlib/bits/stdlib-float.h: New file.
25007 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25009 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25012 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25014 * conform/conformtest.pl (@headers): Add fenv.h.
25015 * conform/data/fenv.h-data: New file.
25016 * include/fenv.h [_ISOMAC]: Disable all contents of file except
25017 include of <math/fenv.h>.
25019 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25020 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25021 && !UNIX98]. Enables tests for XOPEN2K8.
25022 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25023 POSIX2008]: Likewise.
25025 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25026 (struct rusage): Do not expect type or its members.
25029 * math/math.h (FP_NAN): Define macro to integer constant usable in
25030 #if and use that to give value to enum constant.
25031 (FP_INFINITE): Likewise.
25032 (FP_ZERO): Likewise.
25033 (FP_SUBNORMAL): Likewise.
25034 (FP_NORMAL): Likewise.
25036 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
25038 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25039 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25042 2012-11-02 Roland McGrath <roland@hack.frob.com>
25044 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25045 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25046 autoconf-time if not.
25047 * configure.in: Remove AC_PREREQ.
25049 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25051 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25052 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25053 of the internal implementation.
25055 2012-11-02 Joseph Myers <joseph@codesourcery.com>
25057 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25058 except include of <misc/sys/syslog.h>.
25060 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25063 function returns with a NULL context exit with zero.
25065 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25067 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25069 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
25071 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25072 (run_program_cmd): This.
25073 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25074 (tst_langinfo): New variable. Use it.
25076 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
25078 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25079 floating point opcodes.
25081 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25083 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25086 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25088 * sysdeps/mach/hurd/powerpc: Remove directory.
25089 * sysdeps/mach/powerpc: Likewise.
25091 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
25093 * scripts/check-local-headers.sh: Ignore c++ headers.
25095 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25097 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25098 __libc_cleanup_region_start argument.
25100 2012-11-01 Joseph Myers <joseph@codesourcery.com>
25104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25105 x * y using scaling, not as x * y + z.
25106 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25107 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25108 * math/libm-test.inc (fma_test): Add more tests.
25109 (fma_test_towardzero): Likewise.
25110 (fma_test_downward): Likewise.
25111 (fma_test_upward): Likewise.
25113 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
25115 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25117 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25119 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25122 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
25124 * rt/tst-shm.c (worker): Correct checking for mmap failure.
25126 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25133 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25136 Fix the order of the list for glibc 2.17.
25137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25140 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
25142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25144 2012-10-31 Joseph Myers <joseph@codesourcery.com>
25147 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25148 for low part of x being zero before using __atanl (y).
25149 * math/libm-test.inc (atan2_test): Add another test.
25151 * manual/install.texi (Configuring and compiling): Document
25152 general use of test-wrapper and test-wrapper-env.
25153 * INSTALL: Regenerated.
25155 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25156 (__fma): Do not extract and scale down low bits on after-rounding
25157 systems when result rounded to normal precision would have normal
25159 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25160 (__fmal): Do not extract and scale down low bits on after-rounding
25161 systems when result rounded to normal precision would have normal
25163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25164 (__fmal): Do not extract and scale down low bits on after-rounding
25165 systems when result rounded to normal precision would have normal
25167 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25169 (fma_test): Add more tests.
25170 (fma_test_towardzero): Likewise.
25171 (fma_test_downward): Likewise.
25172 (fma_test_upward): Likewise.
25174 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
25176 * sysdeps/i386/tininess.h: Renamed to ...
25177 * sysdeps/x86/tininess.h: This.
25178 * sysdeps/x86_64/tininess.h: Removed.
25180 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25182 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25183 input. Use $(build-program-cmd).
25184 ($(objpfx)tst-array1-static.out): Likewise.
25185 ($(objpfx)tst-array2.out): Likewise.
25186 ($(objpfx)tst-array3.out): Likewise.
25187 ($(objpfx)tst-array4.out): Likewise.
25188 ($(objpfx)tst-array5.out): Likewise.
25189 ($(objpfx)tst-array5-static.out): Likewise.
25191 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
25193 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25196 * nss/nsswitch.h (nss_interface_function): Provide new
25197 macro for use with NSS functions.
25198 * grp/initgroups.c: Use new macro.
25199 * nss/getXXbyYY.c: Likewise.
25200 * nss/getXXbyYY_r.c: Likewise.
25201 * nss/getXXent.c: Likewise.
25202 * nss/getXXent_r.c: Likewise.
25203 * sysdeps/posix/getaddrinfo.c: Likewise.
25205 2012-10-30 Andreas Jaeger <aj@suse.de>
25207 * po/ru.po: Update Russion translation from translation project.
25209 2012-10-30 Joseph Myers <joseph@codesourcery.com>
25213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25214 result and shift together with sticky bit instead of replicating
25215 round-to-nearest rounding.
25216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25217 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25218 * math/libm-test.inc (fma_test): Add more tests. Do not permit
25219 missing underflow exceptions.
25220 (fma_test_towardzero): Add more tests.
25221 (fma_test_downward): Likewise.
25222 (fma_test_upward): Likewise.
25225 * sysdeps/generic/tininess.h: New file.
25226 * sysdeps/i386/tininess.h: Likewise.
25227 * sysdeps/sh/tininess.h: Likewise.
25228 * sysdeps/x86_64/tininess.h: Likewise.
25229 * stdlib/tst-strtod-underflow.c: Likewise.
25230 * stdlib/tst-tininess.c: Likewise.
25231 * stdlib/strtod_l.c: Include <tininess.h>.
25232 (round_and_return): Do not set errno for exact underflow cases.
25233 Force an underflow exception when setting errno for underflow.
25234 Determine underflow based on rounding to normal precision if
25235 TININESS_AFTER_ROUNDING.
25236 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25237 ERANGE for exact underflow cases.
25238 * stdlib/Makefile (tests): Add tst-tininess and
25239 tst-strtod-underflow.
25240 ($(objpfx)tst-tininess): Use $(link-libm).
25241 ($(objpfx)tst-strtod-underflow): Likewise.
25243 2012-10-30 Andreas Jaeger <aj@suse.de>
25246 * elf/Makefile (tests): Remove conditional for have-initfini-array
25247 since this is now always required and the variable does not exist
25249 (tests-static): Likewise.
25250 (modules-names): Likewise.
25252 * po/eo.po: Add Esperanto translation from translation project.
25254 * elf/tst-array1.c (fini_array): Make writeable so that it can be
25255 merged with constructor/destructor.
25256 (init_array): Likewise.
25257 * elf/tst-array2dep.c (fini_array): Likewise.
25258 (init_array): Likewise.
25260 2012-10-29 Mike Frysinger <vapier@gentoo.org>
25262 * manual/message.texi: Delete @cartouche tags.
25264 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
25266 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25268 * sysdeps/mach/hurd/fsync.c: Likewise.
25270 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25271 [_POSIX_REALTIME_SIGNALS]: Change condition to
25272 [_POSIX_REALTIME_SIGNALS > 0].
25274 2012-10-27 Andreas Jaeger <aj@suse.de>
25276 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25277 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25278 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25279 [__WORDSIZE != 64]: Likewise.
25281 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
25283 * iconvdata/tst-table.sh: Remove ${SHELL}.
25284 * iconvdata/tst-tables.sh: Likewise.
25286 2012-10-25 David S. Miller <davem@davemloft.net>
25288 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25289 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25292 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25294 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25295 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25296 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25299 2012-10-25 Roland McGrath <roland@hack.frob.com>
25301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25302 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25305 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25306 Jim Blandy <jimb@codesourcery.com>
25308 * scripts/cross-test-ssh.sh: New file.
25309 * manual/install.texi (Configuring and compiling): Document use of
25311 * INSTALL: Regenerated.
25313 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
25315 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25318 2012-10-25 Joseph Myers <joseph@codesourcery.com>
25320 * Makeconfig (run-program-prefix): Fix comment.
25322 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25323 Jim Blandy <jimb@codesourcery.com>
25325 * Makeconfig (test-wrapper): New variable,
25326 (test-wrapper-env): Likewise.
25327 [$(cross-compiling) = yes && $(test-wrapper) != ""]
25328 (run-built-tests): Define to yes.
25329 (run-program-prefix): Use $(test-wrapper).
25330 (built-program-cmd): Likewise.
25331 * Rules (make-test-out): Use $(test-wrapper-env) and
25332 $(host-built-program-cmd).
25333 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
25334 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
25336 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
25337 $(test-wrapper-env) to tst-rtld-load-self.sh.
25338 ($(objpfx)order2.out): Use $(test-wrapper).
25339 ($(objpfx)tst-initorder.out): Likewise.
25340 ($(objpfx)tst-initorder2.out): Likewise.
25341 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
25342 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
25343 (test_wrapper_env): New variable. Use it to run ld.so.
25344 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
25345 Use it to run ld.so.
25346 (test_wrapper_env): Likewise.
25347 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
25348 $(test-wrapper) to run-iconv-test.sh.
25349 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
25350 (ICONV): Use $test_wrapper.
25351 * posix/Makefile ($(objpfx)globtest.out): Pass
25352 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
25353 globtest.sh, not $(run-program-prefix).
25354 * posix/globtest.sh (run_via_rtld_prefix): New variable.
25355 (test_wrapper): Likewise.
25356 (test_wrapper_env): Likewise. Use it to run globtest with HOME
25357 set together with run_via_rtld_prefix.
25358 (run_program_prefix): Define in terms of test_wrapper and
25359 run_via_rtld_prefix.
25361 2012-10-24 Roland McGrath <roland@hack.frob.com>
25363 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
25364 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
25368 * include/time.h: Remove librt_hidden_proto (clock_gettime).
25369 Declare __clock_getres, __clock_gettime, __clock_settime,
25370 __clock_nanosleep, and __clock_getcpuclockid.
25371 * rt/clock_gettime.c: Define __clock_gettime as an alias.
25372 Remove librt_hidden_def (clock_gettime).
25373 * sysdeps/unix/clock_gettime.c: Likewise.
25374 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
25375 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25376 * rt/clock_getres.c: Define __clock_getres as an alias.
25377 * sysdeps/posix/clock_getres.c: Likewise.
25378 * rt/clock_settime.c: Define __clock_settime as an alias.
25379 * sysdeps/unix/clock_settime.c: Likewise.
25380 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
25381 * sysdeps/unix/clock_nanosleep.c: Likewise.
25382 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25383 * rt/clock-compat.c: New file.
25384 * rt/Makefile (librt-routines): Add clock-compat and move
25385 $(clock-routines) to ...
25386 (routines): ... here, new variable.
25387 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
25388 Don't add get_clockfreq here.
25389 * rt/Versions (libc: GLIBC_2.17): New version set.
25390 Add clock_* symbols here.
25391 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
25392 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
25393 (GLIBC_2.17): Add clock_* symbols.
25394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25396 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25401 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25405 * NEWS: Mention the move.
25407 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
25408 Use __open, __read, __close rather than their public counterparts.
25409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25410 (__get_clockfreq_via_cpuinfo): Likewise.
25411 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
25412 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
25414 * config.h.in (HAVE_IFUNC): New #undef.
25415 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
25417 * configure: Regenerated.
25419 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25421 * configure.in: Move READELF check to start of file.
25422 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
25423 libc_cv_asm_gnu_indirect_function in the process.
25424 * configure: Regenerated.
25426 2012-10-24 Mike Frysinger <vapier@gentoo.org>
25428 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
25429 send the output to /dev/null.
25430 (libc_cv_cc_with_libunwind): Likewise.
25431 (libc_cv_as_noexecstack): Likewise.
25432 * configure: Regenerate.
25434 2012-10-24 Joseph Myers <joseph@codesourcery.com>
25436 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
25438 * posix/globtest.sh (TMPDIR): Do not set.
25439 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
25440 (testout): Likewise.
25442 2012-10-24 Andreas Jaeger <aj@suse.de>
25444 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
25445 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
25446 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
25447 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
25448 posix_fadvise64, posix_fallocate64.
25450 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
25451 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
25452 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
25454 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
25456 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
25458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
25459 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
25460 <bits/fcntl-linux.h>.
25461 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
25463 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
25464 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
25465 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
25466 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
25467 [__WORDSIZE != 64]: Likewise.
25469 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25471 * Makeconfig (run-built-tests): New variable.
25472 * Rules [$(cross-compiling) = yes]: Change condition to
25473 [$(run-built-tests) = no].
25474 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
25475 to [$(run-built-tests) = yes].
25476 * elf/Makefile [$(cross-compiling) = no]: Likewise
25477 * grp/Makefile [$(cross-compiling) = no]: Likewise.
25478 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
25479 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
25480 * intl/Makefile [$(cross-compiling) = no]: Likewise.
25481 * io/Makefile [$(cross-compiling) = no]: Likewise.
25482 * libio/Makefile [$(cross-compiling) = no]: Likewise.
25483 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
25484 * misc/Makefile [$(cross-compiling) = no]: Likewise.
25485 * posix/Makefile [$(cross-compiling) = no]: Likewise.
25486 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
25487 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
25488 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
25489 * string/Makefile [$(cross-compiling) = no]: Likewise.
25491 * posix/Makefile ($(objpfx)globtest.out): Pass
25492 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
25493 $(rtld-installed-name).
25494 * posix/globtest.sh (elf_objpfx): Remove variable.
25495 (rtld_installed_name): Likewise.
25496 (library_path): Likewise.
25497 (run_program_prefix): New variable. Use for running globtest
25500 2012-10-23 Jim Blandy <jimb@codesourcery.com>
25501 Joseph Myers <joseph@codesourcery.com>
25503 * Makeconfig (host-built-program-cmd): New variable.
25504 * elf/Makefile (tst-stackguard1-ARGS): Use
25505 $(host-built-program-cmd).
25506 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
25507 (tst-spawn-ARGS): Likewise.
25508 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
25510 2012-10-23 Joseph Myers <joseph@codesourcery.com>
25511 Jim Blandy <jimb@codesourcery.com>
25513 * Makeconfig (run-via-rtld-prefix): New variable.
25514 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
25515 (built-program-cmd): Likewise.
25517 2012-10-22 Andreas Jaeger <aj@suse.de>
25519 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
25520 __O_RSYNC if it exists, otherwise to O_SYNC.
25522 2012-10-22 Jim Blandy <jimb@codesourcery.com>
25523 Joseph Myers <joseph@codesourcery.com>
25525 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
25527 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
25529 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
25532 2012-10-22 Andreas Jaeger <aj@suse.de>
25534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
25536 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
25538 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25539 bits/fcntl-linux.h.
25541 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
25542 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
25544 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
25546 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
25549 2012-10-21 Jim Blandy <jimb@codesourcery.com>
25550 Joseph Myers <joseph@codesourcery.com>
25552 * config.make.in (NM): New variable.
25554 2012-10-21 Andreas Jaeger <aj@suse.de>
25556 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
25557 definitions and declarations that are provided by
25558 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25560 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25563 * elf/Makefile (tests-static): Add tst-leaks1-static.
25564 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
25565 ($(objpfx)tst-leaks1-static): New rule.
25566 ($(objpfx)tst-leaks1-static-mem): Likewise.
25567 (tst-leaks1-static-ENV): New macro.
25568 * elf/dl-open.c (dl_open_worker): Check the main application
25569 only if SHARED is defined.
25570 * elf/tst-leaks1-static.c: New file.
25572 2012-10-20 Andreas Jaeger <aj@suse.de>
25574 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
25575 generic values for Linux.
25576 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
25577 and declarations that are provided by <bits/fcntl-linux.h> and
25578 include <bits/fcntl-linux.h>.
25579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25580 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25582 2012-10-20 Roland McGrath <roland@hack.frob.com>
25584 * io/fcntl.h: Move include of <bits/types.h> to the top and
25585 include it unconditionally.
25587 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
25589 * wcsmbs/Makefile (tests-ifunc): New variable.
25590 (tests): Add $(tests-ifunc).
25591 * wcsmbs/test-wcschr-ifunc.c: New file.
25592 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25593 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25594 * wcsmbs/test-wcslen-ifunc.c: Likewise.
25595 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25596 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25598 * string/Makefile (tests-ifunc): New variable.
25599 (tests): Add $(tests-ifunc).
25600 * string/test-memccpy.c (TEST_NAME): New macro.
25601 * string/test-memchr.c (TEST_NAME): Likewise.
25602 * string/test-memcmp.c (TEST_NAME): Likewise.
25603 * string/test-memcpy.c (TEST_NAME): Likewise.
25604 * string/test-memmem.c (TEST_NAME): Likewise.
25605 * string/test-memmove.c (TEST_NAME): Likewise.
25606 * string/test-memset.c (TEST_NAME): Likewise.
25607 * string/test-rawmemchr.c (TEST_NAME): Likewise.
25608 * string/test-stpcpy.c (TEST_NAME): Likewise.
25609 * string/test-stpncpy.c (TEST_NAME): Likewise.
25610 * string/test-strcasecmp.c (TEST_NAME): Likewise.
25611 * string/test-strcasestr.c (TEST_NAME): Likewise.
25612 * string/test-strcat.c (TEST_NAME): Likewise.
25613 * string/test-strchr.c (TEST_NAME): Likewise.
25614 * string/test-strcmp.c(TEST_NAME): Likewise.
25615 * string/test-strcpy.c (TEST_NAME): Likewise.
25616 * string/test-strcspn.c (TEST_NAME): Likewise.
25617 * string/test-strlen.c (TEST_NAME): Likewise.
25618 * string/test-strncasecmp.c (TEST_NAME): Likewise.
25619 * string/test-strncmp.c (TEST_NAME): Likewise.
25620 * string/test-strncpy.c (TEST_NAME): Likewise.
25621 * string/test-strnlen.c (TEST_NAME): Likewise.
25622 * string/test-strpbrk.c (TEST_NAME): Likewise.
25623 * string/test-strrchr.c (TEST_NAME): Likewise.
25624 * string/test-strspn.c (TEST_NAME): Likewise.
25625 * string/test-strstr.c (TEST_NAME): Likewise.
25626 * string/test-bcopy-ifunc.c: New file.
25627 * string/test-bzero-ifunc.c: Likewise.
25628 * string/test-memccpy-ifunc.c: Likewise.
25629 * string/test-memchr-ifunc.c: Likewise.
25630 * string/test-memcmp-ifunc.c: Likewise.
25631 * string/test-memcpy-ifunc.c: Likewise.
25632 * string/test-memmem-ifunc.c: Likewise.
25633 * string/test-memmove-ifunc.c: Likewise.
25634 * string/test-mempcpy-ifunc.c: Likewise.
25635 * string/test-memset-ifunc.c: Likewise.
25636 * string/test-rawmemchr-ifunc.c: Likewise.
25637 * string/test-stpcpy-ifunc.c: Likewise.
25638 * string/test-stpncpy-ifunc.c: Likewise.
25639 * string/test-strcasecmp-ifunc.c: Likewise.
25640 * string/test-strcasestr-ifunc.c: Likewise.
25641 * string/test-strcat-ifunc.c: Likewise.
25642 * string/test-strchr-ifunc.c: Likewise.
25643 * string/test-strchrnul-ifunc.c: Likewise.
25644 * string/test-strcmp-ifunc.c: Likewise.
25645 * string/test-strcpy-ifunc.c: Likewise.
25646 * string/test-strcspn-ifunc.c: Likewise.
25647 * string/test-strlen-ifunc.c: Likewise.
25648 * string/test-strncasecmp-ifunc.c: Likewise.
25649 * string/test-strncat-ifunc.c: Likewise.
25650 * string/test-strncmp-ifunc.c: Likewise.
25651 * string/test-strncpy-ifunc.c: Likewise.
25652 * string/test-strnlen-ifunc.c: Likewise.
25653 * string/test-strpbrk-ifunc.c: Likewise.
25654 * string/test-strrchr-ifunc.c: Likewise.
25655 * string/test-strspn-ifunc.c: Likewise.
25656 * string/test-strstr-ifunc.c: Likewise.
25658 * debug/Makefile (tests-ifunc): New variable.
25659 (tests): Add $(tests-ifunc).
25660 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
25661 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
25662 * debug/test-stpcpy_chk-ifunc.c: New file.
25663 * debug/test-strcpy_chk-ifunc.c: Likewise.
25665 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25668 * elf/dl-load.c (open_verify): Retry read if the entire ELF
25669 header is not read in.
25671 2012-10-19 Joseph Myers <joseph@codesourcery.com>
25673 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
25674 script to $(SHELL) as $<. Pass $(common-objpfx) to script
25675 directly. Pass built executable to script as
25676 $(built-program-cmd).
25677 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
25678 $testprogram without using LD_LIBRARY_PATH and $ldso.
25680 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
25681 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
25682 $(rtld-installed-name).
25683 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
25684 (rtld_installed_name): Likewise.
25685 (library_path): Likewise.
25686 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
25687 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
25688 $(run-program-prefix) to tst-tables.sh.
25689 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
25690 it to run tst-table-from and tst-table-to.
25691 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
25692 Pass it to tst-table.sh.
25693 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
25694 $(run-program-prefix) to tst-gettext.sh.
25695 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
25697 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
25699 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
25700 to run tst-gettext.
25701 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
25702 to run tst-gettext2.
25703 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
25704 to run tst-translit.
25705 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
25706 $(run-program-prefix) to tst-mtrace.sh.
25707 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
25709 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
25710 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
25711 $(rtld-installed-name).
25712 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
25713 (rtld_installed_name): Likewise.
25714 (run_program_prefix): New variable. Use it to run wordexp-test.
25716 * Makeconfig (ARCH): Remove all definitions.
25717 (machine): Likewise.
25718 [ARCH]: Remove conditional code.
25719 [!objdir]: Give error.
25720 [!objdir] (objpfx): Remove.
25721 [!objdir] (common-objpfx): Likewise.
25722 [!objdir] (common-objdir): Likewise.
25723 * configure.in (config_makefile): Remove. Hardcode Makefile in
25724 AC_CONFIG_FILES call.
25725 * configure: Regenerated.
25728 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
25730 (testout): Likewise.
25732 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
25733 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
25734 $(rtld-installed-name).
25735 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
25736 (rtld_installed_name): Likwise.
25737 (runit): Remove function.
25738 (run_getconf): New variable, Use it for running getconf binary.
25740 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
25743 * string/test-memmem.c (check_result): New function.
25744 (do_one_test): Use it.
25745 (check1): New function.
25746 (test_main): Use it.
25748 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
25750 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
25752 2012-10-18 Joseph Myers <joseph@codesourcery.com>
25754 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
25755 (_G_LSEEK64): Likewise.
25756 (_G_MMAP64): Likewise.
25757 (_G_FSTAT64): Likewise.
25758 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
25759 (_G_LSEEK64): Likewise.
25760 (_G_MMAP64): Likewise.
25761 (_G_FSTAT64): Likewise.
25762 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
25763 unconditional. Call __mmap64 directly.
25764 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
25765 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
25766 __lseek64 directly.
25767 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
25768 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
25770 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
25771 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
25772 __lseek64 directly.
25773 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
25774 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
25775 __lseek64 directly.
25776 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
25777 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
25778 __lseek64 directly.
25779 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
25780 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
25781 __fxstat64 directly.
25782 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
25783 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
25785 (freopen64) [!_G_OPEN64]: Remove conditional code.
25786 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
25788 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
25789 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
25791 (ftello64) [!_G_LSEEK64]: Remove conditional code.
25792 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
25794 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25795 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
25797 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
25798 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
25800 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25801 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
25803 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
25804 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
25806 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
25808 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25811 * manual/memory.texi (Malloc Tunable Parameters): Add note
25812 about free list pointers overwriting some perturb bytes.
25813 Wording suggested by Roland McGrath.
25815 2012-10-17 Joseph Myers <joseph@codesourcery.com>
25817 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
25818 (lgamma_test): Likewise.
25819 (tgamma_test): Likewise.
25821 2012-10-16 Florian Weimer <fweimer@redhat.com>
25824 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
25825 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
25827 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
25829 * NEWS: Mention BZ #14716.
25830 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
25831 when removing AVAILABLE1_USES_J macro.
25833 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
25835 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
25836 (__bswap_64): __uint64_t for unsigned 64-bit int.
25838 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
25840 * include/string.h (memmem): Declare libc hidden alias.
25841 * string/memmem.c (memmem): Define libc hidden alias.
25842 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
25843 __read, __close instead of open, read, close.
25845 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
25847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
25848 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
25850 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
25851 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
25852 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
25854 (__rawmemchr_sse2): Likewise.
25855 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
25856 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
25857 (__strchr_sse2): Likewise.
25858 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
25859 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
25860 (__strcasecmp_sse2): Likewise.
25861 (__strncasecmp_sse2): Likewise.
25862 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
25863 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
25864 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
25865 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
25866 (__strrchr_sse2): Likewise.
25867 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
25869 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25870 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25871 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25872 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25873 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25874 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25875 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25876 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25877 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
25878 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
25879 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
25880 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
25881 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
25882 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25883 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25884 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25885 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25886 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25887 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
25888 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
25889 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
25890 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
25891 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
25892 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25893 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
25894 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25895 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25896 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25897 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25898 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25900 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
25902 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
25903 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
25904 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
25905 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
25907 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
25909 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
25910 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
25911 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
25912 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
25914 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25915 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25916 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25917 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25918 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25919 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25920 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25921 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25922 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25923 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25924 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25925 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25926 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25927 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
25928 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
25929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25930 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
25931 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
25932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25934 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25935 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25936 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25937 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25938 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25939 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
25940 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
25941 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
25942 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
25943 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25944 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
25945 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25946 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25947 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
25948 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25949 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25950 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25951 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25952 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25953 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25954 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
25956 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
25957 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
25958 * include/ifunc-impl-list.h: New file.
25959 * misc/ifunc-impl-list.c: Likewise.
25960 * misc/Makefile (routines): Add ifunc-impl-list.
25961 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
25962 * string/test-string.h: Include <ifunc-impl-list.h>.
25963 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
25964 TEST_NAME]: New variables.
25965 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
25967 (test_init): Call __libc_ifunc_impl_list to initialize
25968 func_list if TEST_IFUNC and TEST_NAME are defined.
25970 * string/Makefile (strop-tests): Add bcopy and bzero.
25971 * string/test-bcopy.c: New file.
25972 * string/test-bzero.c: Likewise.
25973 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
25975 * string/test-memset.c: Support bzero test if TEST_BZERO is
25977 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
25979 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
25981 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
25984 2012-10-10 Joseph Myers <joseph@codesourcery.com>
25986 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
25987 * configure: Regenerated.
25989 * Makeconfig (+link-static-before-libc): Don't include
25990 $(link-static-libc).
25992 * libio/libio.h (_IO_pos_t): Remove.
25994 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
25996 * NEWS: Add note about FIPS mode. Wording suggested by Roland
25999 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26001 * crypt/crypt-entry.c: Include fips-private.h.
26002 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26003 * crypt/md5c-test.c (main): Tolerate disabled MD5.
26004 * sysdeps/unix/sysv/linux/fips-private.h: New file.
26005 * sysdeps/generic/fips-private.h: New file, dummy fallback.
26007 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
26009 * crypt/crypt-private.h: Include stdbool.h.
26010 (_ufc_setup_salt_r): Return bool.
26011 * crypt/crypt-entry.c: Include errno.h.
26012 (__crypt_r): Return NULL with EINVAL for bad salt.
26013 * crypt/crypt_util.c (bad_for_salt): New.
26014 (_ufc_setup_salt_r): Check that salt is long enough and within
26015 the specified alphabet.
26016 * crypt/badsalttest.c: New file.
26017 * crypt/Makefile (tests): Add it.
26018 ($(objpfx)badsalttest): New.
26020 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
26022 * NEWS: Add entry for BZ #14602.
26024 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26026 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26028 * math/libm-test.inc: Update comment listing what functions and
26030 (isgreater_test): New function.
26031 (isgreaterequal_test): Likewise.
26032 (isless_test): Likewise.
26033 (islessequal_test): Likewise.
26034 (islessgreater_test): Likewise.
26035 (isunordered_test): Likewise.
26036 (main): Call the new functions.
26038 2012-10-09 Roland McGrath <roland@hack.frob.com>
26040 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26041 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26042 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26043 * sysdeps/i386/configure: Regenerated.
26044 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26045 * sysdeps/mach/configure: Regenerated.
26046 * sysdeps/mach/hurd/configure: Regenerated.
26047 * sysdeps/powerpc/configure: Regenerated.
26048 * sysdeps/powerpc/powerpc32/configure: Regenerated.
26049 * sysdeps/powerpc/powerpc64/configure: Regenerated.
26050 * sysdeps/s390/s390-32/configure: Regenerated.
26051 * sysdeps/s390/s390-64/configure: Regenerated.
26052 * sysdeps/sh/configure: Regenerated.
26053 * sysdeps/sparc/configure: Regenerated.
26054 * sysdeps/unix/sysv/linux/configure: Regenerated.
26055 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26056 * sysdeps/x86_64/configure: Regenerated.
26058 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26059 defined. Don't check if MAP is NULL.
26061 2012-10-09 Joseph Myers <joseph@codesourcery.com>
26063 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26064 (_G_stat64): Likewise.
26065 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26066 (_G_stat64): Likewise.
26067 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26068 instead of struct _G_stat64.
26069 * libio/fileops.c (mmap_remap_check): Likewise.
26070 (decide_maybe_mmap): Likewise.
26071 (_IO_new_file_seekoff): Likewise.
26072 (_IO_file_stat): Likewise.
26073 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26075 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26076 instead of struct _G_stat64.
26077 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26079 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
26082 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26084 (CHECK_EOL): New macro.
26085 (two_way_short_needle): Check beginning of haystack for EOL. Use
26087 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26088 Replace with CHECK_EOL.
26089 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26090 Replace with CHECK_EOL.
26092 2012-10-08 Joseph Myers <joseph@codesourcery.com>
26094 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26096 * math/libm-test.inc: Update comment listing what functions and
26098 (finite_test): New function.
26099 (isinf_test): Likewise.
26100 (isnan_test): Likewise.
26101 (fpclassify_test): Test subnormal input.
26102 (isfinite_test): Likewise.
26103 (isnormal_test): Likewise.
26104 (main): Call the new functions.
26106 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
26109 * Makerules (%.dynsym): Force C locale when running
26110 $(OBJDUMP) --dynamic-syms.
26112 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
26114 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26117 2012-10-06 David S. Miller <davem@davemloft.net>
26119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26120 upper 32-bits of the length value in %o2 since we use branch-on-register
26121 tests which consider the entire 64-bit register.
26123 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
26125 * string/test-strstr.c (check2): Add a test for page boundary.
26127 2012-10-05 David S. Miller <davem@davemloft.net>
26129 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26130 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26132 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26134 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26135 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26136 and bzero when HWCAP_SPARC_CRYPTO is present.
26138 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
26141 * string/test-strstr.c (check2): New function.
26142 (test_main): Call check2.
26144 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26146 * string/bug-strcasestr1.c (do_test): Moved to ...
26147 * string/test-strcasestr.c (check1): Here. New function.
26148 (do_one_test): Break out result checking code into ...
26149 (check_result): This. New function.
26150 (do_one_test): Call check_result.
26151 (test_main): Call check1.
26152 * string/bug-strchr1.c (do_test): Moved to ...
26153 * string/test-strchr.c (check1): Here. New function.
26154 (do_one_test): Break out result checking code into ...
26155 (check_result): This. New function.
26156 (do_one_test): Call check_result.
26157 (test_main): Call check1.
26158 * string/bug-strstr1.c (main): Moved to ...
26159 * string/test-strstr.c (check1): Here. New function.
26160 (do_one_test): Break out result checking code into ...
26161 (check_result): This. New function.
26162 (do_one_test): Call check_result.
26163 (test_main): Call check1.
26164 * string/bug-strcasestr1.c: Removed.
26165 * string/bug-strchr1.c: Likewise.
26166 * string/bug-strstr1.c: Likewise.
26168 * elf/Makefile (dl-routines): Add hwcaps.
26169 * elf/dl-support.c (_dl_important_hwcaps): Removed.
26170 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26171 (_dl_important_hwcaps): Moved to ...
26172 * elf/dl-hwcaps.c: Here. New file.
26173 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26176 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26177 if IS_IN_rtld isn't defined.
26179 * elf/dl-support.c (_dl_sysinfo_map): New.
26180 Include "get-dynamic-info.h" and "setup-vdso.h".
26181 (_dl_non_dynamic_init): Call setup_vdso.
26182 * elf/dynamic-link.h: Don't include <assert.h>.
26183 (elf_get_dynamic_info): Moved to ...
26184 * elf/get-dynamic-info.h: Here. New file.
26185 * elf/dynamic-link.h: Include "get-dynamic-info.h".
26186 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26187 * elf/setup-vdso.h: Here. New file.
26188 * elf/rtld.c: Include "setup-vdso.h".
26189 (dl_main): Call setup_vdso.
26191 2012-10-05 Joseph Myers <joseph@codesourcery.com>
26193 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26194 creal in comment listing functions tested. List finite, isinf,
26195 isnan, isless, islessequal, isgreater, isgreaterequal,
26196 islessgreater, isunordered, lgamma_r and pow10 as functions and
26197 macros not tested. Mention which functions not tested are aliases
26198 for other functions. Fix typo. Note that signs of NaNs are not
26201 * scripts/config.guess: Update from config.git.
26202 * scripts/config.sub: Likewise.
26204 2012-10-04 Roland McGrath <roland@hack.frob.com>
26206 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26207 * misc/madvise.c (madvise): Renamed to __madvise.
26208 Make madvise a weak alias.
26209 * include/sys/mman.h: Declare __madvise.
26210 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26211 * sysdeps/unix/syscalls.list
26212 (madvise): Make __madvise the strong name, and madvise a weak alias.
26213 * sysdeps/unix/sysv/linux/syscalls.list
26214 (madvise, mmap): Remove redundant entries.
26215 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26216 * malloc/malloc.c (mtrim): Likewise.
26217 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26219 2012-10-03 Roland McGrath <roland@hack.frob.com>
26221 * sysdeps/mach/hurd/dl-cache.c: File removed.
26222 * config.h.in (USE_LDCONFIG): New #undef.
26223 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26224 * configure: Regenerated.
26225 * elf/Makefile (dl-routines): Add dl-cache only under
26226 [$(use-ldconfig) = yes].
26227 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26228 cache on [USE_LDCONFIG].
26229 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26231 * elf/rtld.c (dl_main): Likewise.
26233 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
26235 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26236 _SC_LEVEL4_CACHE_LINESIZE.
26238 2012-10-03 Roland McGrath <roland@hack.frob.com>
26240 * sysdeps/unix/bsd/confstr.h: File removed.
26242 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
26244 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26247 2012-10-02 Roland McGrath <roland@hack.frob.com>
26249 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26250 Make 'mapoff' field ElfW(Off) rather than off_t.
26252 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
26254 * nscd/Makefile: Remove nscd-cflags and all its users.
26255 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26256 (CFLAGS-nonlib): Add compiler flags for nscd modules.
26259 * malloc.c (malloc_printerr): Clarify error message.
26261 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
26264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26265 Set bit_FMA_Usable if FMA is supported.
26266 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26268 (bit_FMA4_Usable): Updated.
26269 (index_FMA_Usable): New macro.
26270 (CPUID_FMA): Likewise
26271 (HAS_FMA): Defined with bit_FMA_Usable.
26273 2012-10-01 Roland McGrath <roland@hack.frob.com>
26275 * bits/types.h (__swblk_t): Type removed.
26276 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26277 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26279 (__SWBLK_T_TYPE): Likewise.
26280 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26281 (__SWBLK_T_TYPE): Likewise.
26282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26283 (__SWBLK_T_TYPE): Likewise.
26284 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26285 (__SWBLK_T_TYPE): Likewise.
26287 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
26288 Honza Horak <hhorak@redhat.com>
26290 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26291 (xdr_mapname): Use YPMAXMAP as maxsize.
26292 (xdr_peername): Use YPMAXPEER as maxsize.
26293 (xdr_keydat): Use YPAXRECORD as maxsize.
26294 (xdr_valdat): Use YPMAXRECORD as maxsize.
26296 2012-10-01 Roland McGrath <roland@hack.frob.com>
26298 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26300 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26301 * csu/init-first.c: ... here.
26302 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26303 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26304 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26305 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26306 * sysdeps/i386/init-first.c: File removed.
26307 * sysdeps/sh/init-first.c: File removed.
26309 2012-10-01 Joseph Myers <joseph@codesourcery.com>
26312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26313 if x * y might underflow to zero and z is zero.
26314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26315 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26316 * math/libm-test.inc (min_subnorm_value): New variable.
26317 (fma_test): Add more tests.
26318 (fma_test_towardzero): Likewise.
26319 (fma_test_downward): Likewise
26320 (fma_test_upward): Likewise.
26321 (initialize): Set min_subnorm_value.
26323 2012-09-29 Joseph Myers <joseph@codesourcery.com>
26326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26328 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26329 mode for addition resulting in exact zero.
26330 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
26331 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
26333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26335 * math/libm-test.inc (fma_test): Add more tests.
26336 (fma_test_towardzero): New function.
26337 (fma_test_downward): Likewise.
26338 (fma_test_upward): Likewise.
26339 (main): Call the new functions.
26341 2012-09-28 David S. Miller <davem@davemloft.net>
26343 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
26345 2012-09-28 Roland McGrath <roland@hack.frob.com>
26347 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
26348 instead of SIGALRM.
26350 * sysdeps/gnu/_G_config.h: Moved to ...
26351 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
26352 * sysdeps/mach/hurd/_G_config.h: Moved to ...
26353 * sysdeps/generic/_G_config.h: ... here.
26355 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
26357 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
26359 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
26360 Conditionalize target on [libnss_test1.so-version].
26362 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
26364 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
26365 (elfobjdir): Move out of conditionals.
26367 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
26368 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
26369 (__nss_lookup_function): Conditionalize label remove_from_tree on
26370 [!DO_STATIC_NSS || SHARED], matching its only use.
26372 2012-09-28 David S. Miller <davem@davemloft.net>
26374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
26375 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
26377 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26379 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
26381 when HWCAP_SPARC_CRYPTO is present.
26383 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26385 * io/tst-mknodat.c: Create a FIFO instead of a socket.
26387 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
26390 * stdio-common/vfprintf.c (process_string_arg): Revert
26393 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
26395 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
26397 * stdio-common/tst-sprintf.c: Include <locale.h>
26398 (main): Test sprintf's handling of incomplete multibyte
26401 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
26403 * elf/dl-runtime.c (VERSYMIDX): Removed.
26404 * elf/dl-version.c (VERSYMIDX): Likewise.
26405 * elf/do-rel.h (VERSYMIDX): Likewise.
26406 (VALIDX): Likewise.
26407 * elf/dynamic-link.h (VERSYMIDX): Likewise.
26408 * elf/rtld.c (VALIDX): Likewise.
26409 (ADDRIDX): Likewise.
26410 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
26411 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
26412 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
26413 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
26414 (VALIDX): Likewise.
26415 (ADDRIDX): Likewise.
26417 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26419 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
26421 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
26424 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
26426 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
26427 addresses are in the same scope as 192.0.2/24.
26428 * posix/gai.conf: Document new scope table defaults.
26430 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26433 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
26434 for ftell. Compute offsets from write pointers instead.
26435 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26437 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26440 * libio/Makefile (tests): New test case tst-fseek.
26441 * libio/tst-fseek.c: New test case to verify that fseek/ftell
26442 combination works in wide mode.
26443 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
26444 state when the external buffer state changes.
26446 2012-09-27 David S. Miller <davem@davemloft.net>
26449 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
26450 pass reloc->r_addend in as the 'high' argument to
26451 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
26453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26455 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
26457 * rt/tst-aio2.c: Include <pthread.h>.
26458 * rt/tst-aio3.c: Likewise.
26460 2012-09-27 Steve Ellcey <sellcey@mips.com>
26462 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
26464 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
26466 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
26467 contents on [SHARED].
26469 2012-09-26 Marek Polacek <polacek@redhat.com>
26473 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
26474 for C++ and GCC <4.3 as well as for non GCC compilers.
26476 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26478 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26480 2012-09-25 Roland McGrath <roland@hack.frob.com>
26482 * Makefile.in (all, install): Declare with .PHONY.
26483 Reported by Michael Hope <michael.hope@linaro.org>.
26485 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26487 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
26488 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
26490 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
26492 (sydep_routines): Add the new and the internal functions.
26493 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
26494 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
26495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
26496 (GLIBC_2.17): Add the new function.
26497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26498 (GLIBC_2.17): Likewise.
26499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
26500 (GLIBC_2.17): Likewise.
26501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
26502 (GLIBC_2.17): Likewise.
26503 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
26505 2012-09-25 Alan Modra <amodra@gmail.com>
26507 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
26508 Add release barrier before setting once_control to say
26509 initialisation is done. Add hints on lwarx. Use macro in
26511 (clear_once_control): Add release barrier.
26513 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26516 * math/s_clog.c (__clog): Handle more values close to |z| = 1
26518 * math/s_clog10.c (__clog10): Likewise.
26519 * math/s_clog10f.c (__clog10f): Likewise.
26520 * math/s_clog10l.c (__clog10l): Likewise.
26521 * math/s_clogf.c (__clogf): Likewise.
26522 * math/s_clogl.c (__clogl): Likewise.
26523 * math/Makefile (libm-calls): Add x2y2m1.
26524 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
26525 (__x2y2m1): Likewise.
26526 (__x2y2m1l): Likewise.
26527 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
26528 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
26529 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
26530 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26531 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
26532 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
26533 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
26534 * sysdeps/i386/fpu/libm-test-ulps: Update.
26535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26538 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
26539 int as type of variable DEPTH.
26540 (glob): Use size_t instead of int as type of variables NEWCOUNT
26543 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26545 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
26546 Add s_sincosf-sse2.
26547 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
26548 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
26549 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
26550 macros for using routine as __sincosf_ia32.
26551 Use macro for function declaration and weak_alias.
26552 * sysdeps/i386/fpu/libm-test-ulps: Update.
26554 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
26555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26557 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
26558 subnormal argument.
26559 * math/s_cexpf.c (__cexpf): Likewise.
26560 * math/s_csinf.c (__csinf): Likewise.
26561 * math/s_csinhf.c (__csinhf): Likewise.
26562 * math/s_ctanf.c (__ctanf): Likewise.
26563 * math/s_ctanhf.c (__ctanhf): Likewise.
26564 * math/s_ccosh.c (__ccoshf): Likewise.
26565 * math/s_cexp.c (__cexpl): Likewise.
26566 * math/s_csin.c (__csin): Likewise.
26567 * math/s_csinh.c (__csinh): Likewise.
26568 * math/s_ctan.c (__ctan): Likewise.
26569 * math/s_ctanh.c (ctanh): Likewise.
26570 * math/s_ccoshl.c (__ccoshl): Likewise.
26571 * math/s_cexpl.c (__cexpl): Likewise.
26572 * math/s_csinl.c (__csinl): Likewise.
26573 * math/s_csinhl.c (__csinhl): Likewise.
26574 * math/s_ctanl.c (__ctanl): Likewise.
26575 * math/s_ctanhl.c (__ctanhl): Likewise.
26577 2012-09-25 Joseph Myers <joseph@codesourcery.com>
26579 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
26580 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
26581 (_IO_off_t): Define to __off_t, not _G_off_t.
26582 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
26583 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
26584 (_IO_wint_t): Define to wint_t, not _G_wint_t.
26585 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
26586 type of __dummy and __dummy2 fields.
26587 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
26588 (_G_ssize_t): Likewise.
26589 (_G_off_t): Likewise.
26590 (_G_pid_t): Likewise.
26591 (_G_uid_t): Likewise.
26592 (_G_wchar_t): Likewise.
26593 (_G_wint_t): Likewise.
26594 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
26595 (_G_ssize_t): Likewise.
26596 (_G_off_t): Likewise.
26597 (_G_pid_t): Likewise.
26598 (_G_uid_t): Likewise.
26599 (_G_wchar_t): Likewise.
26600 (_G_wint_t): Likewise.
26601 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
26602 (_G_ssize_t): Likewise.
26603 (_G_off_t): Likewise.
26604 (_G_pid_t): Likewise.
26605 (_G_uid_t): Likewise.
26606 (_G_wchar_t): Likewise.
26607 (_G_wint_t): Likewise.
26609 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26611 * malloc/arena.c: Include malloc-sysdep.h.
26612 (shrink_heap): Use check_may_shrink_heap to decide if madvise
26613 is sufficient to shrink the heap or an unmap is needed.
26614 * sysdeps/generic/malloc-sysdep.h: New file. Define
26615 new function check_may_shrink_heap.
26616 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
26617 new function check_may_shrink_heap.
26619 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26621 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
26624 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
26626 * catgets/test-gencat.sh: Add "set -e".
26627 * elf/tst-pathopt.sh: Likewise.
26628 * grp/tst_fgetgrent.sh: Likewise.
26629 * iconvdata/run-iconv-test.sh: Likewise.
26630 * intl/tst-gettext.sh: Likewise.
26631 * intl/tst-gettext2.sh: Likewise.
26632 * intl/tst-gettext4.sh: Likewise.
26633 * intl/tst-gettext6.sh: Likewise.
26634 * intl/tst-translit.sh: Likewise.
26635 * io/ftwtest-sh: Likewise.
26636 * libio/test-freopen.sh: Likewise.
26637 * malloc/tst-mtrace.sh: Likewise.
26638 * posix/globtest.sh: Likewise.
26639 * posix/tst-getconf.sh: Likewise.
26640 * posix/wordexp-tst.sh: Likewise.
26641 * stdio-common/tst-printf.sh: Likewise.
26642 * stdio-common/tst-unbputc.sh: Likewise.
26643 * stdlib/tst-fmtmsg.sh: Likewise.
26644 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26645 * catgets/Makefile: Do not specify -e option when running
26646 testsuite shell scripts.
26647 * elf/Makefile: Likewise.
26648 * grp/Makefile: Likewise.
26649 * iconvdata/Makefile: Likewise.
26650 * intl/Makefile: Likewise.
26651 * io/Makefile: Likewise.
26652 * libio/Makefile: Likewise.
26653 * malloc/Makefile: Likewise.
26654 * posix/Makefile: Likewise.
26655 * stdio-common/Makefile: Likewise.
26656 * stdlib/Makefile: Likewise.
26657 * sysdeps/x86_64/Makefile: Likewise.
26659 * io/ftwtest-sh: Add copyright header.
26660 * posix/globtest.sh: Likewise.
26661 * posix/tst-getconf.sh: Likewise.
26662 * posix/wordexp-tst.sh: Likewise.
26663 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
26665 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
26668 * Makeconfig (+link): Defined as $(+link-static) if
26669 $(build-shared) isn't yes.
26670 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
26672 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
26674 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
26677 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
26678 new chunk size with MALLOC_ALIGN_MASK.
26680 2012-09-24 Joseph Myers <joseph@codesourcery.com>
26683 * stdio-common/printf_fphex.c: Include <stdbool.h> and
26685 (__printf_fphex): Determine rounding using get_rounding_mode and
26687 * stdio-common/tst-printf-round.c (struct hex_test): New
26689 (hex_tests): New variable.
26690 (test_hex_in_one_mode): New function.
26691 (do_test): Also run tests for hex float output.
26693 2012-09-21 Joseph Myers <joseph@codesourcery.com>
26695 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26696 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26697 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
26698 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
26699 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
26700 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
26701 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26702 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
26704 2012-09-20 Joseph Myers <joseph@codesourcery.com>
26706 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
26707 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
26708 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
26709 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
26711 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
26714 * elf/rtld.c (dl_main): Limit the check for self loading to normal
26716 * elf/tst-rtld-load-self.sh: New test.
26717 * elf/Makefile: Run it.
26719 2012-09-18 Joseph Myers <joseph@codesourcery.com>
26721 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
26722 (tst-writev-ENV): Remove.
26723 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
26725 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
26727 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
26729 2012-09-17 Joseph Myers <joseph@codesourcery.com>
26731 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
26733 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
26735 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
26736 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
26737 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
26740 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
26743 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
26744 * config.make.in (have-cpp-asm-debuginfo): Removed.
26745 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
26746 * configure: Regenerated.
26748 2012-09-14 Joseph Myers <joseph@codesourcery.com>
26751 * stdio-common/printf_fp.c: Include <stdbool.h> and
26753 (___printf_fp): Determine rounding using get_rounding_mode and
26755 * stdio-common/tst-printf-round.c: New file.
26756 * stdio-common/Makefile (tests): Add tst-printf-round.
26757 (link-libm): New variable.
26758 ($(objpfx)tst-printf-round): Depend in $(link-libm).
26760 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
26763 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
26764 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
26766 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
26769 2012-09-13 Joseph Myers <joseph@codesourcery.com>
26771 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
26772 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26773 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26774 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
26776 2012-09-12 Joseph Myers <joseph@codesourcery.com>
26779 * include/rounding-mode.h: New file.
26780 * sysdeps/generic/get-rounding-mode.h: Likewise.
26781 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
26782 * stdlib/strtod_l.c: Include <rounding-mode.h>.
26783 (MAX_VALUE): New macro.
26784 (MIN_VALUE): Likewise.
26785 (overflow_value): New function.
26786 (underflow_value): Likewise.
26787 (round_and_return): Use overflow_value and underflow_value to
26788 determine return values in overflow and underflow cases. Use
26789 round_away to determine rounding depending on rounding mode.
26790 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
26791 determine return values in overflow and underflow cases.
26792 * stdlib/tst-strtod-round.c: Include <fenv.h>.
26793 (struct test_results): New structure.
26794 (struct test): Use struct test_results to store expected results
26795 for all rounding modes.
26796 (TEST): Include expected results for all rounding modes.
26797 (test_in_one_mode): New function.
26798 (do_test): Use test_in_one_mode to compute and check results.
26799 Check results for all rounding modes.
26800 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
26803 2012-12-09 Allan McRae <allan@archlinux.org>
26805 * sysdeps/i386/fpu/libm-test-ulps: Update
26807 2012-09-11 Joseph Myers <joseph@codesourcery.com>
26809 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
26810 (_G_int32_t): Likewise.
26811 (_G_uint16_t): Likewise.
26812 (_G_uint32_t): Likewise.
26813 (_G_HAVE_BOOL): Likewise.
26814 (_G_HAVE_ATEXIT): Likewise.
26815 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26816 (_G_HAVE_IO_FILE_OPEN): Likewise.
26817 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
26818 (_G_int32_t): Likewise.
26819 (_G_uint16_t): Likewise.
26820 (_G_uint32_t): Likewise.
26821 (_G_HAVE_BOOL): Likewise.
26822 (_G_HAVE_ATEXIT): Likewise.
26823 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26824 (_G_HAVE_IO_FILE_OPEN): Likewise.
26825 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
26826 (_G_int32_t): Likewise.
26827 (_G_uint16_t): Likewise.
26828 (_G_uint32_t): Likewise.
26829 (_G_HAVE_BOOL): Likewise.
26830 (_G_HAVE_ATEXIT): Likewise.
26831 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
26832 (_G_HAVE_IO_FILE_OPEN): Likewise.
26834 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
26836 * csu/libc-tls.c: Update copyright years.
26838 2012-09-10 Joseph Myers <joseph@codesourcery.com>
26840 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
26841 [!_G_USING_THUNKS]: Remove conditional code.
26842 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
26843 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
26845 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
26846 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
26847 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26848 (_G_VTABLE_LABEL_PREFIX): Likewise.
26849 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26850 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26851 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26852 (_G_VTABLE_LABEL_PREFIX): Likewise.
26853 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26854 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
26855 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
26856 (_G_VTABLE_LABEL_PREFIX): Likewise.
26857 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
26859 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
26861 * libio/Makefile: Include ../Makeconfig before tests.
26862 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
26863 only if $(build-shared) is yes.
26865 * iconv/gconv_db.c: Update copyright years.
26867 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26869 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
26870 unwind info if defined PIC. Fix special cases description.
26871 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
26873 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
26875 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
26877 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
26879 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
26881 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
26884 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
26885 (LDLIBS-tst-chk4): This.
26886 (LDFLAGS-tst-chk5): Renamed to ...
26887 (LDLIBS-tst-chk5): This.
26888 (LDFLAGS-tst-chk6): Renamed to ...
26889 (LDLIBS-tst-chk6): This.
26890 (LDFLAGS-tst-lfschk4): Renamed to ...
26891 (LDLIBS-tst-lfschk4): This.
26892 (LDFLAGS-tst-lfschk5): Renamed to ...
26893 (LDLIBS-tst-lfschk5): This.
26894 (LDFLAGS-tst-lfschk6): Renamed to ...
26895 (LDLIBS-tst-lfschk6): This.
26897 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
26898 on $(common-objpfx)soversions.mk.
26900 2012-09-07 Joseph Myers <joseph@codesourcery.com>
26903 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
26906 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26908 * malloc/arena.c (arena_get_retry): New function that gets
26909 another arena for the caller to try its request on.
26910 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
26911 current arena cannot fulfill the request.
26912 (__libc_memalign): Likewise.
26913 (__libc_memalign): Likewise.
26914 (__libc_pvalloc): Likewise.
26915 (__libc_calloc): Likewise.
26917 2012-09-05 John Tobey <john.tobey@gmail.com>
26920 * manual/arith.texi (Operations on Complex): Fix description
26921 of carg branch cut.
26923 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26926 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
26930 * manual/memory.texi (Memory): Make order of menu items match
26933 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26935 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
26936 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
26937 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
26939 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26941 * csu/libc-tls.c (static_dtv): Renamed to ...
26942 (_dl_static_dtv): This. Make it global.
26943 (_dl_initial_dtv): Removed.
26944 (__libc_setup_tls): Updated.
26945 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
26946 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
26949 2012-09-06 Petr Machata <pmachata@redhat.com>
26951 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
26952 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
26953 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
26954 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
26956 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26959 * csu/libc-tls.c (_dl_initial_dtv): New variable.
26960 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
26963 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
26966 * Makeconfig (link-static-before-libc): Replace $(+prector)
26968 (link-static-after-libc): Replace $(+postctor) with
26970 (link-bounded): Replace $(+prector)/$(+postctor) with
26971 $(+prectorT)/$(+postctorT).
26972 (+prectorT): New macro.
26973 (+postctorT): Likewise.
26975 2012-09-06 Joseph Myers <joseph@codesourcery.com>
26977 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
26978 (round_str): Handle values above the maximum for IBM long double
26980 * stdlib/tst-strtod-round.c (tests): Regenerated.
26982 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26984 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
26986 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
26987 zarch_nohighgprs around the zarch optimized routines.
26988 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26989 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26990 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
26993 2012-09-05 David S. Miller <davem@davemloft.net>
26995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26997 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
26998 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
26999 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27000 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27003 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27005 * malloc/arena.c: Fold copyright years.
27006 * malloc/mcheck.c, malloc/memusage.c: Likewise.
27008 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27010 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27012 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27014 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
27016 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27018 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27019 change internal state upon failure.
27021 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
27023 * malloc/mcheck.c (mcheck_check_all): Fix typo.
27024 * malloc/memusage.c (mmap): Likewise.
27025 (mmap64, mremap): Likewise. Adjust name in comment.
27027 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27029 * libio/fileops.c: Fix typos in comments.
27030 * libio/oldfileops.c: Likewise.
27031 * libio/wfileops.c: Likewise.
27033 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27036 * malloc/Makefile (tests): Add tst-malloc-usable test case.
27037 (tst-malloc-usable-ENV): Set environment for test case.
27038 * malloc/hooks.c (malloc_check_get_size): New function to get
27040 * malloc/malloc.c (musable): Use malloc_check_get_size.
27041 * malloc/tst-malloc-usable.c: New test case.
27043 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27045 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27047 2012-09-05 Allan McRae <allan@archlinux.org>
27050 * configure.in (CXX_SYSINCLUDES): Use compiler output to
27051 determine header location.
27052 * configure: Regenerated.
27054 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
27056 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27058 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27059 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27061 (test): Regenerate.
27063 2012-09-04 David S. Miller <davem@davemloft.net>
27065 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27066 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27067 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27069 2012-09-04 Florian Weimer <fweimer@redhat.com>
27071 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27074 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27076 2012-09-04 Joseph Myers <joseph@codesourcery.com>
27079 * libio/iogetdelim.c: Include <limits.h>.
27080 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27081 + len + 1 would overflow.
27083 2012-09-03 Andreas Jaeger <aj@suse.de>
27085 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27086 * sysdeps/i386/fpu/libm-test-ulps: Update.
27088 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27090 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27091 Add s_sinf-sse2, s_conf-sse2.
27093 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27094 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27095 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27096 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27098 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27099 for using routine as __sinf_ia32.
27100 Use macro for function declaration and weak_alias.
27101 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27102 for using routine as __cosf_ia32.
27103 Use macro for function declaration and weak_alias.
27105 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27106 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27108 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27109 * sysdeps/x86_64/fpu/s_cosf.S: New file.
27110 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27112 * math/libm-test.inc (cos_test): Add more test cases.
27113 (sin_test): Likewise.
27114 (sincos_test): Likewise.
27116 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27119 (IFUNC_RESOLVE): Make pointers to the specialized implementations
27121 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27123 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
27126 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27127 first element of the GOT.
27128 (elf_machine_load_address): Return the difference between
27129 the runtime address of _DYNAMIC and elf_machine_dynamic ().
27131 2012-09-01 Allan McRae <allan@archlinux.org>
27134 * configure.in (AWK): Require gawk version 3.0 or later.
27135 * configure: Regenerated.
27137 2012-09-01 Joseph Myers <joseph@codesourcery.com>
27139 * sysdeps/unix/sysv/linux/kernel-features.h
27140 (__ASSUME_POSIX_CPU_TIMERS): Remove.
27141 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27142 [__NR_clock_getres]: Make code unconditional.
27143 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27144 (clock_getcpuclockid): Remove code left unreachable by removal of
27146 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27147 code unconditional.
27148 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27149 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27150 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27151 Make code unconditional.
27152 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27153 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27154 * sysdeps/unix/sysv/linux/clock_settime.c
27155 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27157 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27158 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27160 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
27163 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27164 scripts/test-installation.pl.
27166 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27167 and $ld_so_version if it is set.
27169 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27172 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27173 failure if reading from procfs failed.
27174 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27176 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27178 * sysdeps/unix/sysv/linux/kernel-features.h
27179 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27180 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27181 Remove conditional code.
27182 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27183 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27184 Remove conditional code.
27185 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27186 * sysdeps/unix/sysv/linux/i386/fxstat.c
27187 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27188 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27189 * sysdeps/unix/sysv/linux/i386/fxstatat.c
27190 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27191 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27192 * sysdeps/unix/sysv/linux/i386/lxstat.c
27193 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27194 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27195 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27196 Remove conditional code.
27197 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27198 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27199 Remove conditional code.
27200 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27201 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27202 <kernel-features.h>.
27203 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27205 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27206 Remove conditional code.
27207 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27208 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27209 Remove conditional.
27211 2012-08-27 Mike Frysinger <vapier@gentoo.org>
27214 * NEWS: Add fixed bug number.
27216 2012-08-27 Joseph Myers <joseph@codesourcery.com>
27219 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27220 underflowing exponent in case of negative sign.
27221 * stdlib/tst-strtod-round-data: Add more tests.
27222 * stdlib/tst-strtod-round.c (tests): Regenerated.
27225 * stdlib/strtod_l.c (NDIG): Remove.
27226 (HEXNDIG): Likewise.
27227 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27228 smallest representable value.
27229 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27230 lie within an exact representation of 1/2 ulp of the result.
27231 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27233 (TENS_P9_IDX): Define unconditionally.
27234 (TENS_P9_SIZE): Likewise.
27235 (TENS_P10_IDX): Likewise.
27236 (TENS_P10_SIZE): Likewise.
27237 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27238 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27239 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27240 entries for 10^2^13 and 10^2^14.
27241 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27242 (TENS_P13_IDX): Define.
27243 (TENS_P13_SIZE): Likewise.
27244 (TENS_P14_IDX): Likewise.
27245 (TENS_P14_SIZE): Likewise.
27246 (_fpioconst_pow10): Change array size to
27247 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
27249 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27250 1024]: Add entries for 10^2^13 and 10^2^14.
27251 [LAST_POW10 > _LAST_POW10]: Remove #error.
27252 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27253 (_fpioconst_pow10): Change array size to
27254 FPIOCONST_POW10_ARRAY_SIZE.
27255 * stdlib/gen-fpioconst.c: New file.
27256 * stdlib/gen-tst-strtod-round.c: Likewise.
27257 * stdlib/tst-strtod-round-data: Likewise.
27258 * stdlib/tst-strtod-round.c: Likewise.
27259 * stdlib/Makefile (tests): Add tst-strtod-round.
27262 * stdlib/strtod_l.c: Include <stdint.h>.
27263 (NDEBUG): Do not define.
27264 (round_and_return): Change EXPONENT parameter to type intmax_t.
27265 Rearrange calculations to avoid internal overflow possibilities.
27266 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27267 Rearrange calculations to avoid internal overflow possibilities.
27268 Assert that number fits inside MPNSIZE limbs.
27269 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27270 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
27271 calculations and add assertions to avoid internal overflow
27272 possibilities. Add casts to avoid signed/unsigned operations.
27273 * stdlib/tst-strtod-overflow.c: New file.
27274 * stdlib/Makefile (tests): Add tst-strtod-overflow.
27276 2012-08-25 Marek Polacek <polacek@redhat.com>
27278 * time/time.h: Fix some typos in comments.
27280 2012-08-23 Roland McGrath <roland@hack.frob.com>
27282 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27283 * posix/tst-rfc3484-2.c: Likewise.
27284 * posix/tst-rfc3484-3.c: Likewise.
27286 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
27288 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27289 (EF_ARM_ABI_FLOAT_HARD): Likewise.
27291 2012-08-23 Joseph Myers <joseph@codesourcery.com>
27293 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27294 #include of fxstatat64.c.
27296 2012-08-22 Roland McGrath <roland@hack.frob.com>
27298 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27299 * shadow/getspent_r.c: Likewise.
27300 * shadow/getspnam.c: Likewise.
27301 * shadow/getspnam_r.c: Likewise.
27302 * gshadow/getsgent.c: Likewise.
27303 * gshadow/getsgent_r.c: Likewise.
27304 * gshadow/getsgnam.c: Likewise.
27305 * gshadow/getsgnam_r.c: Likewise.
27306 * inet/getnetbyad.c: Likewise.
27307 * inet/getnetbyad_r.c: Likewise.
27308 * inet/getnetbynm.c: Likewise.
27309 * inet/getnetbynm_r.c: Likewise.
27310 * inet/getnetent.c: Likewise.
27311 * inet/getnetent_r.c: Likewise.
27312 * inet/getproto.c: Likewise.
27313 * inet/getproto_r.c: Likewise.
27314 * inet/getprtent.c: Likewise.
27315 * inet/getprtent_r.c: Likewise.
27316 * inet/getprtname.c: Likewise.
27317 * inet/getprtname_r.c: Likewise.
27318 * inet/getrpcbyname.c: Likewise.
27319 * inet/getrpcbyname_r.c: Likewise.
27320 * inet/getrpcbynumber.c: Likewise.
27321 * inet/getrpcbynumber_r.c: Likewise.
27322 * inet/getrpcent.c: Likewise.
27323 * inet/getrpcent_r.c: Likewise.
27324 * inet/getaliasent.c: Likewise.
27325 * inet/getaliasent_r.c: Likewise.
27326 * inet/getaliasname.c: Likewise.
27327 * inet/getaliasname_r.c: Likewise.
27328 * nscd/getgrgid_r.c: Likewise.
27329 * nscd/getgrnam_r.c: Likewise.
27330 * nscd/gethstbyad_r.c: Likewise.
27331 * nscd/gethstbynm3_r.c: Likewise.
27332 * nscd/getpwnam_r.c: Likewise.
27333 * nscd/getpwuid_r.c: Likewise.
27334 * nscd/getsrvbynm_r.c: Likewise.
27335 * nscd/getsrvbypt_r.c: Likewise.
27336 * nscd/gai.c: Likewise.
27338 * configure.in (build_nscd): New substituted variable, set
27339 by --disable-build-nscd and defaults to $use_nscd.
27340 * configure: Regenerated.
27341 * config.make.in (build-nscd): New substituted variable.
27342 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
27343 Change conditional to require [$(build-nscd) = yes] as well.
27344 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
27347 * configure.in (use_nscd): New substituted variable, set by
27348 --disable-nscd. If enabled, define USE_NSCD.
27349 * configure: Regenerated.
27350 * config.h.in: Add USE_NSCD.
27351 * config.make.in (use-nscd): New substituted variable.
27352 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
27353 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
27354 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
27355 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
27356 (CFLAGS-getgrnam_r.c): Likewise.
27357 (CFLAGS-initgroups.c): Likewise.
27358 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
27359 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
27361 * inet/getnetgrent_r.c
27362 (nscd_setnetgrent): New function, broken out of ...
27363 (setnetgrent): ... here. Call it.
27364 (innetgr): Conditionalize nscd bits on [USE_NSCD].
27365 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
27366 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
27367 * nscd/Makefile (routines, aux): Move definitions after include of
27368 Makeconfig. Conditionalize on [$(use-nscd) != no].
27369 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
27370 Conditionalize on [USE_NSCD].
27371 (is_nscd, nscd_init_cb): Likewise.
27372 (nss_load_library): Conditionalize init callback on [USE_NSCD].
27373 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
27374 * nss/nss_db/db-init.c: Likewise.
27375 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
27377 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
27378 (make_request): Use it.
27379 (cache_valid_p): New function.
27380 (__check_pf): Use it.
27381 * NEWS: Add item for --disable-nscd.
27383 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
27385 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
27386 to support sed >= 4.2.1-20-ga9bf076.
27387 * configure: Regenerated.
27389 2012-08-22 Roland McGrath <roland@hack.frob.com>
27391 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
27392 Conditionalize whole body on [IREL].
27394 2012-08-22 Jeff Law <law@redhat.com>
27397 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
27398 if the family is PF_UNSPEC.
27400 2012-08-22 Mike Frysinger <vapier@gentoo.org>
27402 * Makerules (lib-version): Rename from V.
27403 (install-lib-nosubdir): Change V to lib-version.
27405 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
27408 * powerpc32/power6/wcschr.c: New file.
27409 * powerpc32/power6/wcscpy.c: New file.
27410 * powerpc32/power6/wcsrchr.c: New file.
27411 * powerpc64/power6/wcschr.c: New file.
27412 * powerpc64/power6/wcscpy.c: New file.
27413 * powerpc64/power6/wcsrchr.c: New file.
27415 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27417 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
27418 (two_way_short_needle): Use it.
27419 * string/strstr.c (AVAILABLE1_USES_J): Define.
27420 * string/strcasestr.c: Likewise.
27422 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
27424 * string/strcasestr.c (TOLOWER): Make side-effect safe.
27427 * NEWS: Add an entry.
27428 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
27429 define their defaults.
27430 (two_way_short_needle): Detect end-of-string on-the-fly.
27431 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
27432 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
27433 * string/bug-strcasestr1.c: New test.
27434 * string/Makefile: Run it.
27436 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
27439 * string/str-two-way.h (two_way_short_needle): Optimize matching of
27440 the first character.
27442 2012-08-21 Roland McGrath <roland@hack.frob.com>
27444 * csu/elf-init.c (__libc_csu_irel): Function removed.
27445 * csu/libc-start.c (apply_irel): New function.
27446 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
27448 2012-08-21 Joseph Myers <joseph@codesourcery.com>
27450 * sysdeps/unix/sysv/linux/kernel-features.h
27451 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
27452 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27453 <kernel-features.h>.
27454 [__NR_fadvise64_64]: Make code unconditional.
27455 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
27456 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27457 !__NR_fadvise64_64)]: Likewise.
27458 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
27459 !__NR_fadvise64_64))]: Likewise.
27460 [__NR_fadvise64]: Make code unconditional.
27461 [!__NR_fadvise64]: Remove conditional code.
27462 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
27463 <kernel-features.h>.
27464 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27466 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
27469 not include <kernel-features.h>.
27470 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27472 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27474 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
27475 include <kernel-features.h>.
27476 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
27478 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
27481 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
27483 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
27484 slight instruction rearrangements per scrollpipe analysis.
27485 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
27487 2012-08-20 Roland McGrath <roland@hack.frob.com>
27489 * manual/syslog.texi (syslog; vsyslog, closelog):
27490 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
27491 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
27493 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
27494 DSOCAPS to match condition on defining it.
27496 2012-08-20 Joseph Myers <joseph@codesourcery.com>
27498 * sysdeps/unix/sysv/linux/kernel-features.h
27499 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
27501 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27502 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
27504 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27505 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
27507 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
27508 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
27510 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
27511 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
27513 * sysdeps/unix/sysv/linux/kernel-features.h
27514 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
27515 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
27517 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27518 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
27519 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27520 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27521 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
27522 Make code unconditional.
27523 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27524 (__mmap64) [!__NR_mmap2]: Likewise.
27525 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
27526 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
27527 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27528 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
27529 [__NR_mmap2]: Make code unconditional.
27530 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
27531 (__mmap64) [!__NR_mmap2]: Likewise.
27533 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27535 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
27537 2012-08-18 Andreas Jaeger <aj@suse.de>
27539 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
27541 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27543 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
27544 * include/unistd.h (__have_sock_cloexec): Likewise.
27545 (__have_pipe2): Likewise.
27546 (__have_dup3): Likewise.
27548 2012-08-18 Mike Frysinger <vapier@gentoo.org>
27551 * include/unistd.h (__have_pipe2): Change define into an extern int.
27552 (__have_dup3): Likewise.
27553 * socket/have_sock_cloexec.c: Include fcntl.h.
27554 (__have_pipe2): New variable.
27555 (__have_dup3): Likewise.
27557 2012-08-17 Mike Frysinger <vapier@gentoo.org>
27559 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
27561 2012-08-17 Marek Polacek <polacek@redhat.com>
27563 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
27564 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
27566 2012-08-17 Roland McGrath <roland@hack.frob.com>
27568 * configure.in: Add AC_SUBST for sysheaders.
27569 * configure: Regenerated.
27570 * config.make.in (sysheaders): New substituted variable.
27572 * sysdeps/unix/mkfifo.c: Moved ...
27573 * sysdeps/posix/mkfifo.c: ... here.
27574 * sysdeps/unix/mkfifoat.c: Moved ...
27575 * sysdeps/posix/mkfifoat.c: ... here.
27577 * sysdeps/unix/utime.c: Moved ...
27578 * sysdeps/posix/utime.c: ... here.
27580 * sysdeps/unix/time.c: Moved ...
27581 * sysdeps/posix/time.c: ... here.
27582 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
27583 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
27585 * sysdeps/unix/nice.c: Moved ...
27586 * sysdeps/posix/nice.c: ... here.
27588 * sysdeps/unix/alarm.c: Moved ...
27589 * sysdeps/posix/alarm.c: ... here.
27591 * intl/Makefile ($(codeset_mo)): Depend on the input file.
27593 2012-08-17 Jeff Law <law@redhat.com>
27595 * intl/Makefile (codeset_mo): New variable.
27596 ($(codeset_mo)): New target.
27597 (tst-codeset.out): Depend on that. Remove explicit rule.
27598 (tst-gettext3.out, tst-gettext5.out): Likewise.
27599 (LOCPATH-ENV, tst-codeset-ENV): New variables.
27600 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
27601 * intl/tst-codeset.sh: Remove.
27602 * intl/tst-gettext3.sh: Likewise.
27603 * intl/tst-gettext5.sh: Likewise.
27605 2012-08-17 Roland McGrath <roland@hack.frob.com>
27607 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
27608 * sysdeps/unix/syscalls.list: ... here.
27610 * sysdeps/posix/getaddrinfo.c
27611 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
27612 (gaiconf_init, gaiconf_reload): Use them.
27613 [!_STATBUF_ST_NSEC]
27614 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
27615 Define using time_t rather than struct timespec.
27617 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
27618 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
27620 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
27622 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
27623 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
27626 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
27627 __libc_cleanup_push argument.
27629 * bits/param.h: New file.
27630 * misc/sys/param.h: New file.
27631 * include/sys/param.h: New file.
27632 * misc/Makefile (headers): Add bits/param.h.
27633 * sysdeps/generic/sys/param.h: File removed.
27634 * sysdeps/unix/sysv/linux/bits/param.h: New file.
27635 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
27636 * sysdeps/mach/hurd/bits/param.h: New file.
27637 * sysdeps/mach/hurd/sys/param.h: File removed.
27639 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
27642 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
27644 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
27645 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
27648 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
27649 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
27650 rather than -D_IO_MTSAFE_IO conditionally.
27651 * stdio-common/Makefile (CPPFLAGS): Likewise.
27652 * wcsmbs/Makefile (CPPFLAGS): Likewise.
27653 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
27654 Use $(libio-mtsafe).
27655 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
27656 of -D_IO_MTSAFE_IO.
27657 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
27658 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
27659 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
27660 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
27661 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
27662 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
27663 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
27664 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
27665 (CFLAGS-fread_u_chk.c): Likewise.
27666 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
27667 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
27668 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
27669 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
27670 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
27671 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
27672 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
27673 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
27674 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
27676 * libio/Makefile: Test [$(libc-reentrant) = yes]
27677 instead of [$(filter %REENTRANT, $(defines)) nonempty].
27680 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
27681 * sysdeps/pthread/configure: File removed.
27682 * sysdeps/pthread/Makeconfig: New file.
27683 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
27684 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
27686 2012-08-16 Gary Benson <gbenson@redhat.com>
27688 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
27689 unmapping the first object in a namespace.
27691 2012-08-16 Roland McGrath <roland@hack.frob.com>
27693 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
27694 (__internal_setnetgrent): ... this. Add internal_function to
27695 definition. Add libc_hidden_def.
27696 (setnetgrent): Update caller.
27697 (internal_endnetgrent): Renamed to ...
27698 (__internal_endnetgrent): ... this. Add internal_function to
27699 definition. Add libc_hidden_def.
27700 (endnetgrent): Update caller.
27701 (internal_getnetgrent_r): Renamed to ...
27702 (__internal_getnetgrent_r): ... this. Add internal_function to
27703 definition. Add libc_hidden_def.
27704 (__getnetgrent_r): Update caller.
27705 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
27707 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27709 * stdlib/longlong.h: Update from GCC.
27711 2012-08-16 Roland McGrath <roland@hack.frob.com>
27713 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
27714 on _QL, which is set by umul_ppmm but never used.
27715 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
27716 variables, which are set by GMP macros but never used.
27717 * stdio-common/_itowa.c (_itowa): Likewise.
27718 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
27719 * stdlib/mod_1.c (mpn_mod_1): Likewise.
27721 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
27723 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
27724 struct La_sh_regs is not constant.
27725 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
27726 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
27727 and struct La_sparc64_regs are not constant.
27729 2012-08-16 Joseph Myers <joseph@codesourcery.com>
27731 * sysdeps/unix/sysv/linux/kernel-features.h
27732 (__ASSUME_POSIX_TIMERS): Remove.
27733 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27734 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27735 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
27736 Make code unconditional.
27737 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27738 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
27739 Make code unconditional.
27740 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27741 * sysdeps/unix/sysv/linux/clock_nanosleep.c
27742 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
27743 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27744 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
27745 Make code unconditional.
27746 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
27747 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
27748 (__libc_missing_posix_timers): Remove.
27750 2012-08-15 Roland McGrath <roland@hack.frob.com>
27752 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
27753 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
27755 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
27757 * elf/dl-sym.c: Include <stdlib.h>.
27759 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
27760 constants, which avoids warnings in 32-bit builds.
27762 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
27763 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
27765 * misc/lseek.c: File moved to ...
27766 * io/lseek.c: ... here.
27768 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
27770 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
27771 shifting LEN more than 31 bits at once.
27773 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27776 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
27777 segmentation fault for a case of two empty input strings.
27778 * string/test-strncasecmp.c (check1): Renamed to...
27779 (bz12205): ...this.
27780 (bz14195): Add new testcase for two empty input strings and N > 0.
27781 (test_main): Call new testcase, adapt for renamed function.
27783 2012-08-15 Andreas Jaeger <aj@suse.de>
27786 * crypt/md5test2.c: New test, based on test supplied by Serge
27787 Belyshev <belyshev@depni.sinp.msu.ru>.
27788 * crypt/Makefile (xtests): Add md5test-giant..
27789 * crypt/Makefile ($(objpfx)md5test-giant): Add.
27791 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
27794 * crypt/md5.c (md5_process_block): Don't assume the buffer
27795 length is less than 2**32.
27796 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
27797 length is less than 2**64.
27799 2012-08-15 Roland McGrath <roland@hack.frob.com>
27801 * string/str-two-way.h: Include <sys/param.h>.
27802 (MAX): Macro removed.
27804 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
27805 Move #define and #undef of memmove to just before and after
27806 including <string.h>.
27808 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
27809 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
27810 and after including <string.h>. Move declarations of
27811 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
27812 to before #include "string/memmove.c".
27814 * include/dirent.h: Declare __getdirentries.
27816 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
27817 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
27819 2012-08-14 Mike Frysinger <vapier@gentoo.org>
27821 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
27822 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
27823 * sysdeps/i386/configure: Regenerated.
27824 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
27825 STABS_CURRENT_FILE, and STABS_FUN.
27826 (END): Remove call to STABS_FUN_END.
27827 (STABS_CURRENT_FILE1): Delete.
27828 (STABS_CURRENT_FILE): Likewise.
27829 (STABS_FUN): Likewise.
27830 (STABS_FUN_END): Likewise.
27831 (STABS_FUN2): Likewise.
27832 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
27833 * sysdeps/x86_64/configure: Regenerated.
27835 2012-08-14 Roland McGrath <roland@hack.frob.com>
27837 * elf/dl-open.c: Include <atomic.h>.
27838 * elf/dl-lookup.c: Likewise.
27840 2012-08-14 Joseph Myers <joseph@codesourcery.com>
27842 * sysdeps/unix/sysv/linux/kernel-features.h
27843 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
27844 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
27846 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
27848 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
27849 condition on __ASSUME_CLONE_THREAD_FLAGS.
27851 2012-08-14 Andreas Jaeger <aj@suse.de>
27853 * sysdeps/i386/fpu/libm-test-ulps: Update.
27855 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
27857 * include/atomic.h (atomic_exchange_and_add): Split into ...
27858 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
27861 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
27863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27865 2012-08-13 Jeff Law <law@redhat.com>
27867 * manual/stdio.texi (snprintf): Clarify handling of the trailing
27868 null byte in the output string.
27870 2012-08-10 Joseph Myers <joseph@codesourcery.com>
27872 * sysdeps/unix/sysv/linux/kernel-features.h
27873 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
27874 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
27875 (__ASSUME_ARG_MAX_STACK_BASED): Define.
27876 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
27877 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
27878 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
27879 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
27881 2012-08-09 Jeff Law <law@redhat.com>
27884 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
27885 When avoid_arena is set, don't retry in the that arena. Pick the
27886 next one, whatever it might be.
27887 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
27888 (arena_lock): Pass in new parameter to arena_get2.
27889 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
27891 (__libc_malloc): Unify retrying after main arena failure with
27892 __libc_memalign version.
27893 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
27895 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
27898 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
27899 to __redirect_strstr.
27900 (__strstr_sse42): Use typeof __redirect_strstr.
27901 (__strstr_ia32): Likewise.
27902 (__libc_strstr): New prototype.
27903 (strstr): Renamed to ...
27904 (__libc_strstr): This.
27905 (strstr): New strong alias of __libc_strstr.
27906 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27907 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
27910 (__libc_time): New prototype.
27911 (time_ifunc): Replace time with __libc_time.
27912 (time): New strong alias and hidden definition of __libc_time.
27913 (__GI_time): Remove strong alias.
27914 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
27915 Include <stddef.h>.
27916 (memmove): Redefined to __redirect_memmove.
27917 (__memmove_sse2): Use typeof __redirect_memmove.
27918 (__memmove_ssse3): Likewise.
27919 (__memmove_ssse3_back): Likewise.
27920 (__libc_memmove): New prototype.
27921 (memmove): Renamed to ...
27922 (__libc_memmove): This.
27923 (memmove): New strong alias of __libc_memmove.
27925 2012-08-08 Mark Salter <msalter@redhat.com>
27928 (R_MN10300_TLS_GD): Define.
27929 (R_MN10300_TLS_LD): Likewise.
27930 (R_MN10300_TLS_LDO): Likewise.
27931 (R_MN10300_TLS_GOTIE): Likewise.
27932 (R_MN10300_TLS_IE): Likewise.
27933 (R_MN10300_TLS_LE): Likewise.
27934 (R_MN10300_TLS_DTPMOD): Likewise.
27935 (R_MN10300_TLS_DTPOFF): Likewise.
27936 (R_MN10300_TLS_TPOFF): Likewise.
27937 (R_MN10300_SYM_DIFF): Likewise.
27938 (R_MN10300_ALIGN): Likewise.
27939 (R_MN10300_NUM): Update.
27941 2012-08-08 Joseph Myers <joseph@codesourcery.com>
27943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
27946 2012-08-08 Roland McGrath <roland@hack.frob.com>
27948 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
27950 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
27951 sysdeps/unix -> sysdeps/posix move.
27952 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27954 2012-08-07 Allan McRae <allan@archlinux.org>
27957 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
27958 (SUNOS_CPP): Likewise.
27959 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
27961 (open_input): Call CPP using execvp.
27963 2012-08-07 Joseph Myers <joseph@codesourcery.com>
27965 * sysdeps/unix/sysv/linux/kernel-features.h
27966 (__ASSUME_PROT_GROWSUPDOWN): Remove.
27967 (__ASSUME_NO_CLONE_DETACHED): Likewise.
27968 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
27969 (__ASSUME_WAITID_SYSCALL): Likewise.
27970 * sysdeps/unix/sysv/linux/dl-execstack.c
27971 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
27972 code unconditional.
27973 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
27975 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
27976 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
27977 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
27979 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
27981 [__ASSUME_WAITID_SYSCALL]: Likewise.
27982 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
27984 2012-08-07 Roland McGrath <roland@hack.frob.com>
27986 * sysdeps/unix/closedir.c: Renamed to ...
27987 * sysdeps/posix/closedir.c: ... here.
27988 * sysdeps/unix/dirfd.c: Renamed to ...
27989 * sysdeps/posix/dirfd.c: ... here.
27990 * sysdeps/unix/dirstream.h: Renamed to ...
27991 * sysdeps/posix/dirstream.h: ... here.
27992 * sysdeps/unix/fdopendir.c: Renamed to ...
27993 * sysdeps/posix/fdopendir.c: ... here.
27994 * sysdeps/unix/opendir.c: Renamed to ...
27995 * sysdeps/posix/opendir.c: ... here.
27996 * sysdeps/unix/readdir.c: Renamed to ...
27997 * sysdeps/posix/readdir.c: ... here.
27998 * sysdeps/unix/readdir_r.c: Renamed to ...
27999 * sysdeps/posix/readdir_r.c: ... here.
28000 * sysdeps/unix/rewinddir.c: Renamed to ...
28001 * sysdeps/posix/rewinddir.c: ... here.
28002 * sysdeps/unix/seekdir.c: Renamed to ...
28003 * sysdeps/posix/seekdir.c: ... here.
28004 * sysdeps/unix/telldir.c: Renamed to ...
28005 * sysdeps/posix/telldir.c: ... here.
28006 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28007 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28008 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28009 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28011 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28012 * bits/fcntl.h: ... here.
28014 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28016 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28017 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28018 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28019 (struct flock): Move l_start, l_len to the beginning.
28020 Use __pid_t for l_pid.
28021 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28022 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28023 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28024 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28025 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28026 [__USE_LARGEFILE64] (struct flock64): New type.
28027 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28029 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28030 * bits/dirent.h: ... here.
28032 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28033 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28035 2012-08-07 Joseph Myers <joseph@codesourcery.com>
28037 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28038 Change from 2.6.0 to 2.6.16.
28039 * sysdeps/unix/sysv/linux/configure: Regenerated.
28040 * sysdeps/unix/sysv/linux/kernel-features.h
28041 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28042 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28044 (__ASSUME_UTIMES): Likewise.
28045 (__ASSUME_CLONE_STOPPED): Remove.
28046 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28047 architectures, not kernel version.
28048 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28049 (__ASSUME_NO_CLONE_DETACHED): Likewise.
28050 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28051 (__ASSUME_WAITID_SYSCALL): Likewise.
28052 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28053 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28054 * README: State 2.6.16 as minimum Linux kernel version. Do not
28055 refer to older versions.
28057 2012-08-06 Roland McGrath <roland@hack.frob.com>
28059 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28060 Define alphasort64 as an alias.
28061 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28062 Define versionsort64 as an alias.
28063 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28064 Define scandir64 as an alias.
28065 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28066 Define scandirat64 as an alias.
28067 * dirent/alphasort64.c (alphasort64):
28068 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28069 * dirent/versionsort64.c: Likewise.
28070 * dirent/scandir64.c: Likewise.
28071 * dirent/scandirat64.c: Likewise.
28072 * sysdeps/wordsize-64/alphasort.c: File removed.
28073 * sysdeps/wordsize-64/alphasort64.c: File removed.
28074 * sysdeps/wordsize-64/scandir.c: File removed.
28075 * sysdeps/wordsize-64/scandir64.c: File removed.
28076 * sysdeps/wordsize-64/scandirat.c: File removed.
28077 * sysdeps/wordsize-64/scandirat64.c: File removed.
28078 * sysdeps/wordsize-64/versionsort.c: File removed.
28079 * sysdeps/wordsize-64/versionsort64.c: File removed.
28080 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28081 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28082 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28083 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28084 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28085 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28086 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28087 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28089 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28090 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28091 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28092 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28093 [defined __arch64__ || defined __sparcv9]
28094 (__INO_T_MATCHES_INO64_T): New macro.
28095 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28096 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28097 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28098 * sysdeps/unix/sysv/linux/bits/dirent.h
28099 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28100 (_DIRENT_MATCHES_DIRENT64): New macro.
28102 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28103 Define lockf64 as an alias.
28104 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28105 Define fseeko64 as an alias.
28106 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28107 Define ftello64 as an alias.
28108 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28109 Define _IO_fgetpos64 and fgetpos64 as aliases.
28110 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28111 Define _IO_fsetpos64 and fsetpos64 as aliases.
28112 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28113 Conditionalize body on this.
28114 * libio/fseeko64.c: Likewise.
28115 * libio/ftello64.c: Likewise.
28116 * libio/iofgetpos64.c: Likewise.
28117 * libio/iofsetpos64.c: Likewise.
28118 * sysdeps/wordsize-64/lockf.c: File removed.
28119 * sysdeps/wordsize-64/lockf64.c: File removed.
28120 * sysdeps/wordsize-64/fseeko.c: File removed.
28121 * sysdeps/wordsize-64/fseeko64.c: File removed.
28122 * sysdeps/wordsize-64/ftello.c: File removed.
28123 * sysdeps/wordsize-64/ftello64.c: File removed.
28124 * sysdeps/wordsize-64/iofgetpos.c: File removed.
28125 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28126 * sysdeps/wordsize-64/iofsetpos.c: File removed.
28127 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28128 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28129 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28134 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28135 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28136 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28137 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28139 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28140 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28141 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28142 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28143 [defined __arch64__ || defined __sparcv9]
28144 (__OFF_T_MATCHES_OFF64_T): New macro.
28145 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28146 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28147 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28148 (__OFF_T_MATCHES_OFF64_T): New macro.
28150 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28152 * stdlib/secure-getenv.c (__secure_getenv): Replace
28153 GLIBC_2_16 with GLIBC_2_17.
28155 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
28157 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28158 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28160 2012-08-03 David S. Miller <davem@davemloft.net>
28162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28164 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28166 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28168 (__ASSUME_CORRECT_SI_PID): Likewise.
28169 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28170 (__ASSUME_TMPFS_NAME): Likewise.
28171 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28172 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28173 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28174 (HAVE_AUX_SECURE): Make definition unconditional.
28175 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28176 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28178 2012-08-03 Roland McGrath <roland@hack.frob.com>
28180 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28181 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28182 * sysdeps/mach/hurd/eloop-threshold.h: New file.
28183 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28184 __eloop_threshold instead of SYMLOOP_MAX.
28186 * sysdeps/generic/eloop-threshold.h: New file.
28187 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28189 * elf/chroot_canon.c (chroot_canon): Likewise.
28191 2012-08-03 Joseph Myers <joseph@codesourcery.com>
28194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28195 Change to 2.6.0 everywhere.
28196 * sysdeps/unix/sysv/linux/configure: Regenerated.
28197 * sysdeps/unix/sysv/linux/kernel-features.h
28198 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28199 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28201 (__ASSUME_POSIX_TIMERS): Define unconditionally.
28202 (__ASSUME_FUTEX_REQUEUE): Remove.
28203 (__ASSUME_STATFS64): Define unconditionally.
28204 (__ASSUME_AT_SECURE): Likewise.
28205 (__ASSUME_CORRECT_SI_PID): Likewise.
28206 (__ASSUME_TGKILL): Define without depending on kernel version for
28208 (__ASSUME_UTIMES): Likewise.
28209 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28211 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28212 (__ASSUME_TMPFS_NAME): Likewise.
28213 * README: Update reference to Linux kernel versions.
28215 2012-08-02 Marek Polacek <polacek@redhat.com>
28218 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
28219 libc_cv_asm_type_prefix with %.
28220 * configure: Regenerated.
28221 * include/libc-symbols.h: Remove comment about
28222 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28223 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28224 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28225 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28226 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28227 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28228 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28229 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28230 * elf/tst-unique2mod1.c: Likewise.
28231 * elf/tst-unique1mod2.c: Likewise.
28232 * elf/tst-unique1mod1.c: Likewise.
28233 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28234 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28235 Replace ASM_TYPE_DIRECTIVE with .type.
28236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28237 * sysdeps/i386/sysdep.h: Likewise.
28238 * sysdeps/x86_64/sysdep.h: Likewise.
28239 * sysdeps/sh/sysdep.h: Likewise.
28240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28241 Do not define ASM_TYPE_DIRECTIVE.
28242 * sysdeps/powerpc/sysdep.h: Likewise.
28243 * sysdeps/powerpc/powerpc32/sysdep.h:
28244 Replace ASM_TYPE_DIRECTIVE with .type.
28245 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28246 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28247 * sysdeps/i386/fpu/e_powf.S: Likewise.
28248 * sysdeps/i386/fpu/e_expl.S: Likewise.
28249 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28250 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28251 * sysdeps/i386/fpu/e_pow.S: Likewise.
28252 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28253 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28254 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28255 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28256 * sysdeps/i386/fpu/e_log2.S: Likewise.
28257 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28258 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28259 * sysdeps/i386/fpu/e_powl.S: Likewise.
28260 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28261 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28262 * sysdeps/i386/fpu/e_logl.S: Likewise.
28263 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28264 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28265 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28266 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28267 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28268 * sysdeps/i386/fpu/e_log.S: Likewise.
28269 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28270 * sysdeps/i386/fpu/e_logf.S: Likewise.
28271 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28272 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28273 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28274 * sysdeps/i386/fpu/e_log10.S: Likewise.
28275 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28276 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28277 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28278 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28279 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28280 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28281 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28282 * sysdeps/i386/i686/strtok.S: Likewise.
28283 * sysdeps/i386/i386-mcount.S: Likewise.
28284 * sysdeps/i386/strtok.S: Likewise.
28285 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28286 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28287 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28288 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28289 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28290 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28291 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28292 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28293 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28294 * sysdeps/x86_64/_mcount.S: Likewise.
28295 * sysdeps/x86_64/strtok.S: Likewise.
28296 * sysdeps/sh/_mcount.S: Likewise.
28298 2012-08-01 Roland McGrath <roland@hack.frob.com>
28300 * libio/iofopen.c: Include <fcntl.h>.
28301 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28302 (_IO_fopen64, fopen64): Define as aliases.
28303 * libio/iofopen64.c: Include <fcntl.h>.
28304 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28305 Conditionalize body on this.
28306 * sysdeps/wordsize-64/iofopen.c: File removed.
28307 * sysdeps/wordsize-64/iofopen64.c: File removed.
28309 2012-08-01 Marek Polacek <polacek@redhat.com>
28311 * libc/Makeconfig: Use elf in place of binfmt-subdir.
28312 Use dlfcn directly instead of a variable.
28313 (binfmt-subdir): Do not define.
28316 2012-08-01 Joseph Myers <joseph@codesourcery.com>
28318 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28319 Remove all definitions.
28320 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28321 <kernel-features.h>.
28322 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28323 (miss_F_GETOWN_EX): Remove all definitions.
28324 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28326 [!__ASSUME_FCNTL64]: Remove conditional code.
28327 [__ASSUME_FCNTL64]: Make code unconditional.
28328 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28329 <kernel-features.h>.
28330 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28331 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
28332 (lockf64) [__NR_fcntl64]: Make code unconditional.
28333 (lockf64) [__ASSUME_FCNTL64]: Likewise.
28335 * sysdeps/unix/sysv/linux/kernel-features.h
28336 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
28337 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
28338 Make code unconditional.
28339 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28340 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
28342 [__NR_vfork]: Make code unconditional.
28343 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28344 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
28346 [__NR_vfork]: Make code unconditional.
28347 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
28348 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
28350 2012-08-01 Roland McGrath <roland@hack.frob.com>
28352 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
28353 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
28355 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28356 Define mkstemp64 as an alias.
28357 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28358 Define mkstemps64 as an alias.
28359 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28360 Define mkostemp64 as an alias.
28361 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
28362 Define mkostemps64 as an alias.
28363 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
28364 Conditionalize body on this.
28365 * misc/mkostemp64.c: Likewise.
28366 * misc/mkostemps64.c: Likewise.
28367 * misc/mkstemps64.c: Likewise.
28368 * sysdeps/wordsize-64/mkstemp64.c: File removed.
28369 * sysdeps/wordsize-64/mkostemp64.c: File removed.
28370 * sysdeps/wordsize-64/mkostemp.c: File removed.
28371 * sysdeps/wordsize-64/mkstemp.c: File removed.
28372 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
28373 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
28374 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
28375 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
28378 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
28379 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
28380 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
28381 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
28383 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
28384 compat_symbol macros from <shlib-compat.h> rather than the underlying
28385 default_symbol_version and symbol_version macros, so that DEFAULT
28386 lines in shlib-versions are respected.
28387 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
28389 2012-08-01 Florian Weimer <fweimer@redhat.com>
28391 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
28392 Declare with warn_unused_result.
28393 (setgid, setregid, setegid, setresgid): Likewise.
28394 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
28396 * WUR-REPORT: Remove set*id functions.
28398 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
28400 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
28402 2012-07-31 Roland McGrath <roland@hack.frob.com>
28405 * include/sys/socket.h (__libc_accept, __libc_accept4):
28406 Add attribute_hidden.
28407 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
28409 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
28411 * inet/getnetgrent_r.c (setup): Likewise.
28413 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
28415 2012-07-31 David S. Miller <davem@davemloft.net>
28417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28419 2012-07-31 Joseph Myers <joseph@codesourcery.com>
28422 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
28423 value between 1.0 and 2.0 and smaller part has absolute value less
28425 * math/s_clog10.c (__clog10): Likewise.
28426 * math/s_clog10f.c (__clog10f): Likewise.
28427 * math/s_clog10l.c (__clog10l): Likewise.
28428 * math/s_clogf.c (__clogf): Likewise.
28429 * math/s_clogl.c (__clogl): Likewise.
28430 * math/libm-test.inc (clog_test): Add more tests.
28431 (clog10_test): Likewise.
28432 * sysdeps/i386/fpu/libm-test-ulps: Update.
28433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28435 2012-07-31 Florian Weimer <fweimer@redhat.com>
28437 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
28438 Exit with zero in case no suitable GID is found, and write a
28439 message to standard error.
28441 2012-07-30 Roland McGrath <roland@hack.frob.com>
28443 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
28445 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
28446 (MAXPATHLEN): Removed.
28447 (NOGROUP, NODEV): New macros.
28448 (setbit, clrbit, isset, isclr): New macros.
28449 (howmany, roundup, powerof2): New macros.
28450 (DEV_BSIZE): New macro.
28452 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
28453 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
28455 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
28456 definition on [!__NO_LONG_DOUBLE_MATH].
28458 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
28459 PTR_MANGLE and PTR_DEMANGLE.
28461 * socket/accept4.c (accept4): Rename to __libc_accept4.
28462 Define accept4 as a weak alias.
28464 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
28465 on [_DIRENT_HAVE_D_TYPE].
28466 * io/ftw.c (ftw_dir): Likewise.
28468 * io/xmknod.c (__xmknod): Don't check PATH for being null.
28470 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
28472 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
28473 Use the BSD numbers rather than the arbitrary ones we had.
28474 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
28475 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
28476 (SIGXCPU, SIGXFSZ): New macros.
28479 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
28480 initializer on [_LIBC_REENTRANT].
28482 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
28483 definitions inside [_POSIX_MAPPED_FILES].
28485 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
28487 * dirent/opendir.c: Include <fcntl.h>.
28489 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
28490 (__libc_getspecific): Likewise.
28491 (__libc_key_create): Likewise.
28493 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
28494 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
28495 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
28496 (tmpfile64): Define as alias.
28497 * sysdeps/wordsize-64/tmpfile.c: File removed.
28498 * sysdeps/wordsize-64/tmpfile64.c: File removed.
28499 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
28500 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
28502 * stdio-common/vfscanf.c: Include <stdbool.h>.
28503 * nss/makedb.c: Likewise.
28504 * stdio-common/_i18n_number.h: Likewise.
28505 * argp/argp-help.c: Likewise.
28506 * posix/wordexp.c: Likewise.
28507 * sysdeps/posix/spawni.c: Likewise.
28508 * nss/nss_files/files-initgroups.c: Likewise.
28509 * stdio-common/reg-modifier.c: Include <stdlib.h>.
28510 * nss/nss_files/files-initgroups.c: Likewise.
28511 * nss/nss_db/db-netgrp.c: Likewise.
28512 * nss/nss_db/db-initgroups.c: Likewise.
28513 * io/fchmodat.c: Include <sys/stat.h>.
28515 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
28516 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
28518 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
28521 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
28522 Add multiple inclusion protection.
28524 2012-07-27 David S. Miller <davem@davemloft.net>
28526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28528 2012-07-27 Gary Benson <gbenson@redhat.com>
28531 * elf/rtld.c: Include <stap-probe.h>.
28532 (dl_main): Added static probes "init_start" and "init_complete".
28533 * elf/dl-load.c: Include <stap-probe.h>.
28534 (lose): Take new parameter "nsid".
28535 Added static probe "map_failed".
28536 (_dl_map_object_from_fd): Pass namespace id to lose.
28537 Added static probe "map_start".
28538 (open_verify): Pass namespace id to lose.
28539 * elf/dl-open.c: Include <stap-probe.h>.
28540 (dl_open_worker) Added static probes "map_complete", "reloc_start"
28541 and "reloc_complete".
28542 * elf/dl-close.c: Include <stap-probe.h>.
28543 (_dl_close_worker): Added static probes "unmap_start" and
28545 * elf/rtld-debugger-interface.txt: New file documenting the above.
28547 2012-07-26 Roland McGrath <roland@hack.frob.com>
28549 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
28550 rather than a string variable.
28551 * sunrpc/rpc_main.c (h_output): Likewise.
28552 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
28554 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
28556 * inet/check_native.c: New file.
28558 2012-07-26 Joseph Myers <joseph@codesourcery.com>
28561 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
28562 if larger part has absolute value 1.0.
28563 * math/s_clog10.c (__clog10): Likewise.
28564 * math/s_clog10f.c (__clog10f): Likewise.
28565 * math/s_clog10l.c (__clog10l): Likewise.
28566 * math/s_clogf.c (__clogf): Likewise.
28567 * math/s_clogl.c (__clogl): Likewise.
28568 * math/libm-test.inc (clog_test): Add more tests.
28569 (clog10_test): Likewise.
28570 * sysdeps/i386/fpu/libm-test-ulps: Update.
28571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28573 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
28574 (pltexit): Likewise.
28575 (La_regs): Likewise.
28576 (La_retval): Likewise.
28577 (int_retval): Likewise.
28578 Update #error for removed macros to refer only to definitions in
28580 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
28582 (pltexit): Likewise.
28583 (La_regs): Likewise.
28584 (La_retval): Likewise.
28585 (int_retval): Likewise.
28586 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
28588 (pltexit): Likewise.
28589 (La_regs): Likewise.
28590 (La_retval): Likewise.
28591 (int_retval): Likewise.
28592 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
28594 (pltexit): Likewise.
28595 (La_regs): Likewise.
28596 (La_retval): Likewise.
28597 (int_retval): Likewise.
28598 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
28600 (pltexit): Likewise.
28601 (La_regs): Likewise.
28602 (La_retval): Likewise.
28603 (int_retval): Likewise.
28604 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
28606 (pltexit): Likewise.
28607 (La_regs): Likewise.
28608 (La_retval): Likewise.
28609 (int_retval): Likewise.
28610 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
28612 (pltexit): Likewise.
28613 (La_regs): Likewise.
28614 (La_retval): Likewise.
28615 (int_retval): Likewise.
28616 * sysdeps/generic/tst-audit.h: Update comment to refer only to
28617 macro definitions in tst-audit.h.
28618 * sysdeps/i386/tst-audit.h: New file.
28619 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
28620 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
28621 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
28622 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
28623 * sysdeps/sh/tst-audit.h: Likewise.
28624 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
28625 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
28626 * sysdeps/x86_64/tst-audit.h: Likewise.
28628 2012-07-26 Andreas Jaeger <aj@suse.de>
28630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
28633 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
28634 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
28635 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
28637 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
28638 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
28639 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
28641 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
28644 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
28646 (si_call_addr, si_syscall, si_arch): Define new macro.
28647 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
28649 (si_call_addr, si_syscall, si_arch): Define new marcro.
28650 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
28652 (si_call_addr, si_syscall, si_arch): Define new macro.
28653 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
28655 (si_call_addr, si_syscall, si_arch): Define new macro.
28657 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28660 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28661 Change to 2.4.21 where previously 2.4.1.
28662 * sysdeps/unix/sysv/linux/configure: Regenerated.
28663 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
28664 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
28665 Linux kernel version.
28666 (__ASSUME_STD_AUXV): Remove.
28667 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
28669 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
28670 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
28671 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
28672 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
28673 (__ASSUME_NETLINK_SUPPORT): Likewise.
28674 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
28675 (__no_netlink_support): Remove conditional definition.
28676 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
28678 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28679 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
28680 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
28681 (if_nameindex_ioctl): Remove.
28682 (if_nameindex_netlink): Do not handle __no_netlink_support.
28683 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28685 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
28686 Remove conditional code.
28687 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
28689 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
28691 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
28692 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
28693 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
28695 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
28696 [!__ASSUME_STD_AUXV]: Remove conditional code.
28697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
28698 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
28699 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
28700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
28701 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
28702 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28704 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
28706 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
28707 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28709 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
28710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
28711 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
28713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
28714 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
28716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
28717 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28718 code unconditional.
28719 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28721 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28723 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
28726 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28728 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
28731 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28732 code unconditional.
28733 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28735 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28737 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
28740 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
28741 code unconditional.
28742 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28744 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
28746 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
28749 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
28751 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
28752 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
28753 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
28754 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
28755 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
28756 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28757 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28758 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28759 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
28760 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
28761 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
28762 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
28763 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
28764 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28765 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
28770 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
28771 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28775 2012-07-25 Florian Weimer <fweimer@redhat.com>
28777 * Versions.def: Add GLIBC_2.17.
28778 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
28779 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
28780 Introduce __libc_secure_getenv.
28781 * stdlib/Versions (2.17): Add secure_getenv
28782 (GLIBC_PRIVATE): Add __libc_secure_getenv.
28783 * stdlib/secure-getenv.c: Rename __secure_getenv to
28784 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
28785 symbol __secure_getenv for GLIBC_2.0.
28786 * stdlib/tst-secure-getenv.c: New.
28787 * stdlib/Makefile (tests): Add testcase.
28788 * manual/startup.texi (Environment Access): Document
28790 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
28791 __libc_secure_getenv.
28792 * inet/ruserpass.c (ruserpass): Likewise.
28793 * malloc/mtrace.c (mtrace): Likewise.
28794 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
28795 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28796 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
28797 * sysdeps/posix/tempname.c: Likewise. Evaluate
28798 HAVE_SECURE_GETENV.
28799 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
28800 __secure_getenv to __libc_secure_getenv.
28801 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
28802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
28807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
28808 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28809 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
28810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
28811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
28814 2012-07-25 Joseph Myers <joseph@codesourcery.com>
28816 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
28817 (struct La_i86_retval): Likewise.
28818 (struct La_x86_64_regs): Likewise.
28819 (struct La_x86_64_retval): Likewise.
28820 (struct La_x32_regs): Likewise.
28821 (struct La_x32_retval): Likewise.
28822 (struct La_ppc32_regs): Likewise.
28823 (struct La_ppc32_retval): Likewise.
28824 (struct La_ppc64_regs): Likewise.
28825 (struct La_ppc64_retval): Likewise.
28826 (struct La_sh_regs): Likewise.
28827 (struct La_sh_retval): Likewise.
28828 (struct La_s390_32_regs): Likewise.
28829 (struct La_s390_32_retval): Likewise.
28830 (struct La_s390_64_regs): Likewise.
28831 (struct La_s390_64_retval): Likewise.
28832 (struct La_sparc32_regs): Likewise.
28833 (struct La_sparc32_retval): Likewise.
28834 (struct La_sparc64_regs): Likewise.
28835 (struct La_sparc64_retval): Likewise.
28836 (struct audit_ifaces): Remove architecture-specific pltenter and
28838 * sysdeps/i386/ldsodefs.h: New file.
28839 * sysdeps/powerpc/ldsodefs.h: Likewise.
28840 * sysdeps/s390/ldsodefs.h: Likewise.
28841 * sysdeps/sh/ldsodefs.h: Likewise.
28842 * sysdeps/sparc/ldsodefs.h: Likewise.
28843 * sysdeps/x86_64/ldsodefs.h: Likewise.
28845 2012-07-25 Marek Polacek <polacek@redhat.com>
28848 * math/libm-test.inc (yn_test): Add another test.
28849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
28850 to ERANGE when the result is +-Inf.
28851 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
28852 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28853 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
28854 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
28856 2012-07-24 Joseph Myers <joseph@codesourcery.com>
28858 * conform/data/time.h-data (NULL): Use macro-constant. Require
28860 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
28862 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
28864 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
28866 * configure.in <sysdeps resolving>: Correct printing
28868 * configure: Regenerate.
28870 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
28872 * math/w_ilogb.c: Include <limits.h>.
28873 * math/w_ilogbl.c: Likewise.
28875 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28877 * manual/lang.texi (__va_copy): Document primarily as ISO C99
28878 va_copy. Document allowing for unavailable va_copy only as
28879 pre-C99 compatibility.
28880 * manual/string.texi (Copying and Concatenation): Use va_copy
28881 instead of __va_copy in concat example.
28883 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
28885 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
28886 (__sendto): Use create_address_port. Initialize APORT and deallocate
28889 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
28890 with O_NOLINK passed to __file_name_lookup.
28892 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
28893 with O_NOLINK passed to __file_name_lookup.
28895 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
28896 negative N or less than NGIDS.
28898 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
28899 type to string_t. Set ERANGE as errno and return it if NAME is not big
28900 enough. Use memcpy instead of strncpy.
28902 2012-07-20 Joseph Myers <joseph@codesourcery.com>
28904 * elf/Makefile (check-data): Remove.
28905 (localplt.data): New vpath directive.
28906 ($(objpfx)check-localplt.out): Use localplt.data from vpath
28907 instead of $(check-data).
28908 * scripts/data/localplt-generic.data: Move to ...
28909 * sysdeps/generic/localplt.data: ... here.
28910 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
28911 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
28912 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
28913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28915 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
28916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28918 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
28919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
28921 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
28922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
28924 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
28925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
28927 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
28928 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
28931 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28933 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
28934 PPC32 and PPC64 files.
28935 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
28936 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
28938 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28940 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
28941 __makecontext_ret to ...
28942 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28943 ... here and call exit if uc_link is NULL. New file.
28944 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
28945 __makecontext_ret.S.
28946 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
28947 __makecontext_ret to ...
28948 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28949 ... here and call exit if uc_link is NULL. New file.
28950 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
28951 __makecontext_ret.S.
28953 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28955 * elf/elf.h (R_390_IRELATIVE): New definition.
28956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
28957 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
28958 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
28959 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28960 (elf_machine_lazy_rel): Likewise.
28961 * sysdeps/s390/dl-irel.h: New file.
28962 * sysdeps/s390/s390-64/memcpy.S: New asm code.
28963 * sysdeps/s390/s390-64/memset.S: New asm code.
28964 * sysdeps/s390/s390-64/memcmp.S: New asm code.
28965 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
28966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
28967 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
28968 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
28969 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
28970 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
28971 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
28972 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
28973 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
28974 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
28975 * sysdeps/s390/s390-32/memcpy.S: New asm code.
28976 * sysdeps/s390/s390-32/memset.S: New asm code.
28977 * sysdeps/s390/s390-32/memcmp.S: New asm code.
28979 2012-07-17 Marek Polacek <polacek@redhat.com>
28982 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
28983 * sysdeps/s390/s390-64/configure.in: Likewise.
28984 * sysdeps/sparc/configure.in: Likewise.
28985 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
28986 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
28987 * sysdeps/i386/configure.in: Likewise.
28988 * sysdeps/x86_64/configure.in: Likewise.
28989 * sysdeps/sh/configure.in: Likewise.
28990 * sysdeps/s390/s390-32/configure: Regenerated.
28991 * sysdeps/s390/s390-64/configure: Likewise.
28992 * sysdeps/x86_64/configure: Likewise.
28993 * sysdeps/sh/configure: Likewise.
28994 * sysdeps/powerpc/powerpc64/configure: Likewise.
28995 * sysdeps/powerpc/powerpc32/configure: Likewise.
28996 * sysdeps/sparc/configure: Likwise.
28997 * sysdeps/i386/configure: Likewise.
28999 * elf/dl-open.c: Comment fixes.
29001 2012-07-17 Joseph Myers <joseph@codesourcery.com>
29003 * Makefile [CXX] (check-data): Remove.
29004 [CXX] (c++-types.data): New vpath directive.
29005 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29006 vpath. Do not allow for C++ type data being missing.
29007 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29008 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29009 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29010 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29011 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29012 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29013 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29016 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29019 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29022 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29025 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29026 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29028 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29029 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29031 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29034 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29037 * elf/tls-macros.h (TLS_LE): Move architecture-specific
29038 definitions to architecture-specific files.
29039 (TLS_IE): Likewise.
29040 (TLS_LD): Likewise.
29041 (TLS_GD): Likewise.
29042 * sysdeps/i386/tls-macros.h: New file.
29043 * sysdeps/powerpc/tls-macros.h: Likewise.
29044 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29045 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29046 * sysdeps/sh/tls-macros.h: Likewise.
29047 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29048 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29049 * sysdeps/x86_64/tls-macros.h: Likewise.
29051 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29053 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29054 zero value for regular exit case.
29056 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29057 (__start_context): Preserve zero value for regular exit case.
29059 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
29060 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29062 * manual/setjmp.texi (setcontext): Clarify normal process
29063 termination when uc_link is the null pointer.
29064 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29067 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
29069 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29070 preprocessor. Test for each exception mask separately.
29072 2012-07-16 Andreas Jaeger <aj@suse.de>
29074 * po/ru.po: Update from translation team.
29076 2012-07-15 Joseph Myers <joseph@codesourcery.com>
29078 * conform/data/string.h-data (NULL): Use macro-constant. Require
29080 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29081 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29082 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29083 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29084 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29086 2012-07-13 Andreas Jaeger <aj@suse.de>
29088 * po/fr.po: Update from translation team.
29090 2012-07-12 Marek Polacek <polacek@redhat.com>
29093 * math/libm-test.inc (yn_test): Add test for BZ #14173.
29094 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29097 2012-07-12 Joseph Myers <joseph@codesourcery.com>
29100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29101 Change to 2.4.1 where previously 2.4.0.
29102 * sysdeps/unix/sysv/linux/configure: Regenerated.
29103 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29104 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29106 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29107 (__ASSUME_AT_CLKTCK): Remove.
29108 (__ASSUME_AT_PAGESIZE): Likewise.
29109 (__ASSUME_AT_XID): Likewise.
29110 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29111 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29112 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29114 (HAVE_AUX_PAGESIZE): Likewise.
29115 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29116 [__ASSUME_AT_CLKTCK]: Make code unconditional.
29117 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29119 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
29122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29123 the temporary buffer used to invoke __gethostbyname2_r,
29124 __gethostbyaddr_r and gethostbyname4_r to make room for struct
29125 host_data / struct gaih_addrtuple.
29126 * resolv/nss_dns/dns-host.c (global scope): Move definition of
29127 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29128 header file nss/nsswitch.h.
29129 * nss/nsswitch.h (global scope): Add definition of implementation
29130 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29131 resolv/nss_dns/dns-host.c).
29133 2012-07-11 Andreas Jaeger <aj@suse.de>
29135 * po/fr.po: Update from translation team.
29137 * po/sv.po: Update from translation team
29138 * po/fr.po: Another update from translation team.
29140 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29143 for subnormals or multiply small sinh result by itself.
29144 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29147 2012-07-11 David S. Miller <davem@davemloft.net>
29149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29151 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
29154 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29155 (INTERNAL_MARK): Shift it here.
29157 2012-07-10 Marek Polacek <polacek@redhat.com>
29160 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
29161 libc_cv_asm_global_directive with .globl.
29162 * configure: Regenerated.
29163 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29165 * sysdeps/i386/configure: Regenerated.
29166 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29168 * sysdeps/x86_64/configure: Regenerated.
29169 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29170 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29171 * elf/tst-unique2mod2.c: Likewise.
29172 * elf/tst-unique2mod1.c: Likewise.
29173 * elf/tst-unique1mod2.c: Likewise.
29174 * elf/tst-unique1mod1.c: Likewise.
29175 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29176 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29177 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29178 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29179 * sysdeps/mach/sysdep.h: Likewise.
29180 * sysdeps/i386/sysdep.h: Likewise.
29181 * sysdeps/i386/i386-mcount.S: Likewise.
29182 * sysdeps/x86_64/_mcount.S: Likewise.
29183 * sysdeps/x86_64/sysdep.h: Likewise.
29184 * sysdeps/sh/_mcount.S: Likewise.
29185 * sysdeps/sh/sysdep.h: Likewise.
29186 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29187 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29188 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29189 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29190 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29191 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29192 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29193 * locale/localeinfo.h: Likewise.
29194 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29195 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29197 2012-07-09 Roland McGrath <roland@hack.frob.com>
29200 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29202 * manual/message.texi (The Uniforum approach): Likewise.
29203 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29204 (glibc iconv Implementation): Likewise.
29206 2012-07-09 Joseph Myers <joseph@codesourcery.com>
29209 * math/s_clog.c (__clog): Avoid scaling a value down where that
29210 could result in underflow.
29211 * math/s_clog10.c (__clog10): Likewise.
29212 * math/s_clog10f.c (__clog10f): Likewise.
29213 * math/s_clog10l.c (__clog10l): Likewise.
29214 * math/s_clogf.c (__clogf): Likewise.
29215 * math/s_clogl.c (__clogl): Likewise.
29216 * math/libm-test.inc (clog_test): Add more tests.
29217 (clog10_test): Likewise.
29218 * sysdeps/i386/fpu/libm-test-ulps: Update.
29219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29221 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
29224 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29225 by 7 not 8 to examine high bit of fractional part.
29228 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29229 for call to __mcount_internal.
29230 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29231 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29232 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29234 2012-07-06 Joseph Myers <joseph@codesourcery.com>
29237 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29238 approximation for values within 0x1p-13f of an odd multiple of
29240 * math/libm-test.inc (tan_test): Do not allow spurious underflow
29241 exception. Add more tests.
29242 * sysdeps/i386/fpu/libm-test-ulps: Update.
29245 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29246 inputs and return -1 for them. Do not check for +Inf in case not
29247 reachable for +Inf.
29248 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29249 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29250 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29251 and return -1 for them. Do not check for +Inf in case not
29252 reachable for +Inf.
29253 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29255 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29256 and return -1 for them. Do not check for +Inf in case not
29257 reachable for +Inf.
29258 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
29259 spurious underflow.
29260 * sysdeps/i386/fpu/libm-test-ulps: Update.
29261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29263 2012-07-06 Mike Frysinger <vapier@gentoo.org>
29265 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29267 2012-07-05 Joseph Myers <joseph@codesourcery.com>
29271 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29272 could result in spurious underflow. Scale down values above
29273 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29274 * math/s_csqrtf.c (__csqrtf): Likewise.
29275 * math/s_csqrtl.c (__csqrtl): Likewise.
29276 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
29277 spurious underflow.
29278 * sysdeps/i386/fpu/libm-test-ulps: Update.
29279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29281 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
29283 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29285 * catgets/xopen-msg.awk: New file.
29286 * catgets/xopen-msg.sed: Removed.
29288 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29290 * intl/po2test.awk: New file.
29291 * intl/po2test.sed: Removed.
29293 2012-07-04 Joseph Myers <joseph@codesourcery.com>
29296 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29297 or multiply small sinh result by itself.
29298 * math/s_ctanf.c (__ctanf): Likewise.
29299 * math/s_ctanh.c (__ctanh): Likewise.
29300 * math/s_ctanhf.c (__ctanhf): Likewise.
29301 * math/s_ctanhl.c (__ctanhl): Likewise.
29302 * math/s_ctanl.c (__ctanl): Likewise.
29303 * math/libm-test.inc (ctan_test_tonearest): New function.
29304 (ctan_test_towardzero): Likewise.
29305 (ctan_test_downward): Likewise.
29306 (ctan_test_upward): Likewise.
29307 (ctanh_test_tonearest): Likewise.
29308 (ctanh_test_towardzero): Likewise.
29309 (ctanh_test_downward): Likewise.
29310 (ctanh_test_upward): Likewise.
29311 (main): Call these new functions.
29312 * sysdeps/i386/fpu/libm-test-ulps: Update.
29313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29315 2012-07-03 Mike Frysinger <vapier@gentoo.org>
29317 * .gitignore: Delete /ports entry.
29319 2012-07-03 Andreas Jaeger <aj@suse.de>
29321 * po/bg.po: Update from translation team.
29322 * po/cs.po: Likewise.
29323 * po/de.po: Likewise.
29324 * po/hr.po: Likewise.
29325 * po/nl.pl: Likewise.
29326 * po/pl.po: Likewise.
29327 * po/vi.po: Likewise.
29329 2012-07-03 Joseph Myers <joseph@codesourcery.com>
29331 * Makeconfig [!+link] (+link-before-libc): New variable.
29332 [!+link] (+link-after-libc): Likewise.
29333 [!+link] (+link-tests): Likewise.
29334 [!+link] (+link): Define in terms of $(+link-before-libc) and
29335 $(+link-after-libc).
29336 [!+link-static] (+link-static-before-libc): New variable.
29337 [!+link-static] (+link-static-after-libc): Likewise.
29338 [!+link-static] (+link-static-tests): Likewise.
29339 [!+link-static] (+link-static): Define in terms of
29340 $(+link-static-before-libc) and $(+link-static-after-libc).
29341 [build-shared] (link-libc-before-gnulib): New variable.
29342 [build-shared] (link-libc-tests): Likewise.
29343 [build-shared] (link-libc): Define in terms of
29344 $(link-libc-before-gnulib).
29345 [!build-shared] (link-libc-tests): New variable.
29346 (link-libc-static-tests): New variable.
29347 [!gnulib] (gnulib-arch): New variable.
29348 [!gnulib] (gnulib-tests): Likewise.
29349 [!gnulib] (static-gnulib-arch): Likewise.
29350 [!gnulib] (static-gnulib-tests): Likewise.
29351 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
29352 Define with "=" instead of ":=".
29353 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
29354 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
29355 * Rules (binaries-all-notests): New variable.
29356 (binaries-all-tests): Likewise.
29357 (binaries-static-notests): Likewise.
29358 (binaries-static-tests): Likewise.
29359 (binaries-all): Define using $(binaries-all-notests) and
29360 $(binaries-all-tests).
29361 (binaries-static): Define using $(binaries-static-notests) and
29362 $(binaries-static-tests).
29363 (binaries-shared-tests): New variable.
29364 (binaries-shared-notests): Likewise.
29365 (binaries-shared): Remove variable.
29366 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
29367 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
29368 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
29369 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
29370 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
29371 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
29372 * elf/Makefile (sln-modules): New variable.
29373 (extra-objs): Add $(sln-modules:=.o).
29374 (ldconfig-modules): Add static-stubs.
29375 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
29376 * elf/static-stubs.c: New file.
29379 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
29380 by 7 not 8 to examine high bit of fractional part. Use volatile
29381 variables when splitting into final array of floats if
29382 __FLT_EVAL_METHOD__ != 0.
29383 * math/libm-test.inc (cos_test): Add another test.
29384 (sin_test): Likewise.
29385 * sysdeps/i386/fpu/libm-test-ulps: Update.
29388 * math/libm-test.inc (cosh_test): Add more tests.
29390 * version.h (RELEASE): Set to "development".
29391 (VERSION): Set to "2.16.90".
29393 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
29395 * NEWS: Update copyright. Remove last-updated date.
29396 Mention math library bug fixes and timezone data changes.
29397 * README: Mention GNU/Hurd, x32, and HPPA support status.
29399 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
29401 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
29403 2012-06-27 Andreas Jaeger <aj@suse.de>
29405 * manual/contrib.texi (Contributors): Add Samuel Thibault.
29407 2012-06-25 Andreas Jaeger <aj@suse.de>
29409 * sysdeps/s390/fpu/libm-test-ulps: Update.
29411 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
29412 Thomas Schwinge <thomas@codesourcery.com>
29414 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
29415 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
29416 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
29419 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
29421 * sysdeps/mach/start.c: Remove file.
29422 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
29423 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
29424 * sysdeps/sh/init-first.c: Likewise.
29426 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
29427 registers for frame unwinding purposes, add CFI directives.
29428 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29429 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
29430 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
29433 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
29434 __fortify_fail returning.
29435 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
29437 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
29438 sysdeps/sh/____longjmp_chk.S.
29439 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
29440 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
29441 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
29442 (gen-as-const-headers): Append sigaltstack-offsets.sym.
29444 * sysdeps/sh/abort-instr.h: New file.
29445 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
29446 process in case exit returns.
29448 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
29449 initialize the GOT register before use.
29451 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
29452 calculation of ARGC > 4.
29454 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
29455 meaningful names to some local labels.
29457 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29458 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29460 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
29461 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
29462 (__arch_compare_and_exchange_val_16_acq): Likewise.
29463 (__arch_compare_and_exchange_val_32_acq): Likewise.
29464 (atomic_exchange_and_add): Fix gUSA sequence.
29465 (atomic_add): Likewise.
29466 (atomic_add_negative): Likewise.
29467 (atomic_add_zero): Likewise.
29468 (atomic_bit_test_set): Likewise.
29470 2012-06-22 Andreas Schwab <schwab@redhat.com>
29473 * include/link.h (struct link_map): Add l_free_initfini.
29474 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
29476 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
29477 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
29478 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
29481 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
29483 * configure.in: Use AC_LANG_SOURCE.
29484 * configure: Regenerate.
29486 2012-06-22 Roland McGrath <roland@hack.frob.com>
29488 * configure.in (libc_cv_localstatedir): New substituted variable.
29489 * configure: Regenerated.
29490 * config.make.in (localstatedir): New variable, substituted from
29491 libc_cv_localstatedir.
29492 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
29493 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
29494 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
29495 * sysdeps/gnu/configure: Regenerated.
29497 2012-06-21 Jeff Law <law@redhat.com>
29500 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
29501 free. Simplify list management for _LIBC case.
29503 2012-06-21 Joseph Myers <joseph@codesourcery.com>
29506 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29507 Clear sign bit of 64-bit integer value before comparing against
29510 * sysdeps/mach/configure: Regenerated.
29512 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
29515 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
29517 2012-06-21 Jeff Law <law@redhat.com>
29520 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
29521 uint16_t for elements in the "seen" array to avoid char overflows.
29522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29523 * elf/dl-open.c (dl_open_worker): Likewise.
29525 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
29527 * scripts/list-sources.sh: Scan PORTS for translations.
29528 * po/libc.pot: Regenerated.
29530 2012-06-21 Andreas Jaeger <aj@suse.de>
29533 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
29535 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
29536 * bits/byteswap-16.h (__bswap_16): Likewise.
29537 * bits/byteswap.h (__bswap_constant_16): Likewise.
29539 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
29542 * sysdeps/i386/fpu_control.h: Removed.
29543 * sysdeps/x86_64/fpu_control.h: Moved to ...
29544 * sysdeps/x86/fpu_control.h: Here.
29546 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
29547 (_FPU_SETCW): Likewise.
29549 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
29552 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
29553 * sysdeps/x86/fpu/bits/mathinline.h: This.
29554 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
29558 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
29559 functions if __x86_64__ is defined.
29561 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
29563 * string/endian.h: Add !__ASSEMBLER__ condition for including
29564 conversion interfaces.
29566 2012-06-15 Joseph Myers <joseph@codesourcery.com>
29569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
29570 of ABS(x) in calculating zero to negative powers other than odd
29572 * math/libm-test.inc (pow_test): Add more tests.
29574 2012-06-15 Andreas Jaeger <aj@suse.de>
29576 * manual/contrib.texi (Contributors): Update entry of Liubov
29577 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
29580 2012-06-15 Cyril Hrubis <metan@ucw.cz>
29582 * string/string.h: Add __wur to GNU version of strerror_r.
29584 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
29587 * string/Makefile (tests): Add tst-strtok_r.
29588 * string/tst-strtok_r.c: New file.
29589 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
29590 RAX_LP/RDX_LP on SAVE_PTR.
29592 2012-06-14 Roland McGrath <roland@hack.frob.com>
29594 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
29596 2012-06-14 Joseph Myers <joseph@codesourcery.com>
29598 * libm_test.inc (csqrt_test): Allow more spurious underflow
29600 (j0_test): Likewise.
29601 (j1_test): Likewise.
29602 (y0_test): Likewise.
29603 (y1_test): Likewise.
29605 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
29607 * po/Makefile (libc.pot): Use UTF-8 charset.
29609 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
29612 Suppress sign-conversion warning from FD_SET.
29613 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
29614 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
29615 not unsigned long int.
29616 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
29618 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
29622 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
29623 __extern_always_inline instead of __extern_inline.
29624 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
29625 (__signbit): Likewise.
29626 (__signbitl): Support C++ namespace.
29627 (lrintf): New inline function.
29629 (llrintf): Likewise.
29630 (llrint): Likewise.
29640 (floorf): Likewise.
29641 (nearbyint): Likewise.
29642 (nearbyintf): Likewise.
29644 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
29646 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
29647 non-default versions.
29649 2012-06-11 Roland McGrath <roland@hack.frob.com>
29652 * manual/argp.texi (Argp): Reword argp_parse description slightly.
29654 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
29656 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
29657 (FE_UPWARD, FE_DOWNWARD): Don't define.
29658 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
29659 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29661 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
29663 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29664 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29666 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29668 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
29670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
29671 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
29673 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
29676 * sysdeps/i386/fpu/bits/fenv.h: Removed.
29677 * sysdeps/i386/fpu/Implies: New file.
29678 * sysdeps/x86_64/fpu/Implies: Likewise.
29679 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
29680 * sysdeps/x86/fpu/bits/fenv.h: This.
29682 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
29685 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29688 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
29689 character 0xffff that matches the last element of the
29692 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
29697 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29699 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
29700 values higher than 25.6283.
29702 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
29705 subnormal exponent extraction and add some __builtin_expect.
29706 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
29707 Fix for subnormal mantissa calculation.
29709 2012-06-04 Mike Frysinger <vapier@gentoo.org>
29711 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
29712 cpu2 is -1 and errno is not ENOSYS.
29714 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
29717 * sysdeps/i386/i486/bits/string.h: Renamed to ...
29718 * sysdeps/x86/bits/string.h: This.
29719 * sysdeps/x86_64/bits/string.h: Removed.
29721 * sysdeps/i386/i486/bits/string.h: Define inline functions only
29722 if not compiling for x86-64, but compiling for >= i486.
29724 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
29725 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
29727 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
29728 New macro from Linux kernel 3.4.0.
29729 (FP_XSTATE_MAGIC2): Likewise.
29730 (FP_XSTATE_MAGIC2_SIZE): Likewise.
29731 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
29732 (struct _fpx_sw_bytes): New struct.
29733 (struct _xsave_hdr): Likewise.
29734 (struct _ymmh_state): Likewise.
29735 (struct _xstate): Likewise.
29737 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
29738 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
29739 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
29740 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
29741 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
29742 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
29744 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
29745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
29746 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
29747 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
29748 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
29749 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
29751 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29754 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
29755 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
29756 (sysdep_headers): Include sys/platform/ppc.h.
29757 * sysdeps/powerpc/test-gettimebase.c: Test for
29758 __ppc_get_timebase() to catch future ISA opcode/insn changes.
29759 * manual/Makefile (appendices): Include platform.texi.
29760 * manual/contrib.texi (Contributors): Update @node pointers.
29761 * manual/maint.texi (Maintenance): Likewise.
29762 (Platform): New node.
29763 * manual/platform.texi: New file. Document the new features.
29765 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29766 Jakub Jelinek <jakub@redhat.com>
29769 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
29770 where __builtin_expect is unavailable.
29772 2012-06-03 David S. Miller <davem@davemloft.net>
29774 * stdlib/longlong.h: Updated from GCC.
29776 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
29779 * sysdeps/powerpc/powerpc32/mcount.c: New file.
29780 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
29783 (GLIBC_2.16): Likewise.
29785 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29787 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
29789 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
29792 (default-abi): New variable.
29793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
29794 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
29796 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
29798 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
29800 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
29803 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
29804 definition. Document in comment.
29806 2012-06-01 David S. Miller <davem@davemloft.net>
29808 * stdlib/longlong.h: Updated from GCC.
29810 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29813 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
29814 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
29815 sys/debugreg.h sys/io.h here.
29816 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
29817 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
29819 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
29820 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
29821 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
29822 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
29823 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
29824 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
29826 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
29827 Define only if __x86_64__ is defined.
29829 2012-06-01 Joseph Myers <joseph@codesourcery.com>
29832 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
29833 Use int64_t for variable i.
29834 * math/libm-test.inc (fmod_test): Add more tests.
29836 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
29837 z computation is not scheduled after fetestexcept.
29838 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
29839 Use math_force_eval instead of asm to ensure calculation scheduled
29840 before exception test.
29841 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
29842 Ensure a1 + u.d computation is not scheduled after fetestexcept.
29844 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
29846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
29847 computation is not scheduled after fetestexcept.
29849 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
29852 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
29853 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
29855 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29857 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
29858 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29860 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29863 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
29865 (__WCHAR_MIN): Support __WORDSIZE == 64.
29866 (__WCHAR_MAX): Likewise.
29868 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
29869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
29872 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
29873 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
29876 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
29877 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
29879 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
29880 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
29882 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
29883 Defined to 1 if __x86_64__ isn't defined.
29884 (_STAT_VER_LINUX_OLD): New.
29885 (st_atime): Remove duplicate.
29886 (st_mtime): Likewise.
29887 (st_ctime): Likewise.
29889 2012-05-31 David S. Miller <davem@davemloft.net>
29891 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
29894 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
29896 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
29900 * elf/dl-reloc.c: Include <_itoa.h>.
29901 (_dl_reloc_bad_type): Remove use of INTUSE.
29902 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
29903 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
29904 * stdio-common/psiginfo.c (psiginfo): Likewise.
29905 * stdio-common/psignal.c (psignal): Likewise.
29906 * string/strsignal.c (strsignal): Likewise.
29907 * include/signal.h (_sys_siglist): Declare hidden proto.
29908 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
29909 INTVARDEF with libc_hidden_data_def.
29910 * stdio-common/itoa-udigits.c: Likewise.
29911 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
29912 (_itoa_lower_digits_internal): Remove declaration.
29913 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
29914 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
29915 (_sys_sigabbrev_internal): Remove aliases.
29916 (_sys_siglist): Define hidden alias.
29918 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
29920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29923 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
29926 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
29927 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
29929 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
29930 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
29931 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
29932 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
29933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
29934 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
29936 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
29937 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
29938 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
29940 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
29948 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
29949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
29950 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
29952 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
29953 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
29954 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
29955 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
29956 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
29957 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
29959 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
29960 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
29962 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
29963 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
29965 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
29966 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
29967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
29969 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
29970 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
29972 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
29974 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
29975 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
29976 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
29978 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
29980 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
29982 2012-05-31 Joseph Myers <joseph@codesourcery.com>
29984 * math/math.h (M_El): Use two more decimal places.
29985 (M_LOG2El): Likewise.
29986 (M_LOG10El): Likewise.
29987 (M_LN2l): Likewise.
29988 (M_LN10l): Likewise.
29990 (M_PI_2l): Likewise.
29991 (M_PI_4l): Likewise.
29992 (M_1_PIl): Likewise.
29993 (M_2_PIl): Likewise.
29994 (M_2_SQRTPIl): Likewise.
29995 (M_SQRT2l): Likewise.
29996 (M_SQRT1_2l): Likewise.
29998 2012-05-31 David S. Miller <davem@davemloft.net>
30000 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30001 values between float registers.
30002 * sysdeps/sparc/sparc64/memset.S: Likewise.
30003 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30005 2012-05-31 Mike Frysinger <vapier@gentoo.org>
30007 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30008 -D_FORTIFY_SOURCE=1.
30009 (CPPFLAGS-tst-longjmp_chk.c): Define.
30010 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30011 (CPPFLAGS-tst-longjmp_chk2.c): Define.
30012 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30013 CFLAGS-tst-wchar-h.c.
30015 2012-05-31 Marek Polacek <polacek@redhat.com>
30018 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30019 __endmntent_internal): Remove declaration.
30020 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30021 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30022 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30024 2012-05-30 David S. Miller <davem@davemloft.net>
30026 * sysdeps/sparc/sparc32/soft-fp/q_util.c
30027 (___Q_simulate_exceptions): Use real FP ops rather than writing
30029 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30032 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30035 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30036 * sysdeps/x86/bits/xtitypes.h: This.
30038 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30039 * sysdeps/x86/bits/wordsize.h: This.
30041 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30042 * sysdeps/x86/bits/huge_vall.h: This.
30044 * sysdeps/i386/bits/select.h: Removed.
30045 * sysdeps/x86_64/bits/select.h: Renamed to ...
30046 * sysdeps/x86/bits/select.h: This.
30048 * sysdeps/i386/bits/setjmp.h: Removed.
30049 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30050 * sysdeps/x86/bits/setjmp.h: This.
30052 * sysdeps/i386/bits/mathdef.h: Removed.
30053 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30054 * sysdeps/x86/bits/mathdef.h: This.
30056 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
30059 * include/sys/socket.h (__connect_internal)
30060 (__libc_sa_len_internal): Remove declaration.
30061 (__connect, __libc_sa_len): Declare hidden_proto.
30062 (SA_LEN): Remove use of INTUSE.
30063 * socket/connect.c: Add libc_hidden_def.
30064 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30065 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30066 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30068 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30069 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30070 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30071 of adding _internal alias.
30073 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30076 * sysdeps/i386/bits/link.h: Removed.
30077 * sysdeps/i386/bits/linkmap.h: Likewise.
30078 * sysdeps/x86_64/bits/link.h: Renamed to ...
30079 * sysdeps/x86/bits/link.h: This.
30080 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30081 * sysdeps/x86/bits/linkmap.h: This.
30083 * sysdeps/i386/bits/endian.h: Removed.
30084 * sysdeps/x86_64/bits/endian.h: Renamed to ...
30085 * sysdeps/x86/bits/endian.h: This.
30087 * sysdeps/i386/bits/byteswap.h: Removed.
30088 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30089 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30090 * sysdeps/x86/bits/byteswap.h: This.
30091 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30092 * sysdeps/x86/bits/byteswap-16.h: This.
30093 * sysdeps/i386/Implies: Add x86.
30094 * sysdeps/x86_64/Implies: Likewise.
30096 2012-05-30 David S. Miller <davem@davemloft.net>
30098 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30099 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30100 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30101 (FP_TRAPPING_EXCEPTIONS): Define.
30102 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30103 (FP_TRAPPING_EXCEPTIONS): Define.
30104 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30105 subnormals only when inexact has been signalled or underflow
30106 exceptions are enabled.
30107 (_FP_PACK_CANONICAL): Likewise.
30109 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30112 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30113 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30115 2012-05-30 Richard Henderson <rth@twiddle.net>
30117 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30118 with #ifndef NOT_IN_libc.
30120 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
30121 marked to avoid plt entry.
30123 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30126 * Makeconfig (default-abi): New macro.
30127 (abi-includes): Likewise.
30128 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
30129 $(abi-$(default-abi)-lib-soname) for soname if defined.
30130 ($(common-objpfx)gnu/lib-names.stmp): Generate from
30132 * Makefile (installed-stubs): Likewise.
30133 * include/stubs-biarch.h: Removed.
30134 * scripts/lib-names.awk: Only handle one library at a time.
30135 * scripts/soversions.awk: Remove WORDSIZE support.
30136 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30138 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30140 (syscall-list-default-condition): Likewise.
30141 (syscall-list-default-condition): Likewise.
30142 (syscall-list-includes): Likewise.
30143 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30144 syscall-list-* with abi-*. Handle undefined abi-variants.
30145 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30146 * sysdeps/unix/sysv/linux/i386/Implies: New file.
30147 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30148 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30149 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30150 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30152 (syscall-list-32-options): Likewise.
30153 (syscall-list-32-condition): Likewise.
30154 (syscall-list-64-options): Likewise.
30155 (syscall-list-64-condition): Likewise.
30156 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30158 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30161 (abi-64-ld-soname): New macro.
30162 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30163 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30166 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30167 * sysdeps/x86_64/x32/shlib-versions: Likewise.
30169 2012-05-30 Joseph Myers <joseph@codesourcery.com>
30171 * sysdeps/unix/sysv/linux/kernel-features.h
30172 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30173 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30174 include <kernel-features.h>.
30175 [!__NR_ftruncate64]: Remove conditional code.
30176 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30177 [__NR_ftruncate64]: Make code unconditional.
30178 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30179 * sysdeps/unix/sysv/linux/truncate64.c: Do not
30180 include <kernel-features.h>.
30181 [!__NR_ftruncate64]: Remove conditional code.
30182 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30183 [__NR_ftruncate64]: Make code unconditional.
30184 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30186 include <kernel-features.h>.
30187 [!__NR_ftruncate64]: Remove conditional code.
30188 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30189 [__NR_ftruncate64]: Make code unconditional.
30190 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30192 include <kernel-features.h>.
30193 [!__NR_ftruncate64]: Remove conditional code.
30194 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30195 [__NR_ftruncate64]: Make code unconditional.
30196 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30198 * configure.in (libc_cv_fpie): Weaken to a compile test using
30199 LIBC_TRY_CC_OPTION.
30200 * configure: Regenerated.
30202 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30212 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30217 2012-05-27 David S. Miller <davem@davemloft.net>
30219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30221 (__Q_simulate_exceptions): Return void. Change to simulate
30222 exceptions by writing into the %fsr.
30223 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30224 (__Qp_handle_exceptions): Likewise.
30226 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30227 __Qp_handle_exceptions.
30228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30229 __Qp_handle_exceptions.
30230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30231 as unused and give dummy FP_RND_NEAREST initializer.
30232 (FP_INHIBIT_RESULTS): Define.
30233 (___Q_simulate_exceptions): Update declaration.
30234 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30236 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30237 as unused and give dummy FP_RND_NEAREST initializer.
30238 (__Qp_handle_exceptions): Update declaration.
30239 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30242 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
30244 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30245 the temporary FPU control word.
30246 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30247 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30248 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30249 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30250 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30251 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30252 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30254 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30255 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30256 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30258 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30260 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30263 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
30265 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30266 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30267 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30268 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30270 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30271 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30274 2012-05-27 Ulrich Drepper <drepper@gmail.com>
30276 * po/h.po: Update from translation team.
30278 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
30280 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30282 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30283 handling of denormals.
30284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30285 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30286 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30287 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30290 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30293 2012-05-26 Marek Polacek <polacek@redhat.com>
30296 * math/libm-test.inc (fma_test): Don't always expect underflow
30299 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30302 * elf/tst-execstack.c: Include stackinfo.h.
30303 (do_test): Adjust test case to ensure that pthread_getattr_np
30304 behaviour remains the same after marking stack executable.
30306 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30308 * sysdeps/unix/sysv/linux/kernel-features.h
30309 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30310 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30312 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30313 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30314 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30316 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30317 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30319 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
30321 * configure.in: Define the default includes to being none.
30322 * configure: Regenerated.
30324 2012-05-25 Roland McGrath <roland@hack.frob.com>
30326 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30327 * sysdeps/x86_64/setjmp.S: Likewise.
30328 * sysdeps/i386/bsd-setjmp.S: Likewise.
30329 * sysdeps/i386/bsd-_setjmp.S: Likewise.
30330 * sysdeps/i386/setjmp.S: Likewise.
30331 * sysdeps/i386/__longjmp.S: Likewise.
30332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
30333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
30335 * include/stap-probe.h: New file.
30336 * configure.in: Handle --enable-systemtap.
30337 * configure: Regenerated.
30338 * config.h.in (USE_STAP_PROBE): New #undef.
30339 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
30340 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
30341 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30343 2012-05-25 Joseph Myers <joseph@codesourcery.com>
30346 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30347 to 2.4.0 where earlier.
30348 * sysdeps/unix/sysv/linux/configure: Regenerated.
30349 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30350 <kernel-features.h>.
30351 [__ASSUME_32BITUIDS]: Make code unconditional.
30352 [!__ASSUME_32BITUIDS]: Remove conditional code.
30353 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
30354 <kernel-features.h>.
30355 [__ASSUME_32BITUIDS]: Make code unconditional.
30356 [!__ASSUME_32BITUIDS]: Remove conditional code.
30357 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
30358 [__ASSUME_32BITUIDS]: Make code unconditional.
30359 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
30360 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
30361 <kernel-features.h>.
30362 [__ASSUME_32BITUIDS]: Make code unconditional.
30363 [!__ASSUME_32BITUIDS]: Remove conditional code.
30364 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
30365 <kernel-features.h>.
30366 [__ASSUME_32BITUIDS]: Make code unconditional.
30367 [!__ASSUME_32BITUIDS]: Remove conditional code.
30368 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
30369 <kernel-features.h>.
30370 [__ASSUME_32BITUIDS]: Make code unconditional.
30371 [!__ASSUME_32BITUIDS]: Remove conditional code.
30372 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
30373 <kernel-features.h>.
30374 [__ASSUME_32BITUIDS]: Make code unconditional.
30375 [!__ASSUME_32BITUIDS]: Remove conditional code.
30376 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30377 <kernel-features.h>.
30378 [__ASSUME_32BITUIDS]: Make code unconditional.
30379 [!__ASSUME_32BITUIDS]: Remove conditional code.
30380 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30381 <kernel-features.h>.
30382 [__ASSUME_32BITUIDS]: Make code unconditional.
30383 [!__ASSUME_32BITUIDS]: Remove conditional code.
30384 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
30385 <kernel-features.h>.
30386 [__ASSUME_32BITUIDS]: Make code unconditional.
30387 [!__ASSUME_32BITUIDS]: Remove conditional code.
30388 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30389 <kernel-features.h>.
30390 [__ASSUME_32BITUIDS]: Make code unconditional.
30391 [!__ASSUME_32BITUIDS]: Remove conditional code.
30392 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30393 <kernel-features.h>.
30394 [__ASSUME_32BITUIDS]: Make code unconditional.
30395 [!__ASSUME_32BITUIDS]: Remove conditional code.
30396 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
30397 <kernel-features.h>.
30398 [__ASSUME_32BITUIDS]: Make code unconditional.
30399 [!__ASSUME_32BITUIDS]: Remove conditional code.
30400 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
30401 <kernel-features.h>.
30402 [__NR_setresgid] (__setresgid): Do not declare.
30403 [__ASSUME_32BITUIDS]: Make code unconditional.
30404 [!__ASSUME_32BITUIDS]: Remove conditional code.
30405 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
30406 <kernel-features.h>.
30407 [__NR_setresuid] (__setresuid): Do not declare.
30408 [__ASSUME_32BITUIDS]: Make code unconditional.
30409 [!__ASSUME_32BITUIDS]: Remove conditional code.
30410 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
30411 <kernel-features.h>.
30412 [__ASSUME_32BITUIDS]: Make code unconditional.
30413 [!__ASSUME_32BITUIDS]: Remove conditional code.
30414 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
30415 <kernel-features.h>.
30416 [__ASSUME_32BITUIDS]: Make code unconditional.
30417 [!__ASSUME_32BITUIDS]: Remove conditional code.
30418 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
30419 <kernel-features.h>.
30420 [__ASSUME_32BITUIDS]: Make code unconditional.
30421 [!__ASSUME_32BITUIDS]: Remove conditional code.
30422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
30423 <kernel-features.h>.
30424 [__ASSUME_32BITUIDS]: Make code unconditional.
30425 [!__ASSUME_32BITUIDS]: Remove conditional code.
30426 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
30427 <kernel-features.h>.
30428 [__ASSUME_32BITUIDS]: Make code unconditional.
30429 [!__ASSUME_32BITUIDS]: Remove conditional code.
30430 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
30431 <kernel-features.h>.
30432 [__ASSUME_32BITUIDS]: Make code unconditional.
30433 [!__ASSUME_32BITUIDS]: Remove conditional code.
30434 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
30435 <kernel-features.h>.
30436 [__ASSUME_32BITUIDS]: Make code unconditional.
30437 [!__ASSUME_32BITUIDS]: Remove conditional code.
30438 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
30439 <kernel-features.h>.
30440 [__ASSUME_32BITUIDS]: Make code unconditional.
30441 [!__ASSUME_32BITUIDS]: Remove conditional code.
30442 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
30443 <kernel-features.h>.
30444 [__ASSUME_32BITUIDS]: Make code unconditional.
30445 [!__ASSUME_32BITUIDS]: Remove conditional code.
30446 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30447 <kernel-features.h>.
30448 [__ASSUME_32BITUIDS]: Make code unconditional.
30449 [!__ASSUME_32BITUIDS]: Remove conditional code.
30450 * sysdeps/unix/sysv/linux/kernel-features.h
30451 (__ASSUME_SETRESUID_SYSCALL): Remove.
30452 (__ASSUME_SETRESGID_SYSCALL): Likewise.
30453 (__ASSUME_32BITUIDS): Likewise.
30454 (__ASSUME_LDT_WORKS): Likewise.
30455 (__ASSUME_O_DIRECTORY): Likewise.
30456 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
30457 architecture but not kernel version.
30458 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
30459 (__ASSUME_MMAP2_SYSCALL): Likewise.
30460 (__ASSUME_STAT64_SYSCALL): Likewise.
30461 (__ASSUME_IPC64): Likewise.
30462 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
30463 <kernel-features.h>.
30464 [__ASSUME_32BITUIDS]: Make code unconditional.
30465 [!__ASSUME_32BITUIDS]: Remove conditional code.
30466 * sysdeps/unix/sysv/linux/opendir.c: Do not include
30467 <kernel-features.h>.
30468 [__ASSUME_O_DIRECTORY]: Make code unconditional.
30469 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
30470 132096]: Remove conditional code.
30471 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
30472 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30473 <kernel-features.h>.
30474 [__ASSUME_32BITUIDS]: Make code unconditional.
30475 [!__ASSUME_32BITUIDS]: Remove conditional code.
30476 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30477 <kernel-features.h>.
30478 [__ASSUME_32BITUIDS]: Make code unconditional.
30479 [!__ASSUME_32BITUIDS]: Remove conditional code.
30480 * sysdeps/unix/sysv/linux/setegid.c: Do not include
30481 <kernel-features.h>.
30482 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
30484 (__setresgid): Do not declare.
30485 [__ASSUME_32BITUIDS]: Make code unconditional.
30486 [!__ASSUME_32BITUIDS]: Remove conditional code.
30487 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
30488 <kernel-features.h>.
30489 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
30491 (__setresuid): Do not declare.
30492 [__ASSUME_32BITUIDS]: Make code unconditional.
30493 [!__ASSUME_32BITUIDS]: Remove conditional code.
30494 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30495 <kernel-features.h>.
30496 [__ASSUME_32BITUIDS]: Make code unconditional.
30497 [!__ASSUME_32BITUIDS]: Remove conditional code.
30498 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
30499 <kernel-features.h>.
30500 [__ASSUME_32BITUIDS]: Make code unconditional.
30501 [!__ASSUME_32BITUIDS]: Remove conditional code.
30503 2012-05-25 Richard Henderson <rth@twiddle.net>
30505 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
30506 dl_hwcap to ifunc resolver.
30507 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
30509 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
30510 dl_hwcap to ifunc resolver.
30511 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
30513 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30516 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
30517 for |x| <= 2**-26, not 2**-57.
30518 * math/libm-test.inc (acos_test): Do not allow spurious underflow
30521 2012-05-24 Jeff Law <law@redhat.com>
30523 * stdio-common/Makefile (tests): Add bug25.
30524 * stdio-common/bug25.c: New test.
30526 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30529 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
30530 multiple of MALLOC_ALIGNMENT in size.
30531 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
30533 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30535 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
30537 (FILENAME_MAX): Use macro-int-constant.
30538 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
30539 (_IOFBF): Use macro-int-constant.
30540 (_IOLBF): Likewise.
30541 (_IONBF): Likewise.
30542 (SEEK_CUR): Likewise.
30543 (SEEK_END): Likewise.
30544 (SEEK_SET): Likewise.
30545 (TMP_MAX): Likewise.
30546 (EOF): Use macro-int-constant. Require < 0.
30547 (NULL): Use macro-constant. Require == 0.
30548 (stdin): Require type to be FILE *.
30549 (stdout): Likewise.
30550 (stderr): Likewise.
30551 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
30552 macro-int-constant.
30553 (EXIT_SUCCESS): Likewise.
30554 (NULL): Use macro-constant. Require == 0.
30555 (RAND_MAX): Use macro-int-constant.
30556 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
30557 [C99-based standards] (strtof): Require function.
30558 [C99-based standards] (strtold): Likewise.
30559 [C99-based standards] (strtoll): Likewise.
30560 [C99-based standards] (strtoull): Likewise.
30561 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
30562 [ISO || ISO99 || ISO11] (limits.h): Likewise.
30563 [ISO || ISO99 || ISO11] (math.h): Likewise.
30564 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
30565 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
30566 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30568 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
30571 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
30572 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
30573 * intl/dgettext.c (DCGETTEXT): Likewise.
30574 * intl/gettext.c (DCGETTEXT): Likewise.
30575 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
30576 * posix/regex_internal.h (gettext): Likewise.
30577 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
30578 Remove declaration.
30579 * include/argz.h (__argz_count_internal)
30580 (__argz_stringify_internal): Remove declaration.
30581 (__argz_count, __argz_stringify): Declare hidden proto.
30582 * intl/dcgettext.c: Remove use of INTDEF.
30583 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
30584 * string/argz-stringify.c: Likewise.
30585 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30586 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30587 Declare hidden proto.
30588 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
30589 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
30590 Declare hidden proto.
30591 * include/stdio.h (__asprintf_internal): Don't declare.
30592 (__asprintf): Don't define as macro. Declare hidden proto.
30593 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
30594 (__fsetlocking): Declare hidden proto.
30595 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
30596 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
30598 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
30599 (_IO_setlinebuf): Remove use of INTUSE.
30600 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
30601 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
30602 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
30603 Remove declaration.
30604 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
30605 (_IO_do_flush): Remove use of INTUSE.
30606 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
30607 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
30608 (_IO_adjust_column, _IO_least_wmarker)
30609 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
30610 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
30611 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
30612 (_IO_default_doallocate, _IO_wdefault_doallocate)
30613 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
30614 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
30615 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
30616 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
30617 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
30618 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
30619 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
30620 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
30621 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
30622 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
30623 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
30624 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
30625 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
30627 (_IO_flush_all_internal, _IO_adjust_column_internal)
30628 (_IO_default_uflow_internal, _IO_default_finish_internal)
30629 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
30630 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
30631 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
30632 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
30633 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
30634 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
30635 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
30636 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
30637 (_IO_file_close_internal, _IO_file_close_it_internal)
30638 (_IO_file_underflow_internal, _IO_file_overflow_internal)
30639 (_IO_file_init_internal, _IO_file_attach_internal)
30640 (_IO_file_fopen_internal, _IO_file_read_internal)
30641 (_IO_file_sync_internal, _IO_file_seek_internal)
30642 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
30643 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
30644 (_IO_str_underflow_internal, _IO_str_overflow_internal)
30645 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
30646 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
30647 (_IO_list_all_internal, _IO_link_in_internal)
30648 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
30649 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
30650 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
30651 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
30652 (_IO_do_write_internal, _IO_padn_internal)
30653 (_IO_getline_info_internal, _IO_getline_internal)
30654 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
30655 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
30656 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
30657 (_IO_vfscanf_internal, _IO_vfprintf_internal)
30658 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
30659 (_IO_init_internal, _IO_un_link_internal): Don't declare.
30660 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
30661 with libc_hidden_ver, remove use of INTUSE.
30662 * libio/genops.c: Likewise.
30663 * libio/freopen.c: Likewise.
30664 * libio/freopen64.c: Likewise.
30665 * libio/iofclose.c: Likewise.
30666 * libio/iofdopen.c: Likewise.
30667 * libio/iofflush.c: Likewise.
30668 * libio/iofflush_u.c: Likewise.
30669 * libio/iofgets.c: Likewise.
30670 * libio/iofgets_u.c: Likewise.
30671 * libio/iofopen.c: Likewise.
30672 * libio/iofopncook.c: Likewise.
30673 * libio/iofread.c: Likewise.
30674 * libio/iofread_u.c: Likewise.
30675 * libio/ioftell.c: Likewise.
30676 * libio/iofwrite.c: Likewise.
30677 * libio/iogetline.c: Likewise.
30678 * libio/iogets.c: Likewise.
30679 * libio/iogetwline.c: Likewise.
30680 * libio/iopadn.c: Likewise.
30681 * libio/iopopen.c: Likewise.
30682 * libio/ioseekoff.c: Likewise.
30683 * libio/ioseekpos.c: Likewise.
30684 * libio/iosetbuffer.c: Likewise.
30685 * libio/iosetvbuf.c: Likewise.
30686 * libio/ioungetc.c: Likewise.
30687 * libio/ioungetwc.c: Likewise.
30688 * libio/iovdprintf.c: Likewise.
30689 * libio/iovsprintf.c: Likewise.
30690 * libio/iovsscanf.c: Likewise.
30691 * libio/memstream.c: Likewise.
30692 * libio/obprintf.c: Likewise.
30693 * libio/oldfileops.c: Likewise.
30694 * libio/oldiofclose.c: Likewise.
30695 * libio/oldiofdopen.c: Likewise.
30696 * libio/oldiofopen.c: Likewise.
30697 * libio/oldiopopen.c: Likewise.
30698 * libio/oldstdfiles.c: Likewise.
30699 * libio/putc.c: Likewise.
30700 * libio/setbuf.c: Likewise.
30701 * libio/setlinebuf.c: Likewise.
30702 * libio/stdfiles.c: Likewise.
30703 * libio/strops.c: Likewise.
30704 * libio/vasprintf.c: Likewise.
30705 * libio/vscanf.c: Likewise.
30706 * libio/vsnprintf.c: Likewise.
30707 * libio/vswprintf.c: Likewise.
30708 * libio/wfiledoalloc.c: Likewise.
30709 * libio/wfileops.c: Likewise.
30710 * libio/wgenops.c: Likewise.
30711 * libio/wmemstream.c: Likewise.
30712 * libio/wstrops.c: Likewise.
30713 * libio/__fpurge.c: Likewise.
30714 * libio/__fsetlocking.c: Likewise.
30715 * assert/assert.c: Likewise.
30716 * debug/fgets_chk.c: Likewise.
30717 * debug/fgets_u_chk.c: Likewise.
30718 * debug/fread_chk.c: Likewise.
30719 * debug/fread_u_chk.c: Likewise.
30720 * debug/gets_chk.c: Likewise.
30721 * debug/obprintf_chk.c: Likewise.
30722 * debug/vasprintf_chk.c: Likewise.
30723 * debug/vdprintf_chk.c: Likewise.
30724 * debug/vsnprintf_chk.c: Likewise.
30725 * debug/vsprintf_chk.c: Likewise.
30726 * malloc/mtrace.c: Likewise.
30727 * misc/error.c: Likewise.
30728 * misc/syslog.c: Likewise.
30729 * stdio-common/asprintf.c: Likewise.
30730 * stdio-common/fxprintf.c: Likewise.
30731 * stdio-common/getw.c: Likewise.
30732 * stdio-common/isoc99_fscanf.c: Likewise.
30733 * stdio-common/isoc99_scanf.c: Likewise.
30734 * stdio-common/isoc99_vfscanf.c: Likewise.
30735 * stdio-common/isoc99_vscanf.c: Likewise.
30736 * stdio-common/isoc99_vsscanf.c: Likewise.
30737 * stdio-common/printf-prs.c: Likewise.
30738 * stdio-common/printf_fp.c: Likewise.
30739 * stdio-common/printf_fphex.c: Likewise.
30740 * stdio-common/printf_size.c: Likewise.
30741 * stdio-common/putw.c: Likewise.
30742 * stdio-common/scanf.c: Likewise.
30743 * stdio-common/sprintf.c: Likewise.
30744 * stdio-common/tmpfile.c: Likewise.
30745 * stdio-common/vfprintf.c: Likewise.
30746 * stdio-common/vfscanf.c: Likewise.
30747 * stdlib/strfmon_l.c: Likewise.
30748 * sunrpc/openchild.c: Likewise.
30749 * sunrpc/xdr_stdio.c: Likewise.
30750 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
30751 * sysdeps/mach/hurd/tmpfile.c: Likewise.
30753 2012-05-24 Roland McGrath <roland@hack.frob.com>
30755 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
30757 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
30758 in the third column, to generate for the shared library an IFUNC
30759 that uses _dl_vdso_vsym.
30760 * Makerules (COMPILE.c, compile-stdin.c): New variables.
30761 * Makeconfig (object-suffixes-noshared): New variable.
30763 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
30764 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
30765 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
30766 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
30769 * include/sys/time.h (__gettimeofday): Remove macro.
30770 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
30771 * time/gettimeofday.c (__gettimeofday): Remove #undef.
30773 (__gettimeofday): Add libc_hidden_def.
30774 (gettimeofday): Add libc_hidden_weak.
30775 * sysdeps/mach/gettimeofday.c: Likewise.
30776 * sysdeps/posix/gettimeofday.c: Likewise.
30777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30778 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30779 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
30780 (__gettimeofday_internal): Remove strong_alias.
30781 (__gettimeofday): Add libc_hidden_def.
30782 (gettimeofday): Add libc_hidden_weak.
30783 * sysdeps/unix/syscalls.list (gettimeofday):
30784 Remove __gettimeofday_internal alias.
30786 2012-05-24 Daniel Jacobowitz <drow@false.org>
30787 H.J. Lu <hongjiu.lu@intel.com>
30790 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
30791 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
30792 (largebin_index_32_big): New.
30793 (largebin_index): Use it for 16-byte alignment.
30794 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
30795 correction with front_misalign.
30797 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
30799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
30800 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
30802 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
30804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30806 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
30808 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
30810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
30812 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
30814 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30816 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
30818 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
30820 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
30822 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
30825 * scripts/data/c++-types-x32-linux-gnu.data: New file.
30826 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
30828 2012-05-24 Joseph Myers <joseph@codesourcery.com>
30832 * math/libm-test.inc (exp_test): Add test from bug 14036.
30833 (pow_test): Add test from bug 10846.
30835 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
30837 (special_function): Do not include flags in test name.
30838 (parse_args): Likewise.
30839 * sysdeps/i386/fpu/libm-test-ulps: Update.
30840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30841 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30842 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30845 * math/gen-libm-test.pl (%beautify): Add entries for underflow
30847 * math/libm-test.inc ("Philosophy"): Update comment about
30849 (UNDERFLOW_EXCEPTION): New macro.
30850 (UNDERFLOW_EXCEPTION_OK): Likewise.
30851 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
30852 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
30853 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
30854 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
30855 (INVALID_EXCEPTION_OK): Update value.
30856 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30857 (OVERFLOW_EXCEPTION_OK): Likewise.
30858 (IGNORE_ZERO_INF_SIGN): Likewise.
30859 (test_exceptions): Handle underflow exceptions.
30860 (acos_test): Update for underflow exception expectations.
30861 (cexp_test): Likewise.
30862 (clog_test): Likewise.
30863 (clog10_test): Likewise.
30864 (csqrt_test): Likewise.
30865 (ctan_test): Likewise.
30866 (ctanh_test): Likewise.
30867 (exp_test): Likewise.
30868 (exp10_test): Likewise.
30869 (exp2_test): Likewise.
30870 (expm1_test): Likewise.
30871 (fma_test): Likewise.
30872 (j0_test): Likewise.
30873 (jn_test): Likewise.
30874 (nexttoward_test): Likewise.
30875 (pow_test): Likewise.
30876 (scalbn_test): Likewise.
30877 (scalbln_test): Likewise.
30878 (tan_test): Likewise.
30879 (y1_test): Likewise.
30880 * sysdeps/i386/fpu/libm-test-ulps: Update.
30881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30883 2012-05-23 David S. Miller <davem@davemloft.net>
30885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30886 (__libc_sigaction): Remove unused local variables.
30888 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30890 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
30892 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
30894 mktime: avoid signed integer overflow
30895 * time/mktime.c (__mktime_internal): Do not mishandle the case
30896 where diff == INT_MIN.
30898 mktime: simplify computation of average
30899 * time/mktime.c (ranged_convert): Use new time_t_avg function
30900 instead of rolling our own (probably-slower) code.
30902 mktime: do not assume signed right shift propagates sign bit
30903 * time/mktime.c (isdst_differ): New static function.
30904 (__mktime_internal): No need to normalize tm_isdst now.
30905 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
30908 mktime: merge another wrapv change from gnulib
30909 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
30910 from some compilers.
30912 mktime: remove incorrect attempt at unusual arithmetics
30913 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
30914 The code didn't really work on such machines anyway.
30915 (TYPE_MINIMUM): Assume two's complement.
30916 (twos_complement_arithmetic): Verify that long_int and time_t
30917 are two's complement (or unsigned, in the latter case).
30919 mktime: check signed shifts on long_int and time_t, too
30920 * time/mktime.c (SHR): Check that shifts work as desired
30921 on the types long_int and time_t too, as SHR is used on
30924 mktime: do not assume 'long' is wide enough
30925 * time/mktime.c (verify): Move decl up.
30926 (long_int): New type.
30927 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
30928 to remove assumption in the code that 'long' is wide enough to
30929 store year values. This assumption is not true on x32 and on
30930 some non-glibc platforms.
30932 mktime: merge wrapv change from gnulib
30933 * time/mktime.c (WRAPV): New macro.
30934 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
30935 (guess_time_tm, __mktime_internal): Do not assume that signed
30936 integer overflow wraps around; modern compilers generate code
30937 where this assumption is no longer valid.
30939 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30941 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
30942 Replace "jmp L(pseudo_end)" with "ret".
30943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
30946 2012-05-23 Andreas Jaeger <aj@suse.de>
30948 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
30949 * sysdeps/unix/sysv/linux/poll.c: Remove file.
30951 2012-05-23 Andreas Jaeger <aj@suse.de>
30952 Maximilian Attems <max@stro.at>
30954 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
30957 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
30959 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
30960 code so that pseudo_end is just ret and the stack pointer is
30961 correct also for static library in error case.
30963 2012-05-23 Joseph Myers <joseph@codesourcery.com>
30965 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
30966 move to syscalls.list.
30967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
30968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30972 * manual/install.texi (Running make install): Do not mention Linux
30973 kernel version for which pt_chown is not needed.
30974 (Linux): Do not mention problems with nscd with 2.0 kernels.
30975 * INSTALL: Regenerated.
30977 2012-05-23 Andreas Jaeger <aj@suse.de>
30979 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
30980 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
30982 * sysdeps/unix/sysv/linux/s390/bits/mman.h
30983 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30984 * sysdeps/unix/sysv/linux/sh/bits/mman.h
30985 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30986 * sysdeps/unix/sysv/linux/i386/bits/mman.h
30987 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
30989 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30990 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
30991 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
30992 * sysdeps/unix/sysv/linux/bits/in.h
30993 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
30995 2012-05-22 Roland McGrath <roland@hack.frob.com>
30997 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
30998 (PREPARE_VERSION): Just use assert instead, it will be elided
30999 under [NDEBUG] anyway.
31001 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31003 * sysdeps/unix/sysv/linux/Makefile: Include
31004 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31005 (sysdep_routines): Remove sysctl.
31006 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31007 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31008 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31009 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31010 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31012 2012-05-22 Andreas Jaeger <aj@suse.de>
31014 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31015 that pseudo_end is just ret and the stack pointer is correct also
31016 for static library in error case.
31018 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
31021 * nss/nsswitch.c (defconfig_entries): New variable.
31022 (__nss_database_lookup): Don't leak defconfig entries.
31023 (nss_parse_service_list): Don't leak on error paths.
31024 (free_database_entries): New function.
31025 (free_defconfig): New function.
31026 (free_mem): Move common code to free_database_entries.
31028 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31032 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31034 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31035 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31038 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31039 (INTERNAL_SYSCALL_TYPES): Likewise.
31040 (LOAD_ARGS_TYPES_[1-6]): Likewise.
31041 (LOAD_REGS_TYPES_[1-6]): Likewise.
31042 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31043 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31045 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31048 copysignl for GLIBC_2_0.
31049 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31050 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31051 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31052 logbl for GLIBC_2_0.
31053 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31054 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31056 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31061 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31064 * time/mktime.c: Update copyright years.
31066 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
31068 mktime: merge comment-quoting-style change from gnulib
31069 * time/mktime.c: Quote 'like this' in comments.
31070 The GNU coding standards suggest that we no longer quote `like this',
31071 as "`" and "'" are typically rendered asymmetrically nowadays.
31072 The typical gnulib style is to quote 'like this' when quoting
31073 code, and "like this" when quoting English.
31075 * time/mktime.c (compile-command): Add "-I.".
31077 mktime: merge mktime-internal.h change from gnulib
31078 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31080 mktime: merge time_r change from gnulib
31081 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31083 mktime: merge DEBUG change from gnulib
31084 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31085 case system <time.h> has a #define.
31087 mktime: merge <sys/types.h> change from gnulib
31088 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31089 since <time.t> is now guaranteed to define time_t.
31091 mktime: merge HAVE_CONFIG_H change from gnulib
31092 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31094 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
31096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31099 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31101 (struct rusage): Use anonymous union to pad each field to
31104 2012-05-21 David S. Miller <davem@davemloft.net>
31106 * Makefules (o-iterator): Remove .s cases.
31107 (compile-command.s): Delete.
31108 (COMPILE.s): Delete.
31109 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31111 2012-05-21 Joseph Myers <joseph@codesourcery.com>
31113 * configure.in (libc_cv_predef_stack_protector): Only consider
31114 "foobar" and "__stack_chk_fail" lines in libc_undefs.
31115 * configure: Regenerated.
31117 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31120 New macro. Use R*LP on int and pointer.
31121 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31122 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31123 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31124 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31126 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31127 [__WORDSIZE_TIME64_COMPAT32] instead of
31128 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31129 (struct utmp): Likewise.
31130 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31131 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31133 (__WORDSIZE_TIME64_COMPAT32): This.
31134 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31135 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31136 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31137 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31138 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31139 (__WORDSIZE_TIME64_COMPAT32): New macro.
31141 2012-05-21 Andreas Jaeger <aj@suse.de>
31143 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31144 only if [SHARED]. Add prototype for __wcschr_ia32.
31146 2012-05-21 Roland McGrath <roland@hack.frob.com>
31148 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31149 of %rbp unmolested in the jmp_buf while mangling the low bits.
31150 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31151 unmolested high bits of %rbp while demangling the low bits.
31152 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31154 2012-05-21 Andreas Jaeger <aj@suse.de>
31156 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31157 * sunrpc/svc_simple.c: Use it for registerrpc.
31158 * sunrpc/xcrypt.c: Use it for passwd2des.
31160 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31162 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31164 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31165 Don't define if [__SYSCALL_WORDSIZE != 32].
31166 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31169 2012-05-21 Bruno Haible <bruno@clisp.org>
31170 Andreas Jaeger <aj@suse.de>
31172 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31173 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31174 inptr and inend for must_buffer_ch.
31175 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31176 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31177 * stdio-common/Makefile (tests): Remove bug15.
31178 (bug15-ENV): Remove macro.
31179 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31182 2012-05-19 Andreas Jaeger <aj@suse.de>
31183 Roland McGrath <roland@hack.frob.com>
31185 * manual/contrib.texi: Completely rewritten. It contains now an
31186 alphabetical list of contributors and their contributions.
31188 2012-05-21 Richard Henderson <rth@twiddle.net>
31190 * misc/getauxval.c (__getauxval): Use unsigned long int.
31191 * misc/sys/auxv.h: Include <sys/cdefs.h>.
31192 (getauxval): Use unsigned long int.
31194 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
31196 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31198 2012-05-21 Roland McGrath <roland@hack.frob.com>
31200 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31201 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31202 __alignof__ (long double).
31204 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31208 2012-05-20 Richard Henderson <rth@twiddle.net>
31210 * misc/getauxval.c: New file.
31211 * misc/sys/auxv.h: New file.
31212 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31213 (routines): Add getauxval.
31214 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31215 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31216 * elf/dl-sysdep.c (_dl_auxv): Remove.
31217 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31218 * elf/dl-support.c (_dl_auxv): New variable.
31219 (_dl_aux_init): Initialize it.
31220 * manual/startup.texi (Auxiliary Vector): New node.
31221 * sysdeps/generic/bits/hwcap.h: New file.
31222 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31223 * sysdeps/powerpc/sysdep.h: ... here. Include it.
31224 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31225 * sysdeps/sparc/sysdep.h: ... here. Include it.
31226 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31227 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31231 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31234 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31239 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31243 2012-05-19 David S. Miller <davem@davemloft.net>
31245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31247 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31250 * math/s_ccosh.c: Include <float.h>
31251 (__ccosh): Avoid internal overflow calculating sinh and cosh
31252 values before multiplying by sin and cos values.
31253 * math/s_ccoshf.c: Likewise.
31254 * math/s_ccoshl.c: Likewise.
31255 * math/s_csin.c: Likewise.
31256 * math/s_csinf.c: Likewise.
31257 * math/s_csinl.c: Likewise.
31258 * math/s_csinh.c: Likewise.
31259 * math/s_csinhf.c: Likewise.
31260 * math/s_csinhl.c: Likewise.
31261 * math/libm-test.inc (ccos_test): Add more tests.
31262 (ccosh_test): Likewise.
31263 (csin_test): Likewise.
31264 (csinh_test): Likewise.
31265 * sysdeps/i386/fpu/libm-test-ulps: Update.
31266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31268 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
31270 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31271 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31273 * sysdeps/x86_64/x32/_itoa.h: Add comment.
31275 2012-05-19 Joseph Myers <joseph@codesourcery.com>
31277 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31278 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31279 * sysdeps/powerpc/soft-fp/Versions: Likewise.
31280 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31281 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31282 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31283 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31284 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31285 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31286 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31287 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31288 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31289 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31290 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31291 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31292 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31293 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31294 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31295 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31296 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31297 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31298 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31299 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31300 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31301 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31302 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31303 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31304 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31305 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31306 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31307 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31309 2012-05-18 Andreas Jaeger <aj@suse.de>
31311 * csu/.gitignore: Delete.
31313 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31315 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31316 (timex): Use __syscall_slong_t.
31318 2012-05-18 Andreas Jaeger <aj@suse.de>
31319 Carlos O'Donell <carlos_odonell@mentor.com>
31321 * manual/install.texi (Configuring and compiling): Update
31322 description about files modified in the source directory.
31323 * INSTALL: Regenerated.
31325 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31327 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31328 value. Use "or" to set return value to -1.
31329 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31330 negate return value.
31332 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31334 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
31335 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
31336 failure if the compiler has Graphite support disabled.
31337 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
31339 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
31340 (CFLAGS-memmove.c): Likewise.
31341 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
31344 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
31346 * sysdeps/x86_64/x32/_itoa.h: New file.
31348 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
31349 getdents system call only if kernel and user dirents have the
31350 same d_ino and d_off.
31352 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31353 LLONG_MAX != LONG_MAX.
31354 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31355 (_fitoa_word): Likewise.
31357 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
31359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
31360 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
31361 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
31363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
31364 include <bits/wordsize.h>. Check __x86_64__ instead of
31366 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
31367 if __x86_64__ is defined. Use anonymous union on fpstate.
31369 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
31372 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
31374 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31375 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
31376 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
31377 Refer to _rtld_local_ro instead of _rtld_global_ro.
31378 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
31380 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
31382 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
31384 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
31385 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
31386 of _rtld_global, and rtld_progname instead of _dl_argv[0].
31388 * sysdeps/powerpc/powerpc32/dl-machine.c
31389 (__elf_machine_runtime_setup) [PROF]: Don't reference
31392 2012-05-18 Andreas Jaeger <aj@suse.de>
31394 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
31395 function only available for GCCs before 3.4 since GCC 3.4
31396 introduced a builtin.
31398 (llrintf): Likewise.
31399 (llrint): Likewise.
31406 (nearbyint): Likewise.
31407 (nearbyintf): Likewise.
31411 (floorf): Likewise.
31413 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31415 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
31416 on both fields and cast pointer to __syscall_ulong_t.
31418 * bits/types.h (__fsword_t): New type.
31419 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
31420 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
31421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31422 (__FSWORD_T_TYPE): Likewise.
31423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31424 (__FSWORD_T_TYPE): Likewise.
31425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31426 (__FSWORD_T_TYPE): Likewise.
31427 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
31428 (__FSWORD_T_TYPE): Likewise.
31429 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
31430 __SWORD_TYPE with __fsword_t.
31431 (statfs64): Likewise.
31433 2012-05-17 David S. Miller <davem@davemloft.net>
31435 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
31437 2012-05-17 Andreas Jaeger <aj@suse.de>
31439 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
31442 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31444 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
31446 2012-05-17 Andreas Jaeger <aj@suse.de>
31448 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
31451 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31453 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
31455 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
31457 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
31458 * sysdeps/x86_64/tst-mallocalign1.c: New file.
31460 2012-05-17 Andreas Jaeger <aj@suse.de>
31461 Carlos O'Donell <carlos_odonell@mentor.com>
31464 * sysdeps/x86_64/multiarch/init-arch.h
31465 (bit_YMM_Usable): Rename to...
31466 (bit_AVX_Usable): ... this.
31467 (bit_FMA4_Usable): New macro.
31468 (bit_XMM_state): New macro.
31469 (bit_YMM_state): New macro.
31470 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
31471 [__ASSEMBLER__] (index_AVX_Usable): ... this.
31472 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
31473 (CPUID_OSXSAVE): New macro.
31474 (CPUID_AVX): New macro.
31475 (CPUID_FMA4): New macro.
31476 (index_YMM_Usable): Rename to...
31477 (index_AVX_Usable): ... this.
31478 (HAS_AVX): Use HAS_ARCH_FEATURE.
31479 (HAS_FMA4): Likewise.
31480 (HAS_YMM_USABLE): Remove.
31481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31482 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
31484 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
31485 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
31486 * sysdeps/x86_64/multiarch/Makefile: Likewise.
31487 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
31488 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
31490 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
31492 * math/libm-test.c: Support platforms without multiple rounding modes.
31493 * math/bug-nextafter.c: Support platforms without FP exceptions.
31494 * math/bug-nexttoward.c: Likewise.
31495 * math/test-fenv.c: Likewise.
31496 * math/test-misc.c: Likewise.
31497 * stdlib/bug-getcontext.c: Likewise.
31499 2012-05-17 Andreas Jaeger <aj@suse.de>
31501 * manual/examples/search.c (critter_cmp): Change signature to
31503 * manual/string.texi (Collation Functions): Likewise.
31505 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31507 * bits/types.h: Fold copyright years.
31508 * bits/typesizes.h: Likewise.
31509 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
31510 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
31511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
31512 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
31513 * time/time.h: Likewise.
31515 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
31518 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
31519 in instead of returning them. Return void.
31520 (__libc_mallinfo): Accumulate over all arenas.
31521 (__malloc_stats): Adjust for change in int_mallinfo interface.
31523 2012-05-16 Roland McGrath <roland@hack.frob.com>
31526 * configure.in (NM): Add AC_CHECK_TOOL for it.
31527 (libc_extra_cflags): New substituted variable.
31528 Check for -fstack-protector being used implicitly.
31529 * configure: Regenerated.
31530 * config.make.in (config-extra-cflags): New variable,
31531 gets @libc_extra_cflags@.
31532 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
31535 * configure.in: Check for _FORTIFY_SOURCE being predefined.
31536 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
31537 * configure: Regenerated.
31538 * config.make.in (CPPUNDEFS): New substituted variable.
31539 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
31540 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
31541 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
31543 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31545 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
31546 (mq_attr): Use __syscall_slong_t.
31548 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31550 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
31551 Check __x86_64__ instead of __WORDSIZE.
31552 (_STAT_VER_LINUX): Likewise.
31553 (stat): Check __x86_64__ instead of __WORDSIZE. Use
31554 __syscall_ulong_t and __syscall_slong_t.
31555 (stat64): Likewise.
31557 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31559 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
31561 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31563 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
31565 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31567 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
31570 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
31571 include <bits/wordsize.h>. Check __x86_64__ instead of
31573 (greg_t): Use "__extension__ long long int" if __x86_64__ is
31575 (mcontext_t): Replace "unsigned long" with "unsigned long long".
31577 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
31578 include <bits/wordsize.h>. Check __x86_64__ instead of
31580 (user_regs_struct): Use "__extension__ unsigned long long"
31581 instead of "unsigned long" if __x86_64__ is defined.
31582 (user): Likewise. Pad after pointer field if __ILP32__ is
31585 2012-05-16 Joseph Myers <joseph@codesourcery.com>
31587 * configure.in (makeinfo): Require version 4.5 or later. Allow
31589 * configure: Regenerated.
31590 * manual/install.texi (texinfo): Increase version requirement to
31592 * INSTALL: Regenerated.
31594 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
31596 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
31598 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
31600 * sysdeps/x86_64/x32/ffs.c: New file.
31602 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
31604 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
31605 defined. Use __syscall_ulong_t.
31606 (shminfo): Use __syscall_ulong_t.
31607 (shm_info): Likewise.
31609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
31612 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
31614 (msgqnum_t): Use __syscall_ulong_t.
31615 (msglen_t): Likewise.
31616 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
31619 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
31620 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31622 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
31624 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
31625 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
31627 * sysvipc/sys/msg.h (msgbuf): Replace long int with
31630 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
31631 include <bits/wordsize.h>. Check __x86_64__ instead of
31634 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
31635 "unsigned long long int" if __x86_64__ is defined.
31636 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
31638 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
31639 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
31640 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
31642 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
31644 (GET_PC): Cast to uintptr_t first.
31645 (GET_FRAME): Likewise.
31646 (GET_STACK): Likewise.
31648 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
31649 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
31650 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
31651 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
31652 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
31653 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
31654 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
31655 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
31656 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
31658 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
31659 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
31660 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31661 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
31662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
31663 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
31664 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
31665 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
31666 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
31667 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
31668 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
31669 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
31670 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
31671 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
31672 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
31673 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
31674 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
31675 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
31676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
31678 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
31680 * Makerules (+depfiles): Also collect depfiles from .oS in
31682 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
31683 .oS, $(libnldbl-routines)).
31685 * Makerules (native-compile-mkdep-flags): Define.
31686 * sunrpc/Makefile (extra-objs): Add $(addprefix
31687 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
31688 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
31689 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
31690 calling $(make-target-directory).
31692 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31694 * bits/types.h (__snseconds_t): Removed.
31695 * time/time.h (struct timespec): Replace __snseconds_t with
31697 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
31698 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
31700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31701 (__SNSECONDS_T_TYPE): Likewise.
31702 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31703 (__SNSECONDS_T_TYPE): Likewise.
31704 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31705 (__SNSECONDS_T_TYPE): Likewise.
31707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31709 * sysdeps/mach/hurd/bits/typesizes.h
31710 (__SYSCALL_SLONG_TYPE): New macro.
31711 (__SYSCALL_ULONG_TYPE): Likewise.
31713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31715 * bits/types.h (__syscall_slong_t): New type.
31716 (__syscall_ulong_t): Likewise.
31718 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
31719 (__SYSCALL_ULONG_TYPE): Likewise.
31720 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31721 (__SYSCALL_SLONG_TYPE): Likewise.
31722 (__SYSCALL_ULONG_TYPE): Likewise.
31723 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31724 (__SYSCALL_SLONG_TYPE): Likewise.
31725 (__SYSCALL_ULONG_TYPE): Likewise.
31726 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31727 (__SYSCALL_SLONG_TYPE): Likewise.
31728 (__SYSCALL_ULONG_TYPE): Likewise.
31730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31732 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
31733 Add sigaltstack-offsets.sym.
31734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
31735 <sigaltstack-offsets.h>.
31736 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
31737 longjmp_msg pointer.
31738 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
31739 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
31741 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
31743 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31745 * elf/stackguard-macros.h: Remove file.
31746 * sysdeps/generic/stackguard-macros.h: New file.
31747 * sysdeps/i386/stackguard-macros.h: Likewise.
31748 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
31749 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
31750 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
31751 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
31752 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
31753 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
31754 * sysdeps/x86_64/stackguard-macros.h: Likewise.
31755 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
31756 <elf/stackguard-macros.h>.
31759 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
31760 __aligned__ in attribute.
31761 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
31762 (gregset_t): Likewise.
31764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31766 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
31767 * sysdeps/x86_64/64/Implies-after: Here. New file.
31768 * sysdeps/x86_64/x32/Implies-after: New file.
31770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31772 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
31773 and access return value for _dl_profile_fixup. Use R10_LP to
31776 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31778 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
31780 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31782 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
31783 * sysdeps/x86_64/x32/sysdep.h: New file.
31785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31787 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
31788 * sysdeps/x86_64/setjmp.S: Likewise.
31790 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31792 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
31793 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
31794 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
31795 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
31796 remove unused global constant.
31798 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
31800 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
31801 include of <not-cancel.h>.
31803 2012-05-15 Roland McGrath <roland@hack.frob.com>
31805 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
31807 2012-05-15 Jeff Law <law@redhat.com>
31808 Andreas Jaeger <aj@suse.de>
31811 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
31813 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
31814 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
31815 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
31816 code changing __hst_map_handle.map.
31818 2012-05-15 Roland McGrath <roland@hack.frob.com>
31820 * configure.in (sysnames): Look for Implies-before and Implies-after
31822 * configure: Regenerated.
31824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31826 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
31827 8-byte data alignment with LP_SIZE alignment.
31829 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31831 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
31834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31836 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
31838 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31840 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
31841 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
31842 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
31844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
31846 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31848 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
31849 (stackinfo_sub_sp): Likewise.
31851 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31853 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
31856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31858 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31861 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31863 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
31866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31868 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
31870 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31872 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
31873 into R11_LP and load __x86_64_shared_cache_size_half into
31876 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
31878 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
31881 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
31885 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
31887 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
31889 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
31890 powerpc32/power7/fpu/s_logb.c via #include.
31891 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
31892 powerpc32/power7/fpu/s_logbf.c via #include.
31893 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
31894 powerpc32/power7/fpu/s_logbl.c via #include.
31896 2012-05-15 Joseph Myers <joseph@codesourcery.com>
31898 * README.libm: Remove file.
31900 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31902 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
31903 count for x32. Use R*_LP and omit operand-size suffix.
31905 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31907 * shlib-versions: Move x86_64-.*-linux.* entries to ...
31908 * sysdeps/x86_64/64/shlib-versions: Here. New file.
31909 * sysdeps/x86_64/x32/shlib-versions: New file.
31911 2012-05-14 Roland McGrath <roland@hack.frob.com>
31913 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
31914 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
31915 Use _dl_fatal_printf instead.
31917 2012-05-14 Joseph Myers <joseph@codesourcery.com>
31919 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
31920 set if not set by the user. Do not allow for being unset.
31921 * sysdeps/unix/sysv/linux/configure: Regenerated.
31923 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31925 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
31926 the `q' suffix from lea and replace .quad with ASM_ADDR.
31928 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31930 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
31931 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
31933 (PTR_DEMANGLE): Likewise.
31935 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31937 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
31939 (ASM_ADDR): Likewise.
31940 (RAX_LP): Likewise.
31941 (RBP_LP): Likewise.
31942 (RBX_LP): Likewise.
31943 (RCX_LP): Likewise.
31944 (RDI_LP): Likewise.
31945 (RSI_LP): Likewise.
31946 (RSP_LP): Likewise.
31949 (R10_LP): Likewise.
31950 (R10_LP): Likewise.
31951 (R11_LP): Likewise.
31952 (R12_LP): Likewise.
31953 (R13_LP): Likewise.
31954 (R14_LP): Likewise.
31955 (R15_LP): Likewise.
31957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31959 * sysdeps/x86_64/x32/dl-machine.h: New file.
31961 2012-05-14 Andreas Jaeger <aj@suse.de>
31963 * manual/Makefile (subdir): Remove export of subdir.
31964 (all): Remove target.
31965 (.PHONY): Remove all from list.
31966 (mkinstalldirs): Remove.
31967 (.PHONY): Remove installdirs from list.
31968 ($(inst_infodir)/libc.info): Use make-target-directory.
31969 (installdirs): Remove.
31970 (subdir_%): Remove.
31971 (glibc-targets): Remove.
31974 ($(objpfx)stubs ../po/manual.pot): Remove.
31975 ($(objpfx)stamp%): Remove.
31976 (make-target-directory): Remove.
31977 (subdir_install): Remove.
31978 (routines): Remove.
31985 * manual/.gitignore: Remove, it's not needed anymore.
31986 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
31988 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
31990 (texis): Renamed to $(objpfx)texis.
31991 (texis-path): New, contains path to generated files.
31992 (chapters.%): Use texis-path for complete path, add extra argument
31994 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
31995 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
31996 (summary,texi, stamp-summary): Use complete path of
31997 files. Generate files in build dir.
31998 (dir-add.texi): Build in build dir.
31999 (libm-err.texi,stamp-libm-err): Likewise.
32000 (version.texi, stamp-version): Likewise.
32001 (.%c.texi): Likewise.
32002 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32003 (mostlyclean): Remove target.
32004 (realclean): Remove target.
32005 (generated): Add new variable with contents from mostlyclean and
32006 realclean, remove entries duplicated in common-mostlyclean, add
32007 stamp-libm-err and stamp-version.
32008 (generated-dirs): Add libc directory.
32009 ($(inst_infodir)/libc.info): Install files from build dir.
32011 * manual/install.texi (Configuring and compiling): Adjust since
32012 the info files are not part of the tar ball anymore.
32014 2012-05-14 Andreas Jaeger <aj@suse.de>
32016 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32019 2012-05-14 Joseph Myers <joseph@codesourcery.com>
32022 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32023 to 2.2.0 where earlier.
32024 * sysdeps/unix/sysv/linux/configure: Regenerated.
32025 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32026 Remove conditional code.
32027 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32028 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32029 Remove conditional code.
32030 [!__NR_lchown]: Likewise.
32031 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32032 [__NR_lchown]: Likewise.
32033 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32034 comment referencing __ASSUME_LCHOWN_SYSCALL.
32035 * sysdeps/unix/sysv/linux/i386/sigaction.c
32036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32038 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32039 Remove conditional code.
32040 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32041 (__protocol_available): Remove #if 0 code.
32042 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32044 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32045 * sysdeps/unix/sysv/linux/kernel-features.h
32046 (__ASSUME_GETCWD_SYSCALL): Don't define.
32047 (__ASSUME_REALTIME_SIGNALS): Likewise.
32048 (__ASSUME_PREAD_SYSCALL): Likewise.
32049 (__ASSUME_PWRITE_SYSCALL): Likewise.
32050 (__ASSUME_POLL_SYSCALL): Likewise.
32051 (__ASSUME_LCHOWN_SYSCALL): Likewise.
32052 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32054 (__ASSUME_SIOCGIFNAME): Don't define.
32055 (__ASSUME_MSG_NOSIGNAL): Likewise.
32056 (__ASSUME_SENDFILE): Define unconditionally.
32057 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32058 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32060 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32061 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32062 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32063 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32064 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32065 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32066 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32068 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32069 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32071 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32072 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32074 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32075 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32077 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32080 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32081 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32083 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32086 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32087 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32089 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32091 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32092 Remove conditional code.
32093 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32094 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32095 Remove conditional code.
32096 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32097 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32098 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32099 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32100 Remove conditional code.
32101 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32102 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32103 Remove conditional code.
32104 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32105 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32106 Remove conditional code.
32107 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32108 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32109 Remove conditional code.
32110 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32111 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32112 Remove conditional code.
32113 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32114 * sysdeps/unix/sysv/linux/sh/pwrite64.c
32115 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32116 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32117 * sysdeps/unix/sysv/linux/sigaction.c
32118 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32119 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32120 * sysdeps/unix/sysv/linux/sigpending.c
32121 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32122 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32123 * sysdeps/unix/sysv/linux/sigprocmask.c
32124 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32125 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32126 * sysdeps/unix/sysv/linux/sigsuspend.c
32127 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32128 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32129 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32130 (__libc_missing_rt_sigs): Remove.
32131 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32132 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32133 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32134 Remove conditional code.
32135 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32136 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32138 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32139 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32140 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32141 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32143 2012-05-14 Andreas Jaeger <aj@suse.de>
32145 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32146 it's not used in glibc.
32147 (__coshm1): Likewise.
32148 (__acosh1p): Likewise.
32151 * manual/string.texi (Copying and Concatenation): Add missing
32152 variable in concat example.
32153 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32155 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32158 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32159 __builtin_clzl with __builtin_clzll.
32161 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32164 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32167 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32169 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32170 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32171 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32172 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32174 2012-05-14 Mike Frysinger <vapier@gentoo.org>
32176 * NEWS: Update ia64 info.
32178 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
32180 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32183 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
32185 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32186 * sysdeps/unix/syscalls.list (dup3): Likewise.
32187 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32188 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32190 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32192 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32193 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32195 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
32197 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32199 (TLS_IE): Use mov/add instead of movq/addq to load thread
32201 (TLS_GD_PREFIX): New.
32204 2012-05-11 David S. Miller <davem@davemloft.net>
32206 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32207 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32208 (_FPU_SETCW): Likewise.
32210 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32212 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32213 is 32-byte aligned.
32215 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
32218 * iconvdata/gb18030.c: Update tables.
32219 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
32220 characters specially.
32221 (BODY for TO_LOOP): Add encoding of missing ranges.
32223 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
32226 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32227 * sysdeps/mach/hurd/dup3.c: Likewise.
32228 * sysdeps/mach/hurd/readlinkat.c: Likewise.
32229 * sysdeps/powerpc/memmove.c:: Likewise.
32231 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32233 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32234 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32236 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32238 * elf/elf.h (R_X86_64_RELATIVE64): New.
32239 (R_X86_64_NUM): Updated.
32240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32241 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
32242 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32243 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32244 tst-quad1pie tst-quad2pie
32245 (modules-names): Add tst-quadmod1 tst-quadmod2.
32246 ($(objpfx)tst-quad1): New dependency.
32247 ($(objpfx)tst-quad2): Likewise.
32248 ($(objpfx)tst-quad1pie): Likewise.
32249 ($(objpfx)tst-quad2pie): Likewise.
32250 * sysdeps/x86_64/tst-quad1.c: New file.
32251 * sysdeps/x86_64/tst-quad1pie.c: New file.
32252 * sysdeps/x86_64/tst-quad2.c: Likewise.
32253 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32254 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32255 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32256 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32257 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32259 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32261 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32262 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32263 * streams/stropts.h (t_scalar_t): Define type.
32265 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32266 (_PATH_PRESERVE): Set to "/var/lib".
32267 (_PATH_RWHODIR): Set to "/var/spool/rwho".
32269 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32272 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32273 if __dir_mkfile succeeded.
32275 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32276 checking for _hurd_dtablesize. Unlock it right after having
32277 finished _hurd_dtable allocation.
32279 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32281 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32282 * sysdeps/mach/hurd/configure: Regenerated.
32283 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32284 special-casing to...
32285 * sysdeps/gnu/configure.in: ... this new file.
32286 * sysdeps/unix/sysv/linux/configure: Regenerated.
32287 * sysdeps/gnu/configure: New generated file.
32289 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32290 for Linux: use nsec instead of usec, as well as:
32291 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32292 members of type struct timespec.
32293 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32295 (struct stat64): Likewise.
32296 (_STATBUF_ST_NSEC): New macro.
32297 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32299 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32300 __strtoul_internal rather than strtoul.
32302 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32304 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32309 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32310 which preserves existing values.
32311 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32313 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32315 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32316 TIMEOUT values. Return EINVAL for NFDS values either negative or
32317 greater than FD_SETSIZE.
32319 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32321 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32322 allocated, call __vm_protect to finish enabling the existing space, and
32323 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32324 allocate the remainder.
32326 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32328 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32329 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
32331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32333 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
32334 sysdeps/mach/hurd/readlink.c.
32336 * posix/tst-sysconf.c (posix_options): Only use
32337 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
32338 _POSIX_SYNCHRONIZED_IO when they are defined
32339 * sysdeps/mach/hurd/bits/posix_opt.h:
32340 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
32341 (_XOPEN_REALTIME): Undefine macro.
32342 (_XOPEN_REALTIME_THREADS): Undefine macro.
32343 (_XOPEN_SHM): Undefine macro.
32344 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
32346 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
32348 (_POSIX_ASYNC_IO): Undefine macro.
32349 (_POSIX_PRIORITIZED_IO): Undefine macro.
32350 (_POSIX_SPIN_LOCKS): Define macro to -1.
32352 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
32353 SA_NODEFER, SA_RESETHAND.
32354 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
32355 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
32358 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32360 * elf/Makefile (pldd-modules): Define unconditionally.
32362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32364 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
32366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32368 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
32369 Return ENOENT when name is empty.
32370 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
32372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32374 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
32376 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
32378 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32380 Fix mlock in all cases except non-readable pages.
32381 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
32382 instead of VM_PROT_ALL as parameter to __vm_wire function.
32384 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
32385 (__mkdir): When path is `/', just fail with EEXIST.
32386 * sysdeps/mach/hurd/mkdirat.c: Likewise.
32388 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32390 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
32391 <sys/uio.h> (for writev).
32392 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
32393 and <sys/param.h> (for MIN).
32395 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
32397 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
32398 REQUESTED_TIME. Properly set the remaining time and return EINTR
32401 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32403 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
32404 Depend on against $(link-rpcuserlibs).
32406 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32408 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
32409 (__libc_stack_end): Do not use attribute_relro.
32410 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
32411 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
32412 to libthread-provided value.
32413 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
32416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32419 * bits/libc-lock.h (__libc_once_get): New macro.
32420 * sysdeps/mach/bits/libc-lock.h: Likewise.
32421 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
32422 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
32423 instead of using implementation details.
32425 * libio/fileops.c: Unconditionally include <kernel-features.h>.
32426 * libio/freopen.c: Likewise.
32427 * libio/freopen64.c: Likewise.
32428 * misc/syslog.c: Likewise.
32429 * nscd/connections.c: Likewise.
32430 * nscd/netgroupcache.c: Likewise.
32431 * sysdeps/posix/getcwd.c: Likewise.
32433 2012-05-10 Roland McGrath <roland@hack.frob.com>
32435 * math/w_ilogbf.c: Add #include <limits.h>.
32437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32439 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
32440 path instead of returning without unlocking.
32442 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
32443 immediate-write ioctls.
32444 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
32446 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32448 * sysdeps/mach/hurd/i386/init-first.c (init): Use
32449 __builtin_frame_address instead of making assumptions about the
32450 location of the return address relative to DATA. Force early load of
32451 the return address.
32452 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
32453 __builtin_frame_address.
32456 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
32457 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
32458 implement dup3 and do some further code clean-ups.
32459 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
32460 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
32462 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32464 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
32466 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
32467 HURD_CRITICAL_END around holding _hurd_dtable_lock.
32468 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
32469 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
32470 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
32473 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
32474 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
32475 when handler == SIG_ERR, not when handler != SIG_ERR.
32477 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32479 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
32480 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
32483 accept4 for GNU Hurd.
32484 * include/sys/socket.h (__libc_accept4): New prototype.
32485 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
32486 to implement __libc_accept4.
32487 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
32489 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
32491 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
32492 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
32493 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
32494 signal-defines.sym.
32496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32498 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
32500 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
32502 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
32503 assertion on O_CLOEXEC flag.
32504 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
32505 * hurd/intern-fd.c: Likewise.
32506 * hurd/port2fd.c: Likewise.
32508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
32511 * bits/in.h (IPV6_PKTINFO): Define new macro.
32512 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
32514 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32519 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
32520 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32521 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
32522 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32523 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32524 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32525 * math/libm-test.inc (logb_test) : Additional logb tests.
32527 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
32528 Andreas Jaeger <aj@suse.de>
32530 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
32531 * configure: Regenerated.
32532 * config.h.in (LINK_OBSOLETE_RPC): New macro.
32533 * config.make.in (link-obsolete-rpc): New substituted variable.
32534 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
32535 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
32536 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32537 (shared-only-routines): Don't set it under [link-obsolete-rpc],
32538 so that libc.a contains the symbols.
32539 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
32540 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
32541 * sunrpc/auth_none.c: Likewise.
32542 * sunrpc/auth_unix.c: Likewise.
32543 * sunrpc/authdes_prot.c: Likewise.
32544 * sunrpc/authuxprot.c: Likewise.
32545 * sunrpc/clnt_gen.c: Likewise.
32546 * sunrpc/clnt_perr.c: Likewise.
32547 * sunrpc/clnt_raw.c: Likewise.
32548 * sunrpc/clnt_simp.c: Likewise.
32549 * sunrpc/clnt_tcp.c: Likewise.
32550 * sunrpc/clnt_udp.c: Likewise.
32551 * sunrpc/clnt_unix.c: Likewise.
32552 * sunrpc/des_crypt.c: Likewise.
32553 * sunrpc/des_soft.c: Likewise.
32554 * sunrpc/get_myaddr.c: Likewise.
32555 * sunrpc/key_call.c: Likewise.
32556 * sunrpc/key_prot.c: Likewise.
32557 * sunrpc/netname.c: Likewise.
32558 * sunrpc/pm_getmaps.c: Likewise.
32559 * sunrpc/pm_getport.c: Likewise.
32560 * sunrpc/pmap_clnt.c: Likewise.
32561 * sunrpc/pmap_prot.c: Likewise.
32562 * sunrpc/pmap_prot2.c: Likewise.
32563 * sunrpc/pmap_rmt.c: Likewise.
32564 * sunrpc/publickey.c: Likewise.
32565 * sunrpc/rpc_cmsg.c: Likewise.
32566 * sunrpc/rpc_common.c: Likewise.
32567 * sunrpc/rpc_dtable.c: Likewise.
32568 * sunrpc/rpc_prot.c: Likewise.
32569 * sunrpc/rpc_thread.c: Likewise.
32570 * sunrpc/rtime.c: Likewise.
32571 * sunrpc/svc.c: Likewise.
32572 * sunrpc/svc_auth.c: Likewise.
32573 * sunrpc/svc_raw.c: Likewise.
32574 * sunrpc/svc_run.c: Likewise.
32575 * sunrpc/svc_tcp.c: Likewise.
32576 * sunrpc/svc_udp.c: Likewise.
32577 * sunrpc/svc_unix.c: Likewise.
32578 * sunrpc/svcauth_des.c: Likewise.
32579 * sunrpc/xcrypt.c: Likewise.
32580 * sunrpc/xdr.c: Likewise.
32581 * sunrpc/xdr_array.c: Likewise.
32582 * sunrpc/xdr_float.c: Likewise.
32583 * sunrpc/xdr_intXX_t.c: Likewise.
32584 * sunrpc/xdr_mem.c: Likewise.
32585 * sunrpc/xdr_rec.c: Likewise.
32586 * sunrpc/xdr_ref.c: Likewise.
32587 * sunrpc/xdr_sizeof.c: Likewise.
32588 * sunrpc/xdr_stdio.c: Likewise.
32590 2012-05-10 Roland McGrath <roland@hack.frob.com>
32592 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
32593 change. Update copyright years.
32595 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32597 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
32599 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
32600 Joseph Myers <joseph@codesourcery.com>
32601 Paul Pluzhnikov <ppluzhnikov@google.com>
32604 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
32606 [cross-compiling] (extra-libs): Likewise.
32607 [cross-compiling] (extra-libs-others): Likewise.
32608 [cross-compiling] (librpcsvc-routines): Likewise.
32609 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
32610 [cross-compiling] (omit-deps): Likewise.
32611 (sunrpc-CPPFLAGS): New variable.
32612 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
32613 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
32614 (cross-rpcgen-objs): New variable.
32615 (extra-objs): Append $(cross-rpcgen-objs).
32616 ($(cross-rpcgen-objs)): New rule.
32617 ($(objpfx)cross-rpcgen): Likewise.
32618 (rpcgen-cmd): Define to use $(built-program-file). Expand
32620 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
32621 ($(objpfx)x%.stmp): Likewise.
32622 * sunrpc/proto.h [IS_IN_build] (_): Define.
32623 [IS_IN_build] (_libc_intl_domainname): Likewise.
32625 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
32627 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
32628 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
32629 and R_X86_64_TPOFF64.
32631 2012-05-10 Joseph Myers <joseph@codesourcery.com>
32633 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
32634 sysdeps/unix/sysv/syscalls.list.
32637 * sysdeps/unix/sysv/syscalls.list: Remove file.
32639 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
32642 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
32643 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
32644 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
32645 (__LC_IDENTIFICATION): Make these macros useful in #if
32646 expressions, as required by C99.
32648 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
32650 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
32651 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
32654 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
32656 * stdlib/longlong.h: Updated from GCC.
32658 2012-05-09 Andreas Jaeger <aj@suse.de>
32660 * nscd/nscd.c (run_modes): Make named enum, reorder so that
32661 default is first entry.
32662 (run_mode): Set type.
32663 (main): Remove informal message about syslog.
32664 (options): Fix typo.
32667 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
32670 (llrintf): Likewise.
32671 (llrint): Likewise.
32674 (nearbyint): Likewise.
32675 (nearbyintf): Likewise.
32677 2012-05-09 Andreas Jaeger <aj@suse.de>
32678 Pedro Alves <palves@redhat.com>
32680 * nscd/nscd.c (run_mode): Use enum.
32681 (main): Cleanup coding style issue.
32683 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
32684 Andreas Jaeger <aj@suse.de>
32686 * nscd/nscd.c (go_background): Replaced with...
32687 (run_mode): ... this.
32688 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
32689 (options): Add -F --foreground.
32690 (main): Implement it.
32691 (parse_opt): Parse it.
32693 2012-05-09 Andreas Jaeger <aj@suse.de>
32696 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
32697 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
32698 -Wconversion warning.
32699 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
32702 2012-05-09 Joseph Myers <joseph@codesourcery.com>
32704 * conform/data/locale.h-data (NULL): Use macro-constant. Require
32706 (LC_ALL): Use macro-int-constant.
32707 (LC_COLLATE): Likewise.
32708 (LC_CTYPE): Likewise.
32709 (LC_MESSAGES): Likewise.
32710 (LC_MONETARY): Likewise.
32711 (LC_NUMERIC): Likewise.
32712 (LC_TIME): Likewise.
32713 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
32714 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32716 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
32718 [C99-based standards] (float_t): Expect type.
32719 [C99-based standards] (double_t): Expect type.
32720 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
32722 [C99-based standards] (HUGE_VALL): Likewise.
32723 [C99-based standards] (INFINITY): Likewise.
32724 [C99-based standards] (NAN): Likewise.
32725 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
32726 [C99-based standards] (FP_NAN): Likewise.
32727 [C99-based standards] (FP_NORMAL): Likewise.
32728 [C99-based standards] (FP_SUBNORMAL): Likewise.
32729 [C99-based standards] (FP_ZERO): Likewise.
32730 [C99-based standards] (FP_FAST_FMA): Use
32731 optional-macro-int-constant. Specify type. Require == 1.
32732 [C99-based standards] (FP_FAST_FMAF): Likewise.
32733 [C99-based standards] (FP_FAST_FMAL): Likewise.
32734 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
32735 [C99-based standards] (FP_ILOGBNAN): Likewise.
32736 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
32738 [C99-based standards] (MATH_ERREXCEPT): Likewise.
32739 [C99-based standards] (math_errhandling): Specify type.
32740 [ISO99 || ISO11] (signgam): Do not allow.
32741 [non-C99-based standards] (copysignf): Do not allow.
32742 [non-C99-based standards] (exp2f): Likewise.
32743 [non-C99-based standards] (log2f): Likewise.
32744 [non-C99-based standards] (modff): Allow.
32745 [non-C99-based standards] (erff): Do not allow.
32746 [non-C99-based standards] (erfcf): Likewise.
32747 [non-C99-based standards] (gammaf): Likewise.
32748 [non-C99-based standards] (hypotf): Likewise.
32749 [non-C99-based standards] (j0f): Likewise.
32750 [non-C99-based standards] (j1f): Likewise.
32751 [non-C99-based standards] (jnf): Likewise.
32752 [non-C99-based standards] (lgammaf): Likewise.
32753 [non-C99-based standards] (tgammaf): Likewise.
32754 [non-C99-based standards] (y0f): Likewise.
32755 [non-C99-based standards] (y1f): Likewise.
32756 [non-C99-based standards] (ynf): Likewise.
32757 [non-C99-based standards] (isnanf): Likewise.
32758 [non-C99-based standards] (acoshf): Likewise.
32759 [non-C99-based standards] (asinhf): Likewise.
32760 [non-C99-based standards] (atanhf): Likewise.
32761 [non-C99-based standards] (cbrtf): Likewise.
32762 [non-C99-based standards] (expm1f): Likewise.
32763 [non-C99-based standards] (ilogbf): Likewise.
32764 [non-C99-based standards] (log1pf): Likewise.
32765 [non-C99-based standards] (logbf): Likewise.
32766 [non-C99-based standards] (nextafterf): Likewise.
32767 [non-C99-based standards] (remainderf): Likewise.
32768 [non-C99-based standards] (rintf): Likewise.
32769 [non-C99-based standards] (scalbf): Likewise.
32770 [non-C99-based standards] (copysignl): Likewise.
32771 [non-C99-based standards] (exp2l): Likewise.
32772 [non-C99-based standards] (log2l): Likewise.
32773 [non-C99-based standards] (modfl): Allow.
32774 [non-C99-based standards] (erfl): Do not allow.
32775 [non-C99-based standards] (erfcl): Likewise.
32776 [non-C99-based standards] (gammal): Likewise.
32777 [non-C99-based standards] (hypotl): Likewise.
32778 [non-C99-based standards] (j0l): Likewise.
32779 [non-C99-based standards] (j1l): Likewise.
32780 [non-C99-based standards] (jnl): Likewise.
32781 [non-C99-based standards] (lgammal): Likewise.
32782 [non-C99-based standards] (tgammal): Likewise.
32783 [non-C99-based standards] (y0l): Likewise.
32784 [non-C99-based standards] (y1l): Likewise.
32785 [non-C99-based standards] (ynl): Likewise.
32786 [non-C99-based standards] (isnanl): Likewise.
32787 [non-C99-based standards] (acoshl): Likewise.
32788 [non-C99-based standards] (asinhl): Likewise.
32789 [non-C99-based standards] (atanhl): Likewise.
32790 [non-C99-based standards] (cbrtl): Likewise.
32791 [non-C99-based standards] (expm1l): Likewise.
32792 [non-C99-based standards] (ilogbl): Likewise.
32793 [non-C99-based standards] (log1pl): Likewise.
32794 [non-C99-based standards] (logbl): Likewise.
32795 [non-C99-based standards] (nextafterl): Likewise.
32796 [non-C99-based standards] (remainderl): Likewise.
32797 [non-C99-based standards] (rintl): Likewise.
32798 [non-C99-based standards] (scalbl): Likewise.
32799 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32800 [non-C99-based standards] (FP_*): Do not allow.
32801 [C99-based standards] (FP_*): Change to
32802 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
32803 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32805 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
32806 (SIG_ERR): Likewise.
32807 [X/Open-based standards] (SIG_HOLD): Likewise.
32808 (SIG_IGN): Likewise.
32809 (SIGABRT): Use macro-int-constant. Specify type. Require
32811 (SIGFPE): Likewise.
32812 (SIGILL): Likewise.
32813 (SIGINT): Likewise.
32814 (SIGSEGV): Likewise.
32815 (SIGTER): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
32817 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
32819 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
32820 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
32821 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
32822 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
32823 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
32824 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
32825 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
32826 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
32827 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
32828 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
32829 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
32830 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
32831 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
32832 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
32833 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
32834 [X/Open-based standards] (SIGTRAP): Likewise.
32835 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
32837 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
32838 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
32839 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32842 2012-05-08 Ian Wienand <ianw@vmware.com>
32845 * time/tzset.c (__tzset_parse_tz): Update default rules for
32846 daylight time changes in the Energy Policy Act of 2005.
32848 2012-05-09 Andreas Jaeger <aj@suse.de>
32851 * elf/ldconfig.c (parse_conf): Change string to make clear that
32852 ldconfig only issued a warning if ld.so.conf does not exist.
32854 2012-05-08 David S. Miller <davem@davemloft.net>
32856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
32857 movxtod instead of popping the value on the stack.
32859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32861 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
32863 * config.h.in: Add HAVE_ARM_PCS_VFP.
32865 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
32868 * include/features.h: Warn if user requests __FORTIFY_SOURCE
32869 checking but the checks are disabled for any reason.
32871 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
32873 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
32874 and ELF64_R_TYPE with ELFW(R_TYPE).
32876 2012-05-08 Joseph Myers <joseph@codesourcery.com>
32878 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
32879 (ulimit): Likewise.
32881 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
32882 (settimeofday): Likewise.
32884 2012-05-08 Mike Frysinger <vapier@gentoo.org>
32886 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
32887 a struct th_u2 inside the union, and move tu_block/tu_code into
32888 a new th_u3 union of tu_block/tu_code inside of that. Move
32889 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
32890 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
32891 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
32892 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
32893 (th_stuff): Change to th_u1.tu_stuff.
32895 (th_msg): Change to th_u1.th_u2.tu_data.
32897 2012-05-07 David S. Miller <davem@davemloft.net>
32899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32902 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
32903 (SETUP_PIC_REG): Use it.
32904 (SETUP_PIC_REG_LEAF): Use it.
32906 2012-05-07 Joseph Myers <joseph@codesourcery.com>
32910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32912 (EXPL_FINITE): Likewise.
32913 (FLDLOG): Likewise.
32914 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32915 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32917 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32919 (EXPL_FINITE): Likewise.
32920 (FLDLOG): Likewise.
32921 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
32922 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
32924 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
32925 test of -max_value argument for long double.
32926 * sysdeps/i386/fpu/libm-test-ulps: Update.
32927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32929 2012-05-06 David S. Miller <davem@davemloft.net>
32931 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
32932 quad soft-float symbols whose references which are compiler
32934 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32936 2012-05-06 Joseph Myers <joseph@codesourcery.com>
32940 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32942 (EXPL_FINITE): Likewise.
32943 (FLDLOG): Likewise.
32946 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32947 Adjust comments for base varying.
32948 (__expl_finite): Change alias to EXPL_FINITE.
32949 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
32951 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
32952 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
32953 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32954 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
32955 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
32957 (EXPL_FINITE): Likewise.
32958 (FLDLOG): Likewise.
32961 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
32962 Adjust comments for base varying.
32963 (__expl_finite): Change alias to EXPL_FINITE.
32964 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
32966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32969 * math/libm-test.inc (check_float_internal): Correct ulp
32970 calculation for subnormal expected results.
32972 2012-05-06 Andreas Jaeger <aj@suse.de>
32974 * Makeconfig (+math-flags): New, set to -frounding-math.
32975 (+cflags): Add +math-flags so that all of glibc gets compiled with
32978 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
32980 2012-05-05 Joseph Myers <joseph@codesourcery.com>
32982 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
32988 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
32989 (__ieee754_expl): Allow for and saturate large arguments.
32990 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
32991 (u_threshold): Likewise.
32992 (__exp): Call __ieee754_exp before checking for overflow and
32994 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
32995 (u_threshold): Likewise.
32996 (__expf): Call __ieee754_expf before checking for overflow and
32998 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
32999 (u_threshold): Likewise.
33000 (__expl): Call __ieee754_expl before checking for overflow and
33002 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33003 (__ieee754_expl): Allow for and saturate large arguments.
33004 * math/libm-test.inc (exp_test): Add another test. Do not allow
33005 missing overflow exception on overflow.
33006 (expm1_test): Do not allow missing overflow exception on overflow.
33008 * sysdeps/i386/fpu/e_expl.c: Move to ...
33009 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
33010 rather than using inline asm.
33011 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33012 * sysdeps/x86_64/fpu/e_expl.S: Copy from
33013 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33015 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33018 (signal): Likewise.
33022 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33024 * sysdeps/unix/syscalls.list (adjtime): Add entry from
33025 sysdeps/unix/common/syscalls.list.
33026 (fchmod): Likewise.
33027 (fchown): Likewise.
33028 (ftruncate): Likewise.
33029 (getrusage): Likewise.
33030 (gettimeofday): Likewise.
33031 (setpgid): Likewise.
33032 (setregid): Likewise.
33033 (setreuid): Likewise.
33034 (sigaction): Likewise.
33035 (truncate): Likewise.
33036 (vhangup): Likewise.
33037 * sysdeps/unix/common/syscalls.list: Remove file.
33038 * sysdeps/unix/bsd/Implies: Don't include unix/common.
33039 * sysdeps/unix/sysv/linux/Implies: Likewise.
33041 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
33043 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33045 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33047 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33049 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33051 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33052 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33055 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33058 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33061 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33064 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33071 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33075 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33078 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33082 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33086 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33088 * sysdeps/unix/common/bits/dirent.h: Remove file.
33089 * sysdeps/unix/common/bits/fcntl.h: Likewise.
33091 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33092 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33093 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33094 * sysdeps/unix/bsd/isatty.c: Likewise.
33095 * sysdeps/unix/bsd/tcdrain.c: Likewise.
33096 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33097 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33099 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33102 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33103 long double comparison inaccuracies.
33104 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33105 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33107 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
33109 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33110 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33112 2012-05-04 Joseph Myers <joseph@codesourcery.com>
33115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33116 nonzero digits before rounding a hex value.
33117 * stdlib/tst-strtod.c (tests): Add another test.
33119 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33121 * sysdeps/s390/fpu/libm-test-ulps: Update.
33123 2012-05-03 Andreas Jaeger <aj@suse.de>
33125 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33126 does not get optimized out.
33127 (malloc_opt_barrier): New.
33129 2012-05-03 Andreas Jaeger <aj@suse.de>
33130 Roland McGrath <roland@hack.frob.com>
33132 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33133 intermediate file deletion.
33134 (generated): Add .symlist files.
33136 2012-05-03 Joseph Myers <joseph@codesourcery.com>
33139 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33140 Redirect under this condition.
33141 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33142 [__USE_GNU] (__dprintf_chk): Not under this condition.
33143 [__USE_GNU] (__vdprintf_chk): Likewise.
33144 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33145 under this condition.
33146 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33147 [__USE_XOPEN2K8] (dprintf): Define under this condition.
33148 [__USE_XOPEN2K8] (vdprintf): Likewise.
33149 [__USE_GNU] (__dprintf_chk): Not under this condition.
33150 [__USE_GNU] (__vdprintf_chk): Likewise.
33151 [__USE_GNU] (dprintf): Likewise.
33152 [__USE_GNU] (vdprintf): Likewise.
33154 2012-05-03 Roland McGrath <roland@hack.frob.com>
33156 * elf/Makefile (common-generated): Set this instead of generated for
33157 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
33158 $(all-built-dso)-derived lists.
33160 2012-05-03 Andreas Jaeger <aj@suse.de>
33162 * sysdeps/i386/fpu/libm-test-ulps: Update.
33165 * FAQ.in: Likewise.
33166 * scripts/gen-FAQ.pl: Likewise.
33167 * manual/install.texi (Installation): Point to online location of
33169 * Makefile (files-for-dist): Remove FAQ.
33172 2012-05-02 Allan McRae <allan@archlinux.org>
33174 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33175 (LDFLAGS-reldepmod5.so): Likewise.
33176 (LDFLAGS-reldep6mod1.so): Likewise.
33177 (LDFLAGS-reldep6mod4.so): Likewise.
33178 (LDFLAGS-reldep8mod3.so): Likewise.
33179 (LDFLAGS-unload4mod1.so): Likewise.
33180 (LDFLAGS-unload4mod2.so): Likewise.
33181 (LDFLAGS-tst-initorder): Likewise.
33182 (LDFLAGS-tst-initordera2.so): Likewise.
33183 (LDFLAGS-tst-initordera3.so): Likewise.
33184 (LDFLAGS-tst-initordera4.so): Likewise.
33185 (LDFLAGS-tst-initorderb2.so): Likewise.
33186 (LDFLAGS-noload): Likewise.
33187 (LDFLAGS-next): Likewise.
33188 (LDFLAGS-order2mod1.so): Likewise.
33189 (LDFLAGS-order2mod2.so): Likewise.
33190 (LDFLAGS-tst-initorder2): Likewise.
33191 (LDFLAGS-tst-initorder2a.so): Likewise.
33192 (LDFLAGS-tst-initorder2b.so): Likewise.
33193 (LDFLAGS-tst-initorder2c.so): Likewise.
33194 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33196 2012-05-02 David S. Miller <davem@davemloft.net>
33198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33200 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
33203 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33205 2012-05-02 Andreas Jaeger <aj@suse.de>
33207 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33208 since we manipulate rounding mode.
33209 (CPPFLAGS-test-idouble.c): Likewise.
33210 (CPPFLAGS-test-ifloat.c): Likewise.
33211 (CFLAGS-test-ldouble.c): Likewise.
33212 (CFLAGS-test-double.c): Likewise.
33213 (CFLAGS-test-float.c): Likewise.
33214 (CFLAGS-test-misc.c): Likewise.
33215 (CFLAGS-test-test-fenv.c): Likewise.
33217 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33221 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33222 comparisons to determine direction to adjust input.
33224 2012-05-01 Roland McGrath <roland@hack.frob.com>
33226 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33227 output to the target.
33229 * scripts/localplt.awk: New file.
33230 * elf/Makefile ($(objpfx)check-localplt): Target removed.
33231 (check-localplt-CFLAGS): Variable removed.
33232 ($(all-built-dso:=.jmprel)): New static pattern rule.
33233 (generated): Add those targets.
33234 (localplt-built-dso): New variable.
33235 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33237 * elf/check-localplt.c: File removed.
33239 * scripts/check-execstack.awk: New file.
33240 * elf/Makefile ($(objpfx)check-execstack): Target removed.
33241 (check-execstack-CFLAGS): Variable removed.
33242 ($(objpfx)check-execstack.h): Target removed.
33243 ($(objpfx)execstack-default): New target.
33244 (generated): Add that instead of check-execstack.h.
33245 ($(all-built-dso:=.phdr)): New static pattern rule.
33246 (generated): Add those targets.
33247 * elf/check-execstack.c: File removed.
33249 * scripts/check-textrel.awk: New file.
33250 * elf/Makefile ($(objpfx)check-textrel): Target removed.
33251 (check-textrel-CFLAGS): Variable removed.
33252 (all-built-dso): Use := to define.o
33253 ($(all-built-dso:=.dyn)): New static pattern rule.
33254 (generated): Add those targets.
33255 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33256 * config.make.in (READELF): New substituted variable.
33257 * elf/check-textrel.c: File removed.
33259 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33261 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33263 * conform/data/ctype.h-data [C99-based standards] (isblank):
33265 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33266 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33267 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33268 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33269 Specify type. Require positive value.
33270 (EILSEQ): Likewise.
33271 (ERANGE): Likewise.
33272 [ISO || POSIX] (EILSEQ): Do not expect.
33273 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33274 Specify type. Require positive value.
33275 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33276 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33277 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33278 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33279 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33280 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33281 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33282 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33283 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33284 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33285 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33286 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33287 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33288 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33289 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33290 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33291 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33292 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33293 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33294 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33295 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33296 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33297 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33298 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33299 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33300 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33301 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33302 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33303 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33304 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33305 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33306 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33307 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33308 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33309 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33310 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33311 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33312 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33313 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33314 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33315 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33316 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33317 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33318 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33319 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33320 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33321 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33322 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33323 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33324 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33325 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33326 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33327 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33328 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33329 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33330 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
33331 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
33332 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
33333 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
33334 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
33335 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
33336 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
33337 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
33338 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
33339 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
33340 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
33341 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
33342 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
33343 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
33344 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
33345 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
33346 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
33347 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
33348 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
33349 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
33350 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
33351 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
33353 (FLT_ROUNDS): Expect as macro, not constant.
33354 (FLT_MANT_DIG): Use macro-int-constant.
33355 (DBL_MANT_DIG): Likewise.
33356 (LDBL_MANT_DIG): Likewise.
33357 (FLT_DIG): Likewise.
33358 (DBL_DIG): Likewise.
33359 (LDBL_DIG): Likewise.
33360 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
33361 (DBL_MIN_EXP): Likewise.
33362 (LDBL_MIN_EXP): Likewise.
33363 (FLT_MAX_EXP): Use macro-int-constant.
33364 (DBL_MAX_EXP): Likewise.
33365 (LDBL_MAX_EXP): Likewise.
33366 (FLT_MAX_10_EXP): Likewise.
33367 (DBL_MAX_10_EXP): Likewise.
33368 (LDBL_MAX_10_EXP): Likewise.
33369 (FLT_MAX): Use macro-constant.
33370 (DBL_MAX): Likewise.
33371 (LDBL_MAX): Likewise.
33372 (FLT_EPSILON): Use macro-constant. Give upper bound.
33373 (DBL_EPSILON): Likewise.
33374 (LDBL_EPSILON): Likewise.
33375 (FLT_MIN): Likewise.
33376 (DBL_MIN): Likewise.
33377 (LDBL_MIN): Likewise.
33378 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
33379 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
33380 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
33381 [ISO11] (FLT_HAS_SUBNORM): Likewise.
33382 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
33383 [ISO11] (DBL_DECIMAL_DIG): Likewise.
33384 [ISO11] (FLT_DECIMAL_DIG): Likewise.
33385 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
33386 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
33387 [ISO11] (FLT_TRUE_MIN): Likewise.
33388 [ISO11] (LDBL_TRUE_MIN): Likewise.
33389 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33390 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
33391 (SCHAR_MIN): Use macro-int-constant. Specify type.
33392 (SCHAR_MAX): Likewise.
33393 (UCHAR_MAX): Likewise.
33394 (CHAR_MIN): Likewise.
33395 (CHAR_MAX): Likewise.
33396 (MB_LEN_MAX): Use macro-int-constant.
33397 (SHRT_MIN): Use macro-int-constant. Specify type.
33398 (SHRT_MAX): Likewise.
33399 (USHRT_MAX): Likewise.
33400 (INT_MAX): Likewise.
33401 (INT_MIN): Use macro-int-constant. Specify type. Make upper
33403 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
33405 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33407 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
33408 bound negative. Suffix upper bound with "L".
33409 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
33411 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
33413 [C99-based standards] (LLONG_MAX): Likewise.
33414 [C99-based standards] (ULLONG_MAX): Likewise.
33415 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
33417 [ISO11] (max_align_t): Require type.
33418 [ISO || ISO99 || ISO11] (*_t): Do not allow.
33420 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
33421 from $CFLAGS, without defining away __attribute__ calls.
33422 (checknamespace): Use $CFLAGS_namespace.
33424 * conform/conformtest.pl (@keywords): Only include C99 keywords
33425 for standards based on C99 or C11.
33427 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
33429 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
33432 * conform/conformtest.pl: Handle "macro-int-constant" and test for
33433 usability of symbols in #if.
33435 * conform/conformtest.pl: If macro or constant types start
33436 "promoted:", expect the symbol to be of the following type
33437 promoted by the integer promotions.
33439 * conform/conformtest.pl: Parse all "constant" and "macro" lines
33440 in one place. Also handle "macro-constant".
33442 * conform/conformtest.pl: Only accept expected macro values with
33443 "==". Parse all "macro" lines in one place.
33444 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
33446 * conform/conformtest.pl: Handle braced types on "constant" lines
33447 instead of handling "typed-constant".
33448 * conform/data/signal.h-data: Use "constant" instead of
33451 * conform/conformtest.pl: Handle "optional-" at start of lines in
33452 one place rather than duplicating several cases. Handle each
33453 format of "macro" line with initial "optional-".
33455 * conform/conformtest.pl: Only accept expected constant or
33456 optional-constant values with "==". Parse all "constant" lines in
33457 one place. Parse all "optional-constant" lines in one place.
33458 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
33459 * conform/data/fmtmsg.h-data: Likewise.
33460 * conform/data/netinet/in.h-data: Likewise.
33461 * conform/data/tar.h-data: Likewise.
33462 * conform/data/limits.h-data: Use "==" form on "constant" and
33463 "optional-constant" lines.
33465 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
33466 Use -std=c99 for XOPEN2K.
33467 (@knownproblems): Remove.
33468 (newtoken): Don't check %isknown.
33470 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
33471 Do not expect macro.
33472 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
33473 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
33474 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
33475 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
33476 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
33477 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
33478 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
33479 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
33480 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
33481 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
33482 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
33483 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
33484 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
33485 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
33486 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
33487 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
33488 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
33489 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
33490 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
33491 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
33492 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
33493 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
33494 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
33495 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
33496 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
33497 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
33498 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
33499 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
33500 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
33501 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
33502 [XPG3] (acosh): Likewise.
33503 [XPG3] (asinh): Likewise.
33504 [XPG3] (atanh): Likewise.
33505 [XPG3] (cbrt): Likewise.
33506 [XPG3] (expm1): Likewise.
33507 [XPG3] (ilogb): Likewise.
33508 [XPG3] (log1p): Likewise.
33509 [XPG3] (logb): Likewise.
33510 [XPG3] (nextafter): Likewise.
33511 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
33512 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
33513 [XPG3] (remainder): Likewise.
33514 [XPG3] (rint): Likewise.
33515 [XPG3 || XPG4 || UNIX98] (round): Likewise.
33516 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
33517 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
33518 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
33519 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
33520 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
33521 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
33522 [UNIX98 || XOPEN2K] (scalb): Expect.
33523 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
33524 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
33525 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
33526 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
33527 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
33528 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
33529 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
33530 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
33531 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
33532 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
33533 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
33534 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
33535 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
33536 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
33537 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
33538 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
33539 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
33540 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
33541 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
33542 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
33543 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
33544 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
33545 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
33546 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
33547 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
33548 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
33549 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
33550 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
33551 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
33552 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
33553 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
33554 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
33555 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
33556 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
33557 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
33558 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
33559 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
33560 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
33561 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
33562 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
33563 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
33564 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
33565 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
33566 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
33567 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
33568 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
33569 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
33570 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
33571 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
33572 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
33573 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
33574 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
33575 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
33576 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
33577 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
33578 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
33579 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
33580 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
33581 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
33582 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
33583 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
33584 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
33585 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
33586 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
33587 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
33588 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
33589 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
33590 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
33591 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
33592 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
33593 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
33594 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
33595 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
33596 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
33597 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
33598 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
33599 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
33600 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
33601 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
33602 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
33603 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
33604 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
33605 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
33606 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
33607 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
33608 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
33609 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
33610 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
33611 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
33612 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
33613 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
33614 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
33615 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
33616 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
33617 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
33618 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
33619 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
33620 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
33621 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
33622 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
33623 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
33624 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
33625 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
33626 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
33627 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
33628 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
33629 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
33630 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
33631 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
33632 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
33633 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
33634 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
33635 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
33636 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
33637 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
33638 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
33639 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
33640 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
33641 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
33642 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
33643 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
33644 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
33645 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
33646 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
33647 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
33648 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
33649 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
33650 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
33651 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
33652 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
33653 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
33654 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
33655 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
33656 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
33657 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
33658 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
33659 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
33661 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
33662 _XOPEN_SOURCE_EXTENDED for XPG4.
33664 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
33666 * Makeconfig (localtime): Remove variable.
33667 (inst_localtime-file): Likewise.
33669 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
33673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
33677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
33681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
33683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
33687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33690 2012-05-01 Joseph Myers <joseph@codesourcery.com>
33694 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
33695 comparisons to determine direction to adjust input.
33696 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
33697 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
33700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
33702 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33704 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
33705 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
33707 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
33709 * math/libm-test.inc (nexttoward_test): Add more tests.
33711 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
33714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
33715 in version GLIBC_2.1, not GLIBC_2.0.
33716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
33719 2012-04-30 Joseph Myers <joseph@codesourcery.com>
33722 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
33724 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33725 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
33726 * math/libm-test.inc (acos_test): Add more tests.
33727 (asin_test): Likewise.
33728 * sysdeps/i386/fpu/libm-test-ulps: Update.
33729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33732 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
33734 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
33735 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
33736 * math/libm-test.inc (acos_test_tonearest): New function.
33737 (acos_test_towardzero): Likewise.
33738 (acos_test_downward): Likewise.
33739 (acos_test_upward): Likewise.
33740 (asin_test_tonearest): Likewise.
33741 (asin_test_towardzero): Likewise.
33742 (asin_test_downward): Likewise.
33743 (asin_test_upward): Likewise.
33744 (main): Call the new functions.
33745 * sysdeps/i386/fpu/libm-test-ulps: Update.
33746 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33750 * math/e_exp10.c: Include <float.h>.
33751 (__ieee754_exp10): Handle underflow here rather than multiplying
33752 large negative argument by M_LN10.
33753 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
33755 * math/e_exp10l.c: Include <float.h>.
33756 (__ieee754_exp10l): Handle underflow here rather than multiplying
33757 large negative argument by M_LN10l.
33758 * math/libm-test.inc (exp10_test): Add another test. Do not allow
33759 spurious overflow exception on underflow.
33761 2012-04-29 Marek Polacek <polacek@redhat.com>
33763 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
33764 (__fortify_function): New macro.
33765 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
33766 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
33767 __extern_always_inline.
33768 * libio/bits/stdio2.h: Likewise.
33769 * libio/bits/stdio.h: Likewise.
33770 * string/string.h: Likewise.
33771 * string/bits/string3.h: Likewise.
33772 * include/stdio.h: Likewise.
33773 * stdlib/bits/stdlib.h: Likewise.
33774 * stdlib/stdlib.h: Likewise.
33775 * rt/bits/mqueue2.h: Likewise.
33776 * rt/mqueue.h: Likewise.
33777 * posix/bits/unistd.h: Likewise.
33778 * posix/unistd.h: Likewise.
33779 * io/bits/poll2.h: Likewise.
33780 * io/bits/fcntl2.h: Likewise.
33781 * io/fcntl.h: Likewise.
33782 * io/sys/poll.h: Likewise.
33783 * misc/bits/syslog.h: Likewise.
33784 * misc/bits/syslog-ldbl.h: Likewise.
33785 * misc/sys/syslog.h: Likewise.
33786 * socket/bits/socket2.h: Likewise.
33787 * socket/sys/socket.h: Likewise.
33788 * debug/tst-chk1.c: Likewise.
33789 * wcsmbs/bits/wchar2.h: Likewise.
33790 * wcsmbs/bits/wchar-ldbl.h: Likewise.
33791 * wcsmbs/wchar.h: Likewise.
33793 2012-04-29 Andreas Jaeger <aj@suse.de>
33795 * Makerules (tests): Remove enable-check-abi protection.
33796 (check-abi-warn): Remove.
33797 (check-abi-%): Remove check-abi-warn usage.
33799 * configure.in: Remove check-abi configure option.
33800 * configure: Regenerated.
33801 * config.make.in (enable-check-abi): Remove.
33803 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
33806 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
33807 double functions to double *_finite functions.
33810 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
33811 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
33813 * stdio-common/Makefile (tests): Add tst-sprintf3.
33814 * stdio-common/tst-sprintf3.c: New file.
33816 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
33817 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
33819 2012-04-28 Joseph Myers <joseph@codesourcery.com>
33821 * conform/conformtest.pl: Remove duplicate typed-constant
33824 2012-04-28 David S. Miller <davem@davemloft.net>
33826 * Makerules (%.abilist): Add vpath on sysdep_dirs.
33827 (check-abi-%): Remove AWK script prerequisite and explicit
33829 (check-abi): Rewrite to just diff the symlist with the abilist.
33830 (config-tls, config-abi-config): Delete, no longer used.
33831 (update-abi-%): Remove AWK script and explicit abilist directory.
33832 (update-abi): Rewrite to simply compare and conditionally copy the
33833 symlist and the sysdep abilist file. Remove update-abi-config
33835 * abilist/ld.abilist: Remove.
33836 * abilist/libBrokenLocale.abilist: Remove.
33837 * abilist/libanl.abilist: Remove.
33838 * abilist/libcrypt.abilist: Remove.
33839 * abilist/libdl.abilist: Remove.
33840 * abilist/librt.abilist: Remove.
33841 * abilist/libthread_db.abilist: Remove.
33842 * abilist/libutil.abilist: Remove.
33843 * scripts/extract-abilist.awk: Remove.
33844 * scripts/merge-abilist.awk: Remove.
33845 * sysdeps/generic/libcidn.abilist: New file.
33846 * sysdeps/generic/libnss_compat.abilist: New file.
33847 * sysdeps/generic/libnss_db.abilist: New file.
33848 * sysdeps/generic/libnss_dns.abilist: New file.
33849 * sysdeps/generic/libnss_files.abilist: New file.
33850 * sysdeps/generic/libnss_hesiod.abilist: New file.
33851 * sysdeps/generic/libnss_nis.abilist: New file.
33852 * sysdeps/generic/libnss_nisplus.abilist: New file.
33853 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
33854 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
33855 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
33857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
33858 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
33859 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
33860 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
33861 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
33862 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
33863 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
33864 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
33865 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
33867 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
33868 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
33869 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
33870 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
33872 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
33873 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
33874 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
33875 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
33876 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
33877 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
33879 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
33880 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
33881 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
33883 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
33884 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
33886 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
33888 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
33890 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
33892 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
33894 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
33896 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
33898 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
33900 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
33902 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
33904 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
33906 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
33908 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
33910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
33912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
33914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
33916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
33918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
33920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
33922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
33924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
33926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
33930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
33932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
33934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
33936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
33937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
33939 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
33943 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
33945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
33947 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
33949 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
33951 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33953 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
33955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
33957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
33961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
33962 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
33964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
33968 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
33970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
33972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
33974 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
33976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
33980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
33982 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33984 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
33986 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33987 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
33988 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
33990 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
33991 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
33992 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
33993 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
33994 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
33995 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
33996 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
33997 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
33998 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
33999 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34013 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34023 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34044 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34046 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34051 2012-04-28 Joseph Myers <joseph@codesourcery.com>
34053 * conform/conformtest.pl: Fix typo in handling typed-constant from
34056 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34058 * README: Cut down references to pre-2.6 Linux kernels and
34059 Linuxthreads. Update lists of configurations in libc and ports
34060 and sort alphabetically. Say "or newer" with Linux kernel version
34063 * config.h.in [IS_IN_build]: Allow compiling without optimization.
34065 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34068 * math/libm-test.inc (logb_test_downward): New test to expose
34069 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34072 2012-04-27 Joseph Myers <joseph@codesourcery.com>
34075 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34077 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34078 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34080 2012-04-26 Joseph Myers <joseph@codesourcery.com>
34082 * sysdeps/unix/i386/brk.S: Remove file.
34083 * sysdeps/unix/i386/dl-brk.S: Likewise.
34084 * sysdeps/unix/i386/pipe.S: Likewise.
34085 * sysdeps/unix/i386/sigreturn.S: Likewise.
34086 * sysdeps/unix/i386/syscall.S: Likewise.
34087 * sysdeps/unix/i386/vfork.S: Likewise.
34088 * sysdeps/unix/i386/wait.S: Likewise.
34090 * sysdeps/unix/common/tcsendbrk.c: Move to ...
34091 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34093 * configure.in (arm*-none*): Do not allow without
34094 --enable-hacker-mode.
34095 (netbsd*): Remove case setting base_os.
34096 (386bsd*): Likewise.
34097 (freebsd*): Likewise.
34100 (sunos*): Likewise.
34101 (ultrix*): Likewise.
34102 (newsos*): Likewise.
34103 (dynix*): Likewise.
34109 (minix*): Likewise.
34110 (irix4*): Likewise.
34111 (irix6*): Likewise.
34112 (solaris[2-9]*): Likewise.
34114 * configure: Regenerated.
34116 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34120 overflow or cancellation in calculating denominator.
34121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34122 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34123 down expression to avoid unexpected rounding in newer GCCs.
34124 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34126 2012-04-26 David S. Miller <davem@davemloft.net>
34128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34129 long-double compat symbols.
34130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34139 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34140 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34144 2012-04-25 David S. Miller <davem@davemloft.net>
34146 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34147 HWCAP_* values only after the memory barriers have been defined.
34148 (atomic_full_barrier): Define.
34149 (atomic_read_barrier): Define.
34150 (atomic_write_barrier): Define.
34152 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34154 * shlib-versions: Add libgcc_s version information.
34155 * sysdeps/generic/libgcc_s.h: Remove.
34156 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34158 * sysdeps/gnu/unwind-resume.c: Likewise.
34159 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34161 2012-04-25 David S. Miller <davem@davemloft.net>
34163 * sysdeps/unix/sparc/brk.S: Delete.
34164 * sysdeps/unix/sparc/dl-brk.S: Delete.
34165 * sysdeps/unix/sparc/pipe.S: Delete.
34166 * sysdeps/unix/sparc/sysdep.S: Delete.
34167 * sysdeps/unix/sparc/sysdep.h: Delete.
34168 * sysdeps/unix/sparc/vfork.S: Delete.
34169 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34170 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34171 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34172 (ret_ERRVAL, r0, r1, MOVE): Define.
34173 (JUMPTARGET): Remove.
34174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34175 sysdeps/unix/sparc/sysdep.h
34176 (ENTRY, END): Remove.
34177 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34179 2012-04-25 Joseph Myers <joseph@codesourcery.com>
34181 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34182 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34185 * timezone/README: Update upstream location and email address for
34187 * timezone/zdump.c: Update from tzcode 2012b.
34188 * timezone/zic.c: Likewise.
34190 * configure.in (libc_cv_as_needed): Remove test.
34191 * configure: Regenerated.
34192 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34193 conditional definition.
34194 [$(have-as-needed) != yes] (no-as-needed): Likewise.
34195 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34196 * config.make.in (have-as-needed): Remove variable.
34198 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
34199 Paul Pluzhnikov <ppluzhnikov@google.com>
34201 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34204 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
34206 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34207 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34208 * sysdeps/sh/strlen.S: Likewise.
34210 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34212 * sysdeps/unix/fork.S: Remove file.
34213 * sysdeps/unix/i386/fork.S: Likewise.
34214 * sysdeps/unix/sparc/fork.S: Likewise.
34216 * sysdeps/unix/system.c: Remove file.
34217 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34219 * sysdeps/unix/getegid.S: Remove file.
34220 * sysdeps/unix/geteuid.S: Likewise.
34222 2012-04-24 Roland McGrath <roland@hack.frob.com>
34224 * scripts/check-localplt.awk: New file.
34225 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34227 * scripts/data/localplt-generic.data: Add a comment.
34229 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34230 NODE when __dir_mkfile failed.
34231 * sysdeps/mach/hurd/symlinkat.c: Likewise.
34232 Reported by Ludovic Courtès <ludo@gnu.org>.
34234 2012-04-24 Andreas Jaeger <aj@suse.de>
34236 * Makerules (common-clean): Also remove gen-as-const-headers
34239 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34241 * Makerules (native-compile): Do not change working directory for
34242 build. Use $(OUTPUT_OPTION) in command.
34243 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34245 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34248 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34249 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34250 * math/libm-test.inc (floor_test): Add more tests.
34251 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34253 2012-04-24 Joseph Myers <joseph@codesourcery.com>
34255 * sysdeps/unix/getdents.c: Remove file.
34256 * sysdeps/unix/sysv/getdents.c: Likewise.
34257 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34259 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34260 sysdeps/unix/mman/syscalls.list.
34262 (mprotect): Likewise.
34264 (munmap): Likewise.
34265 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34266 * sysdeps/unix/mman/syscalls.list: Remove.
34267 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34269 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34270 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34271 * configure: Regenerated.
34272 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34273 $(libgcc_s_suffix).
34274 * config.make.in (libgcc_s_suffix): Remove variable.
34276 2012-04-23 Joseph Myers <joseph@codesourcery.com>
34278 * sysdeps/unix/sysv/gethostname.c: Move to ...
34279 * sysdeps/posix/gethostname.c: ... here.
34281 * sysdeps/unix/execve.S: Remove file.
34283 * sysdeps/unix/_exit.S: Remove file.
34285 2012-04-23 Andreas Jaeger <aj@suse.de>
34288 * manual/Makefile: Remove make dist support, there's no
34289 need for a stand-alone documentation tar ball.
34290 (TEXI2DVI): Define always, it's not in Makeconfig.
34293 (edition): Removed.
34294 (glibc-doc-$(edition).tar): Removed
34298 (ETAGS): Remove, it's in Makeconfig.
34299 (move-if-change): Remove, it's in Makeconfig.
34301 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
34304 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34305 (strtod, strtof, strtold, strtol, strtoul, strtoq)
34306 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34307 (strtod_l, strtof_l, strtold_l): Remove __wur.
34308 It is not necessarily an error to ignore strtol's return value.
34309 One can reliably look at the stored endptr to decide whether
34310 the number had valid syntax.
34312 2012-04-21 Andreas Jaeger <aj@suse.de>
34315 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34317 2012-04-21 Joseph Myers <joseph@codesourcery.com>
34319 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34320 * sysdeps/unix/sysv/Versions: Remove file.
34322 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
34325 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34327 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
34330 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
34331 version from __vm86.
34333 2012-04-20 Joseph Myers <joseph@codesourcery.com>
34335 * sysdeps/unix/common/lxstat.c: Remove file.
34336 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
34338 * sysdeps/unix/sysv/Makefile: Remove file.
34340 * sysdeps/unix/sysv/direct.h: Remove file.
34342 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
34343 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
34344 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
34345 * sysdeps/unix/sysv/bits/signum.h: Likewise.
34346 * sysdeps/unix/sysv/bits/stat.h: Likewise.
34347 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
34348 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
34350 * sysdeps/unix/sysv/setrlimit.c: Remove file.
34352 * sysdeps/unix/xmknod.c: Remove file.
34353 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
34355 * sysdeps/unix/sysv/settimeofday.c: Remove file.
34357 * sysdeps/unix/sysv/i386/time.S: Remove file.
34359 * sysdeps/unix/fxstat.c: Remove file.
34360 * sysdeps/unix/xstat.c: Likewise.
34361 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
34363 * sysdeps/unix/sysv/sigaction.c: Remove file.
34365 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
34366 (sysdep_headers): Remove variable.
34367 [termio.h not in sysdep_headers] (generated): Likewise.
34368 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
34369 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
34370 * sysdeps/unix/sysv/tcdrain.c: Likewise.
34371 * sysdeps/unix/sysv/tcflow.c: Likewise.
34372 * sysdeps/unix/sysv/tcflush.c: Likewise.
34373 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
34374 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
34375 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
34376 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
34377 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
34379 * sysdeps/unix/siglist.c: Remove file.
34381 * sysdeps/unix/getppid.S: Remove file.
34383 * sysdeps/unix/mkdir.c: Remove file.
34384 * sysdeps/unix/rmdir.c: Likewise.
34386 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
34388 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
34390 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
34391 errlist-compat value.
34393 2012-04-18 David S. Miller <davem@davemloft.net>
34395 * sysdeps/generic/memcopy.h (reg_char): Delete.
34396 * debug/strcat_chk.c: Use char, not reg_char.
34397 * debug/strcpy_chk.c: Likewise.
34398 * debug/strncat_chk.c: Likewise.
34399 * debug/strncpy_chk.c: Likewise.
34400 * string/memchr.c: Likewise.
34401 * string/memrchr.c: Likewise.
34402 * string/rawmemchr.c: Likewise.
34403 * string/strcat.c: Likewise.
34404 * string/strchr.c: Likewise.
34405 * string/strchrnul.c: Likewise.
34406 * string/strcmp.c: Likewise.
34407 * string/strcpy.c: Likewise.
34408 * string/strncat.c: Likewise.
34409 * string/strncmp.c: Likewise.
34410 * string/strncpy.c: Likewise.
34412 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34414 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
34415 __builtin_memcopy is called when src and dest ranges are known to not
34418 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34420 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
34421 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
34422 fwd_align_merge macro call.
34423 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
34424 bwd_align_merge macro call.
34425 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34427 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34429 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
34430 bwd_align_merge macros.
34431 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
34432 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
34433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34435 2012-04-18 David S. Miller <davem@davemloft.net>
34437 * sysdeps/sparc/sparc64/memcopy.h: Delete.
34439 2012-04-18 Andreas Jaeger <aj@suse.de>
34442 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
34443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
34444 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34446 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
34447 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
34448 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34450 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
34451 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
34452 Adjust for changed ldbl-128 files.
34454 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
34455 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
34456 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
34458 2012-04-17 David S. Miller <davem@davemloft.net>
34460 * sysdeps/sparc/sparc32/memcopy.h: Delete.
34462 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
34464 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
34465 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
34466 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
34467 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
34468 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
34469 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
34471 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34474 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
34475 * math/libm-test.inc: Add ilogb errno and exception tests.
34476 * math/w_ilogb.c: New file: ilogb wrapper.
34477 * math/w_ilogbf.c: New file: ilogbf wrapper.
34478 * math/w_ilogbl.c: New file: ilogbl wrapper.
34479 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
34480 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
34481 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
34482 exception being thrown with 0.0 as argument.
34483 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
34484 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
34485 exception being thrown with 0.0 as argument.
34486 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
34487 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34488 exception being thrown with 0.0 as argument.
34489 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
34490 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
34491 exception being thrown with 0.0 as argument.
34492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
34493 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
34494 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
34495 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
34496 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
34497 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
34498 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
34499 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
34500 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
34502 2012-04-17 Petr Baudis <pasky@ucw.cz>
34504 * include/sys/uio.h: Change __vector to __iovec to avoid clash
34507 2012-04-16 Marek Polacek <polacek@redhat.com>
34509 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
34511 2012-04-16 Marek Polacek <polacek@redhat.com>
34513 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
34514 operands of fdivp instruction.
34516 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34518 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
34519 * elf/tst-auditmod3b.c: Likewise.
34520 * elf/tst-auditmod4b.c: Likewise.
34521 * elf/tst-auditmod5b.c: Likewise.
34522 * elf/tst-auditmod6b.c: Likewise.
34523 * elf/tst-auditmod6c.c: Likewise.
34524 * elf/tst-auditmod7b.c: Likewise.
34525 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
34526 * sysdeps/x86_64/preconfigure.in: Likewise.
34527 * sysdeps/x86_64/preconfigure: Regenerated.
34529 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
34531 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
34534 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
34536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34537 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
34539 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
34542 * locale/iso-639.def: Fix gl language name. Spotted by
34545 2012-04-12 Roland McGrath <roland@hack.frob.com>
34548 * libio/libio.h (__io_write_fn): Update comment.
34550 2012-04-12 Petr Baudis <pasky@ucw.cz>
34553 * stdio.texi (Hook Functions): The user provided writer function
34554 is not allowed to return -1.
34556 2012-04-11 David S. Miller <davem@davemloft.net>
34558 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34560 2012-04-11 Mike Frysinger <vapier@gentoo.org>
34562 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
34563 Add a leading slash to rtkaio.
34565 2012-04-11 Jim Meyering <meyering@redhat.com>
34568 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
34569 It is not necessarily an error to ignore fwrite's return
34570 value. One can reliably use ferror to test for errors after
34573 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34575 * bits/types.h (__snseconds_t): New type.
34576 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
34578 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
34579 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34580 (__SNSECONDS_T_TYPE): Likewise.
34581 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34582 (__SNSECONDS_T_TYPE): Likewise.
34583 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34584 (__SNSECONDS_T_TYPE): Likewise.
34586 2012-04-10 Andreas Jaeger <aj@suse.de>
34589 * manual/time.texi (Processor Time): Return type of times is
34590 elapsed real time since an arbitrary point in the past.
34591 (CPU Time): Move CLK_TCK from here...
34592 (Processor Time): ...to here. Correct description.
34593 * manual/conf.texi (Constants for Sysconf): Correct description of
34596 2012-04-10 David S. Miller <davem@davemloft.net>
34599 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
34600 where the is a gap between DT_REL(A) and DT_JMPREL.
34602 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
34604 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
34605 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34606 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34608 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34610 * elf/dl-support.c (_dl_inhibit_cache): New variable.
34611 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
34612 (dl_main): Handle --inhibit-cache.
34613 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
34615 * elf/dl-load.c (_dl_map_object): Use it.
34616 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
34618 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34621 * sysdeps/i386/fpu/e_powl.S (p78): New object.
34622 (__ieee754_powl): Saturate large exponents rather than testing for
34623 overflow of y*log2(x).
34624 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34625 * math/libm-test.inc (pow_test): Do not permit spurious overflow
34629 * math/s_ctan.c: Include <float.h>.
34630 (__ctan): Avoid internal overflow or cancellation in calculating
34632 * math/s_ctanf.c: Likewise.
34633 * math/s_ctanl.c: Likewise.
34634 * math/s_ctanh.c: Likewise.
34635 * math/s_ctanhf.c: Likewise.
34636 * math/s_ctanhl.c: Likewise.
34637 * math/libm-test.inc (ctan_test): Add more tests.
34638 (ctanh_test): Likewise.
34639 * sysdeps/i386/fpu/libm-test-ulps: Update.
34640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34642 2012-04-09 Andreas Jaeger <aj@suse.de>
34645 * manual/filesys.texi (Directory Entries): Mention that d_namlen
34646 is an optional BSD extension.
34649 * manual/stdio.texi (Opening Streams): Document additional fopen
34652 2012-04-09 Roland McGrath <roland@hack.frob.com>
34654 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
34655 %eax without telling the compiler.
34657 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
34660 * manual/install.texi: Use sourceware.org.
34662 2012-04-09 Joseph Myers <joseph@codesourcery.com>
34665 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
34666 (__ieee754_pow): Generate overflow and underflow using huge*huge
34667 and tiny*tiny rather than just returning constant infinity or zero
34668 for large exponents.
34669 * math/libm-test.inc (pow_test): Require overflow exceptions for
34670 applicable cases of large exponents.
34673 * sysdeps/i386/fpu/e_pow.S (p10): New object.
34674 (__ieee754_pow): Use iterative multiplication algorithm only for
34675 integer exponents with absolute value below 1024. Check for odd
34676 integer exponents when using algorithm for real exponents.
34677 * math/libm-test.inc (pow_test): Add more tests.
34678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34680 2012-04-08 Joseph Myers <joseph@codesourcery.com>
34683 * math/libm-test.inc (exp_test): Do not allow overflow exception
34686 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
34689 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
34690 instead of __kernel_standard_f.
34692 2012-04-08 Mike Frysinger <vapier@gentoo.org>
34694 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
34695 * sysdeps/x86_64/memset_chk.S: Likewise.
34697 2012-04-08 Andreas Jaeger <aj@suse.de>
34700 * manual/startup.texi (Environment Access): Describe return value
34701 for putenv and setenv.
34704 * manual/filesys.texi (Directory Entries): Add description for
34708 * manual/filesys.texi (Directory Entries): Clarify that it's file
34709 system not operating system in the description of DT_UNKNOWN.
34712 * manual/syslog.texi (closelog): Fix reference, it's openlog.
34714 2012-04-08 Stephen Compall <s11@member.fsf.org>
34717 * manual/llio.texi (Opening and Closing Files): Add cross
34718 reference to explain mode argument.
34720 2012-04-07 Mike Frysinger <vapier@gentoo.org>
34722 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
34723 * sysdeps/x86_64/memset_chk.S: Likewise.
34725 2012-04-07 David S. Miller <davem@davemloft.net>
34727 * elf/elf.h (R_SPARC_WDISP10): Define.
34728 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
34730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
34731 R_SPARC_SIZE64 and R_SPARC_H34.
34733 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34735 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
34736 conditions and remove no longer applicable assertion.
34738 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34740 * bits/byteswap.h: Include <features.h>.
34741 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
34742 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
34744 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
34746 * bits/byteswap.h (__bswap_16): Removed.
34747 Include <bits/byteswap-16.h> to get __bswap_16.
34748 * sysdeps/i386/bits/byteswap.h: Likewise.
34749 * sysdeps/s390/bits/byteswap.h: Likewise.
34750 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34751 * bits/byteswap-16.h: New file.
34752 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34753 * sysdeps/s390/bits/byteswap-16.h: Likewise.
34754 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
34755 * string/Makefile (headers): Add bits/byteswap-16.h.
34757 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34760 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
34762 * nss/Makefile (tests-static, tests): Add tst-nss-static.
34763 * nss/tst-nss-static.c: New.
34765 2012-04-06 Robert Millan <rmh@gnu.org>
34768 * manual/llio.texi (File Position Primitive): lseek
34769 refers to WHENCE when it really means OFFSET.
34771 2012-04-06 Andreas Jaeger <aj@suse.de>
34773 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
34774 strncmp declarations.
34776 * abilist/libc.abilist: Add __poll and __ppoll.
34778 2012-04-05 David S. Miller <davem@davemloft.net>
34780 * scripts/check-local-headers.sh: Accept a host triplet in the
34781 path matched by the exclude regexp.
34783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
34785 * sysdeps/powerpc/powerpc32/dl-machine.h
34786 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
34787 * sysdeps/s390/s390-32/dl-machine.h
34788 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34789 * sysdeps/sparc/sparc32/dl-machine.h
34790 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34791 * sysdeps/sparc/sparc64/dl-machine.h
34792 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
34794 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
34796 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
34797 undefined symbol errors.
34799 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
34802 2012-04-05 Michael Matz <matz@suse.de>
34805 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
34807 2012-04-05 Andreas Jaeger <aj@suse.de>
34810 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
34813 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34815 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
34816 which ROUND is no valid rounding mode.
34818 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34820 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
34822 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
34824 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34826 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
34827 an exception using FPU order intentionally.
34829 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34831 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
34832 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
34833 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
34834 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
34836 2012-04-05 Simon Josefsson <simon@josefsson.org>
34839 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
34840 EINVAL when BUFLEN is too smal.
34842 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
34845 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
34846 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
34848 2012-04-03 Andreas Jaeger <aj@suse.de>
34851 * manual/setjmp.texi (System V contexts): Fix sentence.
34854 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
34855 New macro for this case.
34856 [!__GNUC__] (__bswap_64): New inline function for this case.
34857 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34858 * bits/byteswap.h: Likewise.
34859 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
34860 ull, guard with __GLIBC_HAVE_LONG_LONG.
34862 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
34863 __GLIBC_HAVE_LONG_LONG.
34865 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
34866 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
34868 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34871 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
34872 inptr and inend, rather than using last_ch.
34874 2012-04-02 David S. Miller <davem@davemloft.net>
34876 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
34877 * stdio-common/printf-parse.h (read_int): Change return type to
34878 'int', return -1 on INT_MAX overflow.
34879 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
34880 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
34881 overflows INT_MAX. Check for overflow of in-format-string precision
34882 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
34883 SIZE_MAX not INT_MAX for integer overflow test.
34884 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
34885 skip the construct in the format string but do not record anything.
34886 * stdio-common/bug22.c: Adjust to test both width/prevision
34887 INT_MAX overflow as well as total length INT_MAX overflow. Check
34888 explicitly for proper errno values.
34890 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
34892 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
34894 * string/test-strcmp.c [! WIDE]: Likewise.
34895 * time/tst-mktime2.c: Likewise for INT_MAX.
34896 * string/test-string.h: #include <sys/param.h> for MIN.
34898 * csu/init-first.c (__libc_init_first): Call __ctype_init.
34899 * sysdeps/i386/init-first.c (init): Likewise.
34900 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
34901 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
34902 * sysdeps/sh/init-first.c (init): Likewise.
34904 2012-04-01 Ulrich Drepper <drepper@gmail.com>
34906 * po/ru.po: Update from translation team.
34907 * po/vi.po: Likewise.
34909 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34911 * resolv/nss_dns/dns-host.c: Merge copyright years.
34913 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34915 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34916 Optimize memcpy with prefetch if
34917 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
34918 src, dst pointers have unequal 16 byte alignments.
34920 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34923 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
34924 from a CNAME entry and return the minimum ttl for the query.
34925 (gaih_getanswer_slice): Likewise.
34927 2012-03-30 Jeff Law <law@redhat.com>
34929 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
34931 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
34932 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
34934 * resolv/nss_dns/dns-host.c: Update copyright year.
34936 2012-03-30 Ulrich Drepper <drepper@gmail.com>
34938 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
34939 requests to save a system call. Fix check that all bytes are sent.
34941 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
34942 comments for sendmmsg.
34944 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34947 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
34948 with only 1 character between 0x0041 and 0x01b0.
34949 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
34950 * wcsmbs/tst-mbsnrtowcs.c: New file.
34952 2012-03-29 David S. Miller <davem@davemloft.net>
34954 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
34955 small copies by hand.
34957 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34960 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
34961 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
34964 2012-03-28 David S. Miller <davem@davemloft.net>
34966 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
34967 that branches into memcpy.
34968 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
34970 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
34971 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
34972 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
34974 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
34975 implementation too.
34976 * sysdeps/sparc/mempcpy.S: New file.
34978 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
34979 the IFUNC routine in the libc case.
34980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34982 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
34983 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
34984 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
34985 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
34986 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
34987 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
34988 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
34989 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
34991 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
34992 loop to 256 bytes instead of 64 bytes and fix test signedness.
34994 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
34995 * sysdeps/sparc/sparc32/Makefile: rather than here...
34996 * sysdeps/sparc/sparc64/Makefile: and here.
34998 2012-03-28 Ulrich Drepper <drepper@gmail.com>
35000 * malloc/mallocbug.c: Avoid warnings about unused variables.
35002 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35005 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35006 in the right place. Discard and retry query if response is
35007 larger than input buffer size.
35009 2012-03-28 Joseph Myers <joseph@codesourcery.com>
35014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35015 x for large integer exponent.
35016 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35017 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
35018 sign of result as needed afterwards.
35019 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35020 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35021 result for underflowing pow the same as for overflow.
35022 (__kernel_standard_l): Handle powl overflow and underflow here
35023 rather than calling __kernel_standard.
35024 * math/libm-test.inc (pow_test): Add more tests.
35039 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35040 * sysdeps/ieee754/k_standard.c: Include <float.h>.
35041 (__kernel_standard_l): New function.
35042 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35044 * math/w_acosl.c (__acosl): Likewise.
35045 * math/w_asinl.c (__asinl): Likewise.
35046 * math/w_atan2l.c (__atan2l): Likewise.
35047 * math/w_atanhl.c (__atanhl): Likewise.
35048 * math/w_coshl.c (__coshl): Likewise.
35049 * math/w_exp10l.c (__exp10l): Likewise.
35050 * math/w_exp2l.c (__exp2l): Likewise.
35051 * math/w_fmodl.c (__fmodl): Likewise.
35052 * math/w_hypotl.c (__hypotl): Likewise.
35053 * math/w_j0l.c (__j0l, __y0l): Likewise.
35054 * math/w_j1l.c (__j1l, __y1l): Likewise.
35055 * math/w_jnl.c (__jnl, __ynl): Likewise.
35056 * math/w_lgammal.c (__lgammal): Likewise.
35057 * math/w_log10l.c (__log10l): Likewise.
35058 * math/w_log2l.c (__log2l): Likewise.
35059 * math/w_logl.c (__logl): Likewise.
35060 * math/w_powl.c (__powl): Likewise.
35061 * math/w_remainderl.c (__remainderl): Likewise.
35062 * math/w_scalbl.c (sysv_scalbl): Likewise.
35063 * math/w_sinhl.c (__sinhl): Likewise.
35064 * math/w_sqrtl.c (__sqrtl): Likewise.
35065 * math/w_tgammal.c (__tgammal): Likewise.
35066 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35067 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35068 * math/libm-test.inc (acos_test): Add more tests.
35069 (acosh_test): Likewise.
35070 (asin_test): Likewise.
35071 (atanh_test): Likewise.
35072 (exp_test): Likewise.
35073 (exp10_test): Likewise.
35074 (exp2_test): Likewise.
35075 (expm1_test): Likewise.
35076 (lgamma_test): Likewise.
35077 (log_test): Likewise.
35078 (log10_test): Likewise.
35079 (log1p_test): Likewise.
35080 (log2_test): Likewise.
35081 (pow_test): Do not allow some spurious overflow exceptions.
35082 (sqrt_test): Add more tests.
35083 (tgamma_test): Likewise.
35084 (y0_test): Likewise.
35085 (y1_test): Likewise.
35086 (yn_test): Likewise.
35088 2012-03-27 Anton Blanchard <anton@samba.org>
35090 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35092 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35093 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35094 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35096 2012-03-27 David S. Miller <davem@davemloft.net>
35098 * conform/Makefile: Run run-conformtest.sh using $(BASH).
35100 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35101 have-as-vis3 check.
35103 2012-03-27 Andreas Jaeger <aj@suse.de>
35105 * sysdeps/x86_64/elf/configure.in: Moved to ...
35106 * sysdeps/x86_64/configure.in: ... here.
35107 * sysdeps/x86_64/elf/start.S: Moved to ...
35108 * sysdeps/x86_64/start.S: ... here.
35109 * sysdeps/x86_64/elf/configure: Delete.
35111 * sysdeps/x86_64/configure.in: Merge contents from
35112 sysdeps/i386/configure.in (without i686 check).
35114 * sysdeps/i386/elf/Versions: Merge into ...
35115 * sysdeps/i386/Versions: ... this.
35116 * sysdeps/i386/elf/Versions: Delete file.
35117 * sysdeps/i386/elf/start.S: Moved to ...
35118 * sysdeps/i386/start.S: ...here.
35119 * sysdeps/i386/elf/configure.in: Merge into...
35120 * sysdeps/i386/configure.in: ...here.
35121 * sysdeps/i386/elf/configure.in: Delete file.
35122 * sysdeps/i386/elf/configure: Delete file.
35124 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35125 * debug/backtracesyms.c: ... here.
35126 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35127 * debug/backtracesymsfd.c: ... here.
35128 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35129 * sysdeps/generic/ifunc-sel.h: ... here.
35131 * sysdeps/unix/i386/start.c: Delete file.
35132 * sysdeps/unix/sparc/start.c: Delete file.
35133 * sysdeps/unix/start.c: Delete file.
35135 * sysdeps/sh/elf/configure.in: Moved to ...
35136 * sysdeps/sh/configure.in: ... here.
35137 * sysdeps/sh/elf/start.S: Moved to ...
35138 * sysdeps/sh/start.S: ... here.
35139 * sysdeps/sh/elf/configure: Delete file.
35141 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35142 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35143 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35144 * sysdeps/powerpc/powerpc64/entry.h: ... here.
35145 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35146 * sysdeps/powerpc/powerpc64/start.S: here.
35147 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35148 * sysdeps/powerpc/powerpc64/Makefile: ... this.
35149 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35150 * sysdeps/powerpc/powerpc64/configure.in: ... this.
35151 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35153 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35154 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35155 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35156 * sysdeps/powerpc/powerpc32/start.S: ... here.
35157 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35158 * sysdeps/powerpc/powerpc32/configure.in: ... this.
35159 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35161 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35162 * sysdeps/powerpc/ifunc-sel.h: ... here.
35163 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35164 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35166 * sysdeps/sparc/elf/configure.in: Moved to ...
35167 * sysdeps/sparc/configure.in: ... here.
35168 * sysdeps/sparc/elf/configure: Delete file.
35169 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35170 * sysdeps/sparc/sparc32/start.S: ... here.
35171 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35172 * sysdeps/sparc/sparc64/start.S: ... here.
35173 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35174 * sysdeps/sparc/sparc32/Makefile: ... this.
35175 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35176 * sysdeps/sparc/sparc64/Makefile: ... this.
35178 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35179 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35180 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35181 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35182 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35183 * sysdeps/s390/s390-32/setjmp.S: ... here.
35184 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35185 * sysdeps/s390/s390-32/configure.in: ... here.
35186 * sysdeps/s390/s390-32/elf/configure: Delete file.
35187 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35188 * sysdeps/s390/s390-32/start.S: ... here.
35190 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35191 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35192 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35193 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35194 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35195 * sysdeps/s390/s390-64/setjmp.S: ... here.
35196 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35197 * sysdeps/s390/s390-64/configure.in: ... here
35198 * sysdeps/s390/s390-64/elf/configure: Delete file.
35199 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35200 * sysdeps/s390/s390-64/start.S: ... here.
35201 * sysdeps/s390/s390-64/elf/configure: Delete.
35203 * configure.in: Remove support for elf directories in sysdeps.
35205 * configure: Regenerated.
35206 * sysdeps/i386/configure: Regenerated.
35207 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35208 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35209 * sysdeps/s390/s390-32/configure: Regenerated.
35210 * sysdeps/s390/s390-64/configure: Regenerated.
35211 * sysdeps/sh/configure: Regenerated.
35212 * sysdeps/sparc/configure: Regenerated.
35213 * sysdeps/x86_64/configure: Regenerated.
35215 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
35217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35220 denormal result into account.
35222 2012-03-25 Roland McGrath <roland@hack.frob.com>
35224 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35225 Reported by Allan McRae <allan@archlinux.org>.
35227 2012-03-23 Jeff Law <law@redhat.com>
35229 * nss/getnssent.c (__nss_getent): Fix typo.
35231 2012-03-23 David S. Miller <davem@davemloft.net>
35233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35235 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
35237 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35238 to pad to uint64_t for each field.
35239 (dl_tls_index): Replace unsigned long with uint64_t.
35241 2012-03-23 Daniel Jacobowitz <dmj@google.com>
35242 Paul Pluzhnikov <ppluzhnikov@google.com>
35245 * grp/Makefile (otherlibs): Don't set it.
35246 * inet/Makefile (otherlibs): Likewise.
35247 * login/Makefile (otherlibs): Likewise.
35248 * nscd/Makefile (otherlibs): Likewise.
35249 * posix/Makefile (otherlibs): Likewise.
35250 * pwd/Makefile (otherlibs): Likewise.
35251 * rt/Makefile (otherlibs): Likewise.
35252 * sunrpc/Makefile (otherlibs): Likewise.
35253 * nss/Makefile (otherlibs): Likewise.
35254 Add libnss_files to routines and static-only-routines.
35255 ($(objpfx)getent): Remove rule.
35256 * resolv/Makefile: Add libnss_dns and libresolv to routines and
35257 static-only-routines.
35259 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35262 * math/s_cexp.c: Include <float.h>.
35263 (__cexp): Handle exp result overflowing not necessarily
35264 overflowing both real and imaginary parts of result.
35265 * math/s_cexpf.c: Likewise.
35266 * math/s_cexpl.c: Likewise.
35267 * math/libm-test.inc (cexp_test): Add more tests.
35268 * sysdeps/i386/fpu/libm-test-ulps: Update.
35269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35271 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35273 * include/link.h (ELFW): New macro.
35274 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35275 Replace ELF64_R_TYPE with ELFW(R_TYPE).
35277 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35279 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35282 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35284 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35286 (struct La_x32_retval): Likewise.
35288 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
35290 * sysdeps/x86_64/preconfigure.in: New file.
35291 * sysdeps/x86_64/preconfigure: New generated file.
35293 2012-03-22 Joseph Myers <joseph@codesourcery.com>
35296 * math/e_exp2l.c: Include <float.h>.
35297 (__ieee754_exp2l): Handle overflow and underflow cases
35298 separately. Only pass fractional part of argument to
35300 * math/libm-test.inc (exp2_test): Add more tests.
35302 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35303 negating x to take absolute value.
35304 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35306 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35307 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35309 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35310 computing low part if x was negated.
35311 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35313 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35315 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35316 la_x32_gnu_pltexit.
35317 (pltexit): Cast int_retval to ptrdiff_t.
35318 * elf/tst-auditmod3b.c: Likewise.
35319 * elf/tst-auditmod4b.c: Likewise.
35320 * elf/tst-auditmod5b.c: Likewise.
35321 * elf/tst-auditmod6b.c: Likewise.
35322 * elf/tst-auditmod6c.c: Likewise.
35323 * elf/tst-auditmod7b.c: Likewise.
35325 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35326 and x32_gnu_pltexit.
35328 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35329 __ELF_NATIVE_CLASS.
35330 (La_x32_regs): New macro.
35331 (La_x32_retval): Likewise.
35332 (la_x32_gnu_pltenter): New function prototype.
35333 (la_x32_gnu_pltexit): Likewise.
35335 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
35337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
35340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35342 * configure.in (libc_cv_cc_nofma): Check for option to disable
35343 generation of FMA instructions.
35344 * configure: Regenerate.
35345 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
35346 * sysdeps/ieee754/dbl-64/Makefile: New file.
35347 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35348 Remove brandred-fma4.
35349 (CFLAGS-brandred-fma4.c): Remove.
35350 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
35351 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
35353 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
35356 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35358 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35359 LLONG_MAX != LONG_MAX.
35360 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35361 (_fitoa_word): Likewise.
35362 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
35363 LLONG_MAX != LONG_MAX.
35364 * stdio-common/_itowa.h: Include <_itoa.h>.
35365 (_itowa_word): Use _ITOA_WORD_TYPE on value.
35366 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
35367 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
35368 only if not defined.
35369 (_ITOA_WORD_TYPE): Likewise.
35370 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35371 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
35373 2012-03-21 David S. Miller <davem@davemloft.net>
35375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35377 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
35379 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
35380 of x86_64 when setting libc_cv_slibdir, libdir and
35382 * sysdeps/unix/sysv/linux/configure: Regenerated.
35384 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35386 * manual/lang.texi (Old Varargs): Remove section.
35387 (How Variadic): Update menu.
35388 (va_start): Do not mention varargs.h.
35390 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35391 Joseph Myers <joseph@codesourcery.com>
35393 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
35395 * configure: Regenerated.
35397 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
35399 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
35400 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
35403 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35406 * Makefile (files-for-dist): Remove NOTES.
35407 (NOTES): Remove rule.
35408 * README: Don't refer to NOTES.
35409 * manual/creature.texi: Don't include macros.texi.
35410 * manual/intro.texi (creature.texi): Remove comment referring to
35413 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
35414 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
35415 * configure: Regenerated.
35416 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
35417 LIBC_TRY_CC_OPTION.
35418 (libc_cv_as_i686): Likewise.
35419 (libc_cv_cc_avx): Likewise.
35420 (libc_cv_cc_sse2avx): Likewise.
35421 (libc_cv_cc_fma4): Likewise.
35422 (libc_cv_cc_novzeroupper): Likewise.
35423 * sysdeps/i386/configure: Regenerated.
35426 * sysdeps/i386/fpu/s_cexp.S: Remove.
35427 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35428 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35429 * math/libm-test.inc (cexp_test): Add more tests.
35430 * sysdeps/i386/fpu/libm-test-ulps: Update.
35431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35433 2012-03-21 Allan McRae <allan@archlinux.org>
35435 * timezone/Makefile: Do not install iso3166.tab and zone.tab
35437 2012-03-21 Joseph Myers <joseph@codesourcery.com>
35440 * math/w_exp2.c: Do not include <float.h>.
35441 (o_threshold, u_threshold): Remove.
35442 (__exp2): Calculate result before checking finiteness and calling
35444 * math/w_exp2f.c: Likewise.
35445 * math/w_exp2l.c: Likewise.
35446 * math/libm-test.inc (exp2_test): Require overflow exception for
35450 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
35451 range of signed 64-bit integers before using fistpll. Remove
35452 checks for whether integers fit in mantissa bits.
35453 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
35454 the range of signed 32-bit integers before using fistpl. Remove
35455 checks for whether integers fit in mantissa bits.
35456 * sysdeps/i386/fpu/e_powl.S (p64): New object.
35457 (__ieee754_powl): Test for y outside the range of signed 64-bit
35458 integers before using fistpll. Reduce 64-bit values to 63-bit
35460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
35461 divide-by-zero is raised for zero to large negative powers.
35462 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
35463 (__ieee754_powl): Test for y outside the range of signed 64-bit
35464 integers before using fistpll. Reduce 64-bit values to 63-bit
35466 * math/libm-test.inc (pow_test): Add more tests.
35468 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35470 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
35471 <stdio-common/_itoa.h>.
35472 * debug/segfault.c: Likewise.
35473 * elf/dl-cache.c: Likewise.
35474 * elf/dl-minimal.c: Likewise.
35475 * elf/dl-misc.c: Likewise.
35476 * elf/dl-sysdep.c: Likewise.
35477 * elf/dl-version.c: Likewise.
35478 * elf/rtld.c: Likewise.
35479 * hurd/hurdsock.c: Likewise.
35480 * hurd/lookup-retry.c: Likewise.
35481 * malloc/malloc.c: Likewise.
35482 * malloc/mtrace.c: Likewise.
35483 * nscd/nscd_getgr_r.c: Likewise.
35484 * nscd/nscd_getpw_r.c: Likewise.
35485 * nscd/nscd_getserv_r.c: Likewise.
35486 * posix/getopt_init.c: Likewise.
35487 * posix/wordexp.c: Likewise.
35488 * stdio-common/_itoa.c: Likewise.
35489 * stdio-common/printf_fphex.c: Likewise.
35490 * stdio-common/vfprintf.c: Likewise.
35491 * string/_strerror.c: Likewise.
35492 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
35493 * sysdeps/i386/i686/hp-timing.h: Likewise.
35494 * sysdeps/mach/_strerror.c: Likewise.
35495 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
35496 * sysdeps/mach/hurd/sethostid.c: Likewise.
35497 * sysdeps/mach/hurd/xmknodat.c: Likewise.
35498 * sysdeps/mach/xpg-strerror.c: Likewise.
35499 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
35500 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
35501 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
35502 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
35503 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
35504 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
35505 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
35506 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
35507 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
35508 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
35509 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
35510 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
35511 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
35512 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
35513 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
35514 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
35515 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
35516 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
35517 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35518 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35519 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
35521 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
35523 * stdio-common/_itoa.h: Moved to ...
35524 * sysdeps/generic/_itoa.h: Here.
35526 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
35528 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
35529 instead of "_itoa.h" and "_itowa.h".
35530 * stdio-common/vfprintf.: Likewise.
35532 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35534 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
35536 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
35537 (__signbit): Likwise.
35538 (llrintf): Likwise.
35541 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
35543 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
35546 2012-03-20 Joseph Myers <joseph@codesourcery.com>
35548 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
35549 OVERFLOW_EXCEPTION_OK.
35550 * math/libm-test.inc ("Philosophy"): Update comment about
35552 (OVERFLOW_EXCEPTION): Define.
35553 (OVERFLOW_EXCEPTION_OK): Likewise.
35554 (INVALID_EXCEPTION_OK): Renumber.
35555 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
35556 (IGNORE_ZERO_INF_SIGN): Likewise.
35557 (test_exceptions): Handle FE_OVERFLOW.
35558 (exp10_test): Expect overflow exceptions.
35559 (exp2_test): Likewise.
35560 (expm1_test): Likewise.
35561 (nextafter_test): Likewise.
35562 (pow_test): Likewise.
35563 (scalbn_test): Likewise.
35564 (scalbln_test): Likewise.
35566 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35568 * sysdeps/x86_64/bits/atomic.h
35569 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
35571 (atomic_exchange_acq): Likewise.
35572 (__arch_exchange_and_add_body): Likewise.
35573 (__arch_add_body): Likewise.
35574 (atomic_add_negative): Likewise.
35575 (atomic_add_zero): Likewise.
35577 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35579 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
35580 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
35582 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35584 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
35585 Check __x86_64__ instead of __WORDSIZE.
35587 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35589 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
35591 2012-03-19 David S. Miller <davem@davemloft.net>
35593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35595 * sysdeps/sparc/fpu/fenv_private.h: New file.
35596 * sysdeps/sparc/fpu/math_private.h: Use it.
35597 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
35599 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
35600 (libc_feholdexcept_setroundl): Remove.
35601 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
35603 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
35604 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
35606 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35608 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
35609 int64_t instead of long int.
35610 (INSERT_WORDS64): Likwise.
35612 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
35614 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
35615 _Unwind_GetCFA return to _Unwind_Ptr first.
35617 2012-03-19 Joseph Myers <joseph@codesourcery.com>
35620 * math/s_clog.c: Include <float.h>.
35621 (__clog): Scale large or subnormal inputs.
35622 * math/s_clogf.c: Likewise.
35623 * math/s_clogl.c: Likewise.
35624 * math/s_clog10.c: Include <float.h>.
35625 (M_LOG10_2): Define.
35626 (__clog10): Scale large or subnormal inputs.
35627 * math/s_clog10f.c: Likewise.
35628 * math/s_clog10l.c: Likewise.
35629 * math/libm-test.inc (clog_test): Add more tests.
35630 (clog10_test): Likewise.
35631 * sysdeps/i386/fpu/libm-test-ulps: Update.
35632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
35637 * math/libm-test.inc (atan2_test): Add another test.
35639 * Makerules (common-objdir-compile): Remove.
35640 * sysdeps/unix/Makefile (config-generated): Do not add
35641 $(unix-generated) to variable.
35642 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
35643 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
35645 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
35647 [generic bits/local_lim.h] (before-compile): Do not append to
35649 [generic bits/local_lim.h] (common-generated): Likewise.
35650 [generic sys/param.h] (before-compile): Do not append to variable.
35651 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
35652 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
35653 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
35654 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
35656 [generic sys/param.h] (sys/param.h-includes): Remove variable.
35657 [generic sys/param.h] (sys/param.h-includes): Remove rule.
35658 [generic sys/param.h] ($(addprefix
35659 $(common-objpfx),$(sys/param.h-includes))): Likewise.
35660 [generic sys/param.h] (common-generated): Do not append to
35662 [generic sys/param.h] (sysdep_headers): Likewise.
35663 [generic bits/errno.h] (before-compile): Do not append to
35665 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
35667 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
35668 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
35669 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
35670 [generic bits/errno.h] (common-generated): Do not append to
35672 [generic bits/ioctls.h] (before-compile): Do not append to
35674 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
35676 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
35677 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
35678 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
35680 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
35681 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
35682 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
35683 [generic bits/ioctls.h] (common-generated): Do not append to
35685 [generic sys/syscall.h] (syscall.h): Remove variable.
35686 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
35688 [generic sys/syscall.h] (before-compile): Do not append to
35690 [generic sys/syscall.h] (common-generated): Likewise.
35691 * sysdeps/unix/errnos-tmpl.c: Remove file.
35692 * sysdeps/unix/errnos.awk: Likewise.
35693 * sysdeps/unix/ioctls-tmpl.c: Likewise.
35694 * sysdeps/unix/ioctls.awk: Likewise.
35695 * sysdeps/unix/mk-local_lim.c: Likewise.
35696 * sysdeps/unix/snarf-ioctls: Likewise.
35698 2012-03-19 Richard Henderson <rth@twiddle.net>
35700 * sysdeps/i386/fpu/fenv_private.h: New file.
35701 * sysdeps/i386/fpu/math_private.h: Use it.
35702 (math_opt_barrier, math_force_eval): Remove.
35703 (libc_feholdexcept_setround_53bit): Remove.
35704 (libc_feupdateenv_53bit): Remove.
35705 * sysdeps/x86_64/fpu/math_private.h: Likewise.
35706 (math_opt_barrier, math_force_eval): Remove.
35707 (libc_feholdexcept): Remove.
35708 (libc_feholdexcept_setround): Remove.
35709 (libc_fetestexcept, libc_fesetenv): Remove.
35710 (libc_feupdateenv_test): Remove.
35711 (libc_feupdateenv, libc_feholdsetround): Remove.
35712 (libc_feresetround): Remove.
35714 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
35715 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35717 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
35718 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
35719 (libc_feupdateenv_testl): New.
35720 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
35721 (libc_feupdateenv_testf): New.
35722 (libc_feupdateenv): Use libc_feupdateenv_test.
35723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
35724 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
35726 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
35727 (libc_feholdsetroundf, libc_feholdsetroundl): New.
35728 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
35729 (libc_feresetround_noex): New.
35730 (libc_feresetround_noexf): New.
35731 (libc_feresetround_noexl): New.
35732 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
35733 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
35734 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
35735 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
35737 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
35738 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
35740 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
35741 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
35742 SET_RESTORE_ROUND_NOEX.
35743 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
35744 SET_RESTORE_ROUND_NOEXF.
35745 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
35746 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
35747 (libc_feholdsetroundf): New.
35748 (libc_feresetround, libc_feresetroundf): New.
35750 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
35751 (libc_feholdexcept_setround_53bit): Convert from macro to function.
35752 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
35754 * sysdeps/generic/math_private.h: Include <fenv.h>.
35755 (default_libc_feholdexcept): New.
35756 (default_libc_feholdexcept_setround): New.
35757 (default_libc_fesetenv, default_libc_feupdateenv): New.
35758 (libc_feholdexcept): Only define if undefined.
35759 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
35760 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
35761 (libc_feholdexcept_setroundl): Likewise.
35762 (libc_feholdexcept_setround_53bit): Likewise.
35763 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
35764 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
35765 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
35766 (libc_feupdateenv_53bit): Likewise.
35767 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
35768 (libc_feholdexcept): Convert from macro to inline function.
35769 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
35770 (libc_fesetenv, libc_feupdateenv): Likewise.
35772 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
35773 not previously defined.
35774 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
35775 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
35776 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
35777 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
35778 * sysdeps/ieee754/flt-32/math_private.h: New file.
35779 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
35780 math_private.h below SET_FLOAT_WORD.
35781 (__isnan, __isinf_ns, __finite): Remove.
35782 (__isnanf, __isinf_nsf, __finitef): Remove.
35784 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
35786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35788 2012-03-17 David S. Miller <davem@davemloft.net>
35791 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
35794 2012-03-16 David S. Miller <davem@davemloft.net>
35796 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
35800 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
35802 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
35803 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
35804 sysdep_routines when subdir is sysvipc.
35805 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
35806 __getshmlba helper.
35808 * sysdeps/sparc/fpu/libm-test/ulps: Update.
35810 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35812 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
35815 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35817 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
35818 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
35819 (__lround): Renamed to ...
35820 (__llround): This. Replace long int with long long int.
35821 Define lround functions as aliases of llround functions.
35822 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
35824 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35826 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
35827 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
35828 adresses to uintptr_t. Replace "long int" and "unsigned long
35829 int" with "greg_t" on va_arg.
35831 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35833 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
35834 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
35836 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
35837 Move e_machine check before EI_CLASS check. Handle x32
35838 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
35839 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
35840 SKIP_EM_IA_64 and include
35841 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
35843 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
35844 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
35845 (add_system_dir): New macro.
35847 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
35848 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
35850 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35861 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
35863 * math/w_j0f.c (j0f): Likewise.
35865 * math/w_j0l.c (__j0l): Likewise.
35867 * math/w_j1.c (j1): Likewise.
35869 * math/w_j1f.c (j1f): Likewise.
35871 * math/w_j1l.c (__j1l): Likewise.
35873 * math/w_jn.c (jn): Likewise.
35875 * math/w_jnf.c (jnf): Likewise.
35877 * math/w_jnl.c (__jnl): Likewise.
35879 * math/libm-test.inc (j0_test): Add more tests.
35880 (j1_test): Likewise.
35881 (jn_test): Likewise. Add trailing semicolon to existing test.
35882 (y0_test): Likewise.
35883 (y1_test): Likewise.
35884 * sysdeps/i386/fpu/libm-test-ulps: Update.
35885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35889 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
35890 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
35891 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
35892 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
35893 (__tanl): Set errno for infinite argument.
35894 * sysdeps/i386/fpu/mptan.c: Remove.
35895 * sysdeps/i386/fpu/s_tan.S: Likewise.
35896 * sysdeps/i386/fpu/s_tanl.S: Likewise.
35897 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
35898 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
35899 * math/libm-test.inc (tan_test): Add more tests and enable more
35900 tests for double and long double.
35901 * sysdeps/i386/fpu/libm-test-ulps: Update.
35902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35904 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
35906 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
35907 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
35909 2012-03-16 Roland McGrath <roland@hack.frob.com>
35911 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
35912 * configure.in: Use it for both main tree and add-ons.
35913 * configure: Regenerated.
35915 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
35917 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
35919 2012-03-16 Joseph Myers <joseph@codesourcery.com>
35921 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
35925 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
35926 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
35927 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
35928 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
35929 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
35931 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
35932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
35933 != 0 for prec == 2.
35934 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
35935 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
35936 * sysdeps/i386/fpu/s_cosl.S: Likewise.
35937 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
35938 * sysdeps/i386/fpu/s_sinl.S: Likewise.
35939 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
35940 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
35941 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
35942 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
35943 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
35944 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
35945 * math/libm-test.inc (cos_test): Add more tests and enable more
35946 tests for long double.
35947 (sin_test): Likewise.
35948 (sincos_test): Likewise.
35949 * sysdeps/i386/fpu/libm-test-ulps: Update.
35950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35952 2012-03-16 David S. Miller <davem@davemloft.net>
35954 * sysdeps/sparc/fpu/math_private.h: New file.
35956 2012-03-15 David S. Miller <davem@davemloft.net>
35958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
35960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
35961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
35963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
35964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
35965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
35966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
35967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
35968 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
35970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
35972 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
35973 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
35975 * sysdeps/sparc/sparc-ifunc.h: New file.
35976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
35978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
35981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
35983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
35984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
35985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
35989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
35990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
35991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
35992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
35994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
35996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
35997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
35998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
35999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36000 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36002 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36003 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36005 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36010 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36011 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36012 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36013 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36014 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36015 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36016 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36017 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36018 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36019 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36021 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36023 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36027 2012-03-15 Andreas Jaeger <aj@suse.de>
36030 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36031 ieee754/flt-32 implementation for sin, cos and sincos.
36032 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36033 * sysdeps/i386/fpu/s_cosf.S: Likewise.
36034 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36035 * sysdeps/i386/fpu/s_sinf.S: Likewise.
36036 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36037 ieee754/flt-32 implementation for tan.
36039 * math/libm-test.inc (cos_test): Enable some large input tests for
36041 (sin_test): Likewise.
36042 (sincos_test): Likewise.
36043 (tan_test): Add tests for large input.
36045 * sysdeps/i386/fpu/libm-test-ulps: Update.
36047 2012-03-15 Andreas Jaeger <aj@suse.de>
36050 * math/libm-test.inc (cos_test): Add more test cases.
36051 (sin_test): Likewise.
36052 (sincos_test): Likewise.
36054 2012-03-15 Andreas Jaeger <aj@suse.de>
36057 * math/libm-test.inc (cos_test): Add a test case for large input
36059 (sin_test): Likewise.
36060 (sincos_test): Likewise.
36062 2012-03-15 Andreas Jaeger <aj@suse.de>
36063 Joseph Myers <joseph@codesourcery.com>
36066 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36067 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36068 * sysdeps/i386/fpu/branred.c: Likewise.
36069 * sysdeps/i386/fpu/dosincos.c: Likewise.
36070 * sysdeps/i386/fpu/mpa.c: Likewise.
36071 * sysdeps/i386/fpu/s_cos.S: Likewise.
36072 * sysdeps/i386/fpu/s_sin.S: Likewise.
36073 * sysdeps/i386/fpu/s_sincos.S: Likewise.
36074 * sysdeps/i386/fpu/sincos32.c: Likewise.
36076 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36078 (libc_feupdateenv_53bit): Define.
36079 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36081 (libc_feupdateenv_53bit): Define.
36083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36084 53 bit (without extend i386 double precision).
36086 * math/libm-test.inc (sincos_test): Add tests for large input.
36090 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36092 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
36094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36096 2012-03-15 David S. Miller <davem@davemloft.net>
36098 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36099 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36100 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36101 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36112 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36125 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36126 fmin/fmax sysdep routines.
36127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36129 2012-03-14 David S. Miller <davem@davemloft.net>
36131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36132 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36133 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36134 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36135 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36136 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36141 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36142 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36144 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36149 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36151 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36152 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36153 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36155 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36158 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36159 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36203 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36208 * sysdeps/sparc/configure.in: New file.
36209 * sysdeps/sparc/configure: Generate.
36210 * configure.in (libc_cv_sparc_as_vis3): Substitute.
36211 * configure: Regenerate.
36212 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36213 * config.make.in (have-as-vis3): New.
36214 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36215 available use -Av9d instead of -Av9a.
36216 * sysdeps/sparc/sparc64/Makefile: Likewise.
36217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36227 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36228 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36229 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36230 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36232 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36233 fzeros/fnegs to load 0x80000000 into a float register instead of
36235 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36237 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36241 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36242 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36243 ($(inst_includedir)/bits/syscall.h): Remove rule.
36244 ($(objpfx)bits/syscall.d): Include instead of
36245 $(objpfx)syscall-list.d.
36246 (generated): Change syscall-list.h and syscall-list.d to
36247 bits/syscall.h and bits/syscall.d.
36249 2012-03-14 Roland McGrath <roland@hack.frob.com>
36252 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36254 2012-03-14 Joseph Myers <joseph@codesourcery.com>
36257 * math/s_csqrt.c: Include <float.h>.
36258 (__csqrt): Scale large or subnormal inputs.
36259 * math/s_csqrtf.c: Likewise.
36260 * math/s_csqrtl.c: Likewise.
36261 * math/libm-test.inc (csqrt_test): Add more tests.
36262 * sysdeps/i386/fpu/libm-test-ulps: Update.
36263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36266 * math/libm-test.inc (hypot_test): Add more tests.
36268 2012-03-13 David S. Miller <davem@davemloft.net>
36271 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36272 double-precision for the calculation instead of scaling.
36274 2012-03-13 Joseph Myers <joseph@codesourcery.com>
36276 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36277 manipulate bits before adding and subtracting TWO52[sx].
36278 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36279 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36281 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36283 2012-03-13 David S. Miller <davem@davemloft.net>
36285 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36286 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36287 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36288 rtld-global-offsets.h
36289 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36291 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36294 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36296 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36297 'err' in the ifdef scope in which it is actually used.
36299 * nss/nss_db/db-init.c: Include string.h
36301 2012-03-12 David S. Miller <davem@davemloft.net>
36303 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36304 masking out of the most significant byte of random value used.
36305 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36306 Fix coding style in previous change.
36308 * sysdeps/unix/sysv/linux/kernel-features.h
36309 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36310 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36312 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36315 2012-03-11 David S. Miller <davem@davemloft.net>
36317 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36318 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36319 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36320 for 'resultvar' otherwise things get truncated on 64-bit.
36322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36323 Fix masking out of the most significant byte of random value used.
36325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36327 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
36329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36331 2012-03-09 David S. Miller <davem@davemloft.net>
36333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
36334 variables with appropriate CPP guards.
36335 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
36336 from the frame pointer, not the stack pointer. Correct layout
36337 comments. Fix test on resulting framesize and the management of
36338 the outregs buffer for pltexit. Preserve floating point return
36339 values across _dl_call_pltexit call.
36340 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
36341 framesize and the management of the outregs buffer for pltexit.
36342 Preserve floating point return values across _dl_call_pltexit
36344 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
36345 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
36346 (la_sparc64_gnu_pltexit): New functions.
36347 (print_exit): Fix format string for return register value.
36349 2012-03-10 Joseph Myers <joseph@codesourcery.com>
36351 * sunrpc/Makefile (others): Add rpcgen.
36352 ($(objpfx)rpcgen): Remove special build rule and dependency on
36354 * sunrpc/rpcgen.c: New file.
36356 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
36359 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
36360 * stdio-common/bug-vfprintf-nargs.c: Likewise.
36361 * sysdeps/i386/crti.S: Likewise.
36362 * sysdeps/i386/crtn.S: Likewise.
36363 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
36364 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
36365 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
36366 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
36367 * sysdeps/sh/crti.S: Likewise.
36368 * sysdeps/sh/crtn.S: Likewise.
36369 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36372 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
36374 * locale/programs/locfile-kw.gperf: Likewise.
36375 * locale/programs/charmap-kw.h: Regenerated.
36376 * locale/programs/locfile-kw.h: Likewise.
36379 * intl/plural.y: Replace FSF snail mail address with URL.
36380 * intl/plural.c: Regenerated.
36382 2012-03-09 Richard Henderson <rth@twiddle.net>
36384 * include/math_private.h: Remove file.
36385 * math/math_private.h: Move file ...
36386 * sysdeps/generic/math_private.h: ... here.
36388 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
36389 * sysdeps/powerpc/fpu/math_private.h: Likewise.
36390 * sysdeps/x86_64/fpu/math_private.h: Likewise.
36392 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
36393 and <math_private.h>.
36394 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
36395 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
36396 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
36397 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
36398 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
36399 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
36400 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36401 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36402 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36403 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36404 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36405 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36406 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36407 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36408 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36409 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36411 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36412 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36413 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36414 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36416 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36417 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36418 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
36419 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36420 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36421 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36422 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36423 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36424 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36425 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36426 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
36427 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36428 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
36429 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
36430 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36431 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
36432 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
36433 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36434 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
36435 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
36436 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
36438 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
36439 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
36440 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
36441 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
36442 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36443 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
36444 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
36445 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
36446 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
36447 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
36448 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
36449 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36450 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36451 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36452 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
36453 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
36454 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36455 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
36456 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36457 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
36458 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
36459 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36460 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36461 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36462 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
36463 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
36464 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36465 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36466 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36467 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36468 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
36469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
36470 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
36471 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36472 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
36473 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
36474 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36475 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
36476 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36477 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36478 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36479 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36480 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
36481 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
36482 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36483 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36484 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36485 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36486 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36487 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36488 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36489 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36490 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36491 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36492 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36493 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36494 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36495 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36496 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36497 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36498 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36499 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36500 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36501 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36502 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36503 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36504 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36505 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36506 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36508 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
36509 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36510 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36511 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
36512 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36513 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36514 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36515 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
36516 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36517 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
36518 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36519 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
36520 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
36521 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
36522 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
36523 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
36524 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
36525 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36526 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36527 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
36528 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
36529 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36530 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36531 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
36532 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
36533 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36534 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36535 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36536 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36537 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
36538 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
36539 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
36540 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
36541 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
36542 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
36543 * sysdeps/ieee754/k_standard.c: Likewise.
36544 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36545 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36546 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36547 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36548 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36549 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36550 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36551 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36552 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36553 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36554 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36555 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36556 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
36557 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
36558 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
36559 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
36560 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36561 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
36562 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
36563 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
36564 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
36565 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
36566 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36567 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36568 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36569 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36570 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36571 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36572 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36573 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36574 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36575 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36576 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36577 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36578 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36579 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36580 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36581 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
36582 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
36583 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36584 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36585 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36586 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36587 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36588 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36589 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36590 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36591 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36592 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36593 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36594 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36595 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36596 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36597 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
36598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36600 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
36601 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
36602 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36603 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36604 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36605 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36606 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36607 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
36608 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36609 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36610 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
36611 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
36612 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
36613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
36614 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
36615 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36616 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
36617 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
36618 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
36619 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
36620 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
36621 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
36622 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36623 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36624 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36625 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36626 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36627 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36628 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
36629 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36630 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36631 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36632 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36633 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36634 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
36635 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36636 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36637 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36640 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
36641 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36642 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36643 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
36644 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36646 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36647 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36648 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
36649 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36651 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36652 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
36653 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36654 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36655 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36656 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
36657 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36658 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
36659 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36660 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
36661 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36662 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36663 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36665 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
36666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
36667 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
36668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36669 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
36670 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36671 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36672 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36673 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36674 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36675 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36676 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36677 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
36678 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36679 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36680 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
36681 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
36682 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36683 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
36684 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
36685 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36686 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
36687 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
36688 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36689 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36690 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36691 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36692 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36693 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
36694 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36695 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36696 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36697 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36698 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
36699 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
36700 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36701 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36702 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36703 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
36704 * sysdeps/ieee754/s_lib_version.c: Likewise.
36705 * sysdeps/ieee754/s_matherr.c: Likewise.
36706 * sysdeps/ieee754/s_signgam.c: Likewise.
36707 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36708 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36709 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
36710 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
36711 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
36712 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36713 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
36714 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
36715 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
36716 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
36717 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36718 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
36719 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36720 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36721 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
36722 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36725 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36726 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36727 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36729 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36731 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
36732 * sunrpc/rpc_main.c: Likewise.
36733 * sunrpc/rpc_svcout.c: Likewise.
36735 2012-03-09 David S. Miller <davem@davemloft.net>
36737 * include/math_private.h: New file.
36739 2012-03-09 Joseph Myers <joseph@codesourcery.com>
36741 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
36742 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
36743 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
36744 from <bits/socket_type.h>.
36745 (enum __socket_type): Don't define here.
36746 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
36747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36748 bits/socket_type.h.
36751 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
36752 checking __USE_GNU.
36754 * Makerules ($(inst_includedir)/%.h): New rule.
36755 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
36756 (install-others): Remove variable setting.
36757 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
36759 2012-03-08 Richard Henderson <rth@twiddle.net>
36761 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
36762 from macro to inline function; merge with the
36763 !__LIBC_INTERNAL_MATH_INLINES version.
36764 (__ieee754_sqrtf): Likewise.
36766 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
36767 to inline function.
36768 (__rintf, __floor, __floorf): Likewise.
36770 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
36771 macro to inline function.
36772 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
36774 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
36775 not <math/math_private.h>.
36777 2012-03-08 David S. Miller <davem@davemloft.net>
36779 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
36781 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
36783 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
36785 * resolv/gai_misc.c (handle_requests): Fix struct timespec
36787 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
36788 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36790 2012-03-08 Ulrich Drepper <drepper@gmail.com>
36792 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
36793 be defined individually, they must be defined as a block. Define
36794 S for printing a string instead of hidint the different by using a
36795 macro for adding the 'l'.
36796 * stdio-common/tst-fphex-wide.c: Adjust.
36798 2012-03-07 Marek Polacek <polacek@redhat.com>
36800 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
36802 2012-03-08 Marek Polacek <polacek@redhat.com>
36805 * stdio-common/Makefile (tests): Add tst-fphex-wide.
36806 * stdio-common/tst-fphex.c: Define a few macros to make the
36807 test reusable. Use them.
36808 * stdio-common/tst-fphex-wide.c: New file.
36810 2012-03-08 Joseph Myers <joseph@codesourcery.com>
36813 * manual/macros.texi (gnusystems): New macro.
36814 (nongnusystems): Likewise.
36815 (gnulinuxhurdsystems): Likewise.
36816 (gnuhurdsystems): Likewise..
36817 (gnulinuxsystems): Likewise.
36818 * manual/charset.texi: Use new macros or @theglibc{} to refer to
36819 variants of the GNU system, not "GNU system".
36820 * manual/conf.texi: Likewise.
36821 * manual/errno.texi: Likewise. Update example of errno macro
36823 * manual/filesys.texi: Likewise.
36824 (getumask): Document as specific to GNU/Hurd.
36825 * manual/install.texi: Likewise. Reword some references to
36827 * manual/intro.texi: Likewise.
36828 * manual/io.texi: Likewise.
36829 (File Name Portability): Detail which constraints are inapplicable
36830 to all GNU systems and which are only inapplicable to GNU/Hurd.
36831 * manual/job.texi: Likewise.
36832 * manual/llio.texi: Likewise.
36833 (O_NOCTTY): Document as present on GNU/Linux.
36834 * manual/maint.texi: Likewise.
36835 * manual/memory.texi: Likewise.
36836 * manual/pattern.texi: Likewise.
36837 * manual/pipe.texi: Likewise.
36838 * manual/process.texi: Likewise.
36839 * manual/resource.texi: Likewise.
36840 (RUSAGE_CHILDREN): Remove statement about specifying a particular
36842 * manual/setjmp.texi: Likewise.
36843 * manual/signal.texi: Likewise.
36844 * manual/startup.texi: Likewise.
36845 * manual/stdio.texi: Likewise.
36846 * manual/terminal.texi: Likewise.
36847 (ONLCR): Document as POSIX.
36848 (OXTABS): Document availability on GNU/Linux as XTABS.
36849 (ONOEOT): Document availability separately from other bits.
36850 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
36851 * manual/time.texi: Likewise.
36852 * manual/users.texi: Likewise.
36853 * INSTALL: Regenerated.
36854 * sysdeps/gnu/errlist.c: Regenerated.
36856 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
36857 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
36858 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
36860 * configure: Regenerated.
36862 2012-03-07 Joseph Myers <joseph@codesourcery.com>
36864 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
36865 default includes instead of AC_HEADER_CHECK.
36866 * sysdeps/i386/configure: Regenerated.
36869 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
36870 * math/s_cacoshf.c (__cacoshf): Likewise.
36871 * math/s_cacoshl.c (__cacoshl): Likewise.
36872 * math/s_casinh.c (__casinh): Set signs of result from argument.
36873 * math/s_casinhf.c (__casinhf): Likewise.
36874 * math/s_casinhl.c (__casinhl): Likewise.
36875 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
36876 (casinh_test): Add more tests.
36877 * sysdeps/i386/fpu/libm-test-ulps: Update.
36878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36880 2012-03-07 Ulrich Drepper <drepper@gmail.com>
36882 * po/zh_TW.po: Update from translation team.
36884 * login/Makefile (distribute): Remove variable.
36885 * catgets/Makefile: Likewise.
36886 * mach/Makefile: Likewise.
36887 * malloc/Makefile: Likewise.
36888 * misc/Makefile: Likewise.
36889 * iconv/Makefile: Likewise.
36890 * nscd/Makefile: Likewise.
36891 * hurd/Makefile: Likewise.
36892 * manual/Makefile: Likewise.
36893 * locale/Makefile: Likewise.
36894 * intl/Makefile: Likewise.
36895 * conform/Makefile: Likewise.
36896 * nss/Makefile: Likewise.
36897 * time/Makefile: Likewise.
36898 * soft-fp/Makefile: Likewise.
36899 * dirent/Makefile: Likewise.
36900 * gmon/Makefile: Likewise.
36901 * po/Makefile: Likewise.
36902 * rt/Makefile: Likewise.
36903 * socket/Makefile: Likewise.
36904 * math/Makefile: Likewise.
36905 * signal/Makefile: Likewise.
36906 * debug/Makefile: Likewise.
36907 * elf/Makefile: Likewise.
36908 * timezone/Makefile: Likewise.
36909 * stdlib/Makefile: Likewise.
36910 * iconvdata/Makefile: Likewise.
36911 * sunrpc/Makefile: Likewise.
36912 * io/Makefile: Likewise.
36913 * argp/Makefile: Likewise.
36914 * inet/Makefile: Likewise.
36915 * hesiod/Makefile: Likewise.
36916 * grp/Makefile: Likewise.
36917 * csu/Makefile: Likewise.
36918 * wctype/Makefile: Likewise.
36919 * crypt/Makefile: Likewise.
36920 * libio/Makefile: Likewise.
36921 * string/Makefile: Likewise.
36922 * nis/Makefile: Likewise.
36923 * resolv/Makefile: Likewise.
36924 * stdio-common/Makefile: Likewise.
36925 * wcsmbs/Makefile: Likewise.
36926 * dlfcn/Makefile: Likewise.
36927 * posix/Makefile: Likewise.
36930 * timezone/Makefile: Don't install timezone files, just the programs
36933 2012-03-06 Ulrich Drepper <drepper@gmail.com>
36935 * nss/databases.def: Add missing gshadow entry.
36937 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
36939 2012-03-06 Marek Polacek <polacek@redhat.com>
36942 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
36943 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
36944 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
36945 * stdio-common/tst-long-dbl-fphex.c: New file.
36947 2012-03-06 David S. Miller <davem@davemloft.net>
36949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36950 (set_obp_int): New function.
36951 (get_obp_int): New function.
36952 (__get_clockfreq_via_dev_openprom): Likewise.
36953 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
36954 Avoid unused variable warnings on 'val' and use builtin_expect.
36955 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
36957 (INLINE_CLONE_SYSCALL): Likewise.
36959 2012-03-05 David S. Miller <davem@davemloft.net>
36961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36963 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
36965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
36968 only for |x| >= 40.
36969 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
36971 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
36973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
36974 Replace gettimeofday with __vdso_gettimeofday.
36976 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36977 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
36978 __vdso_clock_gettime and __vdso_getcpu.
36980 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
36981 time with __vdso_time.
36983 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36985 * manual/lang.texi (size_t): Note types to which size_t may be
36986 equivalent with the GNU C Library, but do not describe when
36987 differences between them are significant.
36989 2012-03-05 Andreas Jaeger <aj@suse.de>
36991 * sysdeps/i386/fpu/libm-test-ulps: Update.
36993 2012-03-05 Joseph Myers <joseph@codesourcery.com>
36996 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
36997 (__ieee754_pow): Save and restore rounding mode and use
36998 round-to-nearest for main computations.
36999 * math/libm-test.inc (pow_test_tonearest): New function.
37000 (pow_test_towardzero): Likewise.
37001 (pow_test_downward): Likewise.
37002 (pow_test_upward): Likewise.
37003 (main): Call the new functions.
37004 * sysdeps/i386/fpu/libm-test-ulps: Update.
37005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37008 * math/libm-test.inc (cosh_test_tonearest): New function.
37009 (cosh_test_towardzero): Likewise.
37010 (cosh_test_downward): Likewise.
37011 (cosh_test_upward): Likewise.
37012 (sinh_test_tonearest): Likewise.
37013 (sinh_test_towardzero): Likewise.
37014 (sinh_test_downward): Likewise.
37015 (sinh_test_upward): Likewise.
37016 (main): Call the new functions.
37017 * sysdeps/i386/fpu/libm-test-ulps: Update.
37018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37020 2012-03-05 Tom de Vries <tom@codesourcery.com>
37022 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37023 default stack guard is set in last bytes.
37024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37026 2012-03-05 Kees Cook <keescook@chromium.org>
37028 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37031 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37032 possibly allocate from heap instead of stack.
37033 * stdio-common/bug-vfprintf-nargs.c: New file.
37034 * stdio-common/Makefile (tests): Add nargs overflow test.
37036 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
37038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37040 2012-03-03 Marek Polacek <polacek@redhat.com>
37042 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37043 * math/math_private.h: Likewise.
37044 * stdlib/tst-strtod.c: Likewise.
37045 * sysdeps/i386/i486/bits/atomic.h: Likewise.
37046 * sysdeps/x86_64/bits/atomic.h: Likewise.
37048 2012-03-02 David S. Miller <davem@davemloft.net>
37050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37054 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37055 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37056 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37057 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37059 2012-03-02 Roland McGrath <roland@hack.frob.com>
37062 * manual/examples/README: New file, says the example source files
37063 can be used under GPL>=2.
37064 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37065 line containing just "*/".
37066 * manual/examples/add.c: Add copyright header (GPL>=2).
37067 * manual/examples/argp-ex1.c: Likewise.
37068 * manual/examples/argp-ex2.c: Likewise.
37069 * manual/examples/argp-ex3.c: Likewise.
37070 * manual/examples/argp-ex4.c: Likewise.
37071 * manual/examples/atexit.c: Likewise.
37072 * manual/examples/db.c: Likewise.
37073 * manual/examples/dir.c: Likewise.
37074 * manual/examples/dir2.c: Likewise.
37075 * manual/examples/execinfo.c: Likewise.
37076 * manual/examples/filecli.c: Likewise.
37077 * manual/examples/filesrv.c: Likewise.
37078 * manual/examples/fmtmsgexpl.c: Likewise.
37079 * manual/examples/genpass.c: Likewise.
37080 * manual/examples/inetcli.c: Likewise.
37081 * manual/examples/inetsrv.c: Likewise.
37082 * manual/examples/isockad.c: Likewise.
37083 * manual/examples/longopt.c: Likewise.
37084 * manual/examples/memopen.c: Likewise.
37085 * manual/examples/memstrm.c: Likewise.
37086 * manual/examples/mkfsock.c: Likewise.
37087 * manual/examples/mkisock.c: Likewise.
37088 * manual/examples/mygetpass.c: Likewise.
37089 * manual/examples/pipe.c: Likewise.
37090 * manual/examples/popen.c: Likewise.
37091 * manual/examples/rprintf.c: Likewise.
37092 * manual/examples/search.c: Likewise.
37093 * manual/examples/select.c: Likewise.
37094 * manual/examples/setjmp.c: Likewise.
37095 * manual/examples/sigh1.c: Likewise.
37096 * manual/examples/sigusr.c: Likewise.
37097 * manual/examples/stpcpy.c: Likewise.
37098 * manual/examples/strdupa.c: Likewise.
37099 * manual/examples/strftim.c: Likewise.
37100 * manual/examples/strncat.c: Likewise.
37101 * manual/examples/subopt.c: Likewise.
37102 * manual/examples/swapcontext.c: Likewise.
37103 * manual/examples/termios.c: Likewise.
37104 * manual/examples/testopt.c: Likewise.
37105 * manual/examples/testpass.c: Likewise.
37106 * manual/examples/timeval_subtract.c: Likewise.
37109 * manual/time.texi (Elapsed Time): Move timeval_subtract example
37111 * manual/timeval_subtract.c.texi: ... here, new file.
37113 2012-03-02 David S. Miller <davem@davemloft.net>
37115 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37117 2012-03-02 Joseph Myers <joseph@codesourcery.com>
37120 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37121 (__sin): Save and restore rounding mode and use round-to-nearest
37122 for all computations.
37123 (__cos): Save and restore rounding mode and use round-to-nearest
37124 for all computations.
37125 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37127 (tan): Save and restore rounding mode and use round-to-nearest for
37129 * math/libm-test.inc (cos_test_tonearest): New function.
37130 (cos_test_towardzero): Likewise.
37131 (cos_test_downward): Likewise.
37132 (cos_test_upward): Likewise.
37133 (sin_test_tonearest): Likewise.
37134 (sin_test_towardzero): Likewise.
37135 (sin_test_downward): Likewise.
37136 (sin_test_upward): Likewise.
37137 (tan_test_tonearest): Likewise.
37138 (tan_test_towardzero): Likewise.
37139 (tan_test_downward): Likewise.
37140 (tan_test_upward): Likewise.
37141 (main): Call the new functions.
37142 * sysdeps/i386/fpu/libm-test-ulps: Update.
37143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37147 small n, then large n, before computing and testing k+n.
37148 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37149 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37151 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37153 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37154 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37155 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37156 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37157 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37158 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37159 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37160 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37161 * math/libm-test.inc (scalbn_test): Add more tests.
37162 (scalbln_test): Likewise.
37164 * manual/filesys.texi (mode_t): Describe constraints on size and
37165 signedness, not exact equivalence to a particular type.
37167 (ino64_t): Likewise.
37169 (nlink_t): Likewise.
37170 (blkcnt_t): Likewise.
37171 (blkcnt64_t): Likewise.
37172 * manual/llio.texi (off_t): Likewise.
37175 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37176 (__ieee754_exp): Save and restore rounding mode and use
37177 round-to-nearest for all computations.
37178 * math/libm-test.inc (exp_test_tonearest): New function.
37179 (exp_test_towardzero): Likewise.
37180 (exp_test_downward): Likewise.
37181 (exp_test_upward): Likewise.
37182 (main): Call the new functions.
37183 * sysdeps/i386/fpu/libm-test-ulps: Update.
37184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37186 2012-03-01 Chris Demetriou <cgd@google.com>
37188 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37189 have predictable order.
37191 2012-03-01 David S. Miller <davem@davemloft.net>
37193 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37195 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37196 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37197 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37198 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37200 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37201 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37202 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37204 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37205 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37206 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37207 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37208 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37212 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37213 * sysdeps/sparc/fpu/libm-test-ulps: to here.
37214 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37216 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37217 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37218 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37223 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37224 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37225 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37226 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37228 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37229 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37230 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37231 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37232 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37233 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37234 * sysdeps/sparc/elf/configure: Regenerated.
37236 2012-03-01 Joseph Myers <joseph@codesourcery.com>
37238 * configure.in (AS, LD): Require binutils 2.20 or later.
37239 * configure: Regenerated.
37240 * manual/install.texi (Tools for Compilation): Give binutils 2.20
37241 as required minimum version.
37242 * INSTALL: Regenerated.
37246 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37247 before squaring exponent.
37248 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37249 bottom long double and 27 bits of top long double before squaring
37251 * math/libm-test.inc (erfc_test): Add more tests.
37252 * sysdeps/i386/fpu/libm-test-ulps: Update.
37253 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37256 2012-03-01 Kai Tietz <ktietz@redhat.com>
37258 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37259 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37260 containing bit-fields.
37261 * soft-fp/extended.h (_FP_UNION_E): Likewise.
37262 * soft-fp/single.h (_FP_UNION_S): Likewise.
37263 * soft-fp/double.h (_FP_UNION_D): Likewise.
37265 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37268 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37269 not include ../strcmp.S.
37270 [USE_AS_STRNCASECMP_L]: Likewise.
37271 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37272 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37273 * sysdeps/i386/i686/multiarch/strncase_l-c.c
37274 (__strncasecmp_l_ia32): Define as alias to
37275 __strncasecmp_l_nonascii.
37278 * math/libm-test.inc (expm1_test): Add test for bug 5794.
37279 * sysdeps/i386/fpu/libm-test-ulps: Update.
37280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37282 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37285 2012-02-29 Jeff Law <law@redhat.com>
37287 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37288 out of bounds read.
37290 2012-02-29 Marek Polacek <polacek@redhat.com>
37293 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37294 * elf/Makefile: Add rules to run tst-unused-dep.out.
37296 2012-02-28 David S. Miller <davem@davemloft.net>
37298 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37299 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37300 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37301 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37302 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37303 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37305 2012-02-29 Joseph Myers <joseph@codesourcery.com>
37307 * math/libm-test.inc (llround_test): Move one test from
37308 lround_test. Use TEST_f_L in moved test.
37309 (lround_test): Move misplaced test to llround_test. Add testcase
37312 2012-02-28 Ulrich Drepper <drepper@gmail.com>
37314 * sysdeps/x86_64/fpu/e_expf.S: New file.
37315 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37317 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
37320 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37321 of remain_len that may cause incomplete multi-byte character and
37323 * posix/bug-regex33.c: New file.
37324 * posix/Makefile (tests): Add bug-regex33.
37326 2012-02-28 Joseph Myers <joseph@codesourcery.com>
37328 * manual/macros.texi: New file.
37329 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37330 * manual/libc.texinfo: Include macros.texi.
37331 * manual/creatute.texi: Likewise.
37332 * manual/install.texi: Likewise.
37333 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
37334 @glibcadj{} in references to the GNU C Library.
37335 * manual/charset.texi: Likewise.
37336 * manual/conf.texi: Likewise.
37337 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
37338 when not using those macros.
37339 * manual/creature.texi: Likewise.
37340 * manual/crypt.texi: Likewise.
37341 * manual/errno.texi: Likewise.
37342 * manual/filesys.texi: Likewise.
37343 * manual/header.texi: Likewise.
37344 * manual/install.texi: Likewise.
37345 * manual/intro.texi: Likewise.
37346 * manual/io.texi: Likewise.
37347 * manual/job.texi: Likewise.
37348 * manual/lang.texi: Likewise.
37349 * manual/libc.texiinfo: Likewise.
37350 * manual/llio.texi: Likewise.
37351 * manual/locale.texi: Likewise.
37352 * manual/maint.texi: Likewise.
37353 * manual/math.texi: Likewise.
37354 * manual/memory.texi: Likewise.
37355 * manual/message.texi: Likewise.
37356 * manual/nss.texi: Likewise.
37357 * manual/pattern.texi: Likewise.
37358 * manual/process.texi: Likewise.
37359 * manual/resource.texi: Likewise.
37360 * manual/search.texi: Likewise.
37361 * manual/setjmp.texi: Likewise.
37362 * manual/signal.texi: Likewise.
37363 * manual/socket.texi: Likewise.
37364 * manual/startup.texi: Likewise.
37365 * manual/stdio.texi: Likewise.
37366 * manual/string.texi: Likewise.
37367 * manual/sysinfo.texi: Likewise.
37368 * manual/syslog.texi: Likewise.
37369 * manual/terminal.texi: Likewise.
37370 * manual/time.texi: Likewise.
37371 * manual/users.texi: Likewise.
37372 * INSTALL: Regenerated.
37373 * NOTES: Regenerated.
37374 * sysdeps/gnu/errlist.c: Regenerated.
37376 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
37378 * include/dirent.h: Include <dirstream.h> before
37381 2012-02-28 David S. Miller <davem@davemloft.net>
37383 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
37384 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
37385 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
37386 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
37388 2012-02-27 David S. Miller <davem@davemloft.net>
37390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
37391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
37392 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
37393 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
37395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
37396 frame pointer instead of stack pointer relative arg slot.
37397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37398 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37399 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37401 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
37404 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
37406 2012-02-27 David S. Miller <davem@davemloft.net>
37408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
37409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
37410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37411 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
37412 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
37413 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
37414 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
37415 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
37417 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37419 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
37420 later. Allow versions 5-9.
37421 * configure: Regenerated.
37422 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
37423 required minimum version and 4.6 as recommended version. Do not
37424 mention bugs in GCC 2.7 and 2.8.
37425 * INSTALL: Regenerated.
37427 2012-02-27 David S. Miller <davem@davemloft.net>
37429 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
37430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
37431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
37432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
37433 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
37434 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
37435 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
37436 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
37438 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
37439 manipulate bits before adding and subtracting TWO112[sx].
37440 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37442 2012-02-27 Roland McGrath <roland@hack.frob.com>
37445 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
37446 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
37447 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
37448 being in POSIX, because they are in 1003.1-2008.
37450 * rt/tst-aio.c: Include <fcntl.h>.
37451 * rt/tst-aio7.c: Likewise.
37452 * rt/tst-aio64.c: Likewise.
37454 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
37456 2012-02-27 Joseph Myers <joseph@codesourcery.com>
37458 * manual/install.texi (--with-headers): Describe headers as
37459 interface headers, not private headers.
37460 (Specific advice for GNU/Linux systems): Describe use of headers
37461 from "make headers_install", not private headers from older
37463 * INSTALL: Regenerated.
37464 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
37466 * sysdeps/unix/sysv/linux/configure: Regenerated.
37468 * manual/llio.texi (fclean): Remove documentation.
37470 * manual/Makefile (libc-texi-generated): New variable. Include
37472 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
37473 $(libc-texi-generated), not duplicated list of files.
37474 (version.texi, stamp-version): New rules.
37475 (realclean): Remove $(libc-texi-generated), not individual files
37476 from that list. Do not remove dir-add.texinfo.
37477 * manual/libc.texinfo: Comment out uses of edition numbers and
37478 references to printed manual. Remove last-updated dates.
37479 (EDITION): Comment out.
37481 (VERSION, UPDATED): Remove.
37482 (version.texi): Include.
37484 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
37486 * sysdeps/posix/spawni.c: Include <signal.h>.
37487 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
37488 * sysdeps/pthread/aio_fsync.c: Likewise.
37490 2012-02-26 Ulrich Drepper <drepper@gmail.com>
37492 * conform/Makefile (tests): Run only when not cross-compiling and
37493 when fast-check is not defined.
37495 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
37496 * conform/data/limits.h-data: Fixes for POSIX2008.
37497 * conform/run-conformtest.sh: Run all tests.
37498 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
37500 * include/bits/dlfcn.h: Likewise.
37501 * include/langinfo.h: Likewise.
37502 * include/monetary.h: Likewise.
37503 * include/sys/poll.h: Likewise.
37505 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
37507 * posix/spawn.h: Define __need_sigset_t.
37508 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
37509 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
37510 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
37511 to get sigevent_t only.
37512 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
37513 only for __USE_GNU.
37514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37515 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37516 process_vm_writev only for __USE_GNU.
37517 * termios/termios.h: Declare tcgetsid also for POSIX2008.
37519 * conform/Makefile: For now ignore errors from run-conformtest.
37520 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
37521 POSIX to avoid namespace pollution. Don't prepend headers.
37522 * conform/data/aio.h-data: Fixes for POSIX testing.
37523 * conform/data/fcntl.h-data: Likewise.
37524 * conform/data/glob.h-data: Likewise.
37525 * conform/data/grp.h-data: Likewise.
37526 * conform/data/pthread.h-data: Likewise.
37527 * conform/data/pwd.h-data: Likewise.
37528 * conform/data/signal.h-data: Likewise.
37529 * conform/data/spawn.h-data: Likewise.
37530 * conform/data/stdio.h-data: Likewise.
37531 * conform/data/stdlib.h-data: Likewise.
37532 * conform/data/stropts.h-data: Likewise.
37533 * conform/data/sys/mman.h-data: Likewise.
37534 * conform/data/sys/stat.h-data: Likewise.
37535 * conform/data/sys/types.h-data: Likewise.
37536 * conform/data/sys/wait.h-data: Likewise.
37537 * conform/data/time.h-data: Likewise.
37538 * conform/data/unistd.h-data: Likewise.
37539 * conform/data/utime.h-data: Likewise.
37541 * io/sys/stat.h: fchmod was always in POSIX.
37542 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
37543 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
37544 * rt/aio.h: Define __need_timespec before including <time.h>.
37545 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
37546 struct. Add forward declaration of pthread_attr_t and use it in
37548 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37550 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
37551 always remove CLK_TCK definition.
37553 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
37555 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
37557 2012-02-25 Ulrich Drepper <drepper@gmail.com>
37559 * conform/run-conformtest.sh: New file.
37560 * conform/Makefile: Run run-conformtest for tests.
37561 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
37564 * conform/data/uchar.h-data: New file.
37565 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
37566 * conform/data/arpa/inet.h-data: Likewise.
37567 * conform/data/assert.h-data: Likewise.
37568 * conform/data/complex.h-data: Likewise.
37569 * conform/data/cpio.h-data: Likewise.
37570 * conform/data/ctype.h-data: Likewise.
37571 * conform/data/dirent.h-data: Likewise.
37572 * conform/data/dlfcn.h-data: Likewise.
37573 * conform/data/errno.h-data: Likewise.
37574 * conform/data/fcntl.h-data: Likewise.
37575 * conform/data/float.h-data: Likewise.
37576 * conform/data/fmtmsg.h-data: Likewise.
37577 * conform/data/fnmatch.h-data: Likewise.
37578 * conform/data/ftw.h-data: Likewise.
37579 * conform/data/glob.h-data: Likewise.
37580 * conform/data/grp.h-data: Likewise.
37581 * conform/data/iconv.h-data: Likewise.
37582 * conform/data/inttypes.h-data: Likewise.
37583 * conform/data/langinfo.h-data: Likewise.
37584 * conform/data/libgen.h-data: Likewise.
37585 * conform/data/limits.h-data: Likewise.
37586 * conform/data/locale.h-data: Likewise.
37587 * conform/data/math.h-data: Likewise.
37588 * conform/data/monetary.h-data: Likewise.
37589 * conform/data/mqueue.h-data: Likewise.
37590 * conform/data/ndbm.h-data: Likewise.
37591 * conform/data/net/if.h-data: Likewise.
37592 * conform/data/netdb.h-data: Likewise.
37593 * conform/data/netinet/in.h-data: Likewise.
37594 * conform/data/nl_types.h-data: Likewise.
37595 * conform/data/poll.h-data: Likewise.
37596 * conform/data/pthread.h-data: Likewise.
37597 * conform/data/pwd.h-data: Likewise.
37598 * conform/data/regex.h-data: Likewise.
37599 * conform/data/sched.h-data: Likewise.
37600 * conform/data/search.h-data: Likewise.
37601 * conform/data/semaphore.h-data: Likewise.
37602 * conform/data/setjmp.h-data: Likewise.
37603 * conform/data/signal.h-data: Likewise.
37604 * conform/data/spawn.h-data: Likewise.
37605 * conform/data/stdarg.h-data: Likewise.
37606 * conform/data/stdio.h-data: Likewise.
37607 * conform/data/stdlib.h-data: Likewise.
37608 * conform/data/string.h-data: Likewise.
37609 * conform/data/strings.h-data: Likewise.
37610 * conform/data/stropts.h-data: Likewise.
37611 * conform/data/sys/ipc.h-data: Likewise.
37612 * conform/data/sys/mman.h-data: Likewise.
37613 * conform/data/sys/msg.h-data: Likewise.
37614 * conform/data/sys/resource.h-data: Likewise.
37615 * conform/data/sys/select.h-data: Likewise.
37616 * conform/data/sys/sem.h-data: Likewise.
37617 * conform/data/sys/shm.h-data: Likewise.
37618 * conform/data/sys/socket.h-data: Likewise.
37619 * conform/data/sys/stat.h-data: Likewise.
37620 * conform/data/sys/statvfs.h-data: Likewise.
37621 * conform/data/sys/time.h-data: Likewise.
37622 * conform/data/sys/timeb.h-data: Likewise.
37623 * conform/data/sys/times.h-data: Likewise.
37624 * conform/data/sys/types.h-data: Likewise.
37625 * conform/data/sys/uio.h-data: Likewise.
37626 * conform/data/sys/un.h-data: Likewise.
37627 * conform/data/sys/utsname.h-data: Likewise.
37628 * conform/data/sys/wait.h-data: Likewise.
37629 * conform/data/syslog.h-data: Likewise.
37630 * conform/data/tar.h-data: Likewise.
37631 * conform/data/termios.h-data: Likewise.
37632 * conform/data/utime.h-data: Likewise.
37633 * conform/data/utmpx.h-data: Likewise.
37634 * conform/data/varargs.h-data: Likewise.
37635 * conform/data/wchar.h-data: Likewise.
37636 * conform/data/wctype.h-data: Likewise.
37637 * conform/data/wordexp.h-data: Likewise.
37639 * include/stropts.h: New file.
37640 * include/uchar.h: New file.
37641 * include/aio.h: Changes to allow conformtest.pl to use the headers.
37642 * include/assert.h: Likewise.
37643 * include/ctype.h: Likewise.
37644 * include/dirent.h: Likewise.
37645 * include/dlfcn.h: Likewise.
37646 * include/fcntl.h: Likewise.
37647 * include/fnmatch.h: Likewise.
37648 * include/glob.h: Likewise.
37649 * include/grp.h: Likewise.
37650 * include/libio.h: Likewise.
37651 * include/locale.h: Likewise.
37652 * include/math.h: Likewise.
37653 * include/net/if.h: Likewise.
37654 * include/netdb.h: Likewise.
37655 * include/netinet/in.h: Likewise.
37656 * include/pthread.h: Likewise.
37657 * include/pwd.h: Likewise.
37658 * include/regex.h: Likewise.
37659 * include/sched.h: Likewise.
37660 * include/search.h: Likewise.
37661 * include/setjmp.h: Likewise.
37662 * include/signal.h: Likewise.
37663 * include/stdio.h: Likewise.
37664 * include/stdlib.h: Likewise.
37665 * include/string.h: Likewise.
37666 * include/sys/cdefs.h: Likewise.
37667 * include/sys/mman.h: Likewise.
37668 * include/sys/msg.h: Likewise.
37669 * include/sys/resource.h: Likewise.
37670 * include/sys/select.h: Likewise.
37671 * include/sys/socket.h: Likewise.
37672 * include/sys/stat.h: Likewise.
37673 * include/sys/statvfs.h: Likewise.
37674 * include/sys/time.h: Likewise.
37675 * include/sys/times.h: Likewise.
37676 * include/sys/uio.h: Likewise.
37677 * include/sys/utsname.h: Likewise.
37678 * include/sys/wait.h: Likewise.
37679 * include/termios.h: Likewise.
37680 * include/time.h: Likewise.
37681 * include/ulimit.h: Likewise.
37682 * include/unistd.h: Likewise.
37683 * include/utime.h: Likewise.
37684 * include/wchar.h: Likewise.
37685 * include/wctype.h: Likewise.
37686 * include/wordexp.h: Likewise.
37688 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
37690 * time/time.h: TIME_UTC must be a macro.
37691 Make timespec_get available for ISO C11 only as well.
37693 2012-02-24 Ulrich Drepper <drepper@gmail.com>
37695 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
37696 Reported by Peng Haitao <penght@cn.fujitsu.com>.
37698 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37700 * configure.in: Use -o not -a in test for unsupported multi-arch.
37702 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37704 * manual/texinfo.tex: Update to version 2012-01-19.16.
37706 2012-02-24 Joseph Myers <joseph@codesourcery.com>
37708 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
37710 2012-02-24 Roland McGrath <roland@hack.frob.com>
37713 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
37714 * manual/fdl-1.3.texi: New file.
37715 * manual/fdl-1.1.texi: File removed.
37718 * manual/libc.texinfo (FDL_VERSION): New @set.
37719 Use it for mention of FDL in cover text.
37720 (Documentation License): Use it in @include file name.
37722 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37723 Roland McGrath <roland@hack.frob.com>
37726 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
37727 (not LONG_LONG_MAX and LONG_LONG_MIN.
37728 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
37729 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
37731 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
37733 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37737 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
37738 manipulate bits before adding and subtracting TWO23[sx].
37739 * math/libm-test.inc (nearbyint_test): Add more tests.
37741 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37744 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
37745 bits before adding and subtracting TWO23[sx].
37746 * math/libm-test.inc (rint_test): Add more tests.
37747 (rint_test_tonearest): Likewise.
37748 (rint_test_towardzero): Likewise.
37749 (rint_test_downward): Likewise.
37750 (rint_test_upward: Likewise.
37752 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37755 * include/stdc-predef.h: New file. Extracted from features.h.
37756 * include/features.h: Include stdc-predef.h.
37757 * Makefile (headers): Add stdc-predef.h.
37758 * CONFORMANCE (Compiler limitations): Update.
37760 2012-02-22 Joseph Myers <joseph@codesourcery.com>
37762 * manual/libc.texinfo (VERSION, UPDATED): Revert.
37764 2012-02-21 David S. Miller <davem@davemloft.net>
37766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
37767 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37769 2012-02-20 David S. Miller <davem@davemloft.net>
37771 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
37772 using a normal save/restore sequence, rather than allocating a
37773 dummy stack frame just to store a frame pointer and restore.
37774 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37776 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37778 * manual/install.texi: Fix stray word in line-wrapped comment.
37780 2012-02-20 David S. Miller <davem@davemloft.net>
37782 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
37783 both binutils and gcc support GOTDATA.
37785 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
37786 "rd %pc" in the PIC register setup sequences.
37788 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
37789 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37790 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37791 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37792 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37794 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
37797 (SYSCALL_ERROR_HANDLER): Likewise.
37798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37799 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
37801 (SYSCALL_ERROR_HANDLER): Likewise.
37803 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
37804 (HAVE_GCC_GOTDATA): New.
37805 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
37806 relocation support in both binutils and gcc.
37807 * sysdeps/sparc/elf/configure: Regenerate.
37809 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
37810 * sysdeps/sparc/sparc32/elf/configure: Delete.
37811 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
37812 * sysdeps/sparc/sparc64/elf/configure: Delete.
37813 * sysdeps/sparc/elf/configure.in: New file.
37814 * sysdeps/sparc/elf/configure: Generate.
37816 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
37817 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
37818 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37819 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
37820 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
37822 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37824 * manual/install.texi: Do not mention specific glibc version
37826 * manual/libc.texinfo (VERSION, UPDATED): Update.
37827 (@copying): Use @copyright{} and range of years.
37829 2012-02-21 Joseph Myers <joseph@codesourcery.com>
37832 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
37833 [crti.S not in sysdirs] (generated): Do not append.
37834 [crti.S not in sysdirs] (omit-deps): Likewise.
37835 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
37836 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
37837 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
37838 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
37839 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
37841 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
37842 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
37843 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
37844 * csu/defs.awk: Remove file.
37845 * sysdeps/generic/initfini.c: Likewise.
37846 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
37848 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
37851 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37853 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
37854 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
37855 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
37856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
37857 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37858 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
37860 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
37861 (__EPOLL_PACKED): Define to empty if not defined by
37863 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
37864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37867 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37869 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
37870 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
37871 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
37872 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
37874 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
37875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37878 2012-02-20 Joseph Myers <joseph@codesourcery.com>
37880 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
37882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37883 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37884 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
37885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37887 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
37889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
37892 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
37894 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
37895 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
37897 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
37899 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
37902 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
37904 * math/w_acos.c: Use non-signaling floating-point comparisons.
37905 * math/w_acosf.c: Likewise.
37906 * math/w_acosh.c: Likewise.
37907 * math/w_acoshf.c: Likewise.
37908 * math/w_acoshl.c: Likewise.
37909 * math/w_acosl.c: Likewise.
37910 * math/w_asin.c: Likewise.
37911 * math/w_asinf.c: Likewise.
37912 * math/w_asinl.c: Likewise.
37913 * math/w_atanh.c: Likewise.
37914 * math/w_atanhf.c: Likewise.
37915 * math/w_atanhl.c: Likewise.
37916 * math/w_exp2.c: Likewise.
37917 * math/w_exp2f.c: Likewise.
37918 * math/w_exp2l.c: Likewise.
37919 * math/w_j0.c: Likewise.
37920 * math/w_j0f.c: Likewise.
37921 * math/w_j0l.c: Likewise.
37922 * math/w_j1.c: Likewise.
37923 * math/w_j1f.c: Likewise.
37924 * math/w_j1l.c: Likewise.
37925 * math/w_jn.c: Likewise.
37926 * math/w_jnf.c: Likewise.
37927 * math/w_log.c: Likewise.
37928 * math/w_log10.c: Likewise.
37929 * math/w_log10f.c: Likewise.
37930 * math/w_log10l.c: Likewise.
37931 * math/w_log2.c: Likewise.
37932 * math/w_log2f.c: Likewise.
37933 * math/w_log2l.c: Likewise.
37934 * math/w_logf.c: Likewise.
37935 * math/w_logl.c: Likewise.
37936 * math/w_sqrt.c: Likewise.
37937 * math/w_sqrtf.c: Likewise.
37938 * math/w_sqrtl.c: Likewise.
37939 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37940 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
37941 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37942 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37943 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37945 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37948 * manual/string.texi (strnlen): Use correct parameter name in
37949 equivalent expression.
37951 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37954 * manual/users.texi (seteuid): Consistently use neweuid for
37957 2012-02-19 Joseph Myers <joseph@codesourcery.com>
37960 * manual/nss.texi (Services in the NSS configuration): Correct
37961 list of services in example configuration file.
37963 2012-02-19 Nick Bowler <nbowler@draconx.ca>
37966 * manual/arith.texi: Remove statements about negative zero
37967 behaving identically to zero.
37969 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37972 * manual/install.texi: Do not document upgrading from libc5.
37974 2012-02-18 Joseph Myers <joseph@codesourcery.com>
37977 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
37979 2012-02-18 David S. Miller <davem@davemloft.net>
37981 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
37982 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
37983 %o7 across the call.
37984 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
37986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
37987 SETUP_PIC_REG_LEAF.
37988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37989 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
37990 * sysdeps/sparc/crtn.S: Likewise.
37992 2012-02-17 Ulrich Drepper <drepper@gmail.com>
37994 * aout/Makefile: Remove.
37996 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
37999 * manual/examples/argp-ex1.c (main): Format definition in GNU
38001 * manual/examples/argp-ex2.c (main): Likewise.
38002 * manual/examples/argp-ex3.c (main): Likewise.
38003 * manual/examples/argp-ex4.c (main): Likewise.
38004 * manual/examples/longopt.c (main): Use new-style prototype
38006 * manual/examples/strncat.c (main): Specify return type and use
38007 (void) for arguments.
38008 * manual/examples/subopt.c (main): Use char **argv argument.
38010 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38013 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38016 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
38019 * manual/string.texi (strchr): Change when strchrnul is
38022 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
38025 * manual/locale.texi (setlocale): Document LOCPATH.
38027 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38030 * manual/process.texi (execle): Move @dots{} before last argument.
38032 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
38035 * manual/charset.texi (Generic Charset Conversion): Fix typo
38036 (LC_TYPE -> LC_CTYPE).
38038 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
38041 * manual/arith.texi (scalbn): Use @var{} on parameter names.
38042 (scalbnf): Likewise.
38043 (scalbnl): Likewise.
38044 (scalbln): Likewise.
38045 (scalblnf): Likewise.
38046 (scalblnl): Likewise.
38047 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38048 (vwarnx): Likewise.
38051 * manual/filesys.texi (telldir): Use braces around return type.
38052 * manual/llio.texi (mmap): Add space after comma.
38053 (mmap64): Likewise.
38054 * manual/math.texi (jn): Use @var{} on parameter names.
38060 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38062 * manual/resource.texi (ulimit): Use @dots{} instead of literal
38064 (sched_get_priority_min): Remove semicolon on @deftypefun line.
38065 (sched_get_priority_max): Likewise.
38066 * manual/signal.texi (sigvec): Add space after comma.
38067 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38069 (if_indextoname): Likewise.
38070 (if_freenameindex): Likewise.
38071 (sendto): Use ',' instead of '.' in prototype.
38072 * manual/startup.texi (syscall): Use @dots{} instead of literal
38074 * manual/stdio.texi (__fpending): Separate initial words of
38075 paragraph from @deftypefun line.
38076 * manual/syslog.texi (syslog): Use @dots{} instead of literal
38078 (vsyslog): Use @var{} on parameter names.
38079 * manual/terminal.texi (stty): Use @var{} on parameter names.
38080 * manual/users.texi (getutmp): Use @var{} on parameter names.
38081 (getutmpx): Likewise.
38083 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38086 * manual/stdio.texi (fopen): Fix typos in description of
38089 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
38092 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38093 get clock_id definition.
38095 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
38098 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38099 (madvise): Cast every argument to void on its own.
38101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38104 * manual/startup.texi (Exit Status): Fix typo.
38106 2012-02-17 Joseph Myers <joseph@codesourcery.com>
38109 * manual/examples/argp-ex1.c: Include <stdlib.h>.
38110 * manual/examples/argp-ex2.c: Likewise.
38111 * manual/examples/argp-ex3.c: Likewise.
38113 2012-02-16 Richard Henderson <rth@redhat.com>
38115 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38116 * sysdeps/s390/s390-32/initfini.c: Remove.
38117 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38118 * sysdeps/s390/s390-64/initfini.c: Remove.
38120 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38122 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38123 compiler output for sysdeps/generic/initfini.c.
38124 * sysdeps/sh/elf/initfini.c: Remove file.
38126 2012-02-16 David S. Miller <davem@davemloft.net>
38129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38131 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38132 * sysdeps/sparc/crti.S: New file.
38133 * sysdeps/sparc/crtn.S: New file.
38134 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38135 * sysdeps/sparc/sparc64/Makefile: Likewise.
38137 2012-02-15 Mike Frysinger <vapier@gentoo.org>
38140 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38142 2012-02-15 Roland McGrath <roland@hack.frob.com>
38145 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38147 * mach/devstream.c (cookie_io_functions_t): Macro removed.
38148 (write, read, close): Likewise.
38149 Patch by Aurelien Jarno <aurelien@aurel32.net>.
38151 2012-02-15 Joseph Myers <joseph@codesourcery.com>
38153 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38154 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38155 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38156 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38158 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38162 2012-02-14 Marek Polacek <polacek@redhat.com>
38164 * sysdeps/x86_64/crti.S: New file.
38165 * sysdeps/x86_64/crtn.S: New file.
38166 * sysdeps/x86_64/elf/initfini.c: Remove file.
38168 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38170 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38171 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38172 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38173 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38175 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38176 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38179 2012-02-13 Joseph Myers <joseph@codesourcery.com>
38181 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38182 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38183 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38184 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38186 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38187 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38190 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
38192 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38193 __feraiseexcept instead of feraiseexcept.
38195 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38196 nanosleep invocations.
38197 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38198 strings, and add error checking for a nanosleep invocations.
38200 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
38202 Replace FSF snail mail address with URLs, as per GNU coding standards.
38203 Most of the snail mail addresses were wrong anyway, and omitting
38204 them makes the source code easier to maintain. Almost all of the
38205 changes are to license notices and to locale LC_IDENTIFICATION
38206 addresses, except for this one:
38207 * manual/libc.texinfo: In "Published by", give the FSF's URL,
38208 not its snail mail address.
38210 2012-02-09 Richard Henderson <rth@twiddle.net>
38212 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38213 of kernel-features.h.
38215 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38217 2012-02-08 Marek Polacek <polacek@redhat.com>
38219 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38220 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38221 * sysdeps/gnu/_G_config.h: Likewise.
38222 * sysdeps/generic/_G_config.h: Likewise.
38224 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
38226 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38230 * sysdeps/powerpc/powerpc32/crti.S: New file.
38231 * sysdeps/powerpc/powerpc32/crtn.S: New file.
38232 * sysdeps/powerpc/powerpc64/crti.S: New file.
38233 * sysdeps/powerpc/powerpc64/crtn.S: New file.
38235 * Makeconfig (have-initfini): Don't set.
38236 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38237 * configure.in (nopic_initfini): Don't substitute.
38238 * config.h.in (HAVE_INITFINI): Don't #undef.
38239 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38240 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38242 2012-02-08 Joseph Myers <joseph@codesourcery.com>
38244 Support crti.S and crtn.S provided directly by architectures.
38245 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38246 [crti.S in sysdirs] (omit-deps): Likewise.
38247 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38248 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38249 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38250 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38251 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38252 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38253 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38254 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38255 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38256 compiler output for sysdeps/generic/initfini.c.
38257 * sysdeps/i386/elf/Makefile: Remove file.
38258 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38260 2012-02-07 Marek Polacek <polacek@redhat.com>
38262 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38263 * sysdeps/gnu/_G_config.h: Likewise.
38264 * sysdeps/mach/hurd/_G_config.h: Likewise.
38266 2012-02-07 Marek Polacek <polacek@redhat.com>
38268 * math/Makefile (tests): Add tst-CMPLX2.
38269 * math/tst-CMPLX2.c: New file.
38271 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
38273 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38275 * math/libm-test.inc (jn_test): Add missing L suffix.
38277 2012-02-06 Marek Polacek <polacek@redhat.com>
38279 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38280 * sysdeps/i386/fpu/e_powf.S: Likewise.
38281 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38282 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38283 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38284 * sysdeps/i386/fpu/e_pow.S: Likewise.
38285 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38286 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38287 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38288 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38289 * sysdeps/i386/fpu/e_log2.S: Likewise.
38290 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38291 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38292 * sysdeps/i386/fpu/e_powl.S: Likewise.
38293 * sysdeps/i386/fpu/s_log1p.S: Likewise.
38294 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38295 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38296 * sysdeps/i386/fpu/e_logl.S: Likewise.
38297 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38298 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38299 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38300 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38301 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38302 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38303 * sysdeps/i386/fpu/e_log.S: Likewise.
38304 * sysdeps/i386/fpu/s_cexp.S: Likewise.
38305 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38306 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38307 * sysdeps/i386/fpu/e_logf.S: Likewise.
38308 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38309 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38310 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38311 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38312 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38313 * sysdeps/i386/fpu/e_log10.S: Likewise.
38314 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38315 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38316 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38317 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38318 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38319 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38320 * sysdeps/i386/asm-syntax.h: Likewise.
38321 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38322 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38323 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38324 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38325 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38326 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38327 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38328 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38329 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38330 * sysdeps/powerpc/sysdep.h: Likewise.
38331 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
38332 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38334 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38337 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
38339 2012-02-06 Joseph Myers <joseph@codesourcery.com>
38341 * sysdeps/i386/sysdep.h: Include <features.h>.
38342 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
38345 2012-02-05 Joseph Myers <joseph@codesourcery.com>
38347 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
38349 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
38352 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38354 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
38355 (SETUP_PIC_REG): Use GET_PC_THUNK.
38356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
38359 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38361 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
38362 for non-PIC compilation.
38363 (SETUP_PIC_REG): Add .p2align directive.
38364 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
38365 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
38366 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38367 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38368 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
38369 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38370 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
38371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38372 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38373 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38374 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38375 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38376 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38377 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38378 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38379 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
38380 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
38381 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38382 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38383 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
38386 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38387 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38388 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
38389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
38390 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38391 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
38392 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38393 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38394 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38396 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38397 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38398 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38399 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38400 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38401 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38402 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38403 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38404 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38406 2012-02-03 Joseph Myers <joseph@codesourcery.com>
38408 * math/tst-CMPLX.c: Include <stdio.h>.
38410 2012-01-31 Joseph Myers <joseph@codesourcery.com>
38412 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
38414 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38415 * sysdeps/sparc/bits/mathdef.h: Likewise.
38417 2012-01-31 Marek Polacek <polacek@redhat.com>
38419 * libio/libio.h: Don't define _PARAMS.
38420 * locale/programs/config.h: Don't define PARAMS.
38421 * stdlib/strtol_l.c: Likewise.
38422 (__strtol_l): Remove PARAMS from the prototype.
38424 2012-01-31 Ulrich Drepper <drepper@gmail.com>
38426 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
38427 names. Just use the correct names. Remove unnecessary wrapper
38429 * malloc/arena.c: Likewise.
38430 * malloc/hooks.c: Likewise.
38432 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
38433 ARENA_TEST says not to. Simplify test for creation of a new arena.
38434 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
38436 2012-01-30 Ulrich Drepper <drepper@gmail.com>
38438 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
38440 (update_get_addr): New function.
38441 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
38442 GET_ADDR_MODULE parameter.
38444 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38446 * crypt/cert.c: Remove __STDC__ conditionals.
38447 * crypt/crypt-entry.c: Likewise.
38448 * crypt/crypt_util.c: Likewise.
38449 * libio/filedoalloc.c: Likewise.
38450 * libio/fileops.c: Likewise.
38451 * libio/genops.c: Likewise.
38452 * libio/iofclose.c: Likewise.
38453 * libio/iofdopen.c: Likewise.
38454 * libio/iofopen.c: Likewise.
38455 * libio/iofopen64.c: Likewise.
38456 * libio/iogetdelim.c: Likewise.
38457 * libio/iopopen.c: Likewise.
38458 * libio/obprintf.c: Likewise.
38459 * libio/oldfileops.c: Likewise.
38460 * libio/oldiofclose.c: Likewise.
38461 * libio/oldiofdopen.c: Likewise.
38462 * libio/oldiofopen.c: Likewise.
38463 * libio/oldiopopen.c: Likewise.
38464 * libio/wfiledoalloc.c: Likewise.
38465 * libio/wgenops.c: Likewise.
38466 * locale/programs/xmalloc.c: Likewise.
38467 * misc/syslog.c: Likewise.
38468 * stdio-common/xbug.c: Likewise.
38469 * string/memchr.c: Likewise.
38470 * string/memcmp.c: Likewise.
38471 * string/memrchr.c: Likewise.
38472 * string/rawmemchr.c: Likewise.
38473 * sysdeps/posix/getcwd.c: Likewise.
38474 * time/strftime_l.c: Likewise.
38476 2012-01-30 Joseph Myers <joseph@codesourcery.com>
38478 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
38479 * config.make.in (config-cflags-sse2avx): Define.
38480 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
38483 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
38485 * scripts/config.guess: Update from upstream config git repository.
38486 * scripts/config.sub: Likewise.
38488 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
38490 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
38492 (R_TILEPRO_*, R_TILEGX_*): New macros.
38494 * scripts/firstversions.awk: Fix bug in version range handling.
38496 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
38498 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
38500 * include/sys/epoll.h: New file.
38501 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
38504 2012-01-28 Ulrich Drepper <drepper@gmail.com>
38506 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
38507 Avoid unnecessary __WORDSIZE == 64 test.
38508 (fmaxf): Use VEX format if possible.
38513 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
38514 * math/math_private.h: Remove libc_fegetround* and
38516 * sysdeps/i386/configure.in: Check for -msse2avx.
38517 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
38518 also if SSE2AVX is defined.
38519 Remove libc_fegetround* and libc_fesetround*.
38520 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
38521 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
38522 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
38524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38530 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
38532 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38534 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
38536 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
38538 2012-01-27 Ulrich Drepper <drepper@gmail.com>
38541 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
38543 * Makeconfig (libm): Define.
38544 * elf/Makefile: Add rules to build and run tst-relsort1.
38545 * elf/tst-relsort1.c: New file.
38546 * elf/tst-relsort1mod1.c: New file.
38547 * elf/tst-relsort1mod2.c: New file.
38549 2012-01-27 Joseph Myers <joseph@codesourcery.com>
38551 * math/s_ldexp.c: Remove __STDC__ conditionals.
38552 * math/s_ldexpf.c: Likewise.
38553 * math/s_ldexpl.c: Likewise.
38554 * math/s_nextafter.c: Likewise.
38555 * math/s_nexttowardf.c: Likewise.
38556 * math/s_significand.c: Likewise.
38557 * math/s_significandf.c: Likewise.
38558 * math/s_significandl.c: Likewise.
38559 * math/w_jnl.c: Likewise.
38560 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38561 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38562 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38563 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38564 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38565 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38566 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
38567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38572 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38573 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38574 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38575 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38576 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38577 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38581 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38582 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38584 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38585 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38586 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38587 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38588 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38589 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38594 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38595 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38596 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38597 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38598 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38599 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38600 * sysdeps/ieee754/k_standard.c: Likewise.
38601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38602 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38603 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38604 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38605 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38606 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38607 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38608 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38609 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38610 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38611 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38612 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38613 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38614 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38615 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38616 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38617 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38618 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38619 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38620 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38621 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38622 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38623 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38624 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38625 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38626 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38627 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38628 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38629 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38630 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38631 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38632 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
38633 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38634 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38635 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38636 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38637 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
38638 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38639 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38640 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
38641 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
38642 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38643 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38644 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
38645 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38646 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
38647 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
38648 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38649 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38650 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38651 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
38652 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38653 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38654 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38655 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38656 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38657 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
38658 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38659 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38660 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38661 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38662 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38663 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38664 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38665 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38666 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38667 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38668 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38669 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38670 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38671 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38672 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38673 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38675 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38676 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38677 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38678 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38679 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38680 * sysdeps/ieee754/s_matherr.c: Likewise.
38681 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38682 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38683 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38686 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38688 * crypt/md5.h: Remove __STDC__ conditionals.
38689 * libio/libioP.h: Likewise.
38690 * locale/programs/config.h: Likewise.
38691 * sysdeps/generic/sysdep.h: Likewise.
38692 * sysdeps/i386/asm-syntax.h: Likewise.
38693 * sysdeps/s390/asm-syntax.h: Likewise.
38694 * sysdeps/unix/sysdep.h: Likewise.
38695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
38696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38698 2012-01-26 Joseph Myers <joseph@codesourcery.com>
38700 * libio/libio.h: Remove __STDC__ conditionals.
38701 * malloc/obstack.h: Likewise.
38702 * math/complex.h: Likewise.
38703 * math/math.h: Likewise.
38704 * sysdeps/generic/_G_config.h: Likewise.
38705 * sysdeps/gnu/_G_config.h: Likewise.
38706 * sysdeps/mach/hurd/_G_config.h: Likewise.
38707 * sysdeps/powerpc/bits/mathdef.h: Likewise.
38708 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
38709 * sysdeps/sparc/bits/mathdef.h: Likewise.
38711 2012-01-26 Ulrich Drepper <drepper@gmail.com>
38714 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
38715 Clean up HAS_* macros.
38716 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
38717 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
38719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
38721 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38722 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38723 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38724 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38725 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38727 2012-01-25 Joseph Myers <joseph@codesourcery.com>
38729 * elf/tst-unique3.cc (gets): Remove declaration.
38730 * elf/tst-unique3lib.cc (gets): Likewise.
38731 * elf/tst-unique3lib2.cc (gets): Likewise.
38732 * elf/tst-unique4.cc (gets): Likewise.
38734 2012-01-24 Ulrich Drepper <drepper@gmail.com>
38736 * include/stdio.h: Add C++ protection. Add gets declarations and
38738 * debug/tst-chk1.c: Don't declare gets here.
38739 * stdio-common/tst-gets.c: Likewise.
38741 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38743 * posix/glob: Remove directory.
38745 2012-01-24 Joseph Myers <joseph@codesourcery.com>
38747 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
38749 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
38751 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
38752 of the non-standard EPFNOSUPPORT.
38754 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
38756 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
38757 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
38758 ANYWHERE set to 1 only on KERN_NO_SPACE error.
38760 2012-01-21 Ulrich Drepper <drepper@gmail.com>
38762 * wcsmbs/uchar.h: Test __STDC_VERSION__.
38764 2012-01-20 Ulrich Drepper <drepper@gmail.com>
38766 * nscd/aicache.c (addhstaiX): Do not cache negative results of
38768 * nscd/grpcache.c (cache_addgr): Likewise.
38769 * nscd/hstcache.c (cache_addhst): Likewise.
38770 * nscd/initgrcache.c (addinitgroupsX): Likewise.
38771 * nscd/pwdcache.c (cache_addpw): Likewise.
38772 * nscd/servicescache.c (cache_addserv): Likewise.
38774 2012-01-16 Ulrich Drepper <drepper@gmail.com>
38776 * malloc/malloc.c: Various cleanups.
38777 * malloc/hooks.c: Likewise.
38779 * stdlib/Makefile (tests): Add bug-fmtmsg1.
38780 * stdlib/bug-fmtmsg1.c: New file.
38782 * stdlib/fmtmsg.c (init): Add missing unlock.
38783 Patch by Peng Haitao <penght@cn.fujitsu.com>.
38785 2012-01-12 Marek Polacek <polacek@redhat.com>
38787 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
38790 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38792 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
38793 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
38794 macro to ensure uniqueness of label name.
38795 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38796 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38798 2012-01-11 Ulrich Drepper <drepper@gmail.com>
38800 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
38802 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
38803 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38804 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38805 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
38807 2012-01-10 Ulrich Drepper <drepper@gmail.com>
38809 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
38811 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
38812 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38813 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38815 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
38817 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
38818 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38819 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38820 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
38822 * math/bits/math-finite.h: Add ldexp support.
38824 2012-01-10 Marek Polacek <polacek@redhat.com>
38826 * locale/programs/localedef.h (show_archive_content): Add noreturn
38829 2012-01-09 Ulrich Drepper <drepper@gmail.com>
38831 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
38833 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38835 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
38837 * io/Makefile (headers): Add bits/poll2.h.
38839 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
38841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
38842 typo #include statement.
38844 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38846 * include/sys/cdefs.h: Define __attribute_alloc_size.
38847 * catgets/gencat.c: Add alloc_size attribute and apply consistently
38848 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
38849 * elf/pldd.c: Likewise.
38850 * iconv/iconv_charmap.c: Likewise.
38851 * iconv/iconvconfig.c: Likewise.
38852 * iconv/strtab.c: Likewise.
38853 * locale/programs/locale.c: Likewise.
38854 * locale/programs/localedef.h: Likewise.
38855 * locale/programs/simple-hash.c: Likewise.
38856 * nscd/nscd.h: Likewise.
38857 * nss/makedb.c: Likewise.
38858 * sysdeps/generic/ldconfig.h: Likewise.
38859 * locale/programs/localedef.c: Remove xmalloc prototype.
38860 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
38862 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38864 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
38867 2012-01-08 Ulrich Drepper <drepper@gmail.com>
38869 * math/Makefile (tests): Add tst-CMPLX.
38870 * math/tst-CMPLX.c: New file.
38872 * math/complex.h (CMPLXL): Fix typo.
38874 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
38875 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
38877 * debug/tst-chk1.c: Add poll and ppoll tests.
38878 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
38879 * include/sys/poll.h: Add hidden proto for ppoll.
38880 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
38881 * sysdeps/mach/hurd/ppoll.c: Likewise.
38882 * io/ppoll.c: Likewise.
38883 * debug/poll_chk.c: New file.
38884 * debug/ppoll_chk.c: New file.
38885 * include/bits/poll2.h: New file.
38886 * io/bits/poll2.h: New file.
38889 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
38891 * configure.in: static is always set to yes. Remove.
38892 * config.make.in: Don't set build-static.
38893 * Makeconfig: Remove use of build-static.
38894 * dlfcn/Makefile: Likewise.
38895 * elf/Makefile: Likewise.
38896 * math/Makefile: Likewise.
38897 * misc/Makefile: Likewise.
38898 * nptl/Makefile: Likewise.
38899 * sysdeps/mach/hurd/Makefile: Likewise.
38901 * configure.in: PWD_P is not used anymore.
38902 * config.make.in: Remove PWD_P entry.
38904 * configure.in: Remove last remnants of RANLIB.
38905 No need to check for signed size_t anymore.
38906 Don't set libc_commonpagesize and libc_relro_required here for Alpha
38908 Remove __builtin_expect test because we require at least gcc 3.4.
38909 * aclocal.m4: Likewise.
38911 * wcsmbs/mbrtoc16.c: Implement using towc function.
38912 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
38913 * wcsmbs/wcsmbsload.c: Likewise.
38914 * iconv/gconv_simple.c: Likewise.
38915 * iconv/gconv_int.h: Likewise.
38916 * iconv/gconv_builtin.h: Likewise.
38917 * iconv/iconv_prog.c: Remove CHAR16 handling.
38919 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
38921 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
38923 * configure.in: Remove --with-elf and --enable-bounded options.
38924 Dont set base_machine for ia64. More non-ELF conditions removed.
38925 Remove testing and setting of leading underscore information.
38926 * config.make.in (build-bounded): Set to no.
38927 * config.h.in: Remove NO_UNDERSCORES entry.
38928 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
38930 * csu/start.c: Remove !NO_UNDERSCORE code.
38931 * locale/localeinfo.h: Likewise.
38932 * sysdeps/generic/machine-gmon.h: Likewise.
38933 * sysdeps/generic/sysdep.h: Likewise.
38934 * sysdeps/i386/sysdep.h: Likewise.
38935 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
38936 * sysdeps/mach/sysdep.h: Likewise.
38937 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38938 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38939 * sysdeps/sh/sysdep.h: Likewise.
38940 * sysdeps/sparc/sparc32/alloca.S: Likewise.
38941 * sysdeps/unix/i386/sysdep.S: Likewise.
38942 * sysdeps/unix/sparc/start.c: Likewise.
38943 * sysdeps/unix/sparc/sysdep.S: Likewise.
38944 * sysdeps/unix/sparc/sysdep.h: Likewise.
38945 * sysdeps/unix/start.c: Likewise.
38946 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38947 * sysdeps/x86_64/sysdep.h: Likewise.
38949 2012-01-07 Ulrich Drepper <drepper@gmail.com>
38952 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
38954 * argp/argp-fmtstream.h: Use const instead __const.
38955 * argp/argp.h: Likewise.
38956 * assert/assert.h: Likewise.
38957 * bits/fenv.h: Likewise.
38958 * bits/sched.h: Likewise.
38959 * bits/sigset.h: Likewise.
38960 * bits/sigthread.h: Likewise.
38961 * catgets/nl_types.h: Likewise.
38962 * conform/data/pthread.h-data: Likewise.
38963 * crypt/crypt-private.h: Likewise.
38964 * crypt/crypt.h: Likewise.
38965 * crypt/crypt_util.c: Likewise.
38966 * ctype/ctype.h: Likewise.
38967 * debug/execinfo.h: Likewise.
38968 * debug/mbsnrtowcs_chk.c: Likewise.
38969 * debug/mbsrtowcs_chk.c: Likewise.
38970 * debug/wcsnrtombs_chk.c: Likewise.
38971 * debug/wcsrtombs_chk.c: Likewise.
38972 * debug/wcstombs_chk.c: Likewise.
38973 * dirent/dirent.h: Likewise.
38974 * dlfcn/dlfcn.h: Likewise.
38975 * elf/neededtest4.c: Likewise.
38976 * grp/grp.h: Likewise.
38977 * gshadow/gshadow.h: Likewise.
38978 * iconv/gconv.h: Likewise.
38979 * iconv/gconv_int.h: Likewise.
38980 * iconv/gconv_simple.c: Likewise.
38981 * iconv/iconv.h: Likewise.
38982 * iconv/loop.c: Likewise.
38983 * iconv/skeleton.c: Likewise.
38984 * include/aio.h: Likewise.
38985 * include/aliases.h: Likewise.
38986 * include/argz.h: Likewise.
38987 * include/arpa/inet.h: Likewise.
38988 * include/assert.h: Likewise.
38989 * include/dirent.h: Likewise.
38990 * include/dlfcn.h: Likewise.
38991 * include/execinfo.h: Likewise.
38992 * include/fcntl.h: Likewise.
38993 * include/fenv.h: Likewise.
38994 * include/glob.h: Likewise.
38995 * include/grp.h: Likewise.
38996 * include/libintl.h: Likewise.
38997 * include/mntent.h: Likewise.
38998 * include/netdb.h: Likewise.
38999 * include/pwd.h: Likewise.
39000 * include/rpc/netdb.h: Likewise.
39001 * include/sched.h: Likewise.
39002 * include/search.h: Likewise.
39003 * include/shadow.h: Likewise.
39004 * include/signal.h: Likewise.
39005 * include/stdio.h: Likewise.
39006 * include/stdlib.h: Likewise.
39007 * include/string.h: Likewise.
39008 * include/sys/socket.h: Likewise.
39009 * include/sys/stat.h: Likewise.
39010 * include/sys/statfs.h: Likewise.
39011 * include/sys/statvfs.h: Likewise.
39012 * include/sys/syslog.h: Likewise.
39013 * include/sys/time.h: Likewise.
39014 * include/sys/uio.h: Likewise.
39015 * include/time.h: Likewise.
39016 * include/unistd.h: Likewise.
39017 * include/utmp.h: Likewise.
39018 * include/wchar.h: Likewise.
39019 * include/wctype.h: Likewise.
39020 * inet/aliases.h: Likewise.
39021 * inet/arpa/inet.h: Likewise.
39022 * inet/netinet/ether.h: Likewise.
39023 * inet/netinet/in.h: Likewise.
39024 * intl/libintl.h: Likewise.
39025 * io/bits/fcntl2.h: Likewise.
39026 * io/fcntl.h: Likewise.
39027 * io/ftw.h: Likewise.
39028 * io/sys/poll.h: Likewise.
39029 * io/sys/stat.h: Likewise.
39030 * io/sys/statfs.h: Likewise.
39031 * io/sys/statvfs.h: Likewise.
39032 * io/utime.h: Likewise.
39033 * libio/bits/stdio.h: Likewise.
39034 * libio/bits/stdio2.h: Likewise.
39035 * libio/libio.h: Likewise.
39036 * libio/libioP.h: Likewise.
39037 * libio/stdio.h: Likewise.
39038 * locale/lc-ctype.c: Likewise.
39039 * locale/locale.h: Likewise.
39040 * login/utmp.h: Likewise.
39041 * malloc/arena.c: Likewise.
39042 * malloc/malloc.c: Likewise.
39043 * malloc/malloc.h: Likewise.
39044 * malloc/mcheck.c: Likewise.
39045 * malloc/mtrace.c: Likewise.
39046 * math/bits/mathcalls.h: Likewise.
39047 * math/fenv.h: Likewise.
39048 * math/math_private.h: Likewise.
39049 * misc/bits/error.h: Likewise.
39050 * misc/bits/syslog.h: Likewise.
39051 * misc/err.h: Likewise.
39052 * misc/error.h: Likewise.
39053 * misc/fstab.h: Likewise.
39054 * misc/mntent.h: Likewise.
39055 * misc/regexp.h: Likewise.
39056 * misc/search.h: Likewise.
39057 * misc/sgtty.h: Likewise.
39058 * misc/sys/mman.h: Likewise.
39059 * misc/sys/syslog.h: Likewise.
39060 * misc/sys/uio.h: Likewise.
39061 * misc/sys/xattr.h: Likewise.
39062 * misc/ttyent.h: Likewise.
39063 * nis/rpcsvc/ypclnt.h: Likewise.
39064 * nss/nss.h: Likewise.
39065 * posix/bits/unistd.h: Likewise.
39066 * posix/fnmatch.h: Likewise.
39067 * posix/glob.h: Likewise.
39068 * posix/sched.h: Likewise.
39069 * posix/spawn.h: Likewise.
39070 * posix/sys/wait.h: Likewise.
39071 * posix/unistd.h: Likewise.
39072 * posix/wordexp.h: Likewise.
39073 * pwd/pwd.h: Likewise.
39074 * resolv/netdb.h: Likewise.
39075 * resource/sys/resource.h: Likewise.
39076 * rt/aio.h: Likewise.
39077 * rt/bits/mqueue2.h: Likewise.
39078 * rt/mqueue.h: Likewise.
39079 * shadow/shadow.h: Likewise.
39080 * signal/signal.h: Likewise.
39081 * socket/send.c: Likewise.
39082 * socket/sendto.c: Likewise.
39083 * socket/sys/socket.h: Likewise.
39084 * stdio-common/printf.h: Likewise.
39085 * stdlib/bits/stdlib.h: Likewise.
39086 * stdlib/fmtmsg.h: Likewise.
39087 * stdlib/monetary.h: Likewise.
39088 * stdlib/stdlib.h: Likewise.
39089 * stdlib/ucontext.h: Likewise.
39090 * streams/stropts.h: Likewise.
39091 * string/argz.h: Likewise.
39092 * string/bits/string2.h: Likewise.
39093 * string/string.h: Likewise.
39094 * string/strings.h: Likewise.
39095 * sunrpc/rpc/auth.h: Likewise.
39096 * sunrpc/rpc/auth_des.h: Likewise.
39097 * sunrpc/rpc/clnt.h: Likewise.
39098 * sunrpc/rpc/netdb.h: Likewise.
39099 * sunrpc/rpc/pmap_clnt.h: Likewise.
39100 * sunrpc/rpc/xdr.h: Likewise.
39101 * sysdeps/generic/inttypes.h: Likewise.
39102 * sysdeps/generic/net/if.h: Likewise.
39103 * sysdeps/generic/sys/swap.h: Likewise.
39104 * sysdeps/gnu/net/if.h: Likewise.
39105 * sysdeps/gnu/utmpx.h: Likewise.
39106 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39107 * sysdeps/i386/i486/bits/string.h: Likewise.
39108 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39109 * sysdeps/s390/bits/string.h: Likewise.
39110 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39111 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39112 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39113 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39114 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39115 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39116 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39117 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39118 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39119 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39120 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39121 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39122 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39123 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39124 * sysdeps/unix/sysv/linux/readv.c: Likewise.
39125 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39126 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39128 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39129 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39130 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39131 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39132 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39133 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39134 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39135 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39136 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39137 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39138 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39139 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39140 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39141 * sysvipc/sys/ipc.h: Likewise.
39142 * sysvipc/sys/msg.h: Likewise.
39143 * sysvipc/sys/sem.h: Likewise.
39144 * sysvipc/sys/shm.h: Likewise.
39145 * termios/termios.h: Likewise.
39146 * time/sys/time.h: Likewise.
39147 * time/time.h: Likewise.
39148 * wcsmbs/bits/wchar2.h: Likewise.
39149 * wcsmbs/uchar.h: Likewise.
39150 * wcsmbs/wchar.h: Likewise.
39151 * wctype/wctype.h: Likewise.
39154 * Makeconfig: Remove all but ELF support including AIX support.
39155 * Makerules: Likewise.
39156 * config.h.in: Likewise.
39157 * config.make.in: Likewise.
39158 * configure: Likewise.
39159 * configure.in: Likewise.
39160 * csu/Makefile: Likewise.
39161 * csu/version.c: Likewise.
39162 * debug/Makefile: Likewise.
39163 * dlfcn/Makefile: Likewise.
39164 * elf/Makefile: Likewise.
39165 * extra-lib.mk: Likewise.
39166 * iconv/Makefile: Likewise.
39167 * include/libc-symbols.h: Likewise.
39168 * include/shlib-compat.h: Likewise.
39169 * resolv/Makefile: Likewise.
39170 * resolv/res_libc.c: Likewise.
39171 * rt/Makefile: Likewise.
39172 * sysdeps/i386/asm-syntax.h: Likewise.
39173 * sysdeps/i386/sysdep.h: Likewise.
39174 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39175 * sysdeps/mach/sysdep.h: Likewise.
39176 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39177 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39178 * sysdeps/s390/asm-syntax.h: Likewise.
39179 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39180 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39181 * sysdeps/sh/sysdep.h: Likewise.
39182 * sysdeps/unix/sparc/sysdep.h: Likewise.
39183 * sysdeps/wordsize-32/divdi3.c: Likewise.
39184 * sysdeps/x86_64/sysdep.h: Likewise.
39186 * argp/Versions: Remove _argp_unlock_xxx.
39189 * abilist/ld.abilist: Update. Adjust for removal of tls option.
39190 * abilist/libBrokenLocale.abilist: Likewise.
39191 * abilist/libanl.abilist: Likewise.
39192 * abilist/libc.abilist: Likewise.
39193 * abilist/libcrypt.abilist: Likewise.
39194 * abilist/libdl.abilist: Likewise.
39195 * abilist/libm.abilist: Likewise.
39196 * abilist/libnsl.abilist: Likewise.
39197 * abilist/libpthread.abilist: Likewise.
39198 * abilist/libresolv.abilist: Likewise.
39199 * abilist/librt.abilist: Likewise.
39200 * abilist/libthread_db.abilist: Likewise.
39201 * abilist/libutil.abilist: Likewise.
39202 * abilist/libnss_db.abilist: New file.
39204 * scripts/abilist.awk: Add support for indirect functions.
39206 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39208 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39210 * shlib-versions: Remove entries for ports architectures.
39212 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
39214 * elf/stackguard-macros.h: Remove support for IA-64.
39215 * elf/tst-auditmod1.c: Likewise.
39216 * sysdeps/generic/ldsodefs.h: Likewise.
39218 * sysdeps/unix/sysv/linux/configure.in: Ports should define
39219 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39223 * configure.in: Remove --enable-omitfp support.
39225 * config.make.in: Likewise.
39226 * Makeconfig: Likewise.
39227 * manual/install.texi: Likewise.
39229 In case anyone cares, the IA-64 architecture could move to ports.
39230 * sysdeps/ia64/*: Removed.
39231 * sysdeps/unix/sysv/linux/ia64/*: Removed.
39232 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39235 * configure.in: Remove entries for unsupported architectures.
39238 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39239 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
39241 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39242 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39243 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
39244 fall back to using wcrtomb.
39245 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39246 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
39248 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39249 * wcsmbs/tst-c16c32-1.c: New file.
39251 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39254 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39256 * elf/tst-unique3.cc: Add explicit declaration of gets.
39257 * elf/tst-unique3lib.cc: Likewise.
39258 * elf/tst-unique3lib2.cc: Likewise.
39259 * elf/tst-unique4.cc: Likewise.
39261 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39263 2012-01-06 Joseph Myers <joseph@codesourcery.com>
39266 * assert/assert.h (static_assert): Don't define for C++.
39267 * libio/stdio.h (gets): Do declare for C++ <= C++11.
39268 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39270 2012-01-03 Ulrich Drepper <drepper@gmail.com>
39272 * iconv/loop.c (single loop): Fix assertion in storing of
39275 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39277 2012-01-01 Ulrich Drepper <drepper@gmail.com>
39279 * posix/getconf.c: Update copyright year.
39280 * nss/getent.c: Likewise.
39281 * nss/makedb.c: Likewise.
39282 * iconv/iconvconfig.c: Likewise.
39283 * iconv/iconv_prog.c: Likewise.
39284 * elf/ldconfig.c: Likewise.
39285 * elf/pldd.c: Likewise.
39286 * elf/sotruss.ksh: Likewise.
39287 * catgets/gencat.c: Likewise.
39288 * csu/version.c: Likewise.
39289 * elf/ldd.bash.in: Likewise.
39290 * elf/sprof.c (print_version): Likewise.
39291 * locale/programs/locale.c: Likewise.
39292 * locale/programs/localedef.c: Likewise.
39293 * login/programs/pt_chown.c: Likewise.
39294 * nscd/nscd.c (print_version): Likewise.
39295 * debug/xtrace.sh: Likewise.
39296 * malloc/memusage.sh: Likewise.
39297 * malloc/mtrace.pl: Likewise.
39298 * debug/catchsegv.sh: Likewise.
39300 2011-12-30 Jakub Jelinek <jakub@redhat.com>
39302 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39305 2011-12-24 Ulrich Drepper <drepper@gmail.com>
39308 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39309 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39311 * iconv/gconv_int.h: Likewise.
39312 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39313 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39314 from libc for GLIBC_2.16.
39315 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39316 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39317 * wcsmbs/uchar.h: Really define mbstate_t.
39318 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39319 * wcsmbs/c16rtomb.c: New file.
39320 * wcsmbs/mbrtoc16.c: New file.
39321 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39322 for C/POSIX locale.
39323 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39324 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39326 * wcsmbs/wchar.h: Add missing __restrict.
39328 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39331 * time/Makefile (routines): Add timespec_get.
39332 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
39333 * time/time.h: Define TIME_UTC and declare timespec_get. Define
39334 timespec for ISO C11.
39335 * time/timespec_get.c: New file.
39336 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
39337 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
39340 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
39341 * stdlib/stdlib.h: Declare aligned_alloc.
39342 * Versions.def: Add GLIBC_2.16 for libc.
39343 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
39346 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
39349 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
39353 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
39356 * assert/assert.h (static_assert): Define.
39358 * version.h: Update for 2.16 development version.
39361 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
39364 * version.h (RELEASE): Bump for 2.15 release.
39365 * include/features.h (__GLIBC_MINOR__): Bump to 15.
39367 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
39368 Patch by Marek Polacek <mpolacek@redhat.com>.
39370 * bits/byteswap.h: Protect long long constants with __extension__.
39371 * sysdeps/i386/bits/byteswap.h: Likewise.
39372 * sysdeps/ia64/bits/byteswap.h: Likewise.
39373 * sysdeps/s390/bits/byteswap.h: Likewise.
39374 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39376 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39379 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
39380 destination buffer.
39381 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
39383 2011-12-23 Marek Polacek <polacek@redhat.com>
39385 * elf/dl-addr.c (determine_info): Add inline keyword.
39386 * elf/tst-auditmod4b.c (check_avx): Likewise.
39387 * elf/tst-auditmod6b.c (check_avx): Likewise.
39388 * elf/tst-auditmod6c.c (check_avx): Likewise.
39389 * elf/tst-auditmod7b.c (check_avx): Likewise.
39391 2011-12-23 Ulrich Drepper <drepper@gmail.com>
39393 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
39396 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39399 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
39400 processing for last bytes.
39402 2011-08-06 Bruno Haible <bruno@clisp.org>
39405 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
39406 U+0385, not to U+1FEE.
39409 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
39410 entry for U+00A5 U+0301.
39412 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39415 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
39416 buffer for the output is too small.
39418 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
39422 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
39423 SSE flags if possible.
39425 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39428 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
39429 processing for last bytes.
39431 2011-12-22 Joseph Myers <joseph@codesourcery.com>
39433 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
39434 (syscall-list-default-options, syscall-list-default-condition)
39435 (syscall-list-includes): Define.
39436 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
39437 list of ABIs and options and #if conditions for each ABI. Do not
39438 handle common syscalls between ABIs specially.
39439 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
39441 (syscall-list-variants, syscall-list-32bit-options)
39442 (syscall-list-32bit-condition, syscall-list-64bit-options)
39443 (syscall-list-64bit-condition): Define.
39444 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
39445 (syscall-list-variants, syscall-list-32bit-options)
39446 (syscall-list-32bit-condition, syscall-list-64bit-options)
39447 (syscall-list-64bit-condition): Define.
39448 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
39450 (syscall-list-variants, syscall-list-32bit-options)
39451 (syscall-list-32bit-condition, syscall-list-64bit-options)
39452 (syscall-list-64bit-condition): Define.
39453 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
39455 (syscall-list-variants, syscall-list-32bit-options)
39456 (syscall-list-32bit-condition, syscall-list-64bit-options)
39457 (syscall-list-64bit-condition): Define.
39459 2011-12-22 Ulrich Drepper <drepper@gmail.com>
39461 * locale/iso-639.def: Add brx entry.
39464 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
39465 Proposed by Mariusz_Cukr <marcukr@op.pl>.
39467 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
39468 __feraiseexcept_renamed.
39470 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39473 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
39474 EPOLLET with unsigned values.
39475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39476 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39478 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
39479 to large cancellation.
39480 * math/s_cacoshf.c: Likewise.
39481 * math/s_cacoshl.c: Likewise.
39483 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
39487 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
39488 * math/s_cacoshf.c: Likewise.
39489 * math/s_cacoshl.c: Likewise.
39491 2011-12-21 Ulrich Drepper <drepper@gmail.com>
39494 * iconv/gconv.h: Define __GCONV_SWAP.
39495 * iconvdata/unicode.c: The swap bit must be stored in __flags.
39496 * iconvdata/utf-16.c: Likewise.
39497 * iconvdata/utf-32.c: Likewise.
39499 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
39502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
39503 numerator after shifting it by one limb.
39505 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
39507 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
39508 under [__USE_EXTERN_INLINES].
39510 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39513 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
39515 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39517 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
39518 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
39520 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
39521 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
39522 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
39523 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
39524 for strncasecmp/strncasecmp_l compilation.
39525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
39526 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
39528 2011-12-08 Marek Polacek <mpolacek@redhat.com>
39531 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
39534 2011-12-17 Ulrich Drepper <drepper@gmail.com>
39537 * time/tzfile.c (__tzfile_read): Check values from file header.
39539 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39541 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
39542 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
39543 * powerpc/powerpc32/dl-start.S: Likewise.
39544 * powerpc/powerpc32/elf/start.S: Likewise.
39545 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39546 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
39547 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
39548 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
39549 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
39550 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
39551 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
39552 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39553 * powerpc/powerpc32/fpu/s_round.S: Likewise.
39554 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
39555 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
39556 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
39557 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
39558 * powerpc/powerpc32/memset.S: Likewise.
39559 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
39560 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
39561 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
39562 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
39563 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
39564 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39565 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39566 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39567 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
39568 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
39569 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
39570 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39571 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39573 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39575 * math/libm-test.inc: Added more nearbyint tests.
39576 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
39577 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
39578 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
39579 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
39581 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
39583 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
39586 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39588 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
39589 Add wcscpy-ssse3 wcscpy-c.
39590 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
39591 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
39592 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
39593 * sysdeps/x86_64/wcschr.S: New file.
39594 * sysdeps/x86_64/wcsrchr.S: New file.
39595 * string/test-strcmp.c: Remove checking of wcscmp function for
39597 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
39598 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
39599 wcsrchr-sse2 wcsrchr-c.
39600 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
39601 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
39602 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
39603 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
39604 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
39605 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
39606 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
39607 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
39608 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
39609 * wcsmbc/wcschr.c (WCSCHR): New macro.
39611 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39613 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
39614 * wcsmbs/test-wcsrchr.c: New file.
39615 * string/test-strrchr.c: Add wcsrchr support.
39617 * wcsmbs/test-wcscpy.c: New file.
39618 * string/test-strcpy.c: Add wcscpy support.
39621 2011-12-10 Ulrich Drepper <drepper@gmail.com>
39623 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
39626 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
39629 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
39631 2011-12-04 Ulrich Drepper <drepper@gmail.com>
39633 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
39634 Minor optimizations.
39636 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
39637 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
39638 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
39640 2011-12-03 Ulrich Drepper <drepper@gmail.com>
39642 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
39643 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
39644 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
39645 for gcc to avoid warnings.
39646 * inet/Makefile (tests): Add tst-checks.
39647 * inet/tst-checks.c: New file.
39649 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
39652 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
39655 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
39656 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
39658 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
39660 2011-12-02 Ulrich Drepper <drepper@gmail.com>
39662 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
39665 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
39667 2011-11-29 Joseph Myers <joseph@codesourcery.com>
39669 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
39670 conditional on GCC version.
39671 (__arch_compare_and_exchange_val_8_acq)
39672 (__arch_compare_and_exchange_val_16_acq)
39673 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
39674 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
39675 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
39677 2011-12-02 Joseph Myers <joseph@codesourcery.com>
39679 * sysdeps/sh/backtrace.c: New file.
39681 2011-12-02 Andreas Schwab <schwab@redhat.com>
39683 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
39686 2011-12-01 Andreas Schwab <schwab@redhat.com>
39688 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
39689 falling back to utime.
39691 2011-11-30 Andreas Schwab <schwab@redhat.com>
39693 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
39694 expectations for float.
39696 2011-11-29 Andreas Schwab <schwab@redhat.com>
39698 * locale/weight.h (findidx): Add parameter len.
39699 * locale/weightwc.h (findidx): Likewise.
39700 * posix/fnmatch_loop.c (FCT): Adjust caller.
39701 * posix/regcomp.c (build_equiv_class): Likewise.
39702 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
39703 * posix/regexec.c (check_node_accept_bytes): Likewise.
39704 * string/strcoll_l.c (STRCOLL): Likewise.
39705 * string/strxfrm_l.c (STRXFRM): Likewise.
39707 2011-11-17 Ulrich Drepper <drepper@gmail.com>
39709 * Makefile.in: Remove CVSOPT handling.
39710 * configure.in: Remove use of AC_REVISION.
39711 * iconvdata/Makefile (distribute): No need to filter out CVS.
39712 * scripts/list-sources.sh: Remove CVS, subversion and monotone
39715 2011-11-16 Andreas Schwab <schwab@redhat.com>
39717 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
39718 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
39719 [USE_AS_STRNCASECMP_L]: Likewise.
39720 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
39721 NO_TLS_DIRECT_SEG_REFS.
39722 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
39723 Fix argument offsets for non-PIC.
39724 [USE_AS_STRNCASECMP_L]: Likewise.
39725 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
39726 NO_TLS_DIRECT_SEG_REFS.
39728 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39730 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
39732 * locale/loadlocale.c (_nl_load_locale): Likewise.
39734 2011-11-15 Andreas Schwab <schwab@redhat.com>
39736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
39737 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
39738 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
39739 (SYSCALL_GETTIME): Set errno on error.
39741 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
39742 count references to noai6ai_cached.
39744 2011-11-15 Ulrich Drepper <drepper@gmail.com>
39746 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
39748 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
39749 FD_CLOEXEC for /proc/self/maps.
39751 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
39752 FD_CLOEXEC for /proc/meminfo.
39754 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
39757 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
39758 FD_CLOEXEC for given file.
39760 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
39762 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
39763 FD_CLOEXEC for /etc/hosts.
39764 (_gethtent): Likewise.
39766 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
39768 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
39769 cancellation and set FD_CLOEXEC for /etc/netgroup.
39771 * nss/nss_files/files-key.c (search): Don't allow cancellation when
39772 reading /etc/publickey.
39774 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
39775 allow cancellation when reading /etc/group.
39777 * nss/nss_files/files-alias.c (internal_setent): Don't allow
39779 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
39781 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
39782 when using data file.
39784 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
39786 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
39787 (write_nis_obj): Use "c" and "e" in fopen.
39789 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
39791 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
39793 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
39795 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
39797 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
39800 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
39802 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
39804 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
39806 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
39807 file parsing and set FD_CLOEXEC.
39809 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39811 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
39813 2011-11-14 Andreas Schwab <schwab@redhat.com>
39815 * malloc/arena.c (arena_get2): Don't call reused_arena when
39816 _int_new_arena failed.
39818 2011-11-14 Ulrich Drepper <drepper@gmail.com>
39820 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
39821 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
39822 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
39823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39825 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
39826 to compile strcasecmp and strncasecmp.
39827 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
39828 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
39830 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
39832 2011-11-13 Ulrich Drepper <drepper@gmail.com>
39834 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
39835 locale-defines.sym to gen-as-const-headers.
39836 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
39837 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
39838 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
39839 to compile strcasecmp and strncasecmp.
39840 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
39841 strcasecmp_l and strncasecmp_l.
39842 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
39843 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
39844 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
39845 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
39846 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
39847 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
39848 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
39849 * sysdeps/i386/i686/multiarch/strncase.S: New file.
39850 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
39851 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
39852 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
39854 2011-11-12 Ulrich Drepper <drepper@gmail.com>
39856 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
39857 result of SYSDEP_GETTIME_CPU to retval.
39858 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
39859 parameter list to macro. Remove trailing semicolon. Adjust users.
39861 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
39864 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
39866 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
39868 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
39869 from unused variable.
39871 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
39873 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
39876 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
39879 * sunrpc/rpc_prot.c (rejected): Fix case value.
39881 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
39882 unsigned long long int to avoid warnings in shift.
39884 * posix/regex_internal.c (re_string_reconstruct): Actually use result
39886 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
39889 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
39890 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
39891 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
39893 * nis/nis_table.c (nis_list): Use variable of correct type for
39894 result of __follow_path call.
39896 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39898 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
39899 of math functions ceil, trunc, floor, round, and sqrt, when
39900 avaliable on the platform.
39901 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
39903 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39904 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39905 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39907 2011-10-30 Marek Polacek <mpolacek@redhat.com>
39909 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
39910 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39912 2011-11-11 Roland McGrath <roland@hack.frob.com>
39914 * include/unistd.h: Fix __readlink return type.
39915 Reported by Chris Metcalf <cmetcalf@tilera.com>.
39917 2011-11-11 Ulrich Drepper <drepper@gmail.com>
39919 * stdlib/ucontext.h: Undo last change for makecontext.
39921 2011-11-11 Andreas Schwab <schwab@redhat.com>
39923 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
39925 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
39926 * setjmp/setjmp.h: Mark functions as non-leaf.
39927 * setjmp/bits/setjmp2.h: Likewise.
39928 * stdlib/ucontext.h: Likewise.
39930 2011-11-10 Andreas Schwab <schwab@redhat.com>
39932 * malloc/arena.c (_int_new_arena): Don't increment narenas.
39933 (reused_arena): Don't check arena limit.
39934 (arena_get2): Atomically check arena limit.
39936 2011-11-08 Ulrich Drepper <drepper@gmail.com>
39938 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
39939 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
39941 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
39944 2011-11-07 Andreas Schwab <schwab@redhat.com>
39946 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
39947 handler when locking.
39949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39950 Fix size of allocated buffer.
39952 2011-11-04 Andreas Schwab <schwab@redhat.com>
39955 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
39956 declarations for long double functions.
39957 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
39959 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
39961 2011-11-03 Andreas Schwab <schwab@redhat.com>
39963 * nscd/nscd.c (main): Don't start AVC thread until credentials are
39966 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
39969 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
39971 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
39973 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
39975 * include/alloca.h (stackinfo_alloca_round): Define.
39976 (extend_alloca): Use it.
39977 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
39978 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
39981 * scripts/check-local-headers.sh: Ignore libaudit.h.
39983 * nscd/Makefile (extra-objs): Make recursively expanded.
39985 2011-11-01 Ulrich Drepper <drepper@gmail.com>
39987 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
39988 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
39990 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
39991 * posix/tst-rfc3484-2.c: Likewise.
39992 * posix/tst-rfc3484-3.c: Likewise.
39994 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39996 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
39998 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
39999 process_vm_writev from libc using GLIBC_2.15 version.
40001 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40003 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
40005 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40008 2011-10-31 Ulrich Drepper <drepper@gmail.com>
40011 * nss/getent.c (initgroups_keys): Show error message in case no group
40014 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40015 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40016 __bump_nl_timestamp.
40017 * nscd/connections (nscd_init): When host database is served open
40018 netlink socket and request notification about configuration changes.
40019 (main_loop_poll): Track netlink file descriptor and bump timestamp
40020 in case data becomes available.
40021 (main_loop_epoll): Likewise.
40022 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40023 (database_pers_head): Add extra_data fileds.
40024 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40025 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40026 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40028 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40029 in6ai data, call __free_in6ai.
40030 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40031 Add -DHAVE_NETLINK.
40032 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
40033 interface information. Reuse previous data if netlink timestamp
40035 (__bump_nl_timestamp): New function.
40036 (__free_in6ai): New function.
40038 2011-10-30 Ulrich Drepper <drepper@gmail.com>
40040 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40041 close_not_cancel_no_status here.
40042 (__check_pf): Reorganize code a bit to not call close twice if OOM.
40044 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40047 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40050 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40051 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40052 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40054 2011-07-03 Andreas Jaeger <aj@suse.de>
40057 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40058 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40059 * math/libm-test.inc (sin_test): Add test case.
40061 2011-10-29 Ulrich Drepper <drepper@gmail.com>
40064 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40065 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40067 * elf/chroot_canon.c (chroot_canon): Cleanups.
40069 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40072 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40073 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40075 * string/test-strchr.c: Make usable for strchrnul testing.
40076 * string/test-strchrnul.c: New file.
40077 * string/Makefile (strop-tests): Add strchrnul.
40079 * po/it.po: Update from translation team.
40080 * po/es.po: Likewise.
40082 2011-10-28 Ulrich Drepper <drepper@gmail.com>
40084 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40085 the three constants needed as parameters. Drop the others.
40086 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40087 __m128i_strloadu_tolower.
40088 Create and initialize variable zero and use it in all the places
40089 where _mm_setzero_si128 was used.
40091 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40092 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40093 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40094 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40096 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40097 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40098 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40099 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40100 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40101 __mpranred, __mptan.
40102 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40103 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40104 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40105 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40106 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40107 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40108 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40109 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40110 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40112 2011-10-28 Andreas Schwab <schwab@redhat.com>
40114 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40115 redefine if SHARED.
40116 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40119 wide char related routines to wcsmbs subdir.
40121 2011-10-27 Andreas Schwab <schwab@redhat.com>
40124 * misc/sys/cdefs.h (__THROWNL): Define.
40125 * posix/unistd.h: Use __THREADNL instead of __THREAD
40126 for memory synchronization functions.
40128 2011-10-26 Roland McGrath <roland@hack.frob.com>
40131 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40133 * manual/stdio.texi (Obstack Streams): Node removed.
40135 2011-10-26 Andreas Schwab <schwab@redhat.com>
40137 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40141 * math/math_private.h (math_force_eval): Allow non-addressable
40143 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40145 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40147 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40148 file is not needed.
40150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40151 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40153 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40154 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40155 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40156 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40157 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40163 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40164 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40165 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40166 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40167 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40168 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40169 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40170 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40175 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40176 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40177 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40179 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40180 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
40182 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40183 place. Use VEX encoding when compiling for AVX.
40185 2011-10-25 Andreas Schwab <schwab@redhat.com>
40187 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40188 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40190 * string/test-strchr.c (do_test): Don't generate NUL bytes.
40192 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40194 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40195 useless if() expression.
40196 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40197 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40198 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40199 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40200 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40202 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40203 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40206 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40207 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40208 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40210 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40212 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40213 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40214 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40216 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40218 2011-10-25 Andreas Schwab <schwab@redhat.com>
40220 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40222 * elf/dl-fini.c (_dl_sort_fini): Likewise.
40224 2011-10-25 Ulrich Drepper <drepper@gmail.com>
40226 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40227 .text section. Avoid duplicate constants.
40228 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40229 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40230 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40232 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40233 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40234 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40236 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40237 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40238 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40239 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40240 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40241 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40242 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40243 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40244 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40245 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40246 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40248 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40249 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40250 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40251 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40252 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40253 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40254 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40255 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40256 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40257 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40258 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40259 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40260 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40261 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40262 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40264 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40266 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40267 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40269 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40270 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40271 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40272 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40274 2011-10-24 Ulrich Drepper <drepper@gmail.com>
40276 * sysdeps/x86_64/dla.h: Move to ...
40277 * sysdeps/x86_64/fpu/dla.h: ...here.
40278 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40279 situations. Use __builtin_fma only for gcc 4.6 and up.
40281 * config.make.in: Add have-mfma4 entry.
40282 * configure.in: Substitute libc_cv_cc_fma4.
40283 * math/Makefile (dbl-only-routines): Add sincostab.
40284 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40285 Use __sincostab not sincos.
40286 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40291 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
40293 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
40294 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
40295 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40296 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40298 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40299 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40301 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
40302 define aliases when function name is a macro.
40303 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40304 sysdeps/ieee754/dbl-64/sincos.tbl.
40305 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40306 fma4-enabled routines.
40307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40308 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40309 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40310 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40311 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40313 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40314 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40315 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40316 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40317 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40318 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40319 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40320 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40321 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40322 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40323 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40324 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40325 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40326 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40327 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40328 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40329 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40330 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
40331 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
40332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
40333 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
40334 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
40335 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
40336 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
40338 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
40340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40342 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40343 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40344 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40349 2011-10-24 Andreas Schwab <schwab@redhat.com>
40351 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
40353 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40355 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
40357 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
40359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
40361 * string/strnlen.c: Don't define STRNLEN, reverse logic.
40362 Remove unused variable magic_bits.
40363 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
40365 * string/strnlen.c: Define and use STRNLEN macro.
40366 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
40367 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
40368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
40369 * wcsmbs/wcslen.c: Define and use WCSLEN.
40370 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
40371 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
40372 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
40373 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
40374 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
40375 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
40376 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40378 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40381 strnlen-sse2-no-bsf.
40382 Rename strlen-no-bsf to strlen-sse2-no-bsf.
40383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
40384 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
40385 Add strnlen support.
40386 (USE_AS_STRNLEN): New macro.
40387 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
40388 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
40389 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
40390 * sysdeps/x86_64/wcslen.S: New file.
40392 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
40394 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
40395 XMM-moves are used for copying on small sizes.
40397 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40399 * wcsmbs/Makefile (strop-tests): Add wcschr.
40400 * wcsmbs/test-wcschr.c: New file.
40401 * string/test-strchr.c: Update.
40402 Add wcschr support.
40405 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40407 * wcsmbs/Makefile (strop-tests): Add wcslen.
40408 * wcsmbs/test-wcslen.c: New file.
40409 * string/test-strlen.c: Update.
40410 Add wcslen support.
40413 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40415 * po/it.po: Update from translation team.
40417 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40419 * sysdeps/x86_64/wcscmp.S: Update.
40420 Fix wrong comparison semantics.
40421 wcscmp shall use signed comparison not unsigned.
40422 Don't use substraction to avoid overflow bug.
40423 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40424 * wcsmbc/wcscmp.c: Likewise.
40425 * string/test-strcmp.c: Likewise.
40426 Add new tests to check cases with negative values.
40428 2011-10-23 Ulrich Drepper <drepper@gmail.com>
40430 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
40431 * sysdeps/x86_64/dla.h: ...here. New file.
40432 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
40433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40442 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
40444 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
40445 __ynl_finite aliases.
40447 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40449 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40451 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
40453 [DLA_FMA] (EMULV): Use DLA_FMA.
40454 [DLA_FMA] (MUL12): Use EMULV.
40455 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
40456 that are not needed.
40457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40461 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40463 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40465 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
40467 * math/s_nan.c: Undef __nan.
40468 * math/s_nanf.c: Undef __nanf.
40469 * math/s_nanl.c: Undef __nanl.
40470 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
40473 2011-10-22 Ulrich Drepper <drepper@gmail.com>
40475 * math/s_catan.c: Add branch predictions.
40476 * math/s_catanf.c: Likewise.
40477 * math/s_catanh.c: Likewise.
40478 * math/s_catanhf.c: Likewise.
40479 * math/s_catanhl.c: Likewise.
40480 * math/s_catanl.c: Likewise.
40481 * math/s_cexp.c: Likewise.
40482 * math/s_cexpf.c: Likewise.
40483 * math/s_cexpl.c: Likewise.
40484 * math/s_clog.c: Likewise.
40485 * math/s_clog10.c: Likewise.
40486 * math/s_clog10f.c: Likewise.
40487 * math/s_clog10l.c: Likewise.
40488 * math/s_clogf.c: Likewise.
40489 * math/s_clogl.c: Likewise.
40490 * math/s_csqrt.c: Likewise.
40491 * math/s_csqrtf.c: Likewise.
40492 * math/s_csqrtl.c: Likewise.
40493 * math/s_ctanf.c: Likewise.
40494 * math/s_ctanh.c: Likewise.
40495 * math/s_ctanhf.c: Likewise.
40496 * math/s_ctanhl.c: Likewise.
40497 * math/s_ctanl.c: Likewise.
40499 * math/math_private.h: Define __nan, __nanf, __nanl.
40500 * math/s_cacosh.c: Include <math_private.h>.
40501 * math/s_cacoshl.c: Likewise.
40502 * math/s_casinh.c: Likewise.
40503 * math/s_casinhf.c: Likewise.
40504 * math/s_casinhl.c: Likewise.
40505 * math/s_ccos.c: Rely entire on ccosh.
40506 * math/s_ccosf.c: Rely entire on ccoshf.
40507 * math/s_ccosl.c: Rely entirely on ccoshl.
40508 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
40509 Remove tests for FE_INVALID.
40510 * math/s_ccoshf.c: Likewise.
40511 * math/s_ccoshl.c: Likewise.
40512 * math/s_csin.c: Likewise.
40513 * math/s_csinf.c: Likewise.
40514 * math/s_csinh.c Likewise.
40515 * math/s_csinhf.c: Likewise.
40516 * math/s_csinhl.c: Likewise.
40517 * math/s_csinl.c: Likewise.
40518 * math/s_ctan.c: Likewise.
40519 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
40520 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
40521 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
40523 2011-10-21 Ulrich Drepper <drepper@gmail.com>
40525 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
40526 compilation problems.
40528 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
40531 2011-10-20 Ulrich Drepper <drepper@gmail.com>
40533 * sysdeps/i386/configure.in: Test for -mfma4 option.
40534 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
40535 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
40536 COMMON_CPUID_INDEX_80000001.
40537 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
40538 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
40539 use it if FMA3 is not supported.
40540 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
40542 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
40543 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
40545 2011-10-20 Andreas Schwab <schwab@redhat.com>
40548 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
40549 it would create a cycle with a link time dependency.
40551 2011-10-19 Ulrich Drepper <drepper@gmail.com>
40553 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
40555 * string/Makefile (strop-tests): Add rawmemchr.
40556 * string/test-rawmemchr.c: New file.
40558 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
40559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
40560 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
40561 when compiling str{,n}casecmp and when AVX is available. Hook up
40562 new optimized code in initializers.
40564 2011-10-19 Andreas Schwab <schwab@redhat.com>
40566 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
40567 __feraiseexcept instead of feraiseexcept.
40569 2011-10-18 Ulrich Drepper <drepper@gmail.com>
40571 * math/math_private.h: Define defaults for libc_fetestexcept and
40573 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
40574 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
40575 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
40576 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40578 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40579 libc_fetestexcept and libc_feupdateenv.
40581 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
40582 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
40583 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
40584 * sysdeps/x86_64/fpu/math_private.h: Define special version of
40585 libc_feholdexcept_setround.
40587 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
40588 Add s_nearbyint-c and s_nearbyintf-c.
40589 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
40590 nearbyintf inlines.
40591 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
40592 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
40593 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
40594 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
40596 * math/math_private.h: Define defaults for libc_fegetround,
40597 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
40598 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
40599 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
40600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
40601 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
40602 standard functions.
40603 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40604 Remove comments and hacks for old compiler versions.
40605 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
40606 libc_fegetround, libc_fesetround, libc_feholdexcept, and
40607 libc_feholdexceptl.
40609 2011-10-18 Andreas Schwab <schwab@redhat.com>
40611 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
40612 (__feraiseexcept_renamed): Add __NTH.
40613 (feraiseexcept): Add __NTH. Rename local variables to fix
40614 namespace violations.
40616 2011-10-17 Ulrich Drepper <drepper@gmail.com>
40618 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
40620 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
40622 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
40623 recently added interfaces.
40624 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
40626 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
40627 about macro parameter expansion.
40629 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
40630 __NO_MATH_INLINES is defined. Cleanups.
40632 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
40633 and __floorf is target has SSE4.1.
40634 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
40635 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
40636 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
40637 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
40639 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
40641 (floorf): Likewise.
40643 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
40645 2011-10-17 Andreas Schwab <schwab@redhat.com>
40647 * misc/sys/cdefs.h: Fix last change.
40649 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
40652 2011-10-16 Ulrich Drepper <drepper@gmail.com>
40654 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
40656 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
40657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40658 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40659 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40660 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40661 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40662 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40664 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40665 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
40666 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
40667 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
40668 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
40669 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
40670 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
40671 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
40672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
40673 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
40674 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
40675 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
40676 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
40677 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
40679 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
40680 ceil, ceilf, floor, floorf.
40682 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
40683 Perform IRELATIVE relocations last.
40685 * elf/do-rel.h: Add another parameter nrelative, replacing the
40686 local variable with the same name. Change name of the function
40687 to end in Rel or Rela (uppercase).
40688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
40689 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
40690 elf_dynamic_do_##reloc function.
40692 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40694 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
40695 is sufficient, at least on modern CPUs.
40697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
40699 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
40700 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
40702 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
40704 * math/bits/math-finite.h: Add entries for exp.
40705 * math/e_expl.c: Add __*_finite alias.
40706 * sysdeps/i386/fpu/e_exp.S: Likewise.
40707 * sysdeps/i386/fpu/e_expf.S: Likewise.
40708 * sysdeps/i386/fpu/e_expl.c: Likewise.
40709 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40710 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
40711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40713 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
40714 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
40715 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
40717 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
40718 is sufficient, at least on modern CPUs.
40720 * ctype/ctype-info.c (__ctype_init): Define.
40721 * include/ctype.h (__ctype_init): Declare.
40722 (__ctype_b_loc): The variable is always initialized.
40723 (__ctype_toupper_loc): Likewise.
40724 (__ctype_tolower_loc): Likewise.
40725 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
40726 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
40728 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
40730 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
40732 * configure.in: Also look in $cxxmachine/include for C++ system
40735 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40737 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
40738 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
40739 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
40740 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
40741 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
40742 (USE_AS_WMEMCMP): New macro.
40744 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
40745 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
40746 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
40747 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
40748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40749 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
40750 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
40751 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
40752 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
40753 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
40754 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
40755 (USE_AS_WMEMCMP): New macro.
40756 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
40757 * sysdeps/string/test-memcmp.c: Update.
40758 Fix simple_wmemcmp.
40760 * wcsmbs/wmemcmp.c: Update.
40761 (WMEMCMP): New macro.
40764 2011-10-12 Andreas Jaeger <aj@suse.de>
40767 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
40769 2011-10-15 Ulrich Drepper <drepper@gmail.com>
40771 * libio/iofwide.c (do_length): Avoid warning.
40773 * ctype/ctype.h (__isctype_f): Add missing __THROW.
40775 2011-10-14 Ulrich Drepper <drepper@gmail.com>
40777 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
40779 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
40780 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
40781 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
40782 * sysdeps/i386/i686/fpu/e_log.S: New file.
40783 * sysdeps/i386/i686/fpu/e_logf.S: New file.
40784 * sysdeps/i386/i686/fpu/e_logl.S: New file.
40786 * ctype/ctype.h: Add support for inlined isXXX functions when
40787 compiling C++ code.
40789 2011-10-14 Andreas Schwab <schwab@redhat.com>
40791 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
40795 2011-10-13 Roland McGrath <roland@hack.frob.com>
40798 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
40800 2011-10-13 Andreas Schwab <schwab@redhat.com>
40802 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
40803 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
40806 * sysdeps/x86_64/memrchr.S: Check for zero size.
40808 * string/stratcliff.c: Add memrchr tests.
40810 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40812 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40813 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
40814 rawmemchr-sse2 rawmemchr-sse2-bsf.
40815 * sysdeps/i386/i686/multiarch/memchr.S: New file.
40816 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
40817 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
40818 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
40819 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
40820 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
40821 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
40822 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
40823 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
40824 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
40825 * string/memrchr.c (MEMRCHR): New macro.
40827 2011-10-12 Ulrich Drepper <drepper@gmail.com>
40829 Add integration with gcc's -ffinite-math-only and optimize wrapper
40831 * Versions.def: Define GLIBC_2.15 version for libm.
40832 * math/Makefile (headers): Add bits/math-finite.h.
40833 * math/bits/math-finite.h: New file.
40834 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
40835 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
40836 * math/e_acoshl.c: Add __*_finite alias.
40837 * math/e_acosl.c: Likewise.
40838 * math/e_asinl.c: Likewise.
40839 * math/e_atan2l.c: Likewise.
40840 * math/e_atanhl.c: Likewise.
40841 * math/e_coshl.c: Likewise.
40842 * math/e_exp10.c: Likewise.
40843 * math/e_exp10f.c: Likewise.
40844 * math/e_exp10l.c: Likewise.
40845 * math/e_exp2l.c: Likewise.
40846 * math/e_fmodl.c: Likewise.
40847 * math/e_gammal_r.c: Likewise.
40848 * math/e_hypotl.c: Likewise.
40849 * math/e_j0l.c: Likewise.
40850 * math/e_j1l.c: Likewise.
40851 * math/e_jnl.c: Likewise.
40852 * math/e_lgammal_r.c: Likewise.
40853 * math/e_log10l.c: Likewise.
40854 * math/e_log2l.c: Likewise.
40855 * math/e_logl.c: Likewise.
40856 * math/e_powl.c: Likewise.
40857 * math/e_sinhl.c: Likewise.
40858 * math/e_sqrtl.c: Likewise.
40859 * math/e_scalb.c: Completely rewritten and optimized.
40860 * math/e_scalbf.c: Likewise.
40861 * math/e_scalbl.c: Likewise.
40862 * math/w_acos.c: Likewise.
40863 * math/w_acosf.c: Likewise.
40864 * math/w_acosl.c: Likewise.
40865 * math/w_acosh.c: Likewise.
40866 * math/w_acoshf.c: Likewise.
40867 * math/w_acoshl.c: Likewise.
40868 * math/w_asin.c: Likewise.
40869 * math/w_asinf.c: Likewise.
40870 * math/w_asinl.c: Likewise.
40871 * math/w_atan2.c: Likewise.
40872 * math/w_atan2f.c: Likewise.
40873 * math/w_atan2l.c: Likewise.
40874 * math/w_atanh.c: Likewise.
40875 * math/w_atanhf.c: Likewise.
40876 * math/w_atanhl.c: Likewise.
40877 * math/w_exp10.c: Likewise.
40878 * math/w_exp10f.c: Likewise.
40879 * math/w_exp10l.c: Likewise.
40880 * math/w_fmod.c: Likewise.
40881 * math/w_fmodf.c: Likewise.
40882 * math/w_fmodl.c: Likewise.
40883 * math/w_j0.c: Likewise.
40884 * math/w_j0f.c: Likewise.
40885 * math/w_j0l.c: Likewise.
40886 * math/w_j1.c: Likewise.
40887 * math/w_j1f.c: Likewise.
40888 * math/w_j1l.c: Likewise.
40889 * math/w_jn.c: Likewise.
40890 * math/w_jnf.c: Likewise.
40891 * math/w_log.c: Likewise.
40892 * math/w_logf.c: Likewise.
40893 * math/w_logl.c: Likewise.
40894 * math/w_log10.c: Likewise.
40895 * math/w_log10f.c: Likewise.
40896 * math/w_log10l.c: Likewise.
40897 * math/w_log2.c: Likewise.
40898 * math/w_log2f.c: Likewise.
40899 * math/w_log2l.c: Likewise.
40900 * math/w_pow.c: Likewise.
40901 * math/w_powf.c: Likewise.
40902 * math/w_powl.c: Likewise.
40903 * math/w_remainder.c: Likewise.
40904 * math/w_remainderf.c: Likewise.
40905 * math/w_remainderl.c: Likewise.
40906 * math/w_scalb.c: Likewise.
40907 * math/w_scalbf.c: Likewise.
40908 * math/w_scalbl.c: Likewise.
40909 * math/w_sqrt.c: Likewise.
40910 * math/w_sqrtf.c: Likewise.
40911 * math/w_sqrtl.c: Likewise.
40912 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
40913 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
40915 * math/math_private.h: Declare __kernel_standard_f.
40916 * math/w_cosh.c: Remove cruft and optimize a bit.
40917 * math/w_coshf.c: Likewise.
40918 * math/w_coshl.c: Likewise.
40919 * math/w_exp2.c: Likewise.
40920 * math/w_exp2f.c: Likewise.
40921 * math/w_exp2l.c: Likewise.
40922 * math/w_hypot.c: Likewise.
40923 * math/w_hypotf.c: Likewise.
40924 * math/w_hypotl.c: Likewise.
40925 * math/w_lgamma.c: Likewise.
40926 * math/w_lgamma_r.c: Likewise.
40927 * math/w_lgammaf.c: Likewise.
40928 * math/w_lgammaf_r.c: Likewise.
40929 * math/w_lgammal.c: Likewise.
40930 * math/w_lgammal_r.c: Likewise.
40931 * math/w_sinh.c: Likewise.
40932 * math/w_sinhf.c: Likewise.
40933 * math/w_sinhl.c: Likewise.
40934 * math/w_tgamma.c: Likewise.
40935 * math/w_tgammaf.c: Likewise.
40936 * math/w_tgammal.c: Likewise.
40937 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40938 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40939 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
40940 Minor optimizations. Pretty printing. Remove cruft.
40941 * sysdeps/i386/fpu/e_acosf.S: Likewise.
40942 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40943 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40945 * sysdeps/i386/fpu/e_acosl.c: Likewise.
40946 * sysdeps/i386/fpu/e_asin.S: Likewise.
40947 * sysdeps/i386/fpu/e_asinf.S: Likewise.
40948 * sysdeps/i386/fpu/e_atan2.S: Likewise.
40949 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
40950 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
40951 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40952 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40954 * sysdeps/i386/fpu/e_exp10.S: Likewise.
40955 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
40956 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
40957 * sysdeps/i386/fpu/e_exp2.S: Likewise.
40958 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
40959 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
40960 * sysdeps/i386/fpu/e_fmod.S: Likewise.
40961 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
40962 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
40963 * sysdeps/i386/fpu/e_hypot.S: Likewise.
40964 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
40965 * sysdeps/i386/fpu/e_log.S: Likewise.
40966 * sysdeps/i386/fpu/e_log10.S: Likewise.
40967 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40968 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40969 * sysdeps/i386/fpu/e_log2.S: Likewise.
40970 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40971 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40972 * sysdeps/i386/fpu/e_logf.S: Likewise.
40973 * sysdeps/i386/fpu/e_logl.S: Likewise.
40974 * sysdeps/i386/fpu/e_pow.S: Likewise.
40975 * sysdeps/i386/fpu/e_powf.S: Likewise.
40976 * sysdeps/i386/fpu/e_powl.S: Likewise.
40977 * sysdeps/i386/fpu/e_remainder.S: Likewise.
40978 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
40979 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
40980 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40982 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40983 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
40984 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
40985 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
40986 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40989 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40990 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
40991 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40992 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
40993 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40994 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40995 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40996 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40997 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40998 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40999 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41000 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41001 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41002 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41003 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41004 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41005 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41006 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41007 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41008 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41009 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41010 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41011 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41012 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41013 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41014 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41015 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41020 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41021 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41022 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41023 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41024 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41025 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41026 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41027 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41028 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41029 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41030 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41031 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41032 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41033 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41034 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41035 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41036 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41037 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41038 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41039 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41040 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41041 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41042 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41043 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41044 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41045 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41046 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41047 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41048 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41049 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41050 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41051 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41052 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41054 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41055 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41056 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41057 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41058 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41059 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41060 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41062 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41063 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41064 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41065 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41067 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41068 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41069 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41070 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41071 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41072 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41073 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41074 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41075 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41076 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41077 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41078 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41079 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41080 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41081 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41082 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41083 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41084 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41085 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41086 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41087 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41088 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41089 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41090 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41091 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41092 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41094 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41095 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41096 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
41097 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41098 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41099 (__isnanf): Likewise.
41100 (__isinf_ns): Likewise.
41101 (__isinf_nsf): Likewise.
41102 (__finite): Likewise.
41103 (__finitef): Likewise.
41104 (__ieee754_sqrt): Define as macro.
41105 (__ieee754_sqrtf): Define as macro.
41106 (__ieee754_sqrtl): Define as macro.
41107 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41109 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41110 __FINITE_MATH_ONLY__ consistent.
41111 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41113 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
41115 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41118 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41120 2011-10-09 Ulrich Drepper <drepper@gmail.com>
41122 * po/ja.po: Update from translation team.
41124 2011-10-08 Roland McGrath <roland@hack.frob.com>
41126 * locale/programs/locarchive.c (prepare_address_space): New function.
41127 (create_archive, enlarge_archive, open_archive): Use it.
41129 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41130 inside [SHARED], where it is used.
41132 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41134 * nss/getent.c (netgroup_keys): Remove unused variable.
41135 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41137 2011-10-08 Ulrich Drepper <drepper@gmail.com>
41139 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41140 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41141 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41144 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41145 * math/Makefile (libm-calls): Add s_isinf_ns.
41146 * math/divtc3.c: Use __isinf_nsl instead of isinf.
41147 * math/multc3.c: Likewise.
41148 * math/s_casin.c: Likewise.
41149 * math/s_casinf.c: Likewise.
41150 * math/s_casinl.c: Likewise.
41151 * math/s_ccos.c: Likewise.
41152 * math/s_ccosf.c: Likewise.
41153 * math/s_ccosl.c: Likewise.
41154 * math/s_ctan.c: Likewise.
41155 * math/s_ctanf.c: Likewise.
41156 * math/s_ctanh.c: Likewise.
41157 * math/s_ctanhf.c: Likewise.
41158 * math/s_ctanhl.c: Likewise.
41159 * math/s_ctanl.c: Likewise.
41160 * math/w_fmod.c: Likewise.
41161 * math/w_fmodf.c: Likewise.
41162 * math/w_fmodl.c: Likewise.
41163 * math/w_remainder.c: Likewise.
41164 * math/w_remainderf.c: Likewise.
41165 * math/w_remainderl.c: Likewise.
41166 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41167 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41168 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41170 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41171 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41172 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41173 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41175 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41177 * stdio-common/printf_fphex.c: Likewise.
41178 * stdio-common/printf_size.c: Likewise.
41180 * math/e_exp10.c: Include math_private.h using <...> not "...".
41181 * math/e_exp10f.c: Likewise.
41182 * math/e_exp10l.c: Likewise.
41183 * math/e_exp2l.c: Likewise.
41184 * math/e_j0l.c: Likewise.
41185 * math/e_j1l.c: Likewise.
41186 * math/e_jnl.c: Likewise.
41187 * math/e_lgammal_r.c: Likewise.
41188 * math/e_rem_pio2l.c: Likewise.
41189 * math/e_scalb.c: Likewise.
41190 * math/e_scalbf.c: Likewise.
41191 * math/e_scalbl.c: Likewise.
41192 * math/k_cosl.c: Likewise.
41193 * math/k_sinl.c: Likewise.
41194 * math/k_tanl.c: Likewise.
41195 * math/s_cacoshf.c: Likewise.
41196 * math/s_catan.c: Likewise.
41197 * math/s_catanf.c: Likewise.
41198 * math/s_catanh.c: Likewise.
41199 * math/s_catanhf.c: Likewise.
41200 * math/s_catanhl.c: Likewise.
41201 * math/s_catanl.c: Likewise.
41202 * math/s_ccosh.c: Likewise.
41203 * math/s_ccoshf.c: Likewise.
41204 * math/s_ccoshl.c: Likewise.
41205 * math/s_cexp.c: Likewise.
41206 * math/s_cexpf.c: Likewise.
41207 * math/s_cexpl.c: Likewise.
41208 * math/s_clog.c: Likewise.
41209 * math/s_clog10.c: Likewise.
41210 * math/s_clog10f.c: Likewise.
41211 * math/s_clog10l.c: Likewise.
41212 * math/s_clogf.c: Likewise.
41213 * math/s_clogl.c: Likewise.
41214 * math/s_csin.c: Likewise.
41215 * math/s_csinf.c: Likewise.
41216 * math/s_csinh.c: Likewise.
41217 * math/s_csinhf.c: Likewise.
41218 * math/s_csinhl.c: Likewise.
41219 * math/s_csinl.c: Likewise.
41220 * math/s_csqrt.c: Likewise.
41221 * math/s_csqrtf.c: Likewise.
41222 * math/s_csqrtl.c: Likewise.
41223 * math/s_ctan.c: Likewise.
41224 * math/s_ctanf.c: Likewise.
41225 * math/s_ctanh.c: Likewise.
41226 * math/s_ctanhf.c: Likewise.
41227 * math/s_ctanhl.c: Likewise.
41228 * math/s_ctanl.c: Likewise.
41229 * math/s_ldexp.c: Likewise.
41230 * math/s_ldexpf.c: Likewise.
41231 * math/s_ldexpl.c: Likewise.
41232 * math/s_significand.c: Likewise.
41233 * math/s_significandf.c: Likewise.
41234 * math/s_significandl.c: Likewise.
41235 * math/w_acos.c: Likewise.
41236 * math/w_acosf.c: Likewise.
41237 * math/w_acosh.c: Likewise.
41238 * math/w_acoshf.c: Likewise.
41239 * math/w_acoshl.c: Likewise.
41240 * math/w_acosl.c: Likewise.
41241 * math/w_asin.c: Likewise.
41242 * math/w_asinf.c: Likewise.
41243 * math/w_asinl.c: Likewise.
41244 * math/w_atan2.c: Likewise.
41245 * math/w_atan2f.c: Likewise.
41246 * math/w_atan2l.c: Likewise.
41247 * math/w_atanh.c: Likewise.
41248 * math/w_atanhf.c: Likewise.
41249 * math/w_atanhl.c: Likewise.
41250 * math/w_cosh.c: Likewise.
41251 * math/w_coshf.c: Likewise.
41252 * math/w_coshl.c: Likewise.
41253 * math/w_dremf.c: Likewise.
41254 * math/w_exp10.c: Likewise.
41255 * math/w_exp10f.c: Likewise.
41256 * math/w_exp10l.c: Likewise.
41257 * math/w_exp2.c: Likewise.
41258 * math/w_exp2f.c: Likewise.
41259 * math/w_fmod.c: Likewise.
41260 * math/w_fmodf.c: Likewise.
41261 * math/w_fmodl.c: Likewise.
41262 * math/w_hypot.c: Likewise.
41263 * math/w_hypotf.c: Likewise.
41264 * math/w_hypotl.c: Likewise.
41265 * math/w_j0.c: Likewise.
41266 * math/w_j0f.c: Likewise.
41267 * math/w_j0l.c: Likewise.
41268 * math/w_j1.c: Likewise.
41269 * math/w_j1f.c: Likewise.
41270 * math/w_j1l.c: Likewise.
41271 * math/w_jn.c: Likewise.
41272 * math/w_jnf.c: Likewise.
41273 * math/w_jnl.c: Likewise.
41274 * math/w_lgamma.c: Likewise.
41275 * math/w_lgamma_r.c: Likewise.
41276 * math/w_lgammaf.c: Likewise.
41277 * math/w_lgammaf_r.c: Likewise.
41278 * math/w_lgammal.c: Likewise.
41279 * math/w_lgammal_r.c: Likewise.
41280 * math/w_log.c: Likewise.
41281 * math/w_log10.c: Likewise.
41282 * math/w_log10f.c: Likewise.
41283 * math/w_log10l.c: Likewise.
41284 * math/w_log2.c: Likewise.
41285 * math/w_log2f.c: Likewise.
41286 * math/w_log2l.c: Likewise.
41287 * math/w_logf.c: Likewise.
41288 * math/w_logl.c: Likewise.
41289 * math/w_pow.c: Likewise.
41290 * math/w_powf.c: Likewise.
41291 * math/w_powl.c: Likewise.
41292 * math/w_remainder.c: Likewise.
41293 * math/w_remainderf.c: Likewise.
41294 * math/w_remainderl.c: Likewise.
41295 * math/w_scalb.c: Likewise.
41296 * math/w_scalbf.c: Likewise.
41297 * math/w_scalbl.c: Likewise.
41298 * math/w_sinh.c: Likewise.
41299 * math/w_sinhf.c: Likewise.
41300 * math/w_sinhl.c: Likewise.
41301 * math/w_sqrt.c: Likewise.
41302 * math/w_sqrtf.c: Likewise.
41303 * math/w_sqrtl.c: Likewise.
41304 * math/w_tgamma.c: Likewise.
41305 * math/w_tgammaf.c: Likewise.
41306 * math/w_tgammal.c: Likewise.
41308 * po/ja.po: Update from translation team.
41310 2011-09-29 Andreas Jaeger <aj@suse.de>
41313 * sunrpc/netname.c (netname2host): Fix logic.
41317 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41319 * math/w_remainder.c (__remainder): Likewise.
41320 * math/w_remainderf.c (__remainderf): Likewise.
41321 * math/libm-test.inc (remainder_test): Add test cases.
41323 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41325 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
41328 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41330 * string/test-memcmp.c: Avoid unncessary #defines.
41331 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41333 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41335 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
41336 Use new sse2 version for core i3 - i7 as it's faster
41337 than sse42 version.
41338 (bit_Prefer_PMINUB_for_stringop): New.
41339 * sysdeps/x86_64/rawmemchr.S: Update.
41340 Replace with faster SSE2 version.
41341 * sysdeps/x86_64/memrchr.S: New file.
41342 * sysdeps/x86_64/memchr.S: Update.
41343 Replace with faster SSE2 version.
41345 2011-09-12 Marek Polacek <mpolacek@redhat.com>
41347 * elf/dl-load.c (lose): Add cast to avoid warning.
41349 2011-10-07 Ulrich Drepper <drepper@gmail.com>
41351 * po/ca.po: Update from translation team.
41353 * inet/getnetgrent_r.c: Hook up nscd.
41354 * nscd/Makefile (routines): Add nscd_netgroup.
41355 (nscd-modules): Add netgroupcache.
41356 (CFLAGS-netgroupcache.c): Define.
41357 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
41358 (cache_search): Add const to second parameter.
41359 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
41361 (dbs): Add netgrdb entry.
41362 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
41363 (verify_persistent_db): Handle netgrdb.
41364 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
41365 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
41367 (netgroup_response_header): Define.
41368 (innetgroup_response_header): Define.
41369 (datahead): Add netgroup_response_header and innetgroup_response_header
41371 * nscd/nscd.conf: Add entries for netgroup cache.
41372 * nscd/nscd.h (dbtype): Add netgrdb.
41373 (_PATH_NSCD_NETGROUP_DB): Define.
41374 (netgroup_iov_disabled): Declare.
41375 (xmalloc, xcalloc, xrealloc): Move declarations here.
41376 (cache_search): Adjust prototype.
41377 Add netgroup-related prototypes.
41378 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
41379 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
41380 (__nscd_innetgr): Declare.
41381 * nscd/selinux.c (perms): Use access_vector_t as element type and
41382 add netgroup-related initializers.
41383 * nscd/netgroupcache.c: New file.
41384 * nscd/nscd_netgroup.c: New file.
41385 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
41386 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
41387 For four parameters use innetgr.
41388 * nss/nss_files/files-init.c: Add definition and callback for netgr.
41389 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
41390 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
41391 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
41393 * nscd/connections.c (register_traced_file): Don't register file
41394 for disabled databases.
41396 2011-10-06 Ulrich Drepper <drepper@gmail.com>
41398 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
41400 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
41401 from tree and freeing node.
41403 2011-09-25 Jiri Olsa <jolsa@redhat.com>
41405 * nss/nsswitch.c (__nss_database_lookup): Handle
41406 nss_parse_service_list out of memory case.
41408 2011-09-15 Jiri Olsa <jolsa@redhat.com>
41410 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
41411 out of memory case.
41413 2011-10-04 Andreas Schwab <schwab@redhat.com>
41415 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
41416 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
41418 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
41419 elf_machine_rela, elf_machine_lazy_rel.
41420 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
41421 (ELF_DYNAMIC_DO_REL): Likewise.
41422 (ELF_DYNAMIC_DO_RELA): Likewise.
41423 (ELF_DYNAMIC_RELOCATE): Likewise.
41424 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
41425 to ELF_DYNAMIC_DO_REL.
41426 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
41427 (dl_main): In trace mode always set __RTLD_NOIFUNC.
41428 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
41430 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
41431 skip_ifunc, don't call ifunc function if non-zero.
41432 (elf_machine_rela): Likewise.
41433 (elf_machine_lazy_rel): Likewise.
41434 (elf_machine_lazy_rela): Likewise.
41435 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
41436 (elf_machine_lazy_rel): Likewise.
41437 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
41439 (elf_machine_lazy_rel): Likewise.
41440 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41442 (elf_machine_lazy_rel): Likewise.
41443 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
41444 (elf_machine_lazy_rel): Likewise.
41445 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
41446 (elf_machine_lazy_rel): Likewise.
41447 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
41448 (elf_machine_lazy_rel): Likewise.
41449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
41450 (elf_machine_lazy_rel): Likewise.
41451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
41452 (elf_machine_lazy_rel): Likewise.
41453 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
41454 (elf_machine_lazy_rel): Likewise.
41456 2011-09-28 Ulrich Drepper <drepper@gmail.com>
41458 * nss/nss_files/files-init.c (_nss_files_init): Use static
41459 initialization for all the *_traced_file variables.
41461 2011-09-28 Andreas Schwab <schwab@redhat.com>
41463 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41465 2011-09-27 Roland McGrath <roland@hack.frob.com>
41468 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
41470 2011-09-27 Andreas Schwab <schwab@redhat.com>
41472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41473 Reread the line before reparsing it.
41475 2011-09-26 Andreas Schwab <schwab@redhat.com>
41477 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
41479 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
41480 Maxim Kuvyrkov <maxim@codesourcery.com>
41481 Joseph Myers <joseph@codesourcery.com>
41483 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
41484 if needed for __stack_chk_guard.
41486 2011-09-19 Roland McGrath <roland@hack.frob.com>
41488 * sysdeps/posix/spawni.c (script_execute): Always define it.
41489 It will be optimized away if unused.
41490 (maybe_script_execute): New function.
41491 (__spawni): Call it.
41493 * Makerules: Don't include tls.make.
41494 (config-tls): Always set to thread.
41495 * tls.make.c: File removed.
41497 2011-09-19 Mike Frysinger <vapier@gentoo.org>
41499 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
41500 * config.make.in (CPPFLAGS-config): New substituted variable.
41502 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
41507 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
41508 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
41510 2011-09-15 Roland McGrath <roland@hack.frob.com>
41512 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
41513 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
41514 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41515 (CALL_FAIL): Likewise.
41516 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
41517 (CALL_FAIL): Macro removed.
41518 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
41520 2011-09-15 Ulrich Drepper <drepper@gmail.com>
41522 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
41523 for __FINITE_MATH_ONLY__ == 1.
41525 2011-09-15 Andreas Schwab <schwab@redhat.com>
41527 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
41528 __ieee754_sqrt instead of sqrt.
41529 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
41530 __ieee754_sqrtf instead of sqrtf.
41531 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
41532 __floorf instead of floorf.
41533 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
41534 __floorf, __truncf instead of floorf, truncf.
41536 2011-09-14 Ulrich Drepper <drepper@gmail.com>
41538 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
41540 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
41541 __extern_always_inline.
41542 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
41545 2011-09-14 Andreas Schwab <schwab@redhat.com>
41547 * elf/rtld.c (dl_main): Also relocate in dependency order when
41548 doing symbol dependency testing.
41550 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
41552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41553 Always define `refsym'.
41555 2011-09-13 Andreas Schwab <schwab@redhat.com>
41557 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
41558 (__FD_ELT): Renamed from __FDELT.
41559 * misc/bits/select2.h (__FD_ELT): Likewise.
41560 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
41561 __FD_MASK instead of __FDELT, __FDMASK.
41562 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41564 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
41567 * elf/Makefile (gen-ldd): Fix pattern.
41569 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
41570 (init_tls): Likewise.
41572 2011-09-12 Ulrich Drepper <drepper@gmail.com>
41574 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
41576 2011-09-12 Andreas Schwab <schwab@redhat.com>
41578 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
41579 `struct cmsghdr *' instead of `void *'.
41580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
41583 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
41585 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
41587 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
41588 ldd_rewrite_script.
41590 2011-09-11 Ulrich Drepper <drepper@gmail.com>
41592 * configure.in: Remove --with-tls option.
41593 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
41594 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
41595 out in case it is missing.
41596 * sysdeps/ia64/elf/configure.in: Likewise.
41597 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
41598 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
41599 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
41600 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
41601 * sysdeps/sh/elf/configure.in: Likewise.
41602 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
41603 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41604 * sysdeps/x86_64/elf/configure.in: Likewise.
41605 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
41606 * sysdeps/mach/hurd/tls.h: Likewise.
41609 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
41612 * configure.in: Fix use of AC_INIT.
41614 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
41616 2011-09-10 Ulrich Drepper <drepper@gmail.com>
41618 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
41620 * malloc/hooks.c: Likewise.
41623 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
41624 variables statically.
41625 (narenas): Initialize.
41626 (list_lock): Initialize.
41627 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
41628 initializtion of main_arena and list_lock. Small cleanups.
41629 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
41630 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
41631 Add initializers to main_arena and mp_.
41632 (malloc_state): Remove pagesize member. Change all users to use
41635 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
41636 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
41637 is always initialized.
41639 * malloc/malloc.c: Removed unused configurations and dead code.
41640 * malloc/arena.c: Likewise.
41641 * malloc/hooks.c: Likewise.
41642 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
41644 * include/tls.h: Removed. USE___THREAD must always be defined.
41645 * bits/libc-tsd.h: Don't handle !USE___THREAD.
41646 * elf/dl-libc.c: Likewise.
41647 * elf/dl-tsd.c: Likewise.
41648 * include/errno.h: Likewise.
41649 * include/netdb.h: Likewise.
41650 * include/resolv.h: Likewise.
41651 * inet/herrno-loc.c: Likewise.
41652 * inet/herrno.c: Likewise.
41653 * malloc/arena.c: Likewise.
41654 * malloc/hooks.c: Likewise.
41655 * malloc/malloc.c: Likewise.
41656 * resolv/res-state.c: Likewise.
41657 * resolv/res_libc.c: Likewise.
41658 * sysdeps/i386/dl-machine.h: Likewise.
41659 * sysdeps/ia64/dl-machine.h: Likewise.
41660 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41661 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41662 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41663 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41664 * sysdeps/sh/dl-machine.h: Likewise.
41665 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41667 * sysdeps/unix/i386/sysdep.S: Likewise.
41668 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41669 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
41670 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
41671 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41672 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
41673 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41674 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41675 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41677 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41678 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41679 * sysdeps/x86_64/dl-machine.h: Likewise.
41680 * tls.make.c: Likewise.
41682 * configure.in: Remove --with-__thread option. Make tests for
41683 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
41684 tls_model attribute fail if no support is available. Remove
41686 * Makeconfig: Adjust for dropped configure option. All features are
41688 * Makerules: Likewise.
41689 * Versions.def: Likewise.
41690 * argp/argp-fmtstream.c: Likewise.
41691 * argp/argp-fmtstream.h: Likewise.
41692 * argp/argp-help.c: Likewise.
41693 * assert/assert.c: Likewise.
41694 * config.h.in: Likewise.
41695 * config.make.in: Likewise.
41696 * configure: Likewise.
41697 * configure.in: Likewise.
41698 * csu/Versions: Likewise.
41699 * csu/init.c: Likewise.
41700 * elf/tst-audit2.c: Likewise.
41701 * elf/tst-tls10.c: Likewise.
41702 * elf/tst-tls10.h: Likewise.
41703 * elf/tst-tls11.c: Likewise.
41704 * elf/tst-tls12.c: Likewise.
41705 * elf/tst-tls14.c: Likewise.
41706 * elf/tst-tlsmod11.c: Likewise.
41707 * elf/tst-tlsmod12.c: Likewise.
41708 * elf/tst-tlsmod13.c: Likewise.
41709 * elf/tst-tlsmod13a.c: Likewise.
41710 * elf/tst-tlsmod14a.c: Likewise.
41711 * elf/tst-tlsmod15b.c: Likewise.
41712 * elf/tst-tlsmod16a.c: Likewise.
41713 * elf/tst-tlsmod16b.c: Likewise.
41714 * elf/tst-tlsmod7.c: Likewise.
41715 * elf/tst-tlsmod8.c: Likewise.
41716 * elf/tst-tlsmod9.c: Likewise.
41717 * gmon/gmon.c: Likewise.
41718 * grp/fgetgrent_r.c: Likewise.
41719 * grp/putgrent.c: Likewise.
41720 * hurd/fopenport.c: Likewise.
41721 * include/libc-symbols.h: Likewise.
41722 * include/tls.h: Likewise.
41723 * intl/gettextP.h: Likewise.
41724 * intl/loadinfo.h: Likewise.
41725 * locale/global-locale.c: Likewise.
41726 * locale/localeinfo.h: Likewise.
41727 * mach/devstream.c: Likewise.
41728 * malloc/arena.c: Likewise.
41729 * malloc/set-freeres.c: Likewise.
41730 * misc/err.c: Likewise.
41731 * misc/getttyent.c: Likewise.
41732 * misc/mntent_r.c: Likewise.
41733 * posix/getopt.c: Likewise.
41734 * posix/wordexp.c: Likewise.
41735 * pwd/fgetpwent_r.c: Likewise.
41736 * resolv/Versions: Likewise.
41737 * resolv/res_hconf.c: Likewise.
41738 * shadow/fgetspent_r.c: Likewise.
41739 * shadow/putspent.c: Likewise.
41740 * stdio-common/printf_fphex.c: Likewise.
41741 * stdio-common/tmpfile.c: Likewise.
41742 * stdlib/abort.c: Likewise.
41743 * stdlib/fmtmsg.c: Likewise.
41744 * sunrpc/auth_unix.c: Likewise.
41745 * sunrpc/clnt_perr.c: Likewise.
41746 * sunrpc/clnt_tcp.c: Likewise.
41747 * sunrpc/clnt_udp.c: Likewise.
41748 * sunrpc/clnt_unix.c: Likewise.
41749 * sunrpc/openchild.c: Likewise.
41750 * sunrpc/svc_simple.c: Likewise.
41751 * sunrpc/svc_tcp.c: Likewise.
41752 * sunrpc/svc_udp.c: Likewise.
41753 * sunrpc/svc_unix.c: Likewise.
41754 * sunrpc/xdr.c: Likewise.
41755 * sunrpc/xdr_array.c: Likewise.
41756 * sunrpc/xdr_rec.c: Likewise.
41757 * sunrpc/xdr_ref.c: Likewise.
41758 * sunrpc/xdr_stdio.c: Likewise.
41760 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41762 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41764 2011-07-03 Andreas Jaeger <aj@suse.de>
41766 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
41767 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
41768 regenerate with gen-libm-tests.pl.
41770 2010-05-12 Petr Baudis <pasky@suse.cz>
41773 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
41774 around j0() zero points by switching to j1().
41775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41776 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41777 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
41778 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41780 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41782 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
41784 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
41786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41787 Patch in part by Pavel Roskin <proski@gnu.org>.
41790 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
41792 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
41793 Free memory block if necessary.
41796 * libio/genops.c (INTDEF): For string streams the _lock pointer can
41797 be NULL. Don't lock in this case.
41799 2011-09-09 Roland McGrath <roland@hack.frob.com>
41801 * elf/elf.h (ELFOSABI_GNU): New macro.
41802 (ELFOSABI_LINUX): Define to that.
41804 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
41806 * string/strncat.c (strncat): Undef the symbol in case it has been
41807 defined in bits/string.h.
41809 2011-09-09 Ulrich Drepper <drepper@gmail.com>
41811 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
41813 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
41816 2011-08-17 Andreas Jaeger <aj@suse.de>
41818 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
41820 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
41821 Ian Lance Taylor <iant@google.com>
41823 * math/libm-test.inc (lround_test): New testcase.
41824 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
41826 2011-09-08 Ulrich Drepper <drepper@gmail.com>
41828 * Makefile: Remove support for automatic cvs check-ins.
41829 * Makerules: Likewise.
41830 * config.make.in: Likewise.
41831 * configure.in: Likewise.
41832 * intl/Makefile: Likewise.
41833 * locale/Makefile: Likewise.
41834 * po/Makefile: Likewise.
41835 * posix/Makefile: Likewise.
41836 * sysdeps/gnu/Makefile: Likewise.
41837 * sysdeps/mach/hurd/Makefile: Likewise.
41838 * sysdeps/sparc/sparc32/Makefile: Likewise.
41841 * posix/Makefile (bug-regex32-ENV): Define.
41842 Patch by John Stanley <jpsinthemix@verizon.net>.
41844 * misc/Makefile (headers): Add bits/select2.h.
41845 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
41846 * misc/bits/select2.h: New file.
41847 * include/bits/select2.h: New file.
41848 * debug/Makefile (routines): Add fdelt_chk.
41849 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
41850 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
41852 * debug/fdelt_chk.c: New file.
41854 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
41855 * wcsmbs/test-wmemcmp.c: Likewise.
41856 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
41857 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
41859 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41861 * string/Makefile (strop-tests): Add memcmp.
41862 * string/test-wmemcmp.c: New file.
41863 * string/test-memcmp.c: Add wmemcmp support.
41865 2011-09-08 Roland McGrath <roland@hack.frob.com>
41868 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
41871 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
41872 garbage value in a __mach_port_mod_refs call in the cases of the
41873 task-self and thread-self ports.
41875 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41877 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
41879 2011-09-08 Andreas Schwab <schwab@redhat.com>
41881 * elf/dl-load.c (lose): Check for non-null L.
41883 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41885 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
41887 * elf/dl-libc.c (dlerror_run): Pass back error code from
41891 * elf/dl-load.c (lose): Free l_origin if it is valid.
41893 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
41895 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
41896 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41898 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41899 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
41900 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
41902 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41904 * sysdeps/powerpc/fpu/e_hypot.c: New file.
41905 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
41906 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
41907 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
41908 * sysdeps/powerpc/fpu/k_cosf.c: New file.
41909 * sysdeps/powerpc/fpu/k_sinf.c: New file.
41910 * sysdeps/powerpc/fpu/s_cosf.c: New file.
41911 * sysdeps/powerpc/fpu/s_sinf.c: New file.
41912 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
41913 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
41915 2011-08-15 Alan Modra <amodra@gmail.com>
41918 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
41919 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
41920 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
41921 ppc_mcount to static-only-routines.
41922 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
41924 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
41925 __mcount_internal with usual JUMPTARGET. Remove useless nop.
41927 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
41929 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
41930 for finite and infinity parameters.
41932 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
41934 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
41935 and add nop instructions for throughput optimization.
41936 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41938 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
41940 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
41941 aligned copy for power7 with vector-scalar instructions.
41942 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41944 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
41946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
41949 2011-09-07 Andreas Schwab <schwab@redhat.com>
41952 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
41955 2011-09-07 Ulrich Drepper <drepper@gmail.com>
41957 * sysdeps/unix/sysv/linux/x86_64/init-first.c
41958 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
41959 syscall wrapper around clock_gettime in __vdso_clock_gettime.
41960 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
41963 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41965 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
41966 Forgot to demangle the pointer.
41968 * sysdeps/i386/sysdep.h: Define atom_text_section.
41969 * sysdeps/x86_64/sysdep.h: Likewise.
41970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
41971 section with atom_text_section.
41972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
41973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
41974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
41975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41976 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
41978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
41979 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
41980 already be defined. Change to take two parameters and don't assign
41981 result to variable. Adjust all users.
41982 Define INTERNAL_GETTIME if not already defined.
41983 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
41985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
41986 HAVE_CLOCK_GETTIME_VSYSCALL.
41987 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
41989 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
41990 gettimeofday vsyscall, just use time.
41992 2011-09-06 Andreas Schwab <schwab@redhat.com>
41994 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
41997 2011-09-06 Ulrich Drepper <drepper@gmail.com>
41999 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42001 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42003 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42004 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42005 syscall if possible.
42007 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42009 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42010 e_ident. Don't pass to find_mapsXX.
42011 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42013 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42016 strchr-sse2-no-bsf strrchr-sse2-no-bsf
42017 * sysdeps/x86_64/multiarch/strchr.S: Update.
42018 Check bit_slow_BSF bit.
42019 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42020 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42021 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42023 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42026 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42028 (tryshell): Define.
42029 (__spawni): Change last parameter to be flag. Test
42030 SPAWN_XFLAGS_USE_PATH flag to use path or not.
42031 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42032 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42033 * posix/spawni.c: Likewise.
42034 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42035 * posix/spawnp.c: Likewise. Change normal version to use
42036 SPAWN_XFLAGS_USE_PATH.
42037 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42038 SPAWN_XFLAGS_TRY_SHELL.
42041 * posix/glob.h: Remove gcc 1.x support.
42044 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42046 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42049 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42051 * sysdeps/i386/i686/multiarch/strchr.S: New file.
42052 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42053 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42054 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42055 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42056 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42058 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42060 * sysdeps/x86_64/wcscmp.S: New file.
42062 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42063 wcscmp-c wcscmp-sse2
42064 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42065 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42066 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42067 * wcsmbs/wcscmp.c: Allow renaming.
42069 2011-09-05 David S. Miller <davem@davemloft.net>
42071 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42072 stack slot, rather than the struct return pointer slot.
42073 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42074 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42076 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42078 2011-09-05 Ulrich Drepper <drepper@gmail.com>
42080 * po/ja.po: Update from translation team.
42083 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42084 kernel in 64-bit binaries.
42086 2011-09-01 David S. Miller <davem@davemloft.net>
42088 * elf/elf.h (HWCAP_SPARC_*): Move to..
42089 * sysdeps/sparc/sysdep.h: this new file and add new values.
42090 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42091 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42092 _DL_HWCAP_COUNT to 24.
42093 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42095 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42096 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42097 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42098 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42099 instead of magic constants.
42100 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42102 2011-08-31 David S. Miller <davem@davemloft.net>
42104 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42105 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42106 Reimplement to do errno handling inline.
42107 (SYSCALL_ERROR_HANDLER): New macro.
42108 (__SYSCALL_STRING): Do not do errno handling in asm.
42109 (__CLONE_SYSCALL_STRING): Delete.
42110 (__INTERNAL_SYSCALL_STRING): Delete.
42111 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42112 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42113 (PSEUDO): Reimplement to do errno handling inline.
42114 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42115 (SYSCALL_ERROR_HANDLER): New macro.
42116 (__SYSCALL_STRING): Do not do errno handling in asm.
42117 (__CLONE_SYSCALL_STRING): Delete.
42118 (__INTERNAL_SYSCALL_STRING): Delete.
42119 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42120 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42122 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42123 (inline_syscall*): Add 'err' argument.
42124 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42125 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42126 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42127 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42129 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42130 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42132 2011-08-30 Andreas Schwab <schwab@redhat.com>
42134 * elf/rtld.c (dl_main): Relocate objects in dependency order.
42136 2011-08-29 Jiri Olsa <jolsa@redhat.com>
42138 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42141 2011-08-24 David S. Miller <davem@davemloft.net>
42143 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42145 2011-08-24 Andreas Schwab <schwab@redhat.com>
42147 * elf/Makefile: Add rules to build and run unload8 test.
42148 * elf/unload8.c: New file.
42149 * elf/unload8mod1.c: New file.
42150 * elf/unload8mod1x.c: New file.
42151 * elf/unload8mod2.c: New file.
42152 * elf/unload8mod3.c: New file.
42154 * elf/dl-close.c (_dl_close_worker): Reset private search list if
42157 2011-08-23 David S. Miller <davem@davemloft.net>
42159 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42160 subtract stack bias.
42161 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42162 %sp not %fp in calculations.
42163 (_JMPBUF_UNWINDS_ADJ): Likewise.
42165 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42166 (aio_suspend): Call it to force an exception region around the
42167 AIO_MISC_WAIT() invocation.
42169 2011-08-23 Andreas Schwab <schwab@redhat.com>
42171 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42174 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
42176 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42178 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42179 and <dl-machine.h>.
42180 (Elf64_FuncDesc): Remove.
42182 2011-08-22 David S. Miller <davem@davemloft.net>
42184 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42185 sigaltstack check, add missing cfi directives.
42186 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42187 missing cfi directives, and sigaltstack handling.
42189 2011-08-16 Andreas Schwab <schwab@redhat.com>
42192 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42193 object is seen twice.
42194 * elf/dl-fini.c (_dl_sort_fini): Likewise.
42196 * elf/Makefile (distribute): Add tst-initorder2.c.
42197 (tests): Add tst-initorder2.
42198 (modules-names): Add tst-initorder2a tst-initorder2b
42199 tst-initorder2c tst-initorder2d. Add rules to build them.
42200 ($(objpfx)tst-initorder2.out): New rule.
42201 * elf/tst-initorder2.c: New file.
42202 * elf/tst-initorder2.exp: New file.
42204 2011-08-22 Andreas Schwab <schwab@redhat.com>
42206 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42208 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42209 dependencies back to end of function.
42211 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42212 $(elfobjdir)/ld.so.
42214 2011-08-21 Ulrich Drepper <drepper@gmail.com>
42216 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42217 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42218 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42219 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42220 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42221 of __vdso_gettimeofday.
42222 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42223 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
42225 (_libc_vdso_platform_setup): Remove initialization of
42226 __vdso_gettimeofday and __vdso_time.
42228 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42230 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42231 and fgetc_unlocked.
42232 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42235 * elf/dl-open.c (add_to_global): Report additions to the global scope
42236 for LD_DEBUG=scopes.
42237 (dl_open_worker): Also print scope of newly loaded dependencies.
42238 (_dl_show_scope): Indicate if there is no scope.
42241 * stdio-common/Makefile (tests): Add bug24.
42242 * stdio-common/bug24.c: New file.
42244 2011-08-19 Andreas Jaeger <aj@suse.de>
42247 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42248 non-existant file when using close-on-exec mode.
42250 2011-08-20 Ulrich Drepper <drepper@gmail.com>
42252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42253 the very first instruction.
42255 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42256 the CFI state in the end.
42257 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42258 inclusion of dl-trampoline.h.
42259 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42261 2011-08-19 Andreas Schwab <schwab@redhat.com>
42263 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42264 expectations for long double.
42266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42267 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42269 2011-08-14 David S. Miller <davem@davemloft.net>
42271 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42272 artificual limit depends upon the system page size.
42274 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42276 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42277 * resolv/Makefile: Define CFLAGS-libresolv.
42279 2011-08-17 Andreas Schwab <schwab@redhat.com>
42281 * nss/makedb.c (compute_tables): Make variables used in nested
42284 2011-08-17 Ulrich Drepper <drepper@gmail.com>
42286 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42287 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42288 if buffer was too small.
42290 * elf/pldd.c (main): Attach to all threads in the process.
42291 Rewrite /proc handling to use *at functions.
42293 2011-08-16 Ulrich Drepper <drepper@gmail.com>
42295 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42296 specifies first scope to show.
42297 (dl_open_worker): Update callers. Move printing scope of new
42298 object to before the relocation.
42299 * elf/rtld.c (dl_main): Update _dl_show_scope call.
42300 * sysdeps/generic/ldsodefs.h: Update declaration.
42302 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42303 string for the scope number.
42305 2011-08-14 Ulrich Drepper <drepper@gmail.com>
42307 * nscd/servicescache.c (cache_addserv): Make sure written is always
42310 2011-08-14 Roland McGrath <roland@hack.frob.com>
42312 * sysdeps/i386/i486/bits/atomic.h
42313 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42314 statement expression, so as to suppress "set but not used" warning.
42315 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42317 * string/strncat.c (STRNCAT): Use prototype definition.
42319 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42320 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42322 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42323 (localedef-modules): Add localedef.
42324 (locale-modules): Add locale.
42326 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42327 * elf/rtld.c (dl_main): Invert order of assignment in last change,
42328 to avoid a warning.
42330 2011-08-14 David S. Miller <davem@davemloft.net>
42332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
42333 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
42335 2011-08-13 Ulrich Drepper <drepper@gmail.com>
42337 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
42338 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
42339 * elf/rtld.c (dl_main): Set l_name of vDSO.
42340 Call _dl_show_scope when DL_DEBUG_SCOPES.
42341 (process_dl_debug): Recognize scopes flag and also set it for all.
42342 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
42343 Declare _dl_show_scope.
42345 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
42346 (do_dlopen): Pass caller_dlopen to dl_open.
42347 (__libc_dlopen_mode): Initialize caller_dlopen.
42349 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
42350 of libc. Make tolower call locale-independent. Optimize a bit by
42351 using isdigit instead of isalnum.
42352 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
42354 2011-08-12 Ulrich Drepper <drepper@gmail.com>
42356 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
42357 was a dependency or dynamically loaded.
42359 2011-08-11 Ulrich Drepper <drepper@gmail.com>
42361 * intl/l10nflist.c: Allow architecture-specific pop function.
42362 * sysdeps/x86_64/l10nflist.c: New file.
42364 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
42367 2011-08-10 Andreas Schwab <schwab@redhat.com>
42369 * include/dirent.h: Add libc_hidden_proto for scandirat and
42370 scandirat64. Don't declare __scandirat64.
42371 * dirent/scandirat.c: Add libc_hidden_def.
42372 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
42373 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
42375 2011-08-10 David S. Miller <davem@davemloft.net>
42377 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
42379 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42380 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42381 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42383 2011-08-09 Ulrich Drepper <drepper@gmail.com>
42385 * Versions.def [libc]: Add GLIBC_2.15.
42386 * dirent/Makefile (routines): Add scandirat and scandirat64.
42387 * dirent/Versions [libc]: Export scandirat and scandirat64 for
42389 * dirent/dirent.h: Declare scandirat and scandirat64.
42390 * dirent/scandirat.c: New file.
42391 * dirent/scandirat64.c: New file.
42392 * sysdeps/wordsize-64/scandirat.c: New file.
42393 * sysdeps/wordsize-64/scandirat64.c: New file.
42394 * dirent/opendir.c: Define opendirat.
42395 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
42397 * dirent/scandir64.c: Adjust for scandir.c change.
42398 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
42399 __scandirat64, and __scandir_cancel_handler.
42400 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
42401 additional parameter and use openat instead of open (outside of ld.so).
42402 Add new __opendir as wrapper around __opendirat.
42403 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
42404 here without requiring old scandirat implementation.
42406 2011-08-08 Ulrich Drepper <drepper@gmail.com>
42408 * dirent/scandir.c (cancel_handler): Renamed to
42409 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
42410 defined. Adjust users.
42411 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
42412 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
42414 2011-08-04 Ulrich Drepper <drepper@gmail.com>
42416 * string/test-string.h (IMPL): Use __STRING to expand name and then
42419 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
42422 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42424 * string/Makefile: Update.
42425 (strop-tests): Append strncat.
42426 * string/test-wcscmp.c: New file.
42427 New comprehensive test for wcscmp.
42428 * string/test-strcmp.c: Update.
42429 (WIDE): New define.
42431 2011-07-22 Andreas Schwab <schwab@redhat.com>
42433 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
42436 2011-07-26 Andreas Schwab <schwab@redhat.com>
42438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
42439 encoding to ACE if AI_IDN.
42441 2011-08-01 Jakub Jelinek <jakub@redhat.com>
42443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
42444 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
42446 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
42449 Fix overflow bug in strncat.
42450 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42452 * string/test-strncat.c: Update.
42453 Add new tests for checking overflow bugs.
42455 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42458 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
42459 * sysdeps/i386/i686/multiarch/strcat.S: New file.
42460 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
42461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
42462 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
42463 * sysdeps/i386/i686/multiarch/strncat.S: New file.
42464 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
42465 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
42467 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
42468 (USE_AS_STRCAT): Define.
42469 Add strcat and strncat support.
42470 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42472 2011-07-25 Andreas Schwab <schwab@redhat.com>
42474 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
42475 __n bigger than INT_MAX+1.
42476 (__strncmp_g): Likewise.
42478 2011-07-23 Ulrich Drepper <drepper@gmail.com>
42480 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
42481 * libio/stido.h: Likewise.
42483 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
42485 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
42488 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
42489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
42490 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
42491 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
42492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
42495 * scripts/test-installation.pl: Don't expect libnss_test1 to be
42498 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
42500 (_dl_x86_64_save_sse): Likewise.
42502 2011-07-22 Ulrich Drepper <drepper@gmail.com>
42504 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
42506 (_dl_x86_64_save_sse): Likewise.
42508 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
42510 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
42512 2011-07-21 Andreas Schwab <schwab@redhat.com>
42514 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
42516 (_dl_x86_64_save_sse): Use correct AVX check.
42518 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42520 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
42521 bug in strncpy/strncat.
42522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42524 2011-07-21 Ulrich Drepper <drepper@gmail.com>
42526 * string/tester.c (test_strcat): Add tests for different alignments
42527 of source and destination.
42528 (test_strncat): Likewise.
42530 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42533 * posix/glob.c (glob): Check passed in values before using them in
42534 expressions to avoid some overflows.
42535 (glob_in_dir): Likewise.
42538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
42539 check for AVX enablement so that we don't crash with old kernels and
42541 * elf/tst-audit4.c: Add same checks here.
42542 * elf/tst-audit6.c: Likewise.
42544 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
42546 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
42548 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
42550 2011-07-20 Ulrich Drepper <drepper@gmail.com>
42552 * po/cs.po: Update from translation team.
42553 * po/bg.po: Likewise.
42555 2011-07-12 Marek Polacek <mpolacek@redhat.com>
42557 * misc/sys/cdefs.h: Add support for const attribute.
42558 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
42559 to gnu_dev_{major,minor,makedev} functions.
42561 2011-07-20 Marek Polacek <mpolacek@redhat.com>
42563 * intl/dcigettext.c (get_output_charset): Add missing bracket.
42565 2011-07-20 Andreas Schwab <schwab@redhat.com>
42567 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
42570 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
42573 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
42574 register in order to avoid conflicts with the soft frame pointer
42575 being held in r11 when necessary.
42576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
42577 (INTERNAL_VSYSCALL_NCS): Likewise.
42579 2011-07-14 Marek Polacek <mpolacek@redhat.com>
42581 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
42582 * elf/dl-fini.c (_dl_fini): Adjust caller.
42583 * elf/dl-close.c (_dl_close_worker): Likewise.
42584 * sysdeps/generic/ldsodefs.h: Adjust declaration.
42586 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42588 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
42589 "aux_cache->nlibs < 0".
42591 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
42592 in the reload-count case.
42594 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
42596 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42597 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
42598 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
42599 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
42600 * sysdeps/x86_64/multiarch/strcat.S: New file.
42601 * sysdeps/x86_64/multiarch/strncat.S: New file.
42602 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
42603 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
42604 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
42605 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
42606 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
42607 (USE_AS_STRCAT): Define.
42608 Add strcat and strncat support.
42609 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42610 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42611 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
42612 * string/strncat.c: Update.
42613 (USE_AS_STRNCAT): Define.
42614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42615 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
42617 * sysdeps/x86_64/multiarch/init-arch.h
42618 (bit_Prefer_PMINUB_for_stringop): New.
42619 (index_Prefer_PMINUB_for_stringop): Likewise.
42620 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
42621 bit_Prefer_PMINUB_for_stringop.
42623 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42625 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
42627 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
42628 of casting of buffer.
42629 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
42630 buffer32 and buffer64.
42631 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
42632 writes instead of casting of buffer.
42633 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
42635 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
42638 2011-07-19 Andreas Schwab <schwab@redhat.com>
42640 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
42642 2011-07-19 Ulrich Drepper <drepper@gmail.com>
42644 * nscd/nscd.c (termination_handler): Don't do anything for a database
42645 if it has not yet been initialized.
42647 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42649 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42651 2011-07-15 Marek Polacek <mpolacek@redhat.com>
42653 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
42655 2011-07-18 Ulrich Drepper <drepper@gmail.com>
42657 * po/nl.po: Update from translation team.
42658 * po/sv.po: Likewise.
42660 2011-07-16 Roland McGrath <roland@hack.frob.com>
42662 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
42663 now disallowed by GCC.
42665 * configure.in (use-default-link): Default to yes if a test -shared
42666 link meets our qualifications.
42667 * configure: Regenerated.
42669 * config.make.in (output-format): New variable.
42670 * configure.in: Check for ld --print-output-format support.
42671 * configure: Regenerated.
42672 * Makerules ($(common-objpfx)format.lds)
42673 [$(output-format) != unknown]: Just use $(output-format),
42674 instead of the linker-script munging.
42676 2011-07-14 Roland McGrath <roland@hack.frob.com>
42678 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
42679 of $(common-objpfx)shlib.lds.
42680 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
42682 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
42683 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
42685 * configure.in (-z relro check): Adjust test code to add a large
42686 writable data section after it.
42687 * configure: Regenerated.
42689 2011-07-11 Roland McGrath <roland@hack.frob.com>
42691 * configure.in (-z relro check): Fix test code to make the variable
42693 * configure: Regenerated.
42695 2011-07-11 Ulrich Drepper <drepper@gmail.com>
42697 * nscd/nscd.h (struct traced_file): Define.
42698 (struct database_dyn): Remove inotify_descr, reset_res, and filename
42699 elements. Add traced_files.
42700 (inotify_fd): Declare.
42701 (register_traced_file): Declare.
42702 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
42703 (inotify_fd): Export.
42704 (resolv_conf_descr): Remove.
42705 (nscd_init): Move inotify descriptor creation to main.
42706 Don't register files for notification here.
42707 (register_traced_file): New function.
42708 (invalidate_cache): Don't use reset_res to determine whether to call
42709 res_init, go through the list of registered files.
42710 (main_loop_poll): The inotify descriptors are now stored in the
42711 structures for the traced files.
42712 (main_loop_epoll): Likewise
42713 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
42714 to __nss_disable_nscd.
42715 * nscd/cache.c (prune_cache): There is no single inotify descriptor
42716 for a database anymore. Check the records for all the registered
42718 * nss/Makefile (libnss_files-routines): Add files-init.
42719 (libnss_db-routines): Add db-init.
42720 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
42721 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
42722 * nss/nss_db/db-init.c: New file.
42723 * nss/nss_files/files-init.c: New file.
42724 * nss/nsswitch.c (nss_load_library): New function. Broken out of
42725 __nss_lookup_function.
42726 (__nss_lookup_function): Call nss_load_library.
42727 (nss_load_all_libraries): New function.
42728 (__nss_disable_nscd): Take parameter with callback function for files
42729 to register. Set is_nscd. Load all the DSOs for the NSS modules
42730 used for the cached services.
42731 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
42732 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
42733 options for features to all the files in nscd.
42735 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
42737 2011-07-10 Roland McGrath <roland@hack.frob.com>
42739 * csu/elf-init.c (__libc_csu_init): Comment typo.
42741 2011-07-09 Ulrich Drepper <drepper@gmail.com>
42743 * po/pl.po: Update from translation team.
42744 * po/ja.po: Likewise.
42745 * po/ru.po: Likewise.
42746 * po/ko.po: Likewise.
42747 * po/fr.po: Likewise.
42749 2011-07-09 Roland McGrath <roland@hack.frob.com>
42751 * configure.in (.ctors/.dtors header and trailer check):
42752 Use an empirical test on a built program.
42753 * configure: Regenerated.
42755 * configure.in (-z relro check): Use an empirical test on a built DSO.
42756 Detect, but do not require, on ia64.
42757 * configure: Regenerated.
42759 * configure.in (READELF): Find it with AC_CHECK_TOOL.
42760 Update tests that use readelf to use $READELF instead.
42761 * configure: Regenerated.
42763 2011-07-08 Ulrich Drepper <drepper@gmail.com>
42765 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
42766 if the result is not used.
42768 2011-07-05 Andreas Jaeger <aj@suse.de>
42771 * stdlib/tst-strtod.c: Add testcase.
42773 2011-07-07 Ulrich Drepper <drepper@gmail.com>
42775 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
42776 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
42777 The latter has a higher limit. Take additional parameter to pass to
42779 (__pathconf): Pass file to __statfs_link_max.
42780 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
42782 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
42786 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
42787 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42789 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
42790 (__statfs_filesize_max): Likewise.
42791 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
42793 2011-07-05 Andreas Jaeger <aj@suse.de>
42795 * resolv/res_comp.c (dn_skipname): Remove unused variable.
42797 2011-07-06 Marek Polacek <mpolacek@redhat.com>
42799 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
42801 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
42804 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
42806 * Makefile (strop-tests): Add strncat.
42807 * string/test-strncat.c: New file.
42809 2011-06-30 Marek Polacek <mpolacek@redhat.com>
42811 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
42813 2011-06-21 Andreas Jaeger <aj@suse.de>
42815 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
42816 Copy rule from iconvdata/Makefile.
42818 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42821 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
42822 but no long options are defined, just return 'W'.
42824 2011-06-22 Marek Polacek <mpolacek@redhat.com>
42827 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
42829 2011-07-06 Ulrich Drepper <drepper@gmail.com>
42831 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
42833 (innetgr): Likewise.
42835 2011-07-05 Roland McGrath <roland@hack.frob.com>
42837 * config.make.in (install_root): Default to $(DESTDIR).
42839 2011-07-05 Ulrich Drepper <drepper@gmail.com>
42841 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
42843 2011-07-02 Roland McGrath <roland@hack.frob.com>
42845 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
42847 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
42848 containing directory rather than embedding absolute directory names.
42850 * scripts/check-local-headers.sh: Rewritten using awk.
42851 Match by word, not by line. Print error messages for matches.
42852 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
42854 * Makerules [shlib-lds-flags empty]:
42855 ($(common-objpfx)libc_pic.opts): New target.
42856 ($(common-objpfx)libc_pic.os.clean): New target.
42857 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
42859 * config.make.in (OBJCOPY): New variable.
42860 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
42861 * configure: Regenerated.
42863 * config.make.in (use-default-link): New variable.
42864 * configure.in (use_default_link): Grok --with-default-link to set it.
42865 * configure: Regenerated.
42866 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
42867 (shlib-lds, shlib-lds-flags): Define to empty.
42869 * Makerules (shlib-lds): New variable.
42870 (shlib-lds-flags): New variable.
42871 (build-shlib, build-moduile, build-module-asneeded): Use it.
42872 ($(common-objpfx)libc.so): Use $(shlib-lds).
42873 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
42874 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
42876 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
42877 DT_FLAGS/DT_FLAGS_1 with zero flags.
42879 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
42880 linker script munging.
42882 2011-07-02 Ulrich Drepper <drepper@gmail.com>
42884 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
42886 * crypt/sha512.c (sha512_process_block): Perform total addition using
42887 128-bit if possible.
42888 (__sha512_finish_ctx): Likewise.
42889 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
42891 * crypt/sha256.c (SWAP64): Define.
42892 (sha256_process_block): Perform total addition using 64-bit if
42894 (__sha256_finish_ctx): Likewise.
42896 2011-07-01 Ulrich Drepper <drepper@gmail.com>
42898 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
42899 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42900 * nscd/hstcache.c (cache_addhst): Likewise.
42901 * nscd/grpcache.c (cache_addgr): Likewise.
42902 * nscd/aicache.c (addhstaiX): Likewise
42903 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
42905 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
42907 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
42908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42909 * nscd/hstcache.c (cache_addhst): Likewise.
42910 * nscd/grpcache.c (cache_addgr): Likewise.
42911 * nscd/aicache.c (addhstaiX): Likewise
42913 2011-07-01 Andreas Schwab <schwab@redhat.com>
42915 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
42916 domain only when needed.
42918 2011-06-30 Andreas Schwab <schwab@redhat.com>
42920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
42921 is always restored.
42923 2011-06-29 Ulrich Drepper <drepper@gmail.com>
42925 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
42926 are re-adding the entry.
42927 * nscd/servicescache.c (cache_addserv): Likewise.
42929 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
42931 * sysdeps/generic/dl-irel.h: fix protection against multiple
42933 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
42935 2011-06-28 Ulrich Drepper <drepper@gmail.com>
42938 * malloc/memusage.sh: Fix quoting in message.
42939 * debug/xtrace.sh: Likewise.
42941 * configure.in: Remove support for --experimental-malloc option, make
42943 * config.make.in: Likewise.
42944 * malloc/Makefile: Likewise.
42946 2011-06-27 Andreas Schwab <schwab@redhat.com>
42948 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
42949 two-byte characters.
42951 2011-06-27 Roland McGrath <roland@hack.frob.com>
42953 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
42954 AC_CACHE_CHECK invocation.
42955 * configure: Regenerated.
42957 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
42959 2011-06-27 Ulrich Drepper <drepper@gmail.com>
42962 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
42963 bit from old_res_options.
42965 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
42967 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
42968 value type for setfct.
42970 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
42972 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
42973 __gettimeofday instead of gettimeofday.
42975 2011-06-26 Ulrich Drepper <drepper@gmail.com>
42977 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
42979 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
42981 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
42983 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
42986 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
42988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42989 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
42990 strcpy-sse2-unaligned strncpy-sse2-unaligned
42991 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
42992 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
42993 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
42994 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
42995 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
42996 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
42997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
42998 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
42999 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43000 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43001 (STRCPY): Support SSE2 and SSSE3 versions.
43003 2011-06-24 Ulrich Drepper <drepper@gmail.com>
43006 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43007 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43008 kernels which artificially limit size of requests.
43010 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
43012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43013 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43014 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43015 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43016 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43017 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43018 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43019 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43020 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43022 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43023 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43024 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43025 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43026 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43027 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43028 Enable unaligned load optimization for Intel Core i3, i5 and i7
43030 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43032 (index_Fast_Unaligned_Load): Define.
43033 (HAS_FAST_UNALIGNED_LOAD): Define.
43035 2011-06-23 Marek Polacek <mpolacek@redhat.com>
43037 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43039 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43043 until it is clear that the information is realy needed.
43044 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43046 2011-06-22 Andreas Schwab <schwab@redhat.com>
43048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43050 2011-06-22 Ulrich Drepper <drepper@gmail.com>
43052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43053 /sys/devices/system/cpu/online if it is usable.
43055 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43056 reading the information from the /proc filesystem to once a second.
43058 2011-06-21 Andreas Jaeger <aj@suse.de>
43060 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43061 NULL after inclusion of kernel headers.
43063 2011-06-21 Ulrich Drepper <drepper@gmail.com>
43065 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43066 calls to internal_setent.
43069 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43070 addresses using gethostbyname4_r ignore IPv4 addresses.
43072 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43073 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
43075 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43077 2011-06-20 David S. Miller <davem@davemloft.net>
43079 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43081 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43083 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43084 (elf_irel): Use it.
43085 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43086 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43087 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43088 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43089 * sysdeps/x86_64/dl-irel.h: Likewise.
43091 * elf/dl-runtime.c: Use elf_ifunc_invoke.
43092 * elf/dl-sym.c: Likewise.
43094 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43096 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
43097 need to dereference resplen2.
43099 2011-06-14 Andreas Schwab <schwab@redhat.com>
43101 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43103 2011-06-15 Ulrich Drepper <drepper@gmail.com>
43105 * Makeconfig: Define vardbdir and inst_vardbdir.
43106 * nss/Makefile: Add rules to install db-Makefile.
43108 * nss/nss_db/db-XXX.c: Cleanup.
43110 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43111 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43113 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43114 * nss/makedb.c: Implement -g option to specify that value strings
43115 are generated and should not be added to table iterated over for
43117 * nss/nss_db/db-initgroups.c: New file.
43119 * nss/getent.c: Add support for initgroups lookups through getgrouplist
43122 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43123 (internal_getgrouplist): Adjust to name change.
43124 Update use_initgroups_entry if this is not the first call.
43125 * nss/databases.def: Add initgroups entry.
43127 * nss/makedb.c (compute_tables): Check result of multiple hash table
43128 sizes to minimize maximum chain length.
43130 2011-06-14 Ulrich Drepper <drepper@gmail.com>
43132 * Versions.def: Add entry for libnss_db.
43133 * shlib-versions: Likewise.
43134 * nss/Makefile: Add rules to build libnss_db.
43135 * nss/Versions: Add libnss_db information. Organize libnss_files
43137 * nss/db-Makefile: Add gshadow support. Change rules for the new
43138 makedb progra. Some minor improvements to generate smaller files.
43139 * nss/nss_db/nss_db.h: Move NSS database header data structures to
43141 * nss/makedb.c: ...here.
43142 Improve database format to be smaller and require less memory at
43144 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
43146 * nss/nss_db/db-netgrp.c: Likewise.
43147 * nss/nss_db/db-open.c: Likewise.
43148 * nss/nss_files/flies-XXX.x: Adjust comments.
43149 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43150 * nss/nss_files/files-grp.c: Likewise.
43151 * nss/nss_files/files-hosts.c: Likewise.
43152 * nss/nss_files/files-network.c: Likewise.
43153 * nss/nss_files/files-proto.c: Likewise.
43154 * nss/nss_files/files-pwd.c: Likewise.
43155 * nss/nss_files/files-rpc.c: Likewise.
43156 * nss/nss_files/files-service.c: Likewise.
43157 * nss/nss_files/files-sgrp.c: Likewise.
43158 * nss/nss_files/files-spwd.c: Likewise.
43159 * nss/nss_db/db-alias.c: Removed.
43160 * nss/nss_db/dummy-db.h: Removed.
43162 2011-06-02 Ulrich Drepper <drepper@gmail.com>
43164 * nss/makedb.c: Rewritten to not use database library.
43165 * nss/Makefile: Update to build new makedb program.
43167 2011-06-14 Andreas Jaeger <aj@suse.de>
43169 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43170 memset declaration.
43172 2011-06-10 Andreas Schwab <schwab@redhat.com>
43174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43177 2011-06-10 Roland McGrath <roland@hack.frob.com>
43179 * Makerules (shlib.lds): Fail if the linker script comes out empty.
43180 * elf/Makefile ($(objpfx)ld.so): Likewise.
43182 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43183 Don't list ld.so twice in dependencies.
43185 * posix/bug-regex31.c: Include <stdlib.h>.
43187 * nscd/hstcache.c (cache_addhst): Remove unused variable.
43189 * nis/nss_compat/compat-spwd.c
43190 (getspent_next_nss_netgr): Remove unused variable.
43191 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43193 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43194 nonmembers" output to use the right array.
43196 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43198 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43200 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43201 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43202 * catgets/gencat.c (read_input_file): Likewise.
43203 * locale/programs/locarchive.c (enlarge_archive): Likewise.
43205 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43206 variable definition inside #if's controlling its use.
43208 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43210 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43212 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43214 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43217 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43219 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43220 * configure: Regenerated.
43222 * Makerules: Revert last change.
43223 * elf/Makefile: Likewise.
43225 2011-06-09 Roland McGrath <roland@hack.frob.com>
43227 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43228 * elf/Makefile ($(objpfx)librtld.os): Likewise.
43229 (reloc-link): Likewise.
43231 2011-06-09 Ulrich Drepper <drepper@gmail.com>
43233 * elf/Makefile: Add rules to build pldd.
43234 * elf/pldd.c: New file.
43235 * elf/pldd-xx.c: New file.
43237 2011-06-07 Ulrich Drepper <drepper@gmail.com>
43239 * version.h: Update for 2.15 development version.
43241 2011-06-07 David S. Miller <davem@davemloft.net>
43243 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43245 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43246 elf_machine_lazy_rel): Likewise.
43247 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43249 elf_machine_lazy_rel): Likewise.
43250 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43251 dl_hwcap via passed in argument.
43252 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43255 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43257 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
43259 2011-06-06 Roland McGrath <roland@hack.frob.com>
43262 * manual/fdl-1.1.texi: New file, verbatim from:
43263 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43264 * manual/lgpl-2.1.texi: New file, verbatim from:
43265 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43266 * manual/Makefile (licenses): New variable, list those new file names.
43268 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43270 * manual/fdl.texi: File removed.
43271 * manual/lesser.texi: File removed.
43272 * manual/libc.texinfo (Copying, Documentation License):
43273 Use new @include file names, put @appendix directive before @include.
43275 2011-06-04 Jakub Jelinek <jakub@redhat.com>
43278 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43279 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43280 (mq_open): Add __NTH.
43282 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
43284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43285 Assume Intel Core i3/i5/i7 processor if AVX is available.
43287 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43292 2011-05-31 Andreas Schwab <schwab@redhat.com>
43294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43295 memory. Use alloca_account. Fix memory leak when retrying.
43297 2011-05-31 Ulrich Drepper <drepper@gmail.com>
43299 * version.h (RELEASE): Bump for 2.14 release.
43300 * include/features.h (__GLIBC_MINOR__): Bump to 14.
43302 * config.make.in (RANLIB): Remove entry.
43304 2011-05-30 Ulrich Drepper <drepper@gmail.com>
43306 * po/Makefile (po-sed-cmd): Add ksh to extensions.
43307 (libc.pot): Work around missing support for .ksh extension in xgettext.
43310 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43311 if both request failed.
43312 (send_dg): In case of server errors clear resplen or *resplen2.
43315 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43316 when there are multiple maps.
43317 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43318 (_dl_fini): Remove test here.
43320 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43322 2011-05-29 Ulrich Drepper <drepper@gmail.com>
43325 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43326 bit from old_res_options.
43327 (gaih_inet): Likewise.
43330 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
43333 * resolv/res_init.c (res_setoptions): Make the code more compact.
43336 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
43340 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
43342 * malloc/malloc.h: Mark malloc hook variables as deprecated.
43345 * malloc/malloc.h: Declare malloc hook variables as volatile.
43347 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
43351 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
43352 raise in the comment.
43353 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
43354 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43355 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
43357 2011-05-28 Ulrich Drepper <drepper@gmail.com>
43360 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
43361 grow the buffers more if it already has to be sufficient.
43362 (build_wcs_upper_buffer): Likewise.
43363 * posix/regexec.c (check_matching): Likewise.
43364 (clean_state_log_if_needed): Likewise.
43365 (extend_buffers): Don't enlarge buffers beyond size of the input
43367 Patches mostly by Emil Wojak <emil@wojak.eu>.
43368 * posix/bug-regex32.c: New file.
43369 * posix/Makefile (tests): Add bug-regex32.
43371 * locale/findlocale.c (_nl_find_locale): Return right away if
43372 _nl_explode_name failed.
43373 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
43375 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
43377 * debug/xtrace.sh: Unify messages.
43378 * malloc/memusage.sh: Likewise.
43381 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
43382 time symbol from vDSO. Substitute with vsyscall if not available.
43383 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
43386 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
43387 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
43388 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
43389 Add sendmmsg and internal_sendmmsg.
43390 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
43391 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
43392 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
43394 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
43395 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
43396 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
43398 2011-05-27 Ulrich Drepper <drepper@gmail.com>
43401 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
43402 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
43404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
43408 * iconvdata/Makefile (tests): Add bug-iconv9.
43409 * iconvdata/bug-iconv9.c: New file.
43411 2011-05-27 Andreas Schwab <schwab@redhat.com>
43414 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
43416 2011-05-25 Jakub Jelinek <jakub@redhat.com>
43418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43419 (struct user_regs_struct): Change intcs field back to cs.
43421 2011-05-25 Ulrich Drepper <drepper@gmail.com>
43423 * po/ja.po: Update from translation team.
43425 2011-05-23 Ulrich Drepper <drepper@gmail.com>
43428 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
43429 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
43431 2011-05-20 Andreas Schwab <schwab@redhat.com>
43433 * stdlib/longlong.h: Update from GCC.
43435 2011-05-23 Andreas Schwab <schwab@redhat.com>
43437 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
43439 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
43440 Add parameter name.
43441 (__sysconf): Pass it down.
43443 2011-05-22 Ulrich Drepper <drepper@gmail.com>
43446 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
43448 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
43449 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
43450 add in in __libc_use_alloca calls. Adjust callers.
43451 (glob): Use malloc in some situations.
43453 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
43454 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
43457 2011-05-21 Ulrich Drepper <drepper@gmail.com>
43459 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
43460 and CLOCK_BOOTTIME_ALARM.
43463 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
43466 * string/_strerror.c (__strerror_r): Print negative errors as signed
43470 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
43471 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
43472 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
43474 * configure.in: Fix typo in redirection and correct removal of test
43475 files in two cases.
43478 * locale/setlocale.c (new_composite_name): Fix test to check for
43479 identical name of all categories.
43482 * libio/filedoalloc.c (local_isatty): New function.
43483 (_IO_file_doallocate): Use local_isatty.
43484 * stdio-common/perror.c (perror): In case a new stream is used
43485 forward the stream error.
43486 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
43489 2011-05-20 Ulrich Drepper <drepper@gmail.com>
43492 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
43494 * include/alloca.h (extend_alloca_account): Define.
43497 * posix/regex.h: Fix comments with documentation of user-accessible
43498 fields after compilation and describe correct free'ing of pattern
43499 after re_compile_pattern.
43500 Patch by Reuben Thomas <rrt@sc3d.org>.
43502 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
43504 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
43505 and -mno-altivec to prevent the compiler from using Altivec and/or
43506 VSX instructions when the corresponding registers are not available.
43508 2011-05-19 Andreas Schwab <schwab@redhat.com>
43510 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
43512 2011-05-19 Ulrich Drepper <drepper@gmail.com>
43514 * libio/freopen.c (freopen): Use __dup2, not dup2.
43515 * libio/freopen64.c (freopen64): Likewise.
43517 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
43520 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
43521 * math/Makefile (tests): Add test-powl.
43522 (CFLAGS-test-powl.c): Define.
43523 * math/test-powl.c: New file.
43525 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
43527 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
43529 2011-05-17 Ulrich Drepper <drepper@gmail.com>
43532 * iconvdata/gb18030.c: Update to GB18020-2005.
43534 2011-05-16 Ulrich Drepper <drepper@gmail.com>
43536 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
43537 RE_SYNTAX_POSIX_AWK): Update to match recent development.
43538 Patch by Aharon Robbins <arnold@skeeve.com>.
43541 * stdlib/putenv.c (putenv): Don't always create copy of the variable
43545 * misc/pselect.c (__pselect): Handle timeout value errors hidden
43546 through underflows.
43549 * misc/error.c (error_at_line): Ensure file_name and old_file_name
43550 point to strings before performing equality test for error_one_per_line
43554 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
43557 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
43558 (struct user_fpregs_struct): Avoid __uint*_t types.
43561 * malloc/mtrace.c (tr_where): Add additional parameter to point to
43562 symbol info. Use it instead of calling _dl_addr locally.
43563 (lock_and_info): New function.
43564 (tr_freehook): Call lock_and_info and pass symbol info as additional
43565 parameter to tr_where.
43566 (tr_mallochook): Likewise.
43567 (tr_reallochook): Likewise.
43568 (tr_memalignhook): Likewise.
43570 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
43571 used and couldn't be at all thread-safe.
43573 2011-05-15 Ulrich Drepper <drepper@gmail.com>
43575 * libio/freopen.c (freopen): Don't close old file descriptor
43576 before the new one is opened. Instead dup the new file descriptor
43577 to the old one after the new stream is created.
43578 * libio/freopen64.c (freopen64): Likewise.
43579 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
43580 * libio/fileops.c (_IO_new_file_close_it): Handle new
43581 _IO_FLAGS2_NOCLOSE flag.
43582 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
43583 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
43584 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
43585 _IO_FLAGS2_NOCLOSE flag.
43586 * include/unistd.h: Add hidden_proto for dup3.
43587 Define __have_dup3.
43588 * io/dup3.c: Define hidden symbol.
43589 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
43592 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
43593 when an incomplete long option is used.
43594 * posix/tst-getopt_long1.c: New file.
43595 * posix/Makefile (tests): Add tst-getopt_long1.
43598 * scripts/config.guess: Update from autoconf-2.68.
43599 * scripts/config.sub: Likewise.
43602 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
43604 (has_cpuclock): ...this. New function.
43605 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
43606 macro here based on has_cpuclock code.
43609 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43610 First byte (not low byte) is now always NUL.
43611 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
43613 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43614 Use non-cancelable interfaces.
43617 * locale/iso-639.def: Add entry for Sorani.
43620 * include/stdlib.h: Move include protection to the right place.
43621 Define abort_msg_s. Declare __abort_msg with it.
43622 * stdlib/abort.c (__abort_msg): Adjust type.
43623 * assert/assert.c (__assert_fail_base): New function. Majority
43624 of code from __assert_fail. Allocate memory for __abort_msg with
43626 (__assert_fail): Now call __assert_fail_base.
43627 * assert/assert-perr.c: Remove bulk of implementation. Use
43628 __assert_fail_base.
43629 * include/assert.hL Declare __assert_fail_base.
43630 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
43632 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
43634 2011-05-14 Ulrich Drepper <drepper@gmail.com>
43638 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
43639 until all modules are registered in the DTV.
43640 * elf/Makefile: Add rules to build and run tst-tls19.
43641 * elf/tst-tls19.c: New file.
43642 * elf/tst-tls19mod1.c: New file.
43643 * elf/tst-tls19mod2.c: New file.
43644 * elf/tst-tls19mod3.c: New file.
43645 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
43648 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
43652 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
43653 two-byte sequence errors.
43654 * iconvdata/Makefile (tests): Add bug-iconv8.
43655 * iconvdata/bug-iconv8.c: New file.
43658 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
43661 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
43664 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
43665 (dummy_getcfa): New function.
43666 (init): Get _Unwind_GetCFA address, use dummy if not found.
43667 (backtrace_helper): In recursion check, also check whether CFA changes.
43668 (__backtrace): Completely initialize arg.
43670 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
43671 storing incomplete byte sequence in state object. Avoid testing for
43672 guaranteed too small input if we know there is enough data available.
43674 2011-05-11 Andreas Schwab <schwab@redhat.com>
43676 * Makeconfig (+link-pie): Indent.
43677 * Rules (binaries-pie): Define if $(have-fpie) and
43679 (binaries-shared): Also filter out $(binaries-pie).
43680 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
43681 * nscd/Makefile (others-pie): Add nscd.
43682 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
43683 ($(objpfx)nscd): Remove command override.
43684 * login/Makefile (others-pie): Add pt_chown.
43685 ($(objpfx)pt_chown): Remove command override.
43686 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
43687 remove command overrides.
43689 2011-05-13 Ulrich Drepper <drepper@gmail.com>
43691 * libio/tst_putwc.c: Fix error messages.
43694 * libio/fileops.c (_IO_new_file_close_it): Always flush when
43695 currently writing and seek to current position when not.
43696 * libio/Makefile (tests): Add bug-fclose1.
43697 * libio/bug-fclose1.c: New file.
43699 2011-05-12 Ulrich Drepper <drepper@gmail.com>
43702 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
43703 don't set DF_1_NODELETE here.
43704 (do_lookup_x): When entering new entry test for copy relocation
43705 and if necessary set DF_1_NODELETE flag.
43706 * elf/tst-unique4.cc: New file.
43707 * elf/tst-unique4.h: New file.
43708 * elf/tst-unique4lib.cc: New file.
43709 * elf/Makefile: Add rules to build and run tst-unique4.
43710 Patch by Piotr Bury <pbury@goahead.com>.
43712 2011-05-11 Ulrich Drepper <drepper@gmail.com>
43715 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
43718 * misc/mntent_r.c (addmntent): Flush the stream after the output
43721 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
43722 (is_trusted_path_normalize): Skip initial colon. Append slash
43723 to empty buffer. Duplicate is_trusted_path code but allow
43724 constructed patch to be prefix.
43725 (is_dst): Allow $ORIGIN followed by /.
43726 (_dl_dst_substitute): Correct clearing of check_for_trusted.
43727 Correct testing of result of is_trusted_path_normalize
43728 (decompose_rpath): Fix warning.
43730 2011-05-10 Ulrich Drepper <drepper@gmail.com>
43733 * grp/initgroups.c (internal_getgrouplist): When we found the service
43734 list through the initgroups entry in nsswitch.conf do not always
43735 continue on a successful lookup. Don't always use the
43736 __nss_group_database value if it is set.
43737 * nss/nsswitch.conf (initgroups): Change action for successful db
43738 lookup to continue for compatibility.
43740 2011-05-09 Ulrich Drepper <drepper@gmail.com>
43743 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
43745 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
43747 * iconvdata/tst-tables.sh: Likewise.
43748 * iconvdata/cp770.c: New file.
43749 * iconvdata/cp771.c: New file.
43750 * iconvdata/cp772.c: New file.
43751 * iconvdata/cp773.c: New file.
43752 * iconvdata/cp774.c: New file.
43753 * iconvdata/testdata/CP770: New file.
43754 * iconvdata/testdata/CP770..UTF8: New file.
43755 * iconvdata/testdata/CP771: New file.
43756 * iconvdata/testdata/CP771..UTF8: New file.
43757 * iconvdata/testdata/CP772: New file.
43758 * iconvdata/testdata/CP772..UTF8: New file.
43759 * iconvdata/testdata/CP773: New file.
43760 * iconvdata/testdata/CP773..UTF8: New file.
43761 * iconvdata/testdata/CP774: New file.
43762 * iconvdata/testdata/CP774..UTF8: New file.
43764 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
43766 * iconvdata/gen-8bit-gap.sh: Likewise.
43767 * iconvdata/gen-8bit.sh: Likewise.
43769 * locale/iso-639.def: Add ary entry.
43772 * locale/C-translit.h.in: Add U20A1 transliteration.
43775 * locale/iso-639.def: Add wae entry.
43776 Patch by Kevin Bortis <bortis@translate-wae.ch>.
43779 * locale/programs/localedef.c (construct_output_path): Use ssize_t
43783 * locale/C-translit.h.in: Add entry for U20B9.
43784 Patch by pravin.d.s@gmail.com.
43786 2011-05-08 Ulrich Drepper <drepper@gmail.com>
43789 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
43790 ENAMETOOLONG use generic getcwd.
43791 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
43792 in rtld. Use *stat64.
43793 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
43794 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
43795 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
43796 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
43797 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
43798 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
43799 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
43800 __fstatat64 macros.
43801 * include/dirent.h: Add libc_hidden_proto for rewinddir.
43802 * dirent/rewinddir.c: Add libc_hidden_def.
43803 * sysdeps/mach/hurd/rewinddir.c: Likewise.
43804 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
43806 * include/dirent.h (__alloc_dir): Add flags parameter.
43807 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
43808 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
43810 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
43811 from fdopendir if O_CLOEXEC is already set.
43813 2011-03-15 Alan Modra <amodra@gmail.com>
43815 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
43816 l_tls_firstbyte_offset non-zero. Save padding offset in
43817 l_tls_firstbyte_offset for later use.
43818 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
43819 freeing static tls block.
43821 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
43823 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
43824 where #ifdef was intended. The intent is to prevent ARG_MAX from
43825 being defined by the kernel headers.
43827 2011-05-07 Ulrich Drepper <drepper@gmail.com>
43830 * resolv/resolv.h: Define RES_NOTLDQUERY.
43831 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
43832 no-tld-query and set RES_NOTLDQUERY.
43833 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
43834 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
43835 modern BIND to search name as TLD unless forbidden.
43837 2011-05-07 Petr Baudis <pasky@suse.cz>
43838 Ulrich Drepper <drepper@gmail.com>
43841 * elf/dl-load.c (fillin_rpath): Move trusted path check...
43842 (is_trusted_path): ...to here.
43843 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
43844 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
43845 using is_trusted_path_normalize() in setuid scripts.
43847 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
43850 __BEGIN/__END_DECLS.
43852 2011-05-06 Ulrich Drepper <drepper@gmail.com>
43854 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
43855 NSS_STATUS_NOTFOUND if no record was found.
43857 2011-05-05 Andreas Schwab <schwab@redhat.com>
43859 * sunrpc/Makefile (headers): Add rpc/netdb.h.
43860 (headers-not-in-tirpc): Remove rpc/netdb.h
43861 * resolv/netdb.h: Revert last change.
43863 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
43865 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
43866 circular dependency between libgcc.a and libc.a.
43868 2011-05-05 Andreas Schwab <schwab@redhat.com>
43870 * resolv/netdb.h: Don't include <rpc/netdb.h>.
43871 * nis/Makefile: Don't install rpcsvc/*.
43872 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
43873 instead of <rpc/types.h>.
43874 (MAXHOSTNAMELEN): Define.
43876 2011-05-03 Andreas Schwab <schwab@redhat.com>
43878 * elf/ldconfig.c (add_dir): Don't crash on empty path.
43880 2011-04-28 Maciej Babinski <mbabinski@google.com>
43883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
43884 gethostbyname4_r when IPv6 results are possible.
43886 2011-05-02 Ulrich Drepper <drepper@gmail.com>
43889 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
43890 _PC_PIPE_BUF handling.
43892 2011-04-30 Bruno Haible <bruno@clisp.org>
43895 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
43896 * resolv/netdb.h (getnameinfo): Change type of flags parameter
43898 * inet/getnameinfo.c (getnameinfo): Likewise.
43900 2011-04-29 Ulrich Drepper <drepper@gmail.com>
43902 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
43903 to groups setting in database lookup.
43904 * nss/nsswitch.conf: Add initgroups entry.
43906 2011-04-22 Ulrich Drepper <drepper@gmail.com>
43909 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
43911 Patch by Eric Blake <eblake@redhat.com>.
43913 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
43915 * sunrpc/Makefile (need-export-routines): Add svc_run.
43916 (routines): Remove svc_run.
43917 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
43918 * sunrpc/clnt_perr.c (clnt_perrno): Export.
43919 * sunrpc/svc_run.c (svc_run): Likewise.
43920 * sunrpc/svc_udp.c (svcudp_create): Likewise.
43922 2011-04-21 Ulrich Drepper <drepper@gmail.com>
43924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
43925 problem in reallocation in last patch.
43927 2011-04-20 Ulrich Drepper <drepper@gmail.com>
43929 * sunrpc/Makefile: Move inclusion of Rules.
43931 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43933 * nss/nss_files/files-initgroups.c: New file.
43934 * nss/Makefile (libnss_files-routines): Add files-initgroups.
43935 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
43936 _nss_files_initgroups_dyn.
43938 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
43940 * elf/elf.h (R_ARM_IRELATIVE): Define.
43942 2011-04-19 Ulrich Drepper <drepper@gmail.com>
43944 * po/ru.po: Update from translation team.
43946 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43948 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
43951 2011-02-06 Mike Frysinger <vapier@gentoo.org>
43954 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
43955 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
43956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43957 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43958 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43960 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
43962 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
43964 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43968 2011-04-17 Ulrich Drepper <drepper@gmail.com>
43971 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
43973 * stdlib/bug-getcontext.c: New file.
43974 * stdlib/Makefile: Add rules to build and run bug-getcontext.
43976 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43978 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
43979 instructions into .machine "z9-109".
43980 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
43981 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
43983 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43985 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
43986 between environment variables and auxiliary vector.
43988 2011-04-16 Ulrich Drepper <drepper@gmail.com>
43990 * Makefile: Add rules to build linkobj/libc.so.
43991 * include/libc-symbols.h: Define libc_hidden_nolink.
43992 * include/rpc/auth.h: Mark functions which are to be hidden.
43993 * include/rpc/auth_des.h: Likewise.
43994 * include/rpc/auth_unix.h: Likewise.
43995 * include/rpc/clnt.h: Likewise.
43996 * include/rpc/des_crypt.h: Likewise.
43997 * include/rpc/key_prot.h: Likewise.
43998 * include/rpc/pmap_clnt.h: Likewise.
43999 * include/rpc/pmap_prot.h: Likewise.
44000 * include/rpc/pmap_rmt.h: Likewise.
44001 * include/rpc/rpc_msg.h: Likewise.
44002 * include/rpc/svc.h: Likewise.
44003 * include/rpc/svc_auth.h: Likewise.
44004 * include/rpc/xdr.h: Likewise.
44005 * nis/Makefile: Link all DSOs against linkobj/libc.so.
44006 * nss/Makefile: Likewise.
44007 * sunrpc/Makefile: Don't install headers. Build library with normal
44008 entry points. Don't build rpcinfo. Link RPC tests appropriately.
44009 * sunrpc/auth_des.c: Hide exported symbols by default, export some
44010 for the compat linking library. Remove use of INTDEF/INTUSE.
44011 * sunrpc/auth_none.c: Likewise.
44012 * sunrpc/auth_unix.c: Likewise.
44013 * sunrpc/authdes_prot.c: Likewise.
44014 * sunrpc/authuxprot.c: Likewise.
44015 * sunrpc/clnt_gen.c: Likewise.
44016 * sunrpc/clnt_perr.c: Likewise.
44017 * sunrpc/clnt_raw.c: Likewise.
44018 * sunrpc/clnt_simp.c: Likewise.
44019 * sunrpc/clnt_tcp.c: Likewise.
44020 * sunrpc/clnt_udp.c: Likewise.
44021 * sunrpc/clnt_unix.c: Likewise.
44022 * sunrpc/des_crypt.c: Likewise.
44023 * sunrpc/des_soft.c: Likewise.
44024 * sunrpc/get_myaddr.c: Likewise.
44025 * sunrpc/key_call.c: Likewise.
44026 * sunrpc/key_prot.c: Likewise.
44027 * sunrpc/netname.c: Likewise.
44028 * sunrpc/pm_getmaps.c: Likewise.
44029 * sunrpc/pm_getport.c: Likewise.
44030 * sunrpc/pmap_clnt.c: Likewise.
44031 * sunrpc/pmap_prot.c: Likewise.
44032 * sunrpc/pmap_prot2.c: Likewise.
44033 * sunrpc/pmap_rmt.c: Likewise.
44034 * sunrpc/publickey.c: Likewise.
44035 * sunrpc/rpc_cmsg.c: Likewise.
44036 * sunrpc/rpc_common.c: Likewise.
44037 * sunrpc/rpc_dtable.c: Likewise.
44038 * sunrpc/rpc_prot.c: Likewise.
44039 * sunrpc/rpc_thread.c: Likewise.
44040 * sunrpc/rtime.c: Likewise.
44041 * sunrpc/svc.c: Likewise.
44042 * sunrpc/svc_auth.c: Likewise.
44043 * sunrpc/svc_authux.c: Likewise.
44044 * sunrpc/svc_raw.c: Likewise.
44045 * sunrpc/svc_run.c: Likewise.
44046 * sunrpc/svc_simple.c: Likewise.
44047 * sunrpc/svc_tcp.c: Likewise.
44048 * sunrpc/svc_udp.c: Likewise.
44049 * sunrpc/svc_unix.c: Likewise.
44050 * sunrpc/svcauth_des.c: Likewise.
44051 * sunrpc/xcrypt.c: Likewise.
44052 * sunrpc/xdr.c: Likewise.
44053 * sunrpc/xdr_array.c: Likewise.
44054 * sunrpc/xdr_float.c: Likewise.
44055 * sunrpc/xdr_intXX_t.c: Likewise.
44056 * sunrpc/xdr_mem.c: Likewise.
44057 * sunrpc/xdr_rec.c: Likewise.
44058 * sunrpc/xdr_ref.c: Likewise.
44059 * sunrpc/xdr_sizeof.c: Likewise.
44060 * sunrpc/xdr_stdio.c: Likewise.
44062 2011-04-10 Ulrich Drepper <drepper@gmail.com>
44065 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44066 * sysdeps/ia64/dl-tls.h: Likewise.
44067 * sysdeps/powerpc/dl-tls.h: Likewise.
44068 * sysdeps/s390/dl-tls.h: Likewise.
44069 * sysdeps/sh/dl-tls.h: Likewise.
44070 * sysdeps/sparc/dl-tls.h: Likewise.
44071 * sysdeps/x86_64/dl-tls.h: Likewise.
44072 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44074 2011-03-14 Andreas Schwab <schwab@redhat.com>
44076 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44077 rpath element also skip the following colon.
44078 (expand_dynamic_string_token): Add is_path parameter and pass
44079 down to DL_DST_REQUIRED and _dl_dst_substitute.
44080 (decompose_rpath): Call expand_dynamic_string_token with
44081 non-zero is_path. Ignore empty rpaths.
44082 (_dl_map_object_from_fd): Call expand_dynamic_string_token
44085 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
44087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44090 2011-04-09 Ulrich Drepper <drepper@gmail.com>
44093 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44094 Patch by Filipe David Manana <fdmanana@apache.org>.
44096 2011-04-07 Andreas Schwab <schwab@redhat.com>
44098 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44099 Maintain aligned stack.
44100 (CHECK_RSP): Remove unused macro.
44102 2011-04-03 Ulrich Drepper <drepper@gmail.com>
44104 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44105 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44107 2011-04-02 Ulrich Drepper <drepper@gmail.com>
44109 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44111 * include/features.h: Mention __USE_XOPEN2K8 in comment.
44113 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
44116 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44117 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44118 * sysdeps/x86_64/memmove.c: New file.
44119 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44120 (memcpy): Renamed to ...
44121 (__new_memcpy): This.
44122 (memcpy): Provide GLIBC_2_14 memcpy.
44123 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44124 (memcpy): Provide GLIBC_2_2_5 memcpy.
44126 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44129 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44131 2011-03-30 Andreas Schwab <schwab@redhat.com>
44133 * misc/syncfs.c: New file.
44134 * misc/Makefile (routines): Add syncfs.
44135 * posix/unistd.h: Declare syncfs.
44136 * sysdeps/unix/syscalls.list: Add syncfs.
44138 2011-04-01 Andreas Schwab <schwab@redhat.com>
44140 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44142 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44145 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44147 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44150 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44152 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44154 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44155 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44156 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44158 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44160 * io/Makefile: Compile fallocate.c, fallocate64.c, and
44161 sync_file_range.c with -fexceptions.
44162 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44163 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44164 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44165 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44166 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44167 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44169 sync_file_range as cancellation point
44170 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
44171 now a wrapper around __call_sync_file_range with cancellation handling.
44172 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44173 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
44174 function name to __call_sync_file_range.
44175 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44176 Add call_sync_file_range.
44178 2011-04-01 Andreas Schwab <schwab@redhat.com>
44180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44183 2011-04-01 Ulrich Drepper <drepper@gmail.com>
44185 * iconv/iconv.h: Fix typo in comment.
44186 * io/fcntl.h: Likewise.
44187 * libio/stdio.h: Likewise.
44188 * posix/spawn.h: Likewise.
44189 * posix/unistd.h: Likewise.
44190 * stdlib/stdlib.h: Likewise.
44191 * time/time.h: Likewise.
44192 * wcsmbs/wchar.h: Likewise.
44194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44195 open_by_handle): Add.
44196 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44197 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
44198 Augment a few comments.
44199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44203 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44204 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44207 * io/fcntl.h (AT_EMPTY_PATH): Define.
44209 2011-03-30 Ulrich Drepper <drepper@gmail.com>
44211 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44212 * sysdeps/unix/sysv/linux/bits/time.h: New file.
44213 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44215 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
44216 * Versions.def: Add GLIBC_2.14.
44217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44220 2011-03-22 Ulrich Drepper <drepper@gmail.com>
44222 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44224 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44226 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
44229 * string/test-strncmp.c (do_page_test): New function.
44230 (check2): Likewise.
44231 (test_main): Call check2.
44232 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44234 2011-03-20 Ulrich Drepper <drepper@gmail.com>
44237 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44238 Handle cache information in CPU leaf 4.
44239 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44241 2011-03-18 Ulrich Drepper <drepper@gmail.com>
44244 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44245 character representation.
44246 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44248 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
44250 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44251 END(__isnan) to END(__isnanf) to match function entry point/label
44252 EALIGN(__isnanf,...).
44254 2011-03-10 Jakub Jelinek <jakub@redhat.com>
44256 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44258 2011-03-10 Ulrich Drepper <drepper@gmail.com>
44261 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44262 copy from the symbol referenced in the relocation to initialize the
44264 Patch by Piotr Bury <pbury@goahead.com>.
44265 * elf/Makefile: Add rules to build and tst-unique3.
44266 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44267 * elf/tst-unique3.cc: New file.
44268 * elf/tst-unique3.h: New file.
44269 * elf/tst-unique3lib.cc: New file.
44270 * elf/tst-unique3lib2.cc: New file.
44272 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44274 2011-03-10 Mike Frysinger <vapier@gentoo.org>
44276 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44277 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
44280 2011-03-06 Ulrich Drepper <drepper@gmail.com>
44282 * elf/dl-load.c (_dl_map_object): If we are looking for the first
44283 to-be-loaded object along a path to loader is ld.so.
44285 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44286 Ulrich Drepper <drepper@gmail.com>
44288 * sysdeps/x86_64/memset.S: After aligning destination, code
44289 branches to different locations depending on the value of
44290 misalignment, when multiarch is enabled. Fix this.
44292 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
44294 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44295 Set _x86_64_preferred_memory_instruction for AMD processsors.
44296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44297 Set bit_Prefer_SSE_for_memop for AMD processors.
44299 2011-03-04 Ulrich Drepper <drepper@gmail.com>
44301 * libio/fmemopen.c (fmemopen): Optimize a bit.
44303 2011-03-03 Andreas Schwab <schwab@redhat.com>
44305 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44307 2011-03-03 Roland McGrath <roland@redhat.com>
44309 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44311 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
44313 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44314 __bzero_ultra1 instead of __memset_ultra1.
44316 2011-02-23 Andreas Schwab <schwab@redhat.com>
44317 Ulrich Drepper <drepper@gmail.com>
44320 * include/link.h (struct link_map): Add l_orig_initfini.
44321 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44322 returning unsuccessfully.
44323 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44324 close of a file loaded at startup, restore the original l_initfini
44326 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44327 list, store the pointer.
44328 * elf/Makefile ($(objpfx)noload-mem): New rule.
44329 (noload-ENV): Define.
44330 (tests): Add $(objpfx)noload-mem.
44331 * elf/noload.c: Include <memcheck.h>.
44332 (main): Call mtrace. Close all opened handles.
44334 2011-02-17 Andreas Schwab <schwab@redhat.com>
44337 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
44338 dependencies are missing.
44340 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
44342 Fix __if_freereq crash: Unlike the generic version which uses free,
44344 * sysdeps/mach/hurd/ifreq.h: New file.
44346 2011-01-27 Petr Baudis <pasky@suse.cz>
44347 Ulrich Drepper <drepper@gmail.com>
44350 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
44351 to extend_alloca().
44352 * stdio-common/bug23.c: New file.
44353 * stdio-common/Makefile (tests): Add bug23.
44355 2010-09-28 Andreas Schwab <schwab@redhat.com>
44356 Ulrich Drepper <drepper@gmail.com>
44359 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
44360 before performing relro protection. At old place add assertion
44361 to make sure nothing changed.
44363 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
44364 Glauber de Oliveira Costa <glommer@gmail.com>
44366 * elf/elf.h: Add new ARM TLS relocs.
44368 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
44370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44371 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
44373 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
44375 * sysdeps/wordsize-64/tst-writev.c: New file.
44377 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
44379 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
44380 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
44381 insns in _dl_start to prevent a TOC reference before relocs are
44384 2011-02-15 Ulrich Drepper <drepper@gmail.com>
44387 * Makeconfig: Remove RANLIB definition.
44388 * Makerules: Don't use RANLIB.
44389 * aclocal.m4: Remove ranlib test.
44390 * configure.in: No need to check for ranlib.
44391 * elf/rtld-Rules: Don't use RANLIB.
44393 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
44395 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
44397 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
44398 inclusion protection macro.
44400 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
44401 SIGRTMIN and SIGRTMAX and print information in that case only when
44402 SIGRTMIN is defined.
44404 2011-02-11 Jakub Jelinek <jakub@redhat.com>
44406 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
44407 arginfo fn returning -1.
44409 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
44410 and thousands string is zero terminated.
44412 2011-02-03 Andreas Schwab <schwab@redhat.com>
44414 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
44415 sysdeps/unix/sysv/linux/bits/socket.h.
44417 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
44419 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
44420 (__CPU_COUNT): Remove old macros.
44421 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
44422 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
44423 (__CPU_ALLOC, __CPU_FREE): Add macros.
44424 (__sched_cpualloc, __sched_cpufree): Add declarations.
44426 2011-02-05 Ulrich Drepper <drepper@gmail.com>
44428 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
44429 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
44430 * nscd/aicache.c (addhstaiX): Return timeout of added value.
44431 (readdhstai): Return value of addhstaiX call.
44432 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
44433 (addgrbyX): Return value returned by cache_addgr.
44434 (readdgrbyname): Return value returned by addgrbyX.
44435 (readdgrbygid): Likewise.
44436 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
44437 (addpwbyX): Return value returned by cache_addpw.
44438 (readdpwbyname): Return value returned by addhstbyX.
44439 (readdpwbyuid): Likewise.
44440 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
44441 (addservbyX): Return value returned by cache_addserv.
44442 (readdservbyname): Return value returned by addservbyX:
44443 (readdservbyport): Likewise.
44444 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
44445 (addhstbyX): Return value returned by cache_addhst.
44446 (readdhstbyname): Return value returned by addhstbyX.
44447 (readdhstbyaddr): Likewise.
44448 (readdhstbynamev6): Likewise.
44449 (readdhstbyaddrv6): Likewise.
44450 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
44451 (readdinitgroups): Return value returned by addinitgroupsX.
44452 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
44453 (prune_cache): Keep track of timeout value of re-added entries.
44454 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
44455 * nscd/nscd.h: Adjust prototypes of readd* functions.
44457 2011-02-04 Roland McGrath <roland@redhat.com>
44459 * nis/nis_server.c (nis_servstate): Use the right name for 0.
44460 (nis_stats): Likewise.
44461 * nis/nis_modify.c (nis_modify): Likewise.
44462 * nis/nis_remove.c (nis_remove): Likewise.
44463 * nis/nis_add.c (nis_add): Likewise.
44465 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
44467 * posix/fnmatch_loop.c: Add some consts.
44469 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
44471 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
44474 * config.make.in (config-cflags-novzeroupper): Define.
44475 * configure.in: Substitute libc_cv_cc_novzeroupper.
44476 * elf/Makefile (AVX-CFLAGS): Define.
44477 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
44478 (CFLAGS-tst-auditmod4a.c): Likewise.
44479 (CFLAGS-tst-auditmod4b.c): Likewise.
44480 (CFLAGS-tst-auditmod6b.c): Likewise.
44481 (CFLAGS-tst-auditmod6c.c): Likewise.
44482 (CFLAGS-tst-auditmod7b.c): Likewise.
44483 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
44485 2011-02-02 Ulrich Drepper <drepper@gmail.com>
44487 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
44488 function to the callback.
44489 Patch partly by Jiri Olsa <jolsa@redhat.com>.
44491 2011-02-02 Andreas Schwab <schwab@redhat.com>
44493 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
44496 2011-01-19 Ulrich Drepper <drepper@gmail.com>
44499 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
44501 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
44503 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
44506 * elf/Makefile: Add rules to build and run new test.
44507 * elf/tst-initorder.c: New file.
44508 * elf/tst-initorder.exp: New file.
44509 * elf/tst-initordera1.c: New file.
44510 * elf/tst-initordera2.c: New file.
44511 * elf/tst-initordera3.c: New file.
44512 * elf/tst-initordera4.c: New file.
44513 * elf/tst-initorderb1.c: New file.
44514 * elf/tst-initorderb2.c: New file.
44515 * elf/tst-order-a1.c: New file.
44516 * elf/tst-order-a2.c: New file.
44517 * elf/tst-order-a3.c: New file.
44518 * elf/tst-order-a4.c: New file.
44519 * elf/tst-order-b1.c: New file.
44520 * elf/tst-order-b2.c: New file.
44521 * elf/tst-order-main.c: New file.
44522 New test case by George Gensure <werkt0@gmail.com>.
44524 2010-10-01 Andreas Schwab <schwab@redhat.com>
44526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44527 decoding ACE if AI_CANONIDN.
44529 2011-01-18 Ulrich Drepper <drepper@gmail.com>
44531 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
44533 2011-01-17 Ulrich Drepper <drepper@gmail.com>
44535 * version.h (RELEASE): Bump for 2.13 release.
44536 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
44538 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
44540 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
44542 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
44543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
44544 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44545 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44546 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44547 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44549 * posix/getconf.c: Update copyright year.
44550 * catgets/gencat.c: Likewise.
44551 * csu/version.c: Likewise.
44552 * debug/catchsegv.sh: Likewise.
44553 * debug/xtrace.sh: Likewise.
44554 * elf/ldconfig.c: Likewise.
44555 * elf/ldd.bash.in: Likewise.
44556 * elf/sprof.c (print_version): Likewise.
44557 * iconv/iconv_prog.c: Likewise.
44558 * iconv/iconvconfig.c: Likewise.
44559 * locale/programs/locale.c: Likewise.
44560 * locale/programs/localedef.c: Likewise.
44561 * malloc/memusage.sh: Likewise.
44562 * malloc/mtrace.pl: Likewise.
44563 * nscd/nscd.c (print_version): Likewise.
44564 * nss/getent.c: Likewise.
44566 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
44567 PF_CAIF, and PF_ALG.
44568 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44570 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
44572 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
44573 (modules-names): Use them.
44574 (ifunc-test-modules, ifunc-pie-tests): Define.
44575 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
44576 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
44577 (test-extras): Likewise.
44578 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
44579 $(compile-command.c).
44580 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
44581 (all-built-dso): Define.
44582 (check-textrel.out, check-execstack.out): Depend on it.
44584 * configure.in: Don't override --enable-multi-arch.
44586 2011-01-15 Ulrich Drepper <drepper@gmail.com>
44589 * nscd/hstcache.c (tryagain): Define.
44590 (cache_addhst): Return tryagain not notfound for temporary errors.
44591 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
44594 2011-01-14 Ulrich Drepper <drepper@gmail.com>
44597 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
44598 to make the syscall.
44599 * sysdeps/unix/sysv/linux/setgroups.c: New file.
44602 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
44603 and fall back to matching as normal character if the string ends before
44604 the matching ']' is found. This is what POSIX requires.
44605 * posix/testfnm.c: Adjust test result.
44606 * posix/globtest.sh: Adjust test result. Add new test.
44607 * posix/tst-fnmatch.input: Likewise.
44608 * posix/tst-fnmatch2.c: Add new test.
44610 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
44612 * elf/Makefile (check-execstack): Revert last change. Depend on
44614 (check-execstack.h): New target.
44615 (generated): Add check-execstack.h.
44616 * elf/check-execstack.c: Include "check-execstack.h".
44617 (main): Revert last change.
44618 (handle_file): Return zero if GNU_STACK is absent and
44619 DEFAULT_STACK_PERMS doesn't include PF_X.
44621 2011-01-13 Ulrich Drepper <drepper@gmail.com>
44623 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
44624 in child fails because the descriptor is already closed.
44625 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
44626 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
44627 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
44630 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
44634 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
44635 temporary buffer used to handle multi lookups locally.
44636 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
44638 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44640 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
44643 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
44645 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
44646 alignment for SSE2.
44648 2011-01-12 Ulrich Drepper <drepper@gmail.com>
44651 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
44652 characters. When rounding increased number of integer digits recompute
44654 * stdio-common/tst-grouping.c: New file.
44655 * stdio-common/Makefile: Add rules to build and run tst-grouping.
44657 2011-01-09 Ulrich Drepper <drepper@gmail.com>
44659 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
44660 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
44662 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
44664 * bits/select.h: Likewise.
44666 2011-01-08 Ulrich Drepper <drepper@gmail.com>
44668 * po/ja.po: Update from translation team.
44670 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
44673 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
44674 implementation just like for lxstat, fxstatat, et al.
44676 2010-12-27 Jim Meyering <meyering@redhat.com>
44679 * posix/regexec.c (build_trtable): Return failure indication upon
44680 calloc failure. Otherwise, re_search_internal could infloop on OOM.
44682 2010-12-25 Ulrich Drepper <drepper@gmail.com>
44685 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
44686 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
44687 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
44688 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
44691 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
44694 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
44695 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
44697 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
44699 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
44700 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
44701 script has SORT_BY_INIT_PRIORITY.
44702 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
44703 NO_CTORS_DTORS_SECTIONS is defined.
44704 * elf/soinit.c: Likewise.
44705 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
44706 NO_CTORS_DTORS_SECTIONS is defined.
44707 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
44708 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
44709 * sysdeps/sh/init-first.c: Likewise.
44710 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
44712 2010-12-24 Ulrich Drepper <drepper@gmail.com>
44714 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
44715 always use the slow path.
44717 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
44719 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
44720 similar rule which adds the sysdep directories to the header search in
44721 order to pick up the correct platform stackinfo.h.
44722 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
44723 perform test if it is, otherwise return successfully without testing.
44724 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
44725 DEFAULT_STACK_PERMS define in stackinfo.h.
44726 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
44727 defined in stackinfo.h.
44728 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
44729 DEFAULT_STACK_PERMS defined in stackinfo.h.
44730 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
44731 * sysdeps/ia64/stackinfo.h: Likewise.
44732 * sysdeps/s390/stackinfo.h: Likewise.
44733 * sysdeps/sh/stackinfo.h: Likewise.
44734 * sysdeps/sparc/stackinfo.h: Likewise.
44735 * sysdeps/x86_64/stackinfo.h: Likewise.
44736 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
44737 PF_X for powerpc64. Retain PF_X for powerpc32.
44739 2010-12-19 Ulrich Drepper <drepper@gmail.com>
44741 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
44743 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
44744 GETDENTS_64BIT_ALIGNED.
44746 2010-12-14 Ulrich Drepper <dreper@gmail.com>
44748 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
44750 2010-12-10 Andreas Schwab <schwab@redhat.com>
44752 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
44755 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
44756 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
44758 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
44759 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
44761 2010-12-09 Ulrich Drepper <drepper@gmail.com>
44764 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
44767 2010-12-09 Jakub Jelinek <jakub@redhat.com>
44769 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
44771 2010-12-03 Ulrich Drepper <drepper@gmail.com>
44773 * po/it.po: Update from translation team.
44775 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
44777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
44780 2010-11-30 Ulrich Drepper <drepper@gmail.com>
44782 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
44784 2010-11-24 Andreas Schwab <schwab@redhat.com>
44786 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
44788 (gaih_getanswer_slice): Likewise.
44790 2010-10-20 Jakub Jelinek <jakub@redhat.com>
44792 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
44794 2010-05-31 Petr Baudis <pasky@suse.cz>
44797 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
44798 silently even in the chroot mode.
44800 2010-11-22 Ulrich Drepper <drepper@gmail.com>
44802 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
44803 last patch a bit. Pretty printing
44805 2010-05-31 Petr Baudis <pasky@suse.cz>
44808 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
44809 initialization of skip_initgroups_dyn.
44811 2010-11-19 Ulrich Drepper <drepper@gmail.com>
44813 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
44814 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
44816 2010-11-16 Ulrich Drepper <drepper@gmail.com>
44818 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
44820 2010-11-11 Andreas Schwab <schwab@redhat.com>
44822 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
44823 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
44824 (tst-fnmatch-ENV): Set MALLOC_TRACE.
44825 ($(objpfx)tst-fnmatch-mem): New rule.
44826 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
44827 * posix/tst-fnmatch.c (main): Call mtrace.
44829 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
44831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44832 Support Intel processor model 6 and model 0x2c.
44834 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
44836 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
44839 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
44842 * string/test-strncasecmp.c (check_result): New function.
44843 (do_one_test): Use it.
44844 (check1): New function.
44845 (test_main): Use it.
44846 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
44847 Support strcasecmp and strncasecmp.
44849 2010-11-08 Ulrich Drepper <drepper@gmail.com>
44852 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
44853 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44855 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
44857 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
44859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44861 * sysdeps/x86_64/multiarch/bzero.S: New file.
44862 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
44863 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
44864 * sysdeps/x86_64/multiarch/memset.S: New file.
44865 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
44866 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44867 Set bit_Prefer_SSE_for_memop for Intel processors.
44868 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
44870 (index_Prefer_SSE_for_memop): Define.
44871 (HAS_PREFER_SSE_FOR_MEMOP): Define.
44873 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
44875 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
44876 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
44878 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
44881 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44882 (__x86_64_raw_data_cache_size_half): Likewise.
44883 (__x86_64_raw_shared_cache_size): Likewise.
44884 (__x86_64_raw_shared_cache_size_half): Likewise.
44886 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
44887 (__x86_64_raw_data_cache_size_half): Likewise.
44888 (__x86_64_raw_shared_cache_size): Likewise.
44889 (__x86_64_raw_shared_cache_size_half): Likewise.
44890 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
44891 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
44892 and __x86_64_raw_shared_cache_size_half. Round
44893 __x86_64_data_cache_size_half, __x86_64_data_cache_size
44894 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
44895 to multiple of 256 bytes.
44897 2010-11-03 Ulrich Drepper <drepper@gmail.com>
44900 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
44901 of inacessible symlinks. Verify result of symlink before returning it.
44902 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44903 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
44905 2010-10-28 Erich Ritz <erichritz@gmail.com>
44907 * math/math.h (isinf): Fix typo in comment.
44909 2010-11-01 Ulrich Drepper <drepper@gmail.com>
44911 * po/da.po: Update from translation team.
44913 2010-10-26 Ulrich Drepper <drepper@gmail.com>
44915 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
44916 is added to the list.
44918 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44919 Ulrich Drepper <drepper@gmail.com>
44921 * elf/dl-object.c (_dl_new_object): Don't append the new object to
44922 the global list here. Move code to...
44923 (_dl_add_to_namespace_list): ...here. New function.
44924 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
44925 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
44926 * elf/dl-load.c (lose): Don't remove the element from the list.
44927 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
44928 (_dl_map_object): Likewise.
44930 2010-10-25 Ulrich Drepper <drepper@gmail.com>
44933 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
44934 into all bytes of SSE register.
44935 Patch by Richard Li <richardpku@gmail.com>.
44937 2010-10-24 Ulrich Drepper <drepper@gmail.com>
44940 * malloc/malloc.c (_int_free): Fill correct number of bytes when
44943 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
44945 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
44946 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
44947 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
44948 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
44949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
44951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
44953 2010-10-22 Andreas Schwab <schwab@redhat.com>
44955 * include/dlfcn.h (__RTLD_SECURE): Define.
44956 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
44957 mode & __RTLD_SECURE instead.
44958 (open_path): Rename preloaded parameter to secure.
44959 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
44960 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
44961 * elf/dl-deps.c (openaux): Likewise.
44962 * elf/rtld.c (struct map_args): Remove is_preloaded.
44963 (map_doit): Don't use it.
44964 (dl_main): Likewise.
44965 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
44966 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
44968 2010-09-09 Andreas Schwab <schwab@redhat.com>
44970 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
44971 (sysd-rules-targets): Remove duplicates.
44972 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
44973 rtld-%.$o dependency.
44975 2010-10-18 Andreas Schwab <schwab@redhat.com>
44977 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
44978 _dl_map_object do it.
44980 2010-10-19 Ulrich Drepper <drepper@gmail.com>
44982 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
44983 fast fma builtins, define the macros in the C99 standard.
44984 (FP_FAST_FMAF): Likewise.
44985 (FP_FAST_FMAL): Likewise.
44986 * sysdeps/x86_64/bits/mathdef.h: Likewise.
44988 * bits/mathdef.h: Update copyright year.
44989 * sysdeps/powerpc/bits/mathdef.h: Likewise.
44991 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
44993 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
44994 builtins, define the macros in the C99 standard.
44995 (FP_FAST_FMAF): Likewise.
44996 (FP_FAST_FMAL): Likewise.
44997 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
44999 (FP_FAST_FMAF): Likewise.
45001 2010-10-15 Jakub Jelinek <jakub@redhat.com>
45004 * math/libm-test.inc (fma_test): Some new testcases.
45005 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45007 y and infinite z. Do multiplication by C already in long double.
45008 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45010 y and infinite z. Do bitwise or of inexact bit into u.d.
45011 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45012 * sysdeps/i386/fpu/s_fmaf.S: Removed.
45013 * sysdeps/i386/fpu/s_fma.S: Removed.
45014 * sysdeps/i386/fpu/s_fmal.S: Removed.
45016 2010-10-16 Jakub Jelinek <jakub@redhat.com>
45019 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45020 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45021 computation is not scheduled after fetestexcept. Fix value
45022 of minimum denormal long double.
45024 2010-10-14 Jakub Jelinek <jakub@redhat.com>
45027 * math/libm-test.inc (fma_test): Add some more tests.
45028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45031 2010-10-15 Andreas Schwab <schwab@redhat.com>
45033 * scripts/data/localplt-s390-linux-gnu.data: New file.
45034 * scripts/data/localplt-s390x-linux-gnu.data: New file.
45036 2010-10-13 Jakub Jelinek <jakub@redhat.com>
45039 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45040 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45042 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45044 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45045 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45046 if one of x and y is very large and the other is subnormal.
45047 * sysdeps/s390/fpu/s_fmaf.c: New file.
45048 * sysdeps/s390/fpu/s_fma.c: New file.
45049 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45050 * sysdeps/powerpc/fpu/s_fma.S: New file.
45051 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45052 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45053 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45055 2010-10-12 Jakub Jelinek <jakub@redhat.com>
45058 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45060 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45061 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45062 * sysdeps/i386/i686/multiarch/s_fma.c: Include
45063 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45064 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45065 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45066 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45068 2010-10-12 Ulrich Drepper <drepper@redhat.com>
45071 * posix/regcomp.c (parse_branch): One more memory leak plugged.
45072 * posix/bug-regex31.input: Add test case.
45074 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45076 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45077 * posix/bug-regex31.input: New file.
45080 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45081 (parse_sub_exp): Fix last change, use postorder.
45083 * posix/bug-regex31.c: New file.
45084 * posix/Makefile: Add rules to build and run bug-regex31.
45086 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45089 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45092 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45093 to have entries in sys_siglist.
45096 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45099 2010-10-07 Jakub Jelinek <jakub@redhat.com>
45102 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45103 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45104 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45105 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45106 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45107 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45108 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45109 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45110 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45111 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45112 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45113 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45114 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45115 * math/ftestexcept.c (fetestexcept): Likewise.
45116 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45117 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45118 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45119 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45120 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45121 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45122 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45124 2010-10-11 Ulrich Drepper <drepper@gmail.com>
45127 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45130 2010-10-06 Ulrich Drepper <drepper@gmail.com>
45132 * string/bug-strstr1.c: New file.
45133 * string/Makefile: Add rules to build and run bug-strstr1.
45135 2010-10-05 Eric Blake <eblake@redhat.com>
45138 * string/str-two-way.h (two_way_long_needle): Always clear memory
45139 when skipping input due to the shift table.
45141 2010-10-03 Ulrich Drepper <drepper@gmail.com>
45144 * malloc/mcheck.c: Handle large requests.
45147 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45148 for strncmp and strncasecmp.
45149 * string/stratcliff.c: Add tests for strcmp and strncmp.
45150 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45152 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45154 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45157 2010-09-30 Andreas Jaeger <aj@suse.de>
45159 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45160 (CGROUP_SUPER_MAGIC): Define.
45161 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45162 Handle btrfs and cgroup file systems.
45163 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45166 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
45168 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45169 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45171 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45174 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45175 trying to locate the ELF header.
45177 2010-09-27 Andreas Schwab <schwab@redhat.com>
45180 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45181 Mask out sign-bit copies when constructing f_fsid.
45183 2010-09-24 Petr Baudis <pasky@suse.cz>
45185 * debug/stack_chk_fail_local.c: Add missing licence exception.
45186 * debug/warning-nop.c: Likewise.
45188 2010-09-15 Joseph Myers <joseph@codesourcery.com>
45190 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45191 implementing getdents64 using getdents syscall, set d_type if
45192 __ASSUME_GETDENTS32_D_TYPE.
45194 2010-09-16 Andreas Schwab <schwab@redhat.com>
45196 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45197 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45199 2010-09-21 Ulrich Drepper <drepper@redhat.com>
45202 * posix/unistd.h: Undo change of feature selection for ftruncate from
45205 2010-09-20 Ulrich Drepper <drepper@redhat.com>
45207 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45210 2010-09-20 Andreas Schwab <schwab@redhat.com>
45212 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45216 2010-09-14 Andreas Schwab <schwab@redhat.com>
45218 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45219 variables after CHECK_SP call.
45220 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45222 2010-09-13 Andreas Schwab <schwab@redhat.com>
45223 Ulrich Drepper <drepper@redhat.com>
45225 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45226 re-relocationg ld.so.
45227 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45228 _dl_init_paths call.
45229 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
45232 2010-09-14 Ulrich Drepper <drepper@redhat.com>
45234 * resolv/res_init.c (__res_vinit): Count the default server we added.
45236 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
45237 Ulrich Drepper <drepper@redhat.com>
45240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45241 (____longjmp_chk): Use %ebx for saving value across system call.
45244 2010-09-06 Andreas Schwab <schwab@redhat.com>
45246 * manual/Makefile: Don't mix pattern rules with normal rules.
45248 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
45250 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45252 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45253 * libio/iofopncook.c (_IO_cookie_init): Likewise.
45254 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45255 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45259 2010-09-04 Ulrich Drepper <drepper@redhat.com>
45262 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45263 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45265 2010-09-02 Ulrich Drepper <drepper@redhat.com>
45267 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45268 * sysdeps/x86_64/addmul_1.S: Likewise.
45269 * sysdeps/x86_64/lshift.S: Likewise.
45270 * sysdeps/x86_64/mul_1.S: Likewise.
45271 * sysdeps/x86_64/rshift.S: Likewise.
45272 * sysdeps/x86_64/sub_n.S: Likewise.
45273 * sysdeps/x86_64/submul_1.S: Likewise.
45275 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
45277 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45278 Define __sched_param instead of SCHED_* and sched_param when
45279 <bits/sched.h> is included with __need_schedparam defined.
45280 * bits/sched.h [__need_schedparam]
45281 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45282 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45283 (__defined_schedparam): Define to 1.
45284 (__sched_param): New structure, identical to sched_param.
45285 (__need_schedparam): Undefine.
45287 2010-08-31 Mike Frysinger <vapier@gentoo.org>
45289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45290 (epoll_create1): Declare.
45292 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45294 2010-08-31 Andreas Schwab <schwab@redhat.com>
45297 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45298 shifting retval into place.
45300 2010-09-01 Ulrich Drepper <drepper@redhat.com>
45302 * nis/rpcsvc/nis.h: Update copyright notice.
45303 * nis/rpcsvc/nis.x: Likewise.
45304 * nis/rpcsvc/nis_callback.h: Likewise.
45305 * nis/rpcsvc/nis_callback.x: Likewise.
45306 * nis/rpcsvc/nis_object.x: Likewise.
45307 * nis/rpcsvc/nis_tags.h: Likewise.
45308 * nis/rpcsvc/yp.h: Likewise.
45309 * nis/rpcsvc/yp.x: Likewise.
45310 * nis/rpcsvc/ypupd.h: Likewise.
45311 * nis/yp_xdr.c: Likewise.
45312 * nis/ypupdate_xdr.c: Likewise.
45314 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
45315 mainly the body of pmap_getport. Add parameters to specify timeouts.
45316 (pmap_getport): Use __libc_rpc_getport.
45317 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45318 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45319 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45321 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
45323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45326 2010-08-27 Roland McGrath <roland@redhat.com>
45328 * sysdeps/i386/i686/multiarch/Makefile
45329 (CFLAGS-varshift.c): New variable.
45331 2010-08-27 Ulrich Drepper <drepper@redhat.com>
45333 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
45334 * sysdeps/i386/i686/multiarch/varshift.c: New file.
45336 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
45338 * sysdeps/x86_64/strlen.S: Minimal code improvement.
45340 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
45342 * sysdeps/x86_64/strlen.S: Unroll the loop.
45343 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45344 strlen-sse2 strlen-sse2-bsf.
45345 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
45346 __strlen_no_bsf if bit_Slow_BSF is set.
45347 (__strlen_sse42): Removed.
45348 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
45349 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
45351 2010-08-25 Roland McGrath <roland@redhat.com>
45353 * sysdeps/x86_64/multiarch/varshift.S: File removed.
45354 * sysdeps/x86_64/multiarch/varshift.c: New file.
45355 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
45356 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
45357 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
45358 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45360 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
45362 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45363 strlen-sse2 strlen-sse2-bsf.
45364 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
45365 __strlen_sse2_bsf if bit_Slow_BSF is unset.
45366 (__strlen_sse2): Removed.
45367 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
45368 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
45369 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
45370 bit_Slow_BSF for Atom.
45371 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
45372 (index_Slow_BSF): Define.
45373 (HAS_SLOW_BSF): Define.
45375 2010-08-25 Ulrich Drepper <drepper@redhat.com>
45378 * resolv/res_init.c (__res_vinit): When no server address at all
45379 is given default to loopback.
45381 2010-08-24 Roland McGrath <roland@redhat.com>
45383 * configure.in: Remove config-name.h generation.
45384 * configure: Regenerated.
45385 * config-name.in: File removed.
45386 * scripts/config-uname.sh: New file.
45387 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
45388 ($(objdir)config-name.h): New target.
45390 * sunrpc/rpc_parse.h: Avoid nested comment.
45392 2010-08-24 Richard Henderson <rth@redhat.com>
45393 Ulrich Drepper <drepper@redhat.com>
45394 H.J. Lu <hongjiu.lu@intel.com>
45396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
45397 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
45398 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
45399 Replace _mm_srli_si128 with __m128i_shift_right. Replace
45400 _mm_alignr_epi8 with _mm_loadu_si128.
45401 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
45402 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
45403 (__m128i_shift_right): Removed.
45404 * sysdeps/i386/i686/multiarch/varshift.h: New file.
45405 * sysdeps/i386/i686/multiarch/varshift.S: New file.
45406 * sysdeps/x86_64/multiarch/varshift.h: New file.
45407 * sysdeps/x86_64/multiarch/varshift.S: New file.
45409 2010-08-21 Mike Frysinger <vapier@gentoo.org>
45411 * configure.in: Move assembler checks to before sysdep dir checking.
45413 2010-08-20 Petr Baudis <pasky@suse.cz>
45415 * LICENSES: Sync the sunrpc license.
45417 2010-08-19 Ulrich Drepper <drepper@redhat.com>
45419 * sunrpc/auth_des.c: Update copyright notice once again.
45420 * sunrpc/auth_none.c: Likewise.
45421 * sunrpc/auth_unix.c: Likewise.
45422 * sunrpc/authdes_prot.c: Likewise.
45423 * sunrpc/authuxprot.c: Likewise.
45424 * sunrpc/bindrsvprt.c: Likewise.
45425 * sunrpc/clnt_gen.c: Likewise.
45426 * sunrpc/clnt_perr.c: Likewise.
45427 * sunrpc/clnt_raw.c: Likewise.
45428 * sunrpc/clnt_simp.c: Likewise.
45429 * sunrpc/clnt_tcp.c: Likewise.
45430 * sunrpc/clnt_udp.c: Likewise.
45431 * sunrpc/clnt_unix.c: Likewise.
45432 * sunrpc/des_crypt.c: Likewise.
45433 * sunrpc/des_soft.c: Likewise.
45434 * sunrpc/get_myaddr.c: Likewise.
45435 * sunrpc/getrpcport.c: Likewise.
45436 * sunrpc/key_call.c: Likewise.
45437 * sunrpc/key_prot.c: Likewise.
45438 * sunrpc/openchild.c: Likewise.
45439 * sunrpc/pm_getmaps.c: Likewise.
45440 * sunrpc/pm_getport.c: Likewise.
45441 * sunrpc/pmap_clnt.c: Likewise.
45442 * sunrpc/pmap_prot.c: Likewise.
45443 * sunrpc/pmap_prot2.c: Likewise.
45444 * sunrpc/pmap_rmt.c: Likewise.
45445 * sunrpc/rpc/auth.h: Likewise.
45446 * sunrpc/rpc/auth_unix.h: Likewise.
45447 * sunrpc/rpc/clnt.h: Likewise.
45448 * sunrpc/rpc/des_crypt.h: Likewise.
45449 * sunrpc/rpc/key_prot.h: Likewise.
45450 * sunrpc/rpc/netdb.h: Likewise.
45451 * sunrpc/rpc/pmap_clnt.h: Likewise.
45452 * sunrpc/rpc/pmap_prot.h: Likewise.
45453 * sunrpc/rpc/pmap_rmt.h: Likewise.
45454 * sunrpc/rpc/rpc.h: Likewise.
45455 * sunrpc/rpc/rpc_des.h: Likewise.
45456 * sunrpc/rpc/rpc_msg.h: Likewise.
45457 * sunrpc/rpc/svc.h: Likewise.
45458 * sunrpc/rpc/svc_auth.h: Likewise.
45459 * sunrpc/rpc/types.h: Likewise.
45460 * sunrpc/rpc/xdr.h: Likewise.
45461 * sunrpc/rpc_clntout.c: Likewise.
45462 * sunrpc/rpc_cmsg.c: Likewise.
45463 * sunrpc/rpc_common.c: Likewise.
45464 * sunrpc/rpc_cout.c: Likewise.
45465 * sunrpc/rpc_dtable.c: Likewise.
45466 * sunrpc/rpc_hout.c: Likewise.
45467 * sunrpc/rpc_main.c: Likewise.
45468 * sunrpc/rpc_parse.c: Likewise.
45469 * sunrpc/rpc_parse.h: Likewise.
45470 * sunrpc/rpc_prot.c: Likewise.
45471 * sunrpc/rpc_sample.c: Likewise.
45472 * sunrpc/rpc_scan.c: Likewise.
45473 * sunrpc/rpc_scan.h: Likewise.
45474 * sunrpc/rpc_svcout.c: Likewise.
45475 * sunrpc/rpc_tblout.c: Likewise.
45476 * sunrpc/rpc_util.c: Likewise.
45477 * sunrpc/rpc_util.h: Likewise.
45478 * sunrpc/rpcinfo.c: Likewise.
45479 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
45480 * sunrpc/rpcsvc/key_prot.x: Likewise.
45481 * sunrpc/rpcsvc/klm_prot.x: Likewise.
45482 * sunrpc/rpcsvc/mount.x: Likewise.
45483 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
45484 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
45485 * sunrpc/rpcsvc/rex.x: Likewise.
45486 * sunrpc/rpcsvc/rstat.x: Likewise.
45487 * sunrpc/rpcsvc/rusers.x: Likewise.
45488 * sunrpc/rpcsvc/sm_inter.x: Likewise.
45489 * sunrpc/rpcsvc/spray.x: Likewise.
45490 * sunrpc/rpcsvc/yppasswd.x: Likewise.
45491 * sunrpc/rtime.c: Likewise.
45492 * sunrpc/svc.c: Likewise.
45493 * sunrpc/svc_auth.c: Likewise.
45494 * sunrpc/svc_authux.c: Likewise.
45495 * sunrpc/svc_raw.c: Likewise.
45496 * sunrpc/svc_run.c: Likewise.
45497 * sunrpc/svc_simple.c: Likewise.
45498 * sunrpc/svc_tcp.c: Likewise.
45499 * sunrpc/svc_udp.c: Likewise.
45500 * sunrpc/svc_unix.c: Likewise.
45501 * sunrpc/svcauth_des.c: Likewise.
45502 * sunrpc/xcrypt.c: Likewise.
45503 * sunrpc/xdr.c: Likewise.
45504 * sunrpc/xdr_array.c: Likewise.
45505 * sunrpc/xdr_float.c: Likewise.
45506 * sunrpc/xdr_mem.c: Likewise.
45507 * sunrpc/xdr_rec.c: Likewise.
45508 * sunrpc/xdr_ref.c: Likewise.
45509 * sunrpc/xdr_sizeof.c: Likewise.
45510 * sunrpc/xdr_stdio.c: Likewise.
45512 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
45515 2010-08-19 Andreas Schwab <schwab@redhat.com>
45517 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
45519 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
45521 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
45522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
45523 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
45524 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
45525 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
45526 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
45527 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
45528 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
45529 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
45530 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
45531 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
45532 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
45533 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
45534 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
45536 2010-07-26 Anton Blanchard <anton@samba.org>
45538 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
45539 * malloc/arena.c (heap_trim): Likewise.
45541 2010-08-16 Ulrich Drepper <drepper@redhat.com>
45543 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
45545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
45546 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
45548 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
45550 * sysdeps/i386/elf/Makefile: New file.
45552 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45554 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
45555 from fanotify_init.
45556 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
45557 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45559 2010-08-15 Ulrich Drepper <drepper@redhat.com>
45561 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
45563 * sysdeps/multiarch/strcmp.S: Likewise.
45565 2010-08-14 Ulrich Drepper <drepper@redhat.com>
45567 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45568 strncase_l-nonascii.
45569 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45570 Add strncase_l-ssse3.
45571 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
45572 * sysdeps/x86_64/strcmp.S: Likewise.
45573 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
45574 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
45575 * sysdeps/x86_64/strncase.S: New file.
45576 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
45577 * sysdeps/x86_64/strncase_l.S: New file.
45578 * string/Makefile (strop-tests): Add strncasecmp.
45579 * string/test-strncasecmp.c: New file.
45581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
45584 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
45585 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
45587 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
45589 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
45591 2010-08-12 Ulrich Drepper <drepper@redhat.com>
45593 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
45594 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
45595 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
45597 2010-05-01 Alan Modra <amodra@gmail.com>
45599 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
45600 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
45601 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
45602 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
45603 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
45604 tidying. Don't tail-call __sigjmp_save for static lib.
45605 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
45607 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
45608 (CALL_MCOUNT): Add eh info, and nop after bl.
45609 (TAIL_CALL_SYSCALL_ERROR): New macro.
45610 (PSEUDO_RET): Use it.
45611 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45612 Correct save location of integer regs and cr.
45613 (_dl_profile_resolve): Correct cr save location. Delete nops
45614 after bl when SHARED. Reduce cfi size a little by better
45615 placement of cfi directives.
45616 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
45617 make a stack frame. Instead use parm save area as a temp.
45618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
45619 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
45620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45621 Don't make a stack frame for parent, use parm save area.
45622 Increase child stack frame to 112 bytes. Don't save unused reg,
45623 and adjust reg usage. Set up cfi on error recovery and
45624 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
45625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45626 (__makecontext): Add dummy nop after jump to exit.
45627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
45628 Use correct parm save area and cr save, reduce stack frame.
45629 Correct cfi for possible PSEUDO_RET frame setup.
45630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
45631 Branch to local label emitted by PSEUDO_RET rather than
45634 2010-08-12 Andreas Schwab <schwab@redhat.com>
45637 * locale/programs/locale.c (print_assignment): New function.
45638 (show_locale_vars): Use it.
45640 2010-08-11 Ulrich Drepper <drepper@redhat.com>
45642 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
45644 (struct statfs64): Likewise.
45645 (_STATFS_F_FLAGS): Define.
45646 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
45647 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45648 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
45649 (ST_VALID): Define locally.
45650 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
45651 __statvfs_getflags, use the provided value.
45652 * sysdeps/unix/sysv/linux/kernel-features.h: Define
45653 __ASSUME_STATFS_F_FLAGS.
45655 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
45657 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
45658 Add sys/fanotify.h.
45659 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
45660 fanotify_mask for GLIBC_2.13.
45661 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
45662 fanotify_init and fanotify_mark.
45663 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
45664 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
45666 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
45668 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
45669 prlimit64 for GLIBC_2.13.
45670 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
45672 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
45674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
45675 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45676 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
45677 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
45678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
45680 * sysdeps/unix/sysv/linux/prlimit.c: New file.
45683 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
45684 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
45686 * nss/Makefile: Add rules to build and run tst-nss-test1.
45687 * shlib-versions: Add entry for libnss_test1.
45688 * nss/nss_test1.c: New file.
45689 * nss/tst-nss-test1.c: New file.
45691 * nss/nsswitch.c (__nss_database_custom): Define new variable.
45692 (__nss_configure_lookup): Set appropriate entry in
45693 __nss_configure_lookup to true.
45694 * nss/nsswitch.h: Define enum with indeces of databases in
45695 databases and __nss_database_custom arrays. Declare
45696 __nss_database_custom.
45697 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
45698 to avoid using nscd when custom rules are installed.
45699 * nss/getXXbyYY_r.c: Likewise.
45700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45702 * nss/nss_files/files-parse.c: Whitespace fixes.
45704 2010-08-09 Ulrich Drepper <drepper@redhat.com>
45707 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
45708 * posix/fnmatch_loop.c: Likewise.
45710 2010-07-17 Andi Kleen <ak@linux.intel.com>
45712 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
45713 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
45714 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
45715 * Versions.def [GLIBC_2.13]: Add.
45717 2010-08-06 Ulrich Drepper <drepper@redhat.com>
45719 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45720 Also fail if tpwd after pwuid call is NULL.
45722 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
45724 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
45725 when converting to ms.
45727 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45729 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
45730 EOPNOTSUPP errors with ENOTTY.
45731 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
45732 EOPNOTSUPP errors with ENOTTY.
45734 2010-07-31 Ulrich Drepper <drepper@redhat.com>
45736 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
45737 Add strcasecmp_l-ssse3.
45738 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
45740 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
45741 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
45742 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
45744 2010-07-30 Ulrich Drepper <drepper@redhat.com>
45746 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
45748 * string/Makefile (strop-tests): Add strcasecmp.
45749 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
45750 strcasecmp_l-nonascii.
45751 (gen-as-const-headers): Add locale-defines.sym.
45752 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
45753 * sysdeps/x86_64/strcasecmp.S: New file.
45754 * sysdeps/x86_64/strcasecmp_l.S: New file.
45755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
45756 * sysdeps/x86_64/locale-defines.sym: New file.
45757 * string/test-strcasecmp.c: New file.
45759 * string/test-strcasestr.c: Test both ends of the range of characters.
45760 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
45762 2010-07-29 Roland McGrath <roland@redhat.com>
45765 * manual/locale.texi (Yes-or-No Questions): Fix example code.
45767 2010-07-27 Ulrich Drepper <drepper@redhat.com>
45769 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
45772 2010-07-27 Andreas Schwab <schwab@redhat.com>
45774 * manual/memory.texi (Malloc Tunable Parameters): Document
45777 2010-07-26 Roland McGrath <roland@redhat.com>
45780 * configure.in (-fgnu89-inline check): Set and substitute
45781 gnu89_inline, not libc_cv_gnu89_inline.
45782 * configure: Regenerated.
45783 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
45785 2010-07-26 Ulrich Drepper <drepper@redhat.com>
45787 * string/test-strnlen.c: New file.
45788 * string/Makefile (strop-tests): Add strnlen.
45789 * string/tester.c (test_strnlen): Add a few more test cases.
45790 * string/tst-strlen.c: Better error reporting.
45792 * sysdeps/x86_64/strnlen.S: New file.
45794 2010-07-24 Ulrich Drepper <drepper@redhat.com>
45796 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
45797 lower-latency instructions.
45799 2010-07-23 Ulrich Drepper <drepper@redhat.com>
45801 * string/test-strcasestr.c: New file.
45802 * string/test-strstr.c: New file.
45803 * string/Makefile (strop-tests): Add strstr and strcasestr.
45804 * string/str-two-way.h: Don't undefine MAX.
45805 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
45807 2010-07-21 Andreas Schwab <schwab@redhat.com>
45809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45810 strcasestr-nonascii.
45811 (CFLAGS-strcasestr-nonascii.c): Define.
45812 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
45813 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
45814 Remove unused attribute.
45816 2010-07-20 Roland McGrath <roland@redhat.com>
45818 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
45819 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
45820 ld.so.cache was broken. With it, there is no way to disable dsocaps
45821 like LD_HWCAP_MASK can disable hwcaps.
45823 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
45825 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
45827 2010-07-16 Ulrich Drepper <drepper@redhat.com>
45829 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
45830 call in strcasestr.
45831 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
45832 __strcasestr_sse42_nonascii.
45833 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
45834 strcasestr-nonascii.c.
45835 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
45837 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
45839 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
45840 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
45841 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
45842 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
45844 2010-07-09 Ulrich Drepper <drepper@redhat.com>
45846 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
45849 2010-07-06 Andreas Schwab <schwab@redhat.com>
45852 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
45855 2010-07-06 Ulrich Drepper <drepper@redhat.com>
45857 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
45858 _PC_PIPE_BUF using F_GETPIPE_SZ.
45860 2010-07-05 Roland McGrath <roland@redhat.com>
45862 * manual/arith.texi (Rounding Functions): Fix rint description
45863 implicit in round description.
45865 2010-07-02 Ulrich Drepper <drepper@redhat.com>
45867 * elf/Makefile: Fix linking for a few tests to make recent linker
45870 2010-06-30 Andreas Schwab <schwab@redhat.com>
45872 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45873 $(common-objpfx)libc_nonshared.a.
45875 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
45877 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
45878 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
45879 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45880 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45881 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
45882 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
45883 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45884 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
45886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
45887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
45888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
45889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
45890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
45891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
45892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
45893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
45894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
45895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
45896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
45897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
45898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
45899 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
45900 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
45901 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
45902 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
45903 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
45904 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
45905 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
45906 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
45907 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
45908 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
45909 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
45910 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
45911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
45912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
45913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
45914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
45915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
45916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
45917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
45918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
45919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
45920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
45921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
45922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
45923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
45924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
45926 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
45928 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
45929 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
45930 * string/memmove.c (memmove): Renamed to ...
45931 (MEMMOVE): ...this. Default to memmove.
45932 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
45933 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
45935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45936 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
45937 mempcpy-ssse3-back memmove-ssse3-back.
45938 * sysdeps/x86_64/multiarch/bcopy.S: New file .
45939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
45940 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
45941 * sysdeps/x86_64/multiarch/memcpy.S: New file.
45942 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
45943 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
45944 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
45945 * sysdeps/x86_64/multiarch/memmove.c: New file.
45946 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
45947 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
45948 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
45949 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
45950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
45951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
45953 (index_Fast_Copy_Backward): Define.
45954 (HAS_ARCH_FEATURE): Define.
45955 (HAS_FAST_REP_STRING): Define.
45956 (HAS_FAST_COPY_BACKWARD): Define.
45958 2010-06-21 Andreas Schwab <schwab@redhat.com>
45960 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
45961 Restore proper fallback handling.
45963 2010-06-19 Ulrich Drepper <drepper@redhat.com>
45966 * posix/group_member.c (__group_member): Correct checking loop.
45968 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
45969 OOM in getpwuid_r correctly. Return error number when the caller
45970 should return, otherwise -1.
45971 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
45972 call returning > 0 value.
45973 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
45975 2010-06-07 Andreas Schwab <schwab@redhat.com>
45977 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
45978 libc_nonshared.a from targets in modules-names.
45980 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
45982 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
45985 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
45987 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
45988 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
45989 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
45990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
45992 2010-06-02 Andreas Schwab <schwab@redhat.com>
45994 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
45996 2010-06-14 Ulrich Drepper <drepper@redhat.com>
45998 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46000 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46001 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46004 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46005 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46007 2010-06-14 Roland McGrath <roland@redhat.com>
46009 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46011 2010-06-07 Jakub Jelinek <jakub@redhat.com>
46013 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46014 __REDIRECT followed by __THROW.
46015 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46016 * posix/getopt.h (getopt): Likewise.
46018 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
46020 * hurd/lookup-at.c (__file_name_lookup_at): Accept
46021 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
46022 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46024 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46025 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46027 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
46029 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46031 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
46034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46035 Properly check family and model.
46037 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
46039 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46041 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
46043 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46045 2010-05-21 Ulrich Drepper <drepper@redhat.com>
46047 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46050 2010-05-19 Andreas Schwab <schwab@redhat.com>
46052 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46055 2010-05-21 Andreas Schwab <schwab@redhat.com>
46057 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46058 and internal_recvmmsg.
46059 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46060 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46061 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46062 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46064 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46065 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46066 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46068 2010-05-20 Andreas Schwab <schwab@redhat.com>
46070 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46072 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
46074 POWER7 optimizations.
46075 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46076 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46078 2010-05-19 Ulrich Drepper <drepper@redhat.com>
46080 * version.h: Update for 2.13 development version.
46082 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
46084 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46085 exceptions. Return 0.
46087 2010-05-07 Roland McGrath <roland@redhat.com>
46089 * elf/ldconfig.c (main): Add a const.
46091 2010-05-06 Ulrich Drepper <drepper@redhat.com>
46093 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46094 (args_options): Add no-idn option.
46095 (ahosts_keys_int): Add idn_flags to ai_flags.
46096 (parse_option): Handle 'i' option to clear idn_flags.
46098 * malloc/malloc.c (_int_free): Possible race in the most recently
46099 added check. Only act on the data if no current modification
46102 See ChangeLog.17 for earlier changes.